@liflig/cdk-cloudfront-auth 1.10.15 → 1.10.17
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.
- package/dist/lambda-config-handler/index.js +22 -22
- package/dist/parse-auth/index.js +25 -25
- package/dist/refresh-auth/index.js +26 -26
- package/lib/generate-secret.js +1 -1
- package/lib/handlers/util/config.js +1 -1
- package/lib/lambda-config/lambda-config.js +1 -1
- package/lib/lambdas.js +1 -1
- package/package.json +3 -3
package/dist/parse-auth/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
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){/*!
|
|
1
|
+
var zE=Object.create;var{getPrototypeOf:WE,defineProperty:On,getOwnPropertyNames:Gu,getOwnPropertyDescriptor:ME}=Object,Vu=Object.prototype.hasOwnProperty;function Xu(e){return this[e]}var GE,VE,pe=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var i=t?GE??=new WeakMap:VE??=new WeakMap,o=i.get(e);if(o)return o}r=e!=null?zE(WE(e)):{};let s=t||!e||!e.__esModule?On(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let a of Gu(e))if(!Vu.call(s,a))On(s,a,{get:Xu.bind(e,a),enumerable:!0})}if(n)i.set(e,s);return s},Hi=(e)=>{var t=(Mu??=new WeakMap).get(e),r;if(t)return t;if(t=On({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var n of Gu(e))if(!Vu.call(t,n))On(t,n,{get:Xu.bind(e,n),enumerable:!(r=ME(e,n))||r.enumerable})}return Mu.set(e,t),t},Mu,y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var XE=(e)=>e;function YE(e,t){this[e]=XE.bind(null,t)}var Or=(e,t)=>{for(var r in t)On(e,r,{get:t[r],enumerable:!0,configurable:!0,set:YE.bind(t,r)})};var j=(e,t)=>()=>(e&&(t=e(e=0)),t);var hl=y(function(I2,ml){var fl=require("stream").Stream,s0=require("util");ml.exports=nt;function nt(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}s0.inherits(nt,fl);nt.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(nt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});nt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};nt.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};nt.prototype.pause=function(){this.source.pause()};nt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};nt.prototype.pipe=function(){var e=fl.prototype.pipe.apply(this,arguments);return this.resume(),e};nt.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)};nt.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 bl=y(function(j2,yl){var a0=require("util"),gl=require("stream").Stream,xl=hl();yl.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}a0.inherits(ue,gl);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 xl)){var r=xl.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 gl.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 vl=y(function(L2,c0){c0.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 El=y(function(N2,wl){/*!
|
|
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
|
-
*/
|
|
6
|
+
*/wl.exports=vl()});var Rl=y(function(De){/*!
|
|
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 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(`
|
|
11
|
+
*/var Mi=El(),p0=require("path").extname,Sl=/^\s*([^;\s]*)(?:;|\s|$)/,u0=/^text\//i;De.charset=Al;De.charsets={lookup:Al};De.contentType=l0;De.extension=d0;De.extensions=Object.create(null);De.lookup=f0;De.types=Object.create(null);m0(De.extensions,De.types);function Al(e){if(!e||typeof e!=="string")return!1;var t=Sl.exec(e),r=t&&Mi[t[1].toLowerCase()];if(r&&r.charset)return r.charset;if(t&&u0.test(t[1]))return"UTF-8";return!1}function l0(e){if(!e||typeof e!=="string")return!1;var t=e.indexOf("/")===-1?De.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=De.charset(t);if(r)t+="; charset="+r.toLowerCase()}return t}function d0(e){if(!e||typeof e!=="string")return!1;var t=Sl.exec(e),r=t&&De.extensions[t[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]}function f0(e){if(!e||typeof e!=="string")return!1;var t=p0("x."+e).toLowerCase().substr(1);if(!t)return!1;return De.types[t]||!1}function m0(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Mi).forEach(function(i){var o=Mi[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(Mi[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 Tl=y(function(D2,_l){_l.exports=h0;function h0(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 da=y(function(U2,kl){var Ol=Tl();kl.exports=x0;function x0(e){var t=!1;return Ol(function(){t=!0}),function(n,i){if(t)e(n,i);else Ol(function(){e(n,i)})}}});var fa=y(function(F2,Cl){Cl.exports=g0;function g0(e){Object.keys(e.jobs).forEach(y0.bind(e)),e.jobs={}}function y0(e){if(typeof this.jobs[e]=="function")this.jobs[e]()}});var ma=y(function($2,Il){var Pl=da(),b0=fa();Il.exports=v0;function v0(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=w0(t,i,e[i],function(o,s){if(!(i in r.jobs))return;if(delete r.jobs[i],o)b0(r);else r.results[i]=s;n(o,r.results)})}function w0(e,t,r,n){var i;if(e.length==2)i=e(r,Pl(n));else i=e(r,t,Pl(n));return i}});var ha=y(function(B2,jl){jl.exports=E0;function E0(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 xa=y(function(K2,Ll){var S0=fa(),A0=da();Ll.exports=R0;function R0(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,S0(this),A0(e)(null,this.results)}});var ql=y(function(H2,Nl){var _0=ma(),T0=ha(),O0=xa();Nl.exports=k0;function k0(e,t,r){var n=T0(e);while(n.index<(n.keyedList||e).length)_0(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 O0.bind(n,r)}});var ga=y(function(J2,Gi){var Dl=ma(),C0=ha(),P0=xa();Gi.exports=I0;Gi.exports.ascending=Ul;Gi.exports.descending=j0;function I0(e,t,r,n){var i=C0(e,r);return Dl(e,t,i,function o(s,a){if(s){n(s,a);return}if(i.index++,i.index<(i.keyedList||e).length){Dl(e,t,i,o);return}n(null,i.results)}),P0.bind(i,n)}function Ul(e,t){return e<t?-1:e>t?1:0}function j0(e,t){return-1*Ul(e,t)}});var $l=y(function(z2,Fl){var L0=ga();Fl.exports=N0;function N0(e,t,r){return L0(e,t,null,r)}});var Kl=y(function(W2,Bl){Bl.exports={parallel:ql(),serial:$l(),serialOrdered:ga()}});var ya=y(function(M2,Hl){Hl.exports=Object});var zl=y(function(G2,Jl){Jl.exports=Error});var Ml=y(function(V2,Wl){Wl.exports=EvalError});var Vl=y(function(X2,Gl){Gl.exports=RangeError});var Yl=y(function(Y2,Xl){Xl.exports=ReferenceError});var Ql=y(function(Z2,Zl){Zl.exports=SyntaxError});var Vi=y(function(Q2,ed){ed.exports=TypeError});var rd=y(function(eq,td){td.exports=URIError});var id=y(function(tq,nd){nd.exports=Math.abs});var sd=y(function(rq,od){od.exports=Math.floor});var cd=y(function(nq,ad){ad.exports=Math.max});var ud=y(function(iq,pd){pd.exports=Math.min});var dd=y(function(oq,ld){ld.exports=Math.pow});var md=y(function(sq,fd){fd.exports=Math.round});var xd=y(function(aq,hd){hd.exports=Number.isNaN||function(t){return t!==t}});var yd=y(function(cq,gd){var q0=xd();gd.exports=function(t){if(q0(t)||t===0)return t;return t<0?-1:1}});var vd=y(function(pq,bd){bd.exports=Object.getOwnPropertyDescriptor});var ba=y(function(uq,wd){var Xi=vd();if(Xi)try{Xi([],"length")}catch(e){Xi=null}wd.exports=Xi});var Sd=y(function(lq,Ed){var Yi=Object.defineProperty||!1;if(Yi)try{Yi({},"a",{value:1})}catch(e){Yi=!1}Ed.exports=Yi});var va=y(function(dq,Ad){Ad.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 Td=y(function(fq,_d){var Rd=typeof Symbol<"u"&&Symbol,D0=va();_d.exports=function(){if(typeof Rd!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof Rd("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return D0()}});var wa=y(function(mq,Od){Od.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Ea=y(function(hq,kd){var U0=ya();kd.exports=U0.getPrototypeOf||null});var Id=y(function(xq,Pd){var F0="Function.prototype.bind called on incompatible ",$0=Object.prototype.toString,B0=Math.max,K0="[object Function]",Cd=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},H0=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},J0=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};Pd.exports=function(t){var r=this;if(typeof r!=="function"||$0.apply(r)!==K0)throw TypeError(F0+r);var n=H0(arguments,1),i,o=function(){if(this instanceof i){var u=r.apply(this,Cd(n,arguments));if(Object(u)===u)return u;return this}return r.apply(t,Cd(n,arguments))},s=B0(0,r.length-n.length),a=[];for(var c=0;c<s;c++)a[c]="$"+c;if(i=Function("binder","return function ("+J0(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 Dn=y(function(gq,jd){var z0=Id();jd.exports=Function.prototype.bind||z0});var Zi=y(function(yq,Ld){Ld.exports=Function.prototype.call});var Sa=y(function(bq,Nd){Nd.exports=Function.prototype.apply});var Dd=y(function(vq,qd){qd.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Fd=y(function(wq,Ud){var W0=Dn(),M0=Sa(),G0=Zi(),V0=Dd();Ud.exports=V0||W0.call(G0,M0)});var Bd=y(function(Eq,$d){var X0=Dn(),Y0=Vi(),Z0=Zi(),Q0=Fd();$d.exports=function(t){if(t.length<1||typeof t[0]!=="function")throw new Y0("a function is required");return Q0(X0,Z0,t)}});var Md=y(function(Sq,Wd){var eA=Bd(),Kd=ba(),Jd;try{Jd=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Aa=!!Jd&&Kd&&Kd(Object.prototype,"__proto__"),zd=Object,Hd=zd.getPrototypeOf;Wd.exports=Aa&&typeof Aa.get==="function"?eA([Aa.get]):typeof Hd==="function"?function(t){return Hd(t==null?t:zd(t))}:!1});var Zd=y(function(Aq,Yd){var Gd=wa(),Vd=Ea(),Xd=Md();Yd.exports=Gd?function(t){return Gd(t)}:Vd?function(t){if(!t||typeof t!=="object"&&typeof t!=="function")throw TypeError("getProto: not an object");return Vd(t)}:Xd?function(t){return Xd(t)}:null});var Qi=y(function(Rq,Qd){var tA=Function.prototype.call,rA=Object.prototype.hasOwnProperty,nA=Dn();Qd.exports=nA.call(tA,rA)});var sf=y(function(_q,of){var F,iA=ya(),oA=zl(),sA=Ml(),aA=Vl(),cA=Yl(),Nr=Ql(),Lr=Vi(),pA=rd(),uA=id(),lA=sd(),dA=cd(),fA=ud(),mA=dd(),hA=md(),xA=yd(),rf=Function,Ra=function(e){try{return rf('"use strict"; return ('+e+").constructor;")()}catch(t){}},Un=ba(),gA=Sd(),_a=function(){throw new Lr},yA=Un?function(){try{return arguments.callee,_a}catch(e){try{return Un(arguments,"callee").get}catch(t){return _a}}}():_a,Ir=Td()(),ve=Zd(),bA=Ea(),vA=wa(),nf=Sa(),Fn=Zi(),jr={},wA=typeof Uint8Array>"u"||!ve?F:ve(Uint8Array),tr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?F:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?F:ArrayBuffer,"%ArrayIteratorPrototype%":Ir&&ve?ve([][Symbol.iterator]()):F,"%AsyncFromSyncIteratorPrototype%":F,"%AsyncFunction%":jr,"%AsyncGenerator%":jr,"%AsyncGeneratorFunction%":jr,"%AsyncIteratorPrototype%":jr,"%Atomics%":typeof Atomics>"u"?F:Atomics,"%BigInt%":typeof BigInt>"u"?F:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?F:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?F:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?F:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":oA,"%eval%":eval,"%EvalError%":sA,"%Float16Array%":typeof Float16Array>"u"?F:Float16Array,"%Float32Array%":typeof Float32Array>"u"?F:Float32Array,"%Float64Array%":typeof Float64Array>"u"?F:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?F:FinalizationRegistry,"%Function%":rf,"%GeneratorFunction%":jr,"%Int8Array%":typeof Int8Array>"u"?F:Int8Array,"%Int16Array%":typeof Int16Array>"u"?F:Int16Array,"%Int32Array%":typeof Int32Array>"u"?F:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ir&&ve?ve(ve([][Symbol.iterator]())):F,"%JSON%":typeof JSON==="object"?JSON:F,"%Map%":typeof Map>"u"?F:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ir||!ve?F:ve(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":iA,"%Object.getOwnPropertyDescriptor%":Un,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?F:Promise,"%Proxy%":typeof Proxy>"u"?F:Proxy,"%RangeError%":aA,"%ReferenceError%":cA,"%Reflect%":typeof Reflect>"u"?F:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?F:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ir||!ve?F:ve(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?F:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ir&&ve?ve(""[Symbol.iterator]()):F,"%Symbol%":Ir?Symbol:F,"%SyntaxError%":Nr,"%ThrowTypeError%":yA,"%TypedArray%":wA,"%TypeError%":Lr,"%Uint8Array%":typeof Uint8Array>"u"?F:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?F:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?F:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?F:Uint32Array,"%URIError%":pA,"%WeakMap%":typeof WeakMap>"u"?F:WeakMap,"%WeakRef%":typeof WeakRef>"u"?F:WeakRef,"%WeakSet%":typeof WeakSet>"u"?F:WeakSet,"%Function.prototype.call%":Fn,"%Function.prototype.apply%":nf,"%Object.defineProperty%":gA,"%Object.getPrototypeOf%":bA,"%Math.abs%":uA,"%Math.floor%":lA,"%Math.max%":dA,"%Math.min%":fA,"%Math.pow%":mA,"%Math.round%":hA,"%Math.sign%":xA,"%Reflect.getPrototypeOf%":vA};if(ve)try{null.error}catch(e){Ta=ve(ve(e)),tr["%Error.prototype%"]=Ta}var Ta,EA=function e(t){var r;if(t==="%AsyncFunction%")r=Ra("async function () {}");else if(t==="%GeneratorFunction%")r=Ra("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ra("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&&ve)r=ve(i.prototype)}return tr[t]=r,r},ef={__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"]},$n=Dn(),eo=Qi(),SA=$n.call(Fn,Array.prototype.concat),AA=$n.call(nf,Array.prototype.splice),tf=$n.call(Fn,String.prototype.replace),to=$n.call(Fn,String.prototype.slice),RA=$n.call(Fn,RegExp.prototype.exec),_A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,TA=/\\(\\)?/g,OA=function(t){var r=to(t,0,1),n=to(t,-1);if(r==="%"&&n!=="%")throw new Nr("invalid intrinsic syntax, expected closing `%`");else if(n==="%"&&r!=="%")throw new Nr("invalid intrinsic syntax, expected opening `%`");var i=[];return tf(t,_A,function(o,s,a,c){i[i.length]=a?tf(c,TA,"$1"):s||o}),i},kA=function(t,r){var n=t,i;if(eo(ef,n))i=ef[n],n="%"+i[0]+"%";if(eo(tr,n)){var o=tr[n];if(o===jr)o=EA(n);if(typeof o>"u"&&!r)throw new Lr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Nr("intrinsic "+t+" does not exist!")};of.exports=function(t,r){if(typeof t!=="string"||t.length===0)throw new Lr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!=="boolean")throw new Lr('"allowMissing" argument must be a boolean');if(RA(/^%?[^%]*%?$/,t)===null)throw new Nr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=OA(t),i=n.length>0?n[0]:"",o=kA("%"+i+"%",r),s=o.name,a=o.value,c=!1,p=o.alias;if(p)i=p[0],AA(n,SA([0,1],p));for(var u=1,l=!0;u<n.length;u+=1){var f=n[u],m=to(f,0,1),b=to(f,-1);if((m==='"'||m==="'"||m==="`"||(b==='"'||b==="'"||b==="`"))&&m!==b)throw new Nr("property names with quotes must have matching quotes");if(f==="constructor"||!l)c=!0;if(i+="."+f,s="%"+i+"%",eo(tr,s))a=tr[s];else if(a!=null){if(!(f in a)){if(!r)throw new Lr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Un&&u+1>=n.length){var x=Un(a,f);if(l=!!x,l&&"get"in x&&!("originalValue"in x.get))a=x.get;else a=a[f]}else l=eo(a,f),a=a[f];if(l&&!c)tr[s]=a}}return a}});var cf=y(function(Tq,af){var CA=va();af.exports=function(){return CA()&&!!Symbol.toStringTag}});var lf=y(function(Oq,uf){var PA=sf(),pf=PA("%Object.defineProperty%",!0),IA=cf()(),jA=Qi(),LA=Vi(),ro=IA?Symbol.toStringTag:null;uf.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 LA("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(ro&&(n||!jA(t,ro)))if(pf)pf(t,ro,{configurable:!i,enumerable:!1,value:r,writable:!1});else t[ro]=r}});var ff=y(function(kq,df){df.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var xf=y(function(Cq,hf){var Pa=bl(),NA=require("util"),Oa=require("path"),qA=require("http"),DA=require("https"),UA=require("url").parse,FA=require("fs"),$A=require("stream").Stream,BA=require("crypto"),ka=Rl(),KA=Kl(),HA=lf(),It=Qi(),Ca=ff();function mf(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function B(e){if(!(this instanceof B))return new B(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Pa.call(this),e=e||{};for(var t in e)this[t]=e[t]}NA.inherits(B,Pa);B.LINE_BREAK=`\r
|
|
12
|
+
`;B.DEFAULT_CONTENT_TYPE="application/octet-stream";B.prototype.append=function(e,t,r){if(r=r||{},typeof r==="string")r={filename:r};var n=Pa.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)};B.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)+B.LINE_BREAK.length,!t||!t.path&&!(t.readable&&It(t,"httpVersion"))&&!(t instanceof $A))return;if(!r.knownLength)this._valuesToMeasure.push(t)};B.prototype._lengthRetriever=function(e,t){if(It(e,"fd"))if(e.end!=null&&e.end!=1/0&&e.start!=null)t(null,e.end+1-(e.start?e.start:0));else FA.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(It(e,"httpVersion"))t(null,Number(e.headers["content-length"]));else if(It(e,"httpModule"))e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume();else t("Unknown stream")};B.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="'+mf(e)+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};if(typeof r.header==="object")Ca(s,r.header);var a;for(var c in s)if(It(s,c)){if(a=s[c],a==null)continue;if(!Array.isArray(a))a=[a];if(a.length)o+=c+": "+a.join("; ")+B.LINE_BREAK}return"--"+this.getBoundary()+B.LINE_BREAK+o+B.LINE_BREAK};B.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath==="string")r=Oa.normalize(t.filepath).replace(/\\/g,"/");else if(t.filename||e&&(e.name||e.path))r=Oa.basename(t.filename||e&&(e.name||e.path));else if(e&&e.readable&&It(e,"httpVersion"))r=Oa.basename(e.client._httpMessage.path||"");if(r)return'filename="'+mf(r)+'"'};B.prototype._getContentType=function(e,t){var r=t.contentType;if(!r&&e&&e.name)r=ka.lookup(e.name);if(!r&&e&&e.path)r=ka.lookup(e.path);if(!r&&e&&e.readable&&It(e,"httpVersion"))r=e.headers["content-type"];if(!r&&(t.filepath||t.filename))r=ka.lookup(t.filepath||t.filename);if(!r&&e&&typeof e==="object")r=B.DEFAULT_CONTENT_TYPE;return r};B.prototype._multiPartFooter=function(){return function(e){var t=B.LINE_BREAK,r=this._streams.length===0;if(r)t+=this._lastBoundary();e(t)}.bind(this)};B.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+B.LINE_BREAK};B.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)if(It(e,t))r[t.toLowerCase()]=e[t];return r};B.prototype.setBoundary=function(e){if(typeof e!=="string")throw TypeError("FormData boundary must be a string");this._boundary=e};B.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};B.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(B.LINE_BREAK)])}return Buffer.concat([e,Buffer.from(this._lastBoundary())])};B.prototype._generateBoundary=function(){this._boundary="--------------------------"+BA.randomBytes(12).toString("hex")};B.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};B.prototype.hasKnownLength=function(){var e=!0;if(this._valuesToMeasure.length)e=!1;return e};B.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}KA.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(i){t+=i}),e(null,t)})};B.prototype.submit=function(e,t){var r,n,i={method:"post"};if(typeof e==="string")e=UA(e),n=Ca({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i);else if(n=Ca(e,i),!n.port)n.port=n.protocol==="https:"?443:80;if(n.headers=this.getHeaders(e.headers),n.protocol==="https:")r=DA.request(n);else r=qA.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};B.prototype._error=function(e){if(!this.error)this.error=e,this.pause(),this.emit("error",e)};B.prototype.toString=function(){return"[object FormData]"};HA(B.prototype,"FormData");hf.exports=B});var za=y(function(LD,Df){var Ur=1000,Fr=Ur*60,$r=Fr*60,ir=$r*24,uR=ir*7,lR=ir*365.25;Df.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return dR(e);else if(r==="number"&&isFinite(e))return t.long?mR(e):fR(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function dR(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*lR;case"weeks":case"week":case"w":return r*uR;case"days":case"day":case"d":return r*ir;case"hours":case"hour":case"hrs":case"hr":case"h":return r*$r;case"minutes":case"minute":case"mins":case"min":case"m":return r*Fr;case"seconds":case"second":case"secs":case"sec":case"s":return r*Ur;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function fR(e){var t=Math.abs(e);if(t>=ir)return Math.round(e/ir)+"d";if(t>=$r)return Math.round(e/$r)+"h";if(t>=Fr)return Math.round(e/Fr)+"m";if(t>=Ur)return Math.round(e/Ur)+"s";return e+"ms"}function mR(e){var t=Math.abs(e);if(t>=ir)return ao(e,t,ir,"day");if(t>=$r)return ao(e,t,$r,"hour");if(t>=Fr)return ao(e,t,Fr,"minute");if(t>=Ur)return ao(e,t,Ur,"second");return e+" ms"}function ao(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var Wa=y(function(ND,Uf){function hR(e){r.debug=r,r.default=r,r.coerce=c,r.disable=s,r.enable=i,r.enabled=a,r.humanize=za(),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 f=0;f<u.length;f++)l=(l<<5)-l+u.charCodeAt(f),l|=0;return r.colors[Math.abs(l)%r.colors.length]}r.selectColor=t;function r(u){let l,f=null,m,b;function x(...w){if(!x.enabled)return;let h=x,g=Number(new Date),E=g-(l||g);if(h.diff=E,h.prev=l,h.curr=g,l=g,w[0]=r.coerce(w[0]),typeof w[0]!=="string")w.unshift("%O");let S=0;w[0]=w[0].replace(/%([a-zA-Z%])/g,(I,C)=>{if(I==="%%")return"%";S++;let M=r.formatters[C];if(typeof M==="function"){let U=w[S];I=M.call(h,U),w.splice(S,1),S--}return I}),r.formatArgs.call(h,w),(h.log||r.log).apply(h,w)}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(f!==null)return f;if(m!==r.namespaces)m=r.namespaces,b=r.enabled(u);return b},set:(w)=>{f=w}}),typeof r.init==="function")r.init(x);return x}function n(u,l){let f=r(this.namespace+(typeof l>"u"?":":l)+u);return f.log=this.log,f}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 f of l)if(f[0]==="-")r.skips.push(f.slice(1));else r.names.push(f)}function o(u,l){let f=0,m=0,b=-1,x=0;while(f<u.length)if(m<l.length&&(l[m]===u[f]||l[m]==="*"))if(l[m]==="*")b=m,x=f,m++;else f++,m++;else if(b!==-1)m=b+1,x++,f=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}Uf.exports=hR});var Ff=y(function(Ue,co){Ue.formatArgs=gR;Ue.save=yR;Ue.load=bR;Ue.useColors=xR;Ue.storage=vR();Ue.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`.")}})();Ue.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function xR(){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 gR(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+co.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)}Ue.log=console.debug||console.log||(()=>{});function yR(e){try{if(e)Ue.storage.setItem("debug",e);else Ue.storage.removeItem("debug")}catch(t){}}function bR(){let e;try{e=Ue.storage.getItem("debug")||Ue.storage.getItem("DEBUG")}catch(t){}if(!e&&typeof process<"u"&&"env"in process)e=process.env.DEBUG;return e}function vR(){try{return localStorage}catch(e){}}co.exports=Wa()(Ue);var{formatters:wR}=co.exports;wR.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Bf={};Or(Bf,{createSupportsColor:()=>Ga,default:()=>_R});function Ve(e,t=globalThis.Deno?globalThis.Deno.args:uo.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 ER(){if(!("FORCE_COLOR"in oe))return;if(oe.FORCE_COLOR==="true")return 1;if(oe.FORCE_COLOR==="false")return 0;if(oe.FORCE_COLOR.length===0)return 1;let e=Math.min(Number.parseInt(oe.FORCE_COLOR,10),3);if(![0,1,2,3].includes(e))return;return e}function SR(e){if(e===0)return!1;return{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function AR(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=ER();if(n!==void 0)po=n;let i=r?po:n;if(i===0)return 0;if(r){if(Ve("color=16m")||Ve("color=full")||Ve("color=truecolor"))return 3;if(Ve("color=256"))return 2}if("TF_BUILD"in oe&&"AGENT_NAME"in oe)return 1;if(e&&!t&&i===void 0)return 0;let o=i||0;if(oe.TERM==="dumb")return o;if(uo.default.platform==="win32"){let s=$f.default.release().split(".");if(Number(s[0])>=10&&Number(s[2])>=10586)return Number(s[2])>=14931?3:2;return 1}if("CI"in oe){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((s)=>(s in oe)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((s)=>(s in oe))||oe.CI_NAME==="codeship")return 1;return o}if("TEAMCITY_VERSION"in oe)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(oe.TEAMCITY_VERSION)?1:0;if(oe.COLORTERM==="truecolor")return 3;if(oe.TERM==="xterm-kitty")return 3;if(oe.TERM==="xterm-ghostty")return 3;if(oe.TERM==="wezterm")return 3;if("TERM_PROGRAM"in oe){let s=Number.parseInt((oe.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(oe.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(oe.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(oe.TERM))return 1;if("COLORTERM"in oe)return 1;return o}function Ga(e,t={}){let r=AR(e,{streamIsTTY:e&&e.isTTY,...t});return SR(r)}var uo,$f,Ma,oe,po,RR,_R;var Kf=j(()=>{uo=pe(require("node:process")),$f=pe(require("node:os")),Ma=pe(require("node:tty"));({env:oe}=uo.default);if(Ve("no-color")||Ve("no-colors")||Ve("color=false")||Ve("color=never"))po=0;else if(Ve("color")||Ve("colors")||Ve("color=true")||Ve("color=always"))po=1;RR={stdout:Ga({isTTY:Ma.default.isatty(1)}),stderr:Ga({isTTY:Ma.default.isatty(2)})},_R=RR});var Jf=y(function(we,fo){var TR=require("tty"),lo=require("util");we.init=LR;we.log=PR;we.formatArgs=kR;we.save=IR;we.load=jR;we.useColors=OR;we.destroy=lo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");we.colors=[6,2,3,4,5,1];try{let e=(Kf(),Hi(Bf));if(e&&(e.stderr||e).level>=2)we.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){}we.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 OR(){return"colors"in we.inspectOpts?Boolean(we.inspectOpts.colors):TR.isatty(process.stderr.fd)}function kR(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
|
-
`+o),e.push(i+"m+"+
|
|
15
|
-
`)}function
|
|
16
|
-
`).map((t)=>t.trim()).join(" ")};
|
|
17
|
-
`).some((t)=>t.indexOf("(https.js:")!==-1||t.indexOf("node:https:")!==-1)}function
|
|
14
|
+
`+o),e.push(i+"m+"+fo.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=CR()+t+" "+e[0]}function CR(){if(we.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function PR(...e){return process.stderr.write(lo.formatWithOptions(we.inspectOpts,...e)+`
|
|
15
|
+
`)}function IR(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function jR(){return process.env.DEBUG}function LR(e){e.inspectOpts={};let t=Object.keys(we.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=we.inspectOpts[t[r]]}fo.exports=Wa()(we);var{formatters:Hf}=fo.exports;Hf.o=function(e){return this.inspectOpts.colors=this.useColors,lo.inspect(e,this.inspectOpts).split(`
|
|
16
|
+
`).map((t)=>t.trim()).join(" ")};Hf.O=function(e){return this.inspectOpts.colors=this.useColors,lo.inspect(e,this.inspectOpts)}});var Nt=y(function(qD,Va){if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Va.exports=Ff();else Va.exports=Jf()});var zf=y(function(Xa){Object.defineProperty(Xa,"__esModule",{value:!0});function NR(e){return function(t,r){return new Promise((n,i)=>{e.call(this,t,r,(o,s)=>{if(o)i(o);else n(s)})})}}Xa.default=NR});var Gf=y(function(Za,Mf){var Wf=Za&&Za.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},qR=require("events"),DR=Wf(Nt()),UR=Wf(zf()),Wn=DR.default("agent-base");function FR(e){return Boolean(e)&&typeof e.addRequest==="function"}function Ya(){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 mo(e,t){return new mo.Agent(e,t)}(function(e){class t extends qR.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 Ya()?443:80}set defaultPort(r){this.explicitDefaultPort=r}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return Ya()?"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=Ya();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=(f)=>{if(r._hadError)return;r.emit("error",f),r._hadError=!0},p=()=>{s=null,o=!0;let f=Error(`A "socket" was not created for HTTP request before ${a}ms`);f.code="ETIMEOUT",c(f)},u=(f)=>{if(o)return;if(s!==null)clearTimeout(s),s=null;c(f)},l=(f)=>{if(o)return;if(s!=null)clearTimeout(s),s=null;if(FR(f)){Wn("Callback returned another Agent instance %o",f.constructor.name),f.addRequest(r,i);return}if(f){f.once("free",()=>{this.freeSocket(f,i)}),r.onSocket(f);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)Wn("Converting legacy callback function to promise"),this.promisifiedCallback=UR.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{Wn("Resolving socket for %o request: %o",i.protocol,`${r.method} ${r.path}`),Promise.resolve(this.promisifiedCallback(r,i)).then(l,u)}catch(f){Promise.reject(f).catch(u)}}freeSocket(r,n){Wn("Freeing socket %o %o",r.constructor.name,n),r.destroy()}destroy(){Wn("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype})(mo||(mo={}));Mf.exports=mo});var Vf=y(function(Gn){var $R=Gn&&Gn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Gn,"__esModule",{value:!0});var BR=$R(Nt()),Mn=BR.default("https-proxy-agent:parse-proxy-response");function KR(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){Mn("onclose had error %o",l)}function c(){Mn("onend")}function p(l){s(),Mn("onerror %o",l),r(l)}function u(l){i.push(l),n+=l.length;let f=Buffer.concat(i,n);if(f.indexOf(`\r
|
|
18
18
|
\r
|
|
19
|
-
`)===-1){
|
|
20
|
-
`)),x=+
|
|
21
|
-
`;if(r.auth)o["Proxy-Authorization"]=`Basic ${Buffer.from(r.auth).toString("base64")}`;let{host:c,port:p,secureEndpoint:u}=t;if(!
|
|
22
|
-
`;let l=
|
|
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.
|
|
19
|
+
`)===-1){Mn("have not received end of HTTP headers yet..."),o();return}let b=f.toString("ascii",0,f.indexOf(`\r
|
|
20
|
+
`)),x=+b.split(" ")[1];Mn("got proxy server response: %o",b),t({statusCode:x,buffered:f})}e.on("error",p),e.on("close",a),e.on("end",c),o()})}Gn.default=KR});var Qf=y(function(or){var HR=or&&or.__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())})},Br=or&&or.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(or,"__esModule",{value:!0});var Xf=Br(require("net")),Yf=Br(require("tls")),JR=Br(require("url")),zR=Br(require("assert")),WR=Br(Nt()),MR=Gf(),GR=Br(Vf()),Vn=WR.default("https-proxy-agent:agent");class Zf extends MR.Agent{constructor(e){let t;if(typeof e==="string")t=JR.default.parse(e);else t=e;if(!t)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");Vn("creating new HttpsProxyAgent instance: %o",t);super(t);let r=Object.assign({},t);if(this.secureProxy=t.secureProxy||YR(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 HR(this,void 0,void 0,function*(){let{proxy:r,secureProxy:n}=this,i;if(n)Vn("Creating `tls.Socket`: %o",r),i=Yf.default.connect(r);else Vn("Creating `net.Socket`: %o",r),i=Xf.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(!XR(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=GR.default(i);i.write(`${a}\r
|
|
23
|
+
`);let{statusCode:f,buffered:m}=yield l;if(f===200){if(e.once("socket",VR),t.secureEndpoint){Vn("Upgrading socket connection to TLS");let x=t.servername||t.host;return Yf.default.connect(Object.assign(Object.assign({},ZR(t,"host","hostname","path","port")),{socket:i,servername:x}))}return i}i.destroy();let b=new Xf.default.Socket({writable:!1});return b.readable=!0,e.once("socket",(x)=>{Vn("replaying proxy buffer for failed request"),zR.default(x.listenerCount("data")>0),x.push(m),x.push(null)}),b})}}or.default=Zf;function VR(e){e.resume()}function XR(e,t){return Boolean(!t&&e===80||t&&e===443)}function YR(e){return typeof e==="string"?/^https:?$/i.test(e):!1}function ZR(e,...t){let r={},n;for(n in e)if(!t.includes(n))r[n]=e[n];return r}});var tm=y(function(tc,em){var QR=tc&&tc.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Qa=QR(Qf());function ec(e){return new Qa.default(e)}(function(e){e.HttpsProxyAgent=Qa.default,e.prototype=Qa.default.prototype})(ec||(ec={}));em.exports=ec});var nm=y(function($D,rm){var Xn;rm.exports=function(){if(!Xn){try{Xn=Nt()("follow-redirects")}catch(e){}if(typeof Xn!=="function")Xn=function(){}}Xn.apply(null,arguments)}});var cm=y(function(BD,fc){var Zn=require("url"),Yn=Zn.URL,e_=require("http"),t_=require("https"),sc=require("stream").Writable,ac=require("assert"),im=nm();(function(){var t=typeof process<"u",r=typeof window<"u"&&typeof document<"u",n=ar(Error.captureStackTrace);if(!t&&(r||!n))console.warn("The follow-redirects package should be excluded from browser builds.")})();var cc=!1;try{ac(new Yn(""))}catch(e){cc=e.code==="ERR_INVALID_URL"}var r_=["Authorization","Proxy-Authorization","Cookie"],n_=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],pc=["abort","aborted","connect","error","socket","timeout"],uc=Object.create(null);pc.forEach(function(e){uc[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var nc=Qn("ERR_INVALID_URL","Invalid URL",TypeError),ic=Qn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),i_=Qn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",ic),o_=Qn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),s_=Qn("ERR_STREAM_WRITE_AFTER_END","write after end"),a_=sc.prototype.destroy||sm;function Fe(e,t){if(sc.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 ic?i:new ic({cause:i}))}},this._headerFilter=new RegExp("^(?:"+r_.concat(e.sensitiveHeaders).map(f_).join("|")+")$","i"),this._performRequest()}Fe.prototype=Object.create(sc.prototype);Fe.prototype.abort=function(){dc(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Fe.prototype.destroy=function(e){return dc(this._currentRequest,e),a_.call(this,e),this};Fe.prototype.write=function(e,t,r){if(this._ending)throw new s_;if(!sr(e)&&!l_(e))throw TypeError("data should be a string, Buffer or Uint8Array");if(ar(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 o_),this.abort()};Fe.prototype.end=function(e,t,r){if(ar(e))r=e,e=t=null;else if(ar(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}};Fe.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Fe.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Fe.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){Fe.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Fe.prototype,e,{get:function(){return this._currentRequest[e]}})});Fe.prototype._sanitizeOptions=function(e){if(!e.headers)e.headers={};if(!u_(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)}};Fe.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 pc)n.on(i,uc[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()}})()}};Fe.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(dc(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new i_;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=[],rc(/^content-/i,this._options.headers);var s=rc(/^host$/i,this._options.headers),a=lc(this._currentUrl),c=s||a.host,p=/^\w+:/.test(r)?this._currentUrl:Zn.format(Object.assign(a,{host:c})),u=c_(r,p);if(im("redirecting to",u.href),this._isRedirect=!0,oc(u,this._options),u.protocol!==a.protocol&&u.protocol!=="https:"||u.host!==c&&!p_(u.host,c))rc(this._headerFilter,this._options.headers);if(ar(i)){var l={headers:e.headers,statusCode:t},f={url:p,method:o,headers:n};i(this._options,l,f),this._sanitizeOptions(this._options)}this._performRequest()};function om(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(d_(p))p=oc(p);else if(sr(p))p=oc(lc(p));else l=u,u=am(p),p={protocol:i};if(ar(u))l=u,u=null;if(u=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},p,u),u.nativeProtocols=r,!sr(u.host)&&!sr(u.hostname))u.hostname="::1";return ac.equal(u.protocol,i,"protocol mismatch"),im("options",u),new Fe(u,l)}function c(p,u,l){var f=s.request(p,u,l);return f.end(),f}Object.defineProperties(s,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function sm(){}function lc(e){var t;if(cc)t=new Yn(e);else if(t=am(Zn.parse(e)),!sr(t.protocol))throw new nc({input:e});return t}function c_(e,t){return cc?new Yn(e,t):lc(Zn.resolve(t,e))}function am(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new nc({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new nc({input:e.href||e});return e}function oc(e,t){var r=t||{};for(var n of n_)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 rc(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 Qn(e,t,r){function n(i){if(ar(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 dc(e,t){for(var r of pc)e.removeListener(r,uc[r]);e.on("error",sm),e.destroy(t)}function p_(e,t){ac(sr(e)&&sr(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function u_(e){return e instanceof Array}function sr(e){return typeof e==="string"||e instanceof String}function ar(e){return typeof e==="function"}function l_(e){return typeof e==="object"&&"length"in e}function d_(e){return Yn&&e instanceof Yn}function f_(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}fc.exports=om({http:e_,https:t_});fc.exports.wrap=om});var zr=y(function(Dc,Ph){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Ao=require("buffer"),xt=Ao.Buffer;function Ch(e,t){for(var r in e)t[r]=e[r]}if(xt.from&&xt.alloc&&xt.allocUnsafe&&xt.allocUnsafeSlow)Ph.exports=Ao;else Ch(Ao,Dc),Dc.Buffer=ur;function ur(e,t,r){return xt(e,t,r)}ur.prototype=Object.create(xt.prototype);Ch(xt,ur);ur.from=function(e,t,r){if(typeof e==="number")throw TypeError("Argument must not be a number");return xt(e,t,r)};ur.alloc=function(e,t,r){if(typeof e!=="number")throw TypeError("Argument must be a number");var n=xt(e);if(t!==void 0)if(typeof r==="string")n.fill(t,r);else n.fill(t);else n.fill(0);return n};ur.allocUnsafe=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return xt(e)};ur.allocUnsafeSlow=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return Ao.SlowBuffer(e)}});var Uc=y(function(M$,Ih){var Ro=zr().Buffer,LT=require("stream"),NT=require("util");function _o(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=Ro.alloc(0),this;if(typeof e.pipe==="function")return this.buffer=Ro.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+")")}NT.inherits(_o,LT);_o.prototype.write=function(t){this.buffer=Ro.concat([this.buffer,Ro.from(t)]),this.emit("data",t)};_o.prototype.end=function(t){if(t)this.write(t);this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1};Ih.exports=_o});var Lh=y(function(G$,jh){function Fc(e){var t=(e/8|0)+(e%8===0?0:1);return t}var qT={ES256:Fc(256),ES384:Fc(384),ES512:Fc(521)};function DT(e){var t=qT[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}jh.exports=DT});var Bh=y(function(V$,$h){var To=zr().Buffer,qh=Lh(),Oo=128,Dh=0,UT=32,FT=16,$T=2,Uh=FT|UT|Dh<<6,ko=$T|Dh<<6;function BT(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Fh(e){if(To.isBuffer(e))return e;else if(typeof e==="string")return To.from(e,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function KT(e,t){e=Fh(e);var r=qh(t),n=r+1,i=e.length,o=0;if(e[o++]!==Uh)throw Error('Could not find expected "seq"');var s=e[o++];if(s===(Oo|1))s=e[o++];if(i-o<s)throw Error('"seq" specified length of "'+s+'", only "'+(i-o)+'" remaining');if(e[o++]!==ko)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++]!==ko)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,f=r-p,m=To.allocUnsafe(l+a+f+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 b=o;o<b+f;++o)m[o]=0;return e.copy(m,o,u+Math.max(-f,0),u+p),m=m.toString("base64"),m=BT(m),m}function Nh(e,t,r){var n=0;while(t+n<r&&e[t+n]===0)++n;var i=e[t+n]>=Oo;if(i)--n;return n}function HT(e,t){e=Fh(e);var r=qh(t),n=e.length;if(n!==r*2)throw TypeError('"'+t+'" signatures must be "'+r*2+'" bytes, saw "'+n+'"');var i=Nh(e,0,r),o=Nh(e,r,e.length),s=r-i,a=r-o,c=2+s+1+1+a,p=c<Oo,u=To.allocUnsafe((p?2:3)+c),l=0;if(u[l++]=Uh,p)u[l++]=c;else u[l++]=Oo|1,u[l++]=c&255;if(u[l++]=ko,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++]=ko,u[l++]=a,o<0)u[l++]=0,e.copy(u,l,r);else e.copy(u,l,r+o);return u}$h.exports={derToJose:KT,joseToDer:HT}});var Hh=y(function(X$,Kh){var si=require("buffer").Buffer,$c=require("buffer").SlowBuffer;Kh.exports=Co;function Co(e,t){if(!si.isBuffer(e)||!si.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}Co.install=function(){si.prototype.equal=$c.prototype.equal=function(t){return Co(this,t)}};var JT=si.prototype.equal,zT=$c.prototype.equal;Co.restore=function(){si.prototype.equal=JT,$c.prototype.equal=zT}});var Jc=y(function(Y$,Zh){var Mr=zr().Buffer,Ye=require("crypto"),zh=Bh(),Jh=require("util"),WT=`"%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".`,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(`
|
|
25
|
+
"HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,ai="secret must be a string or buffer",Wr="key must be a string or a buffer",MT="key must be a string, a buffer or an object",Kc=typeof Ye.createPublicKey==="function";if(Kc)Wr+=" or a KeyObject",ai+="or a KeyObject";function Wh(e){if(Mr.isBuffer(e))return;if(typeof e==="string")return;if(!Kc)throw ot(Wr);if(typeof e!=="object")throw ot(Wr);if(typeof e.type!=="string")throw ot(Wr);if(typeof e.asymmetricKeyType!=="string")throw ot(Wr);if(typeof e.export!=="function")throw ot(Wr)}function Mh(e){if(Mr.isBuffer(e))return;if(typeof e==="string")return;if(typeof e==="object")return;throw ot(MT)}function GT(e){if(Mr.isBuffer(e))return;if(typeof e==="string")return e;if(!Kc)throw ot(ai);if(typeof e!=="object")throw ot(ai);if(e.type!=="secret")throw ot(ai);if(typeof e.export!=="function")throw ot(ai)}function Hc(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Gh(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 ot(e){var t=[].slice.call(arguments,1),r=Jh.format.bind(Jh,e).apply(null,t);return TypeError(r)}function VT(e){return Mr.isBuffer(e)||typeof e==="string"}function ci(e){if(!VT(e))e=JSON.stringify(e);return e}function Vh(e){return function(r,n){GT(n),r=ci(r);var i=Ye.createHmac("sha"+e,n),o=(i.update(r),i.digest("base64"));return Hc(o)}}var Bc,XT="timingSafeEqual"in Ye?function(t,r){if(t.byteLength!==r.byteLength)return!1;return Ye.timingSafeEqual(t,r)}:function(t,r){if(!Bc)Bc=Hh();return Bc(t,r)};function YT(e){return function(r,n,i){var o=Vh(e)(r,i);return XT(Mr.from(n),Mr.from(o))}}function Xh(e){return function(r,n){Mh(n),r=ci(r);var i=Ye.createSign("RSA-SHA"+e),o=(i.update(r),i.sign(n,"base64"));return Hc(o)}}function Yh(e){return function(r,n,i){Wh(i),r=ci(r),n=Gh(n);var o=Ye.createVerify("RSA-SHA"+e);return o.update(r),o.verify(i,n,"base64")}}function ZT(e){return function(r,n){Mh(n),r=ci(r);var i=Ye.createSign("RSA-SHA"+e),o=(i.update(r),i.sign({key:n,padding:Ye.constants.RSA_PKCS1_PSS_PADDING,saltLength:Ye.constants.RSA_PSS_SALTLEN_DIGEST},"base64"));return Hc(o)}}function QT(e){return function(r,n,i){Wh(i),r=ci(r),n=Gh(n);var o=Ye.createVerify("RSA-SHA"+e);return o.update(r),o.verify({key:i,padding:Ye.constants.RSA_PKCS1_PSS_PADDING,saltLength:Ye.constants.RSA_PSS_SALTLEN_DIGEST},n,"base64")}}function eO(e){var t=Xh(e);return function(){var n=t.apply(null,arguments);return n=zh.derToJose(n,"ES"+e),n}}function tO(e){var t=Yh(e);return function(n,i,o){i=zh.joseToDer(i,"ES"+e).toString("base64");var s=t(n,i,o);return s}}function rO(){return function(){return""}}function nO(){return function(t,r){return r===""}}Zh.exports=function(t){var r={hs:Vh,rs:Xh,ps:ZT,es:eO,none:rO},n={hs:YT,rs:Yh,ps:QT,es:tO,none:nO},i=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!i)throw ot(WT,t);var o=(i[1]||i[3]).toLowerCase(),s=i[2];return{sign:r[o](s),verify:n[o](s)}}});var zc=y(function(Z$,Qh){var iO=require("buffer").Buffer;Qh.exports=function(t){if(typeof t==="string")return t;if(typeof t==="number"||iO.isBuffer(t))return t.toString();return JSON.stringify(t)}});var ox=y(function(Q$,ix){var oO=zr().Buffer,ex=Uc(),sO=Jc(),aO=require("stream"),tx=zc(),Wc=require("util");function rx(e,t){return oO.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function cO(e,t,r){r=r||"utf8";var n=rx(tx(e),"binary"),i=rx(tx(t),r);return Wc.format("%s.%s",n,i)}function nx(e){var{header:t,payload:r}=e,n=e.secret||e.privateKey,i=e.encoding,o=sO(t.alg),s=cO(t,r,i),a=o.sign(s,n);return Wc.format("%s.%s",s,a)}function Po(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 ex(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=r,this.payload=new ex(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))}Wc.inherits(Po,aO);Po.prototype.sign=function(){try{var t=nx({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")}};Po.sign=nx;ix.exports=Po});var hx=y(function(eB,mx){var ax=zr().Buffer,sx=Uc(),pO=Jc(),uO=require("stream"),cx=zc(),lO=require("util"),dO=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function fO(e){return Object.prototype.toString.call(e)==="[object Object]"}function mO(e){if(fO(e))return e;try{return JSON.parse(e)}catch(t){return}}function px(e){var t=e.split(".",1)[0];return mO(ax.from(t,"base64").toString("binary"))}function hO(e){return e.split(".",2).join(".")}function ux(e){return e.split(".")[2]}function xO(e,t){t=t||"utf8";var r=e.split(".")[1];return ax.from(r,"base64").toString(t)}function lx(e){return dO.test(e)&&!!px(e)}function dx(e,t,r){if(!t){var n=Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}e=cx(e);var i=ux(e),o=hO(e),s=pO(t);return s.verify(o,i,r)}function fx(e,t){if(t=t||{},e=cx(e),!lx(e))return null;var r=px(e);if(!r)return null;var n=xO(e);if(r.typ==="JWT"||t.json)n=JSON.parse(n,t.encoding);return{header:r,payload:n,signature:ux(e)}}function Gr(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 sx(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=r,this.signature=new sx(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))}lO.inherits(Gr,uO);Gr.prototype.verify=function(){try{var t=dx(this.signature.buffer,this.algorithm,this.key.buffer),r=fx(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")}};Gr.decode=fx;Gr.isValid=lx;Gr.verify=dx;mx.exports=Gr});var jo=y(function(qt){var xx=ox(),Io=hx(),gO=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];qt.ALGORITHMS=gO;qt.sign=xx.sign;qt.verify=Io.verify;qt.decode=Io.decode;qt.isValid=Io.isValid;qt.createSign=function(t){return new xx(t)};qt.createVerify=function(t){return new Io(t)}});var Mc=y(function(rB,gx){var yO=jo();gx.exports=function(e,t){t=t||{};var r=yO.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 pi=y(function(nB,yx){var Lo=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};Lo.prototype=Object.create(Error.prototype);Lo.prototype.constructor=Lo;yx.exports=Lo});var Gc=y(function(iB,vx){var bx=pi(),No=function(e,t){bx.call(this,e),this.name="NotBeforeError",this.date=t};No.prototype=Object.create(bx.prototype);No.prototype.constructor=No;vx.exports=No});var Vc=y(function(oB,Ex){var wx=pi(),qo=function(e,t){wx.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};qo.prototype=Object.create(wx.prototype);qo.prototype.constructor=qo;Ex.exports=qo});var Xc=y(function(sB,Sx){var bO=za();Sx.exports=function(e,t){var r=t||Math.floor(Date.now()/1000);if(typeof e==="string"){var n=bO(e);if(typeof n>"u")return;return Math.floor(r+n/1000)}else if(typeof e==="number")return r+e;else return}});var Vr=y(function(aB,Ax){var vO=Number.MAX_SAFE_INTEGER||9007199254740991,wO=["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:vO,RELEASE_TYPES:wO,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ui=y(function(cB,Rx){var EO=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};Rx.exports=EO});var Xr=y(function(gt,_x){var{MAX_SAFE_COMPONENT_LENGTH:Yc,MAX_SAFE_BUILD_LENGTH:SO,MAX_LENGTH:AO}=Vr(),RO=ui();gt=_x.exports={};var _O=gt.re=[],TO=gt.safeRe=[],R=gt.src=[],OO=gt.safeSrc=[],_=gt.t={},kO=0,Zc="[a-zA-Z0-9-]",CO=[["\\s",1],["\\d",AO],[Zc,SO]],PO=(e)=>{for(let[t,r]of CO)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},N=(e,t,r)=>{let n=PO(t),i=kO++;RO(e,i,t),_[e]=i,R[i]=t,OO[i]=n,_O[i]=new RegExp(t,r?"g":void 0),TO[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",`(${R[_.NUMERICIDENTIFIER]})\\.(${R[_.NUMERICIDENTIFIER]})\\.(${R[_.NUMERICIDENTIFIER]})`);N("MAINVERSIONLOOSE",`(${R[_.NUMERICIDENTIFIERLOOSE]})\\.(${R[_.NUMERICIDENTIFIERLOOSE]})\\.(${R[_.NUMERICIDENTIFIERLOOSE]})`);N("PRERELEASEIDENTIFIER",`(?:${R[_.NONNUMERICIDENTIFIER]}|${R[_.NUMERICIDENTIFIER]})`);N("PRERELEASEIDENTIFIERLOOSE",`(?:${R[_.NONNUMERICIDENTIFIER]}|${R[_.NUMERICIDENTIFIERLOOSE]})`);N("PRERELEASE",`(?:-(${R[_.PRERELEASEIDENTIFIER]}(?:\\.${R[_.PRERELEASEIDENTIFIER]})*))`);N("PRERELEASELOOSE",`(?:-?(${R[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${R[_.PRERELEASEIDENTIFIERLOOSE]})*))`);N("BUILDIDENTIFIER",`${Zc}+`);N("BUILD",`(?:\\+(${R[_.BUILDIDENTIFIER]}(?:\\.${R[_.BUILDIDENTIFIER]})*))`);N("FULLPLAIN",`v?${R[_.MAINVERSION]}${R[_.PRERELEASE]}?${R[_.BUILD]}?`);N("FULL",`^${R[_.FULLPLAIN]}$`);N("LOOSEPLAIN",`[v=\\s]*${R[_.MAINVERSIONLOOSE]}${R[_.PRERELEASELOOSE]}?${R[_.BUILD]}?`);N("LOOSE",`^${R[_.LOOSEPLAIN]}$`);N("GTLT","((?:<|>)?=?)");N("XRANGEIDENTIFIERLOOSE",`${R[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);N("XRANGEIDENTIFIER",`${R[_.NUMERICIDENTIFIER]}|x|X|\\*`);N("XRANGEPLAIN",`[v=\\s]*(${R[_.XRANGEIDENTIFIER]})(?:\\.(${R[_.XRANGEIDENTIFIER]})(?:\\.(${R[_.XRANGEIDENTIFIER]})(?:${R[_.PRERELEASE]})?${R[_.BUILD]}?)?)?`);N("XRANGEPLAINLOOSE",`[v=\\s]*(${R[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${R[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${R[_.XRANGEIDENTIFIERLOOSE]})(?:${R[_.PRERELEASELOOSE]})?${R[_.BUILD]}?)?)?`);N("XRANGE",`^${R[_.GTLT]}\\s*${R[_.XRANGEPLAIN]}$`);N("XRANGELOOSE",`^${R[_.GTLT]}\\s*${R[_.XRANGEPLAINLOOSE]}$`);N("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Yc}})(?:\\.(\\d{1,${Yc}}))?(?:\\.(\\d{1,${Yc}}))?`);N("COERCE",`${R[_.COERCEPLAIN]}(?:$|[^\\d])`);N("COERCEFULL",R[_.COERCEPLAIN]+`(?:${R[_.PRERELEASE]})?(?:${R[_.BUILD]})?(?:$|[^\\d])`);N("COERCERTL",R[_.COERCE],!0);N("COERCERTLFULL",R[_.COERCEFULL],!0);N("LONETILDE","(?:~>?)");N("TILDETRIM",`(\\s*)${R[_.LONETILDE]}\\s+`,!0);gt.tildeTrimReplace="$1~";N("TILDE",`^${R[_.LONETILDE]}${R[_.XRANGEPLAIN]}$`);N("TILDELOOSE",`^${R[_.LONETILDE]}${R[_.XRANGEPLAINLOOSE]}$`);N("LONECARET","(?:\\^)");N("CARETTRIM",`(\\s*)${R[_.LONECARET]}\\s+`,!0);gt.caretTrimReplace="$1^";N("CARET",`^${R[_.LONECARET]}${R[_.XRANGEPLAIN]}$`);N("CARETLOOSE",`^${R[_.LONECARET]}${R[_.XRANGEPLAINLOOSE]}$`);N("COMPARATORLOOSE",`^${R[_.GTLT]}\\s*(${R[_.LOOSEPLAIN]})$|^$`);N("COMPARATOR",`^${R[_.GTLT]}\\s*(${R[_.FULLPLAIN]})$|^$`);N("COMPARATORTRIM",`(\\s*)${R[_.GTLT]}\\s*(${R[_.LOOSEPLAIN]}|${R[_.XRANGEPLAIN]})`,!0);gt.comparatorTrimReplace="$1$2$3";N("HYPHENRANGE",`^\\s*(${R[_.XRANGEPLAIN]})\\s+-\\s+(${R[_.XRANGEPLAIN]})\\s*$`);N("HYPHENRANGELOOSE",`^\\s*(${R[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${R[_.XRANGEPLAINLOOSE]})\\s*$`);N("STAR","(<|>)?=?\\s*\\*");N("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");N("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Do=y(function(pB,Tx){var IO=Object.freeze({loose:!0}),jO=Object.freeze({}),LO=(e)=>{if(!e)return jO;if(typeof e!=="object")return IO;return e};Tx.exports=LO});var Qc=y(function(uB,Cx){var Ox=/^[0-9]+$/,kx=(e,t)=>{if(typeof e==="number"&&typeof t==="number")return e===t?0:e<t?-1:1;let r=Ox.test(e),n=Ox.test(t);if(r&&n)e=+e,t=+t;return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},NO=(e,t)=>kx(t,e);Cx.exports={compareIdentifiers:kx,rcompareIdentifiers:NO}});var _e=y(function(lB,Ix){var Uo=ui(),{MAX_LENGTH:Px,MAX_SAFE_INTEGER:Fo}=Vr(),{safeRe:$o,t:Bo}=Xr(),qO=Do(),{compareIdentifiers:ep}=Qc(),DO=(e,t)=>{let r=t.split(".");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(ep(e[n],r[n])!==0)return!1;return!0};class st{constructor(e,t){if(t=qO(t),e instanceof st)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>Px)throw TypeError(`version is longer than ${Px} characters`);Uo("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?$o[Bo.LOOSE]:$o[Bo.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>Fo||this.major<0)throw TypeError("Invalid major version");if(this.minor>Fo||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>Fo||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<Fo)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(Uo("SemVer.compare",this.version,this.options,e),!(e instanceof st)){if(typeof e==="string"&&e===this.version)return 0;e=new st(e,this.options)}if(e.version===this.version)return 0;return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof st))e=new st(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 st))e=new st(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(Uo("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 ep(r,n)}while(++t)}compareBuild(e){if(!(e instanceof st))e=new st(e,this.options);let t=0;do{let r=this.build[t],n=e.build[t];if(Uo("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 ep(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?$o[Bo.PRERELEASELOOSE]:$o[Bo.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(DO(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}}Ix.exports=st});var Dt=y(function(dB,Lx){var jx=_e(),UO=(e,t,r=!1)=>{if(e instanceof jx)return e;try{return new jx(e,t)}catch(n){if(!r)return null;throw n}};Lx.exports=UO});var qx=y(function(fB,Nx){var FO=Dt(),$O=(e,t)=>{let r=FO(e,t);return r?r.version:null};Nx.exports=$O});var Ux=y(function(mB,Dx){var BO=Dt(),KO=(e,t)=>{let r=BO(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};Dx.exports=KO});var Bx=y(function(hB,$x){var Fx=_e(),HO=(e,t,r,n,i)=>{if(typeof r==="string")i=n,n=r,r=void 0;try{return new Fx(e instanceof Fx?e.version:e,r).inc(t,n,i).version}catch(o){return null}};$x.exports=HO});var Jx=y(function(xB,Hx){var Kx=Dt(),JO=(e,t)=>{let r=Kx(e,null,!0),n=Kx(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"};Hx.exports=JO});var Wx=y(function(gB,zx){var zO=_e(),WO=(e,t)=>new zO(e,t).major;zx.exports=WO});var Gx=y(function(yB,Mx){var MO=_e(),GO=(e,t)=>new MO(e,t).minor;Mx.exports=GO});var Xx=y(function(bB,Vx){var VO=_e(),XO=(e,t)=>new VO(e,t).patch;Vx.exports=XO});var Zx=y(function(vB,Yx){var YO=Dt(),ZO=(e,t)=>{let r=YO(e,t);return r&&r.prerelease.length?r.prerelease:null};Yx.exports=ZO});var Ze=y(function(wB,eg){var Qx=_e(),QO=(e,t,r)=>new Qx(e,r).compare(new Qx(t,r));eg.exports=QO});var rg=y(function(EB,tg){var ek=Ze(),tk=(e,t,r)=>ek(t,e,r);tg.exports=tk});var ig=y(function(SB,ng){var rk=Ze(),nk=(e,t)=>rk(e,t,!0);ng.exports=nk});var Ko=y(function(AB,sg){var og=_e(),ik=(e,t,r)=>{let n=new og(e,r),i=new og(t,r);return n.compare(i)||n.compareBuild(i)};sg.exports=ik});var cg=y(function(RB,ag){var ok=Ko(),sk=(e,t)=>e.sort((r,n)=>ok(r,n,t));ag.exports=sk});var ug=y(function(_B,pg){var ak=Ko(),ck=(e,t)=>e.sort((r,n)=>ak(n,r,t));pg.exports=ck});var li=y(function(TB,lg){var pk=Ze(),uk=(e,t,r)=>pk(e,t,r)>0;lg.exports=uk});var Ho=y(function(OB,dg){var lk=Ze(),dk=(e,t,r)=>lk(e,t,r)<0;dg.exports=dk});var tp=y(function(kB,fg){var fk=Ze(),mk=(e,t,r)=>fk(e,t,r)===0;fg.exports=mk});var rp=y(function(CB,mg){var hk=Ze(),xk=(e,t,r)=>hk(e,t,r)!==0;mg.exports=xk});var Jo=y(function(PB,hg){var gk=Ze(),yk=(e,t,r)=>gk(e,t,r)>=0;hg.exports=yk});var zo=y(function(IB,xg){var bk=Ze(),vk=(e,t,r)=>bk(e,t,r)<=0;xg.exports=vk});var np=y(function(jB,gg){var wk=tp(),Ek=rp(),Sk=li(),Ak=Jo(),Rk=Ho(),_k=zo(),Tk=(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 wk(e,r,n);case"!=":return Ek(e,r,n);case">":return Sk(e,r,n);case">=":return Ak(e,r,n);case"<":return Rk(e,r,n);case"<=":return _k(e,r,n);default:throw TypeError(`Invalid operator: ${t}`)}};gg.exports=Tk});var bg=y(function(LB,yg){var Ok=_e(),kk=Dt(),{safeRe:Wo,t:Mo}=Xr(),Ck=(e,t)=>{if(e instanceof Ok)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?Wo[Mo.COERCEFULL]:Wo[Mo.COERCE]);else{let c=t.includePrerelease?Wo[Mo.COERCERTLFULL]:Wo[Mo.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 kk(`${n}.${i}.${o}${s}${a}`,t)};yg.exports=Ck});var wg=y(function(NB,vg){var Pk=Dt(),Ik=Vr(),jk=_e(),Lk=(e,t,r)=>{if(!Ik.RELEASE_TYPES.includes(t))return null;let n=Nk(e,r);return n&&qk(n,t)},Nk=(e,t)=>{let r=e instanceof jk?e.version:e;return Pk(r,t)},qk=(e,t)=>{if(Dk(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()},Dk=(e)=>e.startsWith("pre");vg.exports=Lk});var Ag=y(function(qB,Sg){class Eg{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=Eg});var Qe=y(function(DB,Og){var Uk=/\s+/g;class di{constructor(e,t){if(t=$k(t),e instanceof di)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else return new di(e.raw,t);if(e instanceof ip)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(Uk," "),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)=>!_g(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&&Vk(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(Gk,"");let r=((this.options.includePrerelease&&Wk)|(this.options.loose&&Mk))+":"+e,n=Rg.get(r);if(n)return n;let i=this.options.loose,o=i?Pe[Te.HYPHENRANGELOOSE]:Pe[Te.HYPHENRANGE];e=e.replace(o,sC(this.options.includePrerelease)),ne("hyphen replace",e),e=e.replace(Pe[Te.COMPARATORTRIM],Hk),ne("comparator trim",e),e=e.replace(Pe[Te.TILDETRIM],Jk),ne("tilde trim",e),e=e.replace(Pe[Te.CARETTRIM],zk),ne("caret trim",e);let s=e.split(" ").map((u)=>Xk(u,this.options)).join(" ").split(/\s+/).map((u)=>oC(u,this.options));if(i)s=s.filter((u)=>(ne("loose invalid filter",u,this.options),!!u.match(Pe[Te.COMPARATORLOOSE])));ne("range list",s);let a=new Map,c=s.map((u)=>new ip(u,this.options));for(let u of c){if(_g(u))return[u];a.set(u.value,u)}if(a.size>1&&a.has(""))a.delete("");let p=[...a.values()];return Rg.set(r,p),p}intersects(e,t){if(!(e instanceof di))throw TypeError("a Range is required");return this.set.some((r)=>Tg(r,t)&&e.set.some((n)=>Tg(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 Bk(e,this.options)}catch(t){return!1}for(let t=0;t<this.set.length;t++)if(aC(this.set[t],e,this.options))return!0;return!1}}Og.exports=di;var Fk=Ag(),Rg=new Fk,$k=Do(),ip=fi(),ne=ui(),Bk=_e(),{safeRe:Pe,src:Kk,t:Te,comparatorTrimReplace:Hk,tildeTrimReplace:Jk,caretTrimReplace:zk}=Xr(),{FLAG_INCLUDE_PRERELEASE:Wk,FLAG_LOOSE:Mk}=Vr(),Gk=new RegExp(Kk[Te.BUILD],"g"),_g=(e)=>e.value==="<0.0.0-0",Vk=(e)=>e.value==="",Tg=(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},Xk=(e,t)=>(e=e.replace(Pe[Te.BUILD],""),ne("comp",e,t),e=eC(e,t),ne("caret",e),e=Zk(e,t),ne("tildes",e),e=rC(e,t),ne("xrange",e),e=iC(e,t),ne("stars",e),e),ge=(e)=>!e||e.toLowerCase()==="x"||e==="*",Yk=(e,t,r)=>ge(e)&&!ge(t)||ge(t)&&r&&!ge(r),Zk=(e,t)=>e.trim().split(/\s+/).map((r)=>Qk(r,t)).join(" "),Qk=(e,t)=>{let r=t.loose?Pe[Te.TILDELOOSE]:Pe[Te.TILDE],n=t.includePrerelease?"-0":"";return e.replace(r,(i,o,s,a,c)=>{ne("tilde",e,i,o,s,a,c);let p;if(ge(o))p="";else if(ge(s))p=`>=${o}.0.0${n} <${+o+1}.0.0-0`;else if(ge(a))p=`>=${o}.${s}.0${n} <${o}.${+s+1}.0-0`;else if(c)ne("replaceTilde pr",c),p=`>=${o}.${s}.${a}-${c} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`;return ne("tilde return",p),p})},eC=(e,t)=>e.trim().split(/\s+/).map((r)=>tC(r,t)).join(" "),tC=(e,t)=>{ne("caret",e,t);let r=t.loose?Pe[Te.CARETLOOSE]:Pe[Te.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,o,s,a,c)=>{ne("caret",e,i,o,s,a,c);let p;if(ge(o))p="";else if(ge(s))p=`>=${o}.0.0${n} <${+o+1}.0.0-0`;else if(ge(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(ne("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(ne("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 ne("caret return",p),p})},rC=(e,t)=>(ne("replaceXRanges",e,t),e.split(/\s+/).map((r)=>nC(r,t)).join(" ")),nC=(e,t)=>{e=e.trim();let r=t.loose?Pe[Te.XRANGELOOSE]:Pe[Te.XRANGE];return e.replace(r,(n,i,o,s,a,c)=>{if(ne("xRange",e,n,i,o,s,a,c),Yk(o,s,a))return e;let p=ge(o),u=p||ge(s),l=u||ge(a),f=l;if(i==="="&&f)i="";if(c=t.includePrerelease?"-0":"",p)if(i===">"||i==="<")n="<0.0.0-0";else n="*";else if(i&&f){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 ne("xRange return",n),n})},iC=(e,t)=>(ne("replaceStars",e,t),e.trim().replace(Pe[Te.STAR],"")),oC=(e,t)=>(ne("replaceGTE0",e,t),e.trim().replace(Pe[t.includePrerelease?Te.GTE0PRE:Te.GTE0],"")),sC=(e)=>(t,r,n,i,o,s,a,c,p,u,l,f)=>{if(ge(n))r="";else if(ge(i))r=`>=${n}.0.0${e?"-0":""}`;else if(ge(o))r=`>=${n}.${i}.0${e?"-0":""}`;else if(s)r=`>=${r}`;else r=`>=${r}${e?"-0":""}`;if(ge(p))c="";else if(ge(u))c=`<${+p+1}.0.0-0`;else if(ge(l))c=`<${p}.${+u+1}.0-0`;else if(f)c=`<=${p}.${u}.${l}-${f}`;else if(e)c=`<${p}.${u}.${+l+1}-0`;else c=`<=${c}`;return`${r} ${c}`.trim()},aC=(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(ne(e[n].semver),e[n].semver===ip.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 fi=y(function(UB,Lg){var mi=Symbol("SemVer ANY");class Go{static get ANY(){return mi}constructor(e,t){if(t=kg(t),e instanceof Go)if(e.loose===!!t.loose)return e;else e=e.value;if(e=e.trim().split(/\s+/).join(" "),sp("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===mi)this.value="";else this.value=this.operator+this.semver.version;sp("comp",this)}parse(e){let t=this.options.loose?Cg[Pg.COMPARATORLOOSE]:Cg[Pg.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=mi;else this.semver=new Ig(r[2],this.options.loose)}toString(){return this.value}test(e){if(sp("Comparator.test",e,this.options.loose),this.semver===mi||e===mi)return!0;if(typeof e==="string")try{e=new Ig(e,this.options)}catch(t){return!1}return op(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Go))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new jg(e.value,t).test(this.value)}else if(e.operator===""){if(e.value==="")return!0;return new jg(this.value,t).test(e.semver)}if(t=kg(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(op(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))return!0;if(op(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))return!0;return!1}}Lg.exports=Go;var kg=Do(),{safeRe:Cg,t:Pg}=Xr(),op=np(),sp=ui(),Ig=_e(),jg=Qe()});var hi=y(function(FB,Ng){var cC=Qe(),pC=(e,t,r)=>{try{t=new cC(t,r)}catch(n){return!1}return t.test(e)};Ng.exports=pC});var Dg=y(function($B,qg){var uC=Qe(),lC=(e,t)=>new uC(e,t).set.map((r)=>r.map((n)=>n.value).join(" ").trim().split(" "));qg.exports=lC});var Fg=y(function(BB,Ug){var dC=_e(),fC=Qe(),mC=(e,t,r)=>{let n=null,i=null,o=null;try{o=new fC(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===-1)n=s,i=new dC(n,r)}}),n};Ug.exports=mC});var Bg=y(function(KB,$g){var hC=_e(),xC=Qe(),gC=(e,t,r)=>{let n=null,i=null,o=null;try{o=new xC(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===1)n=s,i=new hC(n,r)}}),n};$g.exports=gC});var Jg=y(function(HB,Hg){var ap=_e(),yC=Qe(),Kg=li(),bC=(e,t)=>{e=new yC(e,t);let r=new ap("0.0.0");if(e.test(r))return r;if(r=new ap("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 ap(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||Kg(a,o))o=a;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${s.operator}`)}}),o&&(!r||Kg(r,o)))r=o}if(r&&e.test(r))return r;return null};Hg.exports=bC});var Wg=y(function(JB,zg){var vC=Qe(),wC=(e,t)=>{try{return new vC(e,t).range||"*"}catch(r){return null}};zg.exports=wC});var Vo=y(function(zB,Xg){var EC=_e(),Vg=fi(),{ANY:SC}=Vg,AC=Qe(),RC=hi(),Mg=li(),Gg=Ho(),_C=zo(),TC=Jo(),OC=(e,t,r,n)=>{e=new EC(e,n),t=new AC(t,n);let i,o,s,a,c;switch(r){case">":i=Mg,o=_C,s=Gg,a=">",c=">=";break;case"<":i=Gg,o=TC,s=Mg,a="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(RC(e,t,n))return!1;for(let p=0;p<t.set.length;++p){let u=t.set[p],l=null,f=null;if(u.forEach((m)=>{if(m.semver===SC)m=new Vg(">=0.0.0");if(l=l||m,f=f||m,i(m.semver,l.semver,n))l=m;else if(s(m.semver,f.semver,n))f=m}),l.operator===a||l.operator===c)return!1;if((!f.operator||f.operator===a)&&o(e,f.semver))return!1;else if(f.operator===c&&s(e,f.semver))return!1}return!0};Xg.exports=OC});var Zg=y(function(WB,Yg){var kC=Vo(),CC=(e,t,r)=>kC(e,t,">",r);Yg.exports=CC});var ey=y(function(MB,Qg){var PC=Vo(),IC=(e,t,r)=>PC(e,t,"<",r);Qg.exports=IC});var ny=y(function(GB,ry){var ty=Qe(),jC=(e,t,r)=>(e=new ty(e,r),t=new ty(t,r),e.intersects(t,r));ry.exports=jC});var oy=y(function(VB,iy){var LC=hi(),NC=Ze();iy.exports=(e,t,r)=>{let n=[],i=null,o=null,s=e.sort((u,l)=>NC(u,l,r));for(let u of s)if(LC(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 ly=y(function(XB,uy){var sy=Qe(),up=fi(),{ANY:cp}=up,pp=hi(),lp=Ze(),qC=(e,t,r={})=>{if(e===t)return!0;e=new sy(e,r),t=new sy(t,r);let n=!1;e:for(let i of e.set){for(let o of t.set){let s=UC(i,o,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},DC=[new up(">=0.0.0-0")],ay=[new up(">=0.0.0")],UC=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===cp)if(t.length===1&&t[0].semver===cp)return!0;else if(r.includePrerelease)e=DC;else e=ay;if(t.length===1&&t[0].semver===cp)if(r.includePrerelease)return!0;else t=ay;let n=new Set,i,o;for(let m of e)if(m.operator===">"||m.operator===">=")i=cy(i,m,r);else if(m.operator==="<"||m.operator==="<=")o=py(o,m,r);else n.add(m.semver);if(n.size>1)return null;let s;if(i&&o){if(s=lp(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&&!pp(m,String(i),r))return null;if(o&&!pp(m,String(o),r))return null;for(let b of t)if(!pp(m,String(b),r))return!1;return!0}let a,c,p,u,l=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=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(f){if(m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===f.major&&m.semver.minor===f.minor&&m.semver.patch===f.patch)f=!1}if(m.operator===">"||m.operator===">="){if(a=cy(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=py(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(f||l)return!1;return!0},cy=(e,t,r)=>{if(!e)return t;let n=lp(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e},py=(e,t,r)=>{if(!e)return t;let n=lp(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};uy.exports=qC});var Xo=y(function(YB,my){var dp=Xr(),dy=Vr(),FC=_e(),fy=Qc(),$C=Dt(),BC=qx(),KC=Ux(),HC=Bx(),JC=Jx(),zC=Wx(),WC=Gx(),MC=Xx(),GC=Zx(),VC=Ze(),XC=rg(),YC=ig(),ZC=Ko(),QC=cg(),eP=ug(),tP=li(),rP=Ho(),nP=tp(),iP=rp(),oP=Jo(),sP=zo(),aP=np(),cP=bg(),pP=wg(),uP=fi(),lP=Qe(),dP=hi(),fP=Dg(),mP=Fg(),hP=Bg(),xP=Jg(),gP=Wg(),yP=Vo(),bP=Zg(),vP=ey(),wP=ny(),EP=oy(),SP=ly();my.exports={parse:$C,valid:BC,clean:KC,inc:HC,diff:JC,major:zC,minor:WC,patch:MC,prerelease:GC,compare:VC,rcompare:XC,compareLoose:YC,compareBuild:ZC,sort:QC,rsort:eP,gt:tP,lt:rP,eq:nP,neq:iP,gte:oP,lte:sP,cmp:aP,coerce:cP,truncate:pP,Comparator:uP,Range:lP,satisfies:dP,toComparators:fP,maxSatisfying:mP,minSatisfying:hP,minVersion:xP,validRange:gP,outside:yP,gtr:bP,ltr:vP,intersects:wP,simplifyRange:EP,subset:SP,SemVer:FC,re:dp.re,src:dp.src,tokens:dp.t,SEMVER_SPEC_VERSION:dy.SEMVER_SPEC_VERSION,RELEASE_TYPES:dy.RELEASE_TYPES,compareIdentifiers:fy.compareIdentifiers,rcompareIdentifiers:fy.rcompareIdentifiers}});var xy=y(function(ZB,hy){var AP=Xo();hy.exports=AP.satisfies(process.version,">=15.7.0")});var yy=y(function(QB,gy){var RP=Xo();gy.exports=RP.satisfies(process.version,">=16.9.0")});var fp=y(function(eK,by){var _P=xy(),TP=yy(),OP={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},kP={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};by.exports=function(e,t){if(!e||!t)return;let r=t.asymmetricKeyType;if(!r)return;let n=OP[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(_P)switch(r){case"ec":let i=t.asymmetricKeyDetails.namedCurve,o=kP[e];if(i!==o)throw Error(`"alg" parameter "${e}" requires curve "${o}".`);break;case"rsa-pss":if(TP){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 mp=y(function(tK,vy){var CP=Xo();vy.exports=CP.satisfies(process.version,"^6.12.0 || >=8.0.0")});var Sy=y(function(rK,Ey){var ee=pi(),PP=Gc(),wy=Vc(),IP=Mc(),jP=Xc(),LP=fp(),NP=mp(),qP=jo(),{KeyObject:DP,createSecretKey:UP,createPublicKey:FP}=require("crypto"),hp=["RS256","RS384","RS512"],$P=["ES256","ES384","ES512"],xp=["RS256","RS384","RS512"],BP=["HS256","HS384","HS512"];if(NP)hp.splice(hp.length,0,"PS256","PS384","PS512"),xp.splice(xp.length,0,"PS256","PS384","PS512");Ey.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 ee("clockTimestamp must be a number"));if(r.nonce!==void 0&&(typeof r.nonce!=="string"||r.nonce.trim()===""))return i(new ee("nonce must be a non-empty string"));if(r.allowInvalidAsymmetricKeyTypes!==void 0&&typeof r.allowInvalidAsymmetricKeyTypes!=="boolean")return i(new ee("allowInvalidAsymmetricKeyTypes must be a boolean"));let o=r.clockTimestamp||Math.floor(Date.now()/1000);if(!e)return i(new ee("jwt must be provided"));if(typeof e!=="string")return i(new ee("jwt must be a string"));let s=e.split(".");if(s.length!==3)return i(new ee("jwt malformed"));let a;try{a=IP(e,{complete:!0})}catch(u){return i(u)}if(!a)return i(new ee("invalid token"));let c=a.header,p;if(typeof t==="function"){if(!n)return i(new ee("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 ee("error in secret or public key callback: "+u.message));let f=s[2].trim()!=="";if(!f&&l)return i(new ee("jwt signature is required"));if(f&&!l)return i(new ee("secret or public key must be provided"));if(!f&&!r.algorithms)return i(new ee('please specify "none" in "algorithms" to verify unsigned tokens'));if(l!=null&&!(l instanceof DP))try{l=FP(l)}catch(x){try{l=UP(typeof l==="string"?Buffer.from(l):l)}catch(w){return i(new ee("secretOrPublicKey is not valid key material"))}}if(!r.algorithms)if(l.type==="secret")r.algorithms=BP;else if(["rsa","rsa-pss"].includes(l.asymmetricKeyType))r.algorithms=xp;else if(l.asymmetricKeyType==="ec")r.algorithms=$P;else r.algorithms=hp;if(r.algorithms.indexOf(a.header.alg)===-1)return i(new ee("invalid algorithm"));if(c.alg.startsWith("HS")&&l.type!=="secret")return i(new ee(`secretOrPublicKey must be a symmetric key when using ${c.alg}`));else if(/^(?:RS|PS|ES)/.test(c.alg)&&l.type!=="public")return i(new ee(`secretOrPublicKey must be an asymmetric key when using ${c.alg}`));if(!r.allowInvalidAsymmetricKeyTypes)try{LP(c.alg,l)}catch(x){return i(x)}let m;try{m=qP.verify(e,a.header.alg,l)}catch(x){return i(x)}if(!m)return i(new ee("invalid signature"));let b=a.payload;if(typeof b.nbf<"u"&&!r.ignoreNotBefore){if(typeof b.nbf!=="number")return i(new ee("invalid nbf value"));if(b.nbf>o+(r.clockTolerance||0))return i(new PP("jwt not active",new Date(b.nbf*1000)))}if(typeof b.exp<"u"&&!r.ignoreExpiration){if(typeof b.exp!=="number")return i(new ee("invalid exp value"));if(o>=b.exp+(r.clockTolerance||0))return i(new wy("jwt expired",new Date(b.exp*1000)))}if(r.audience){let x=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(b.aud)?b.aud:[b.aud]).some(function(g){return x.some(function(E){return E instanceof RegExp?E.test(g):E===g})}))return i(new ee("jwt audience invalid. expected: "+x.join(" or ")))}if(r.issuer){if(typeof r.issuer==="string"&&b.iss!==r.issuer||Array.isArray(r.issuer)&&r.issuer.indexOf(b.iss)===-1)return i(new ee("jwt issuer invalid. expected: "+r.issuer))}if(r.subject){if(b.sub!==r.subject)return i(new ee("jwt subject invalid. expected: "+r.subject))}if(r.jwtid){if(b.jti!==r.jwtid)return i(new ee("jwt jwtid invalid. expected: "+r.jwtid))}if(r.nonce){if(b.nonce!==r.nonce)return i(new ee("jwt nonce invalid. expected: "+r.nonce))}if(r.maxAge){if(typeof b.iat!=="number")return i(new ee("iat required when maxAge is specified"));let x=jP(r.maxAge,b.iat);if(typeof x>"u")return i(new ee('"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 wy("maxAge exceeded",new Date(x*1000)))}if(r.complete===!0){let x=a.signature;return i(null,{header:c,payload:b,signature:x})}return i(null,b)})}});var ky=y(function(nK,Oy){var Ay=1/0,_y=9007199254740991,KP=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,Ry=NaN,HP="[object Arguments]",JP="[object Function]",zP="[object GeneratorFunction]",WP="[object String]",MP="[object Symbol]",GP=/^\s+|\s+$/g,VP=/^[-+]0x[0-9a-f]+$/i,XP=/^0b[01]+$/i,YP=/^0o[0-7]+$/i,ZP=/^(?:0|[1-9]\d*)$/,QP=parseInt;function e1(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 t1(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 r1(e,t,r){if(t!==t)return t1(e,n1,r);var n=r-1,i=e.length;while(++n<i)if(e[n]===t)return n;return-1}function n1(e){return e!==e}function i1(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function o1(e,t){return e1(t,function(r){return e[r]})}function s1(e,t){return function(r){return e(t(r))}}var Yo=Object.prototype,yp=Yo.hasOwnProperty,Zo=Yo.toString,a1=Yo.propertyIsEnumerable,c1=s1(Object.keys,Object),p1=Math.max;function u1(e,t){var r=Ty(e)||h1(e)?i1(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||yp.call(e,o))&&!(i&&(o=="length"||d1(o,n))))r.push(o);return r}function l1(e){if(!f1(e))return c1(e);var t=[];for(var r in Object(e))if(yp.call(e,r)&&r!="constructor")t.push(r);return t}function d1(e,t){return t=t==null?_y:t,!!t&&(typeof e=="number"||ZP.test(e))&&(e>-1&&e%1==0&&e<t)}function f1(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Yo;return e===r}function m1(e,t,r,n){e=bp(e)?e:R1(e),r=r&&!n?E1(r):0;var i=e.length;if(r<0)r=p1(i+r,0);return b1(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&r1(e,t,r)>-1}function h1(e){return x1(e)&&yp.call(e,"callee")&&(!a1.call(e,"callee")||Zo.call(e)==HP)}var Ty=Array.isArray;function bp(e){return e!=null&&y1(e.length)&&!g1(e)}function x1(e){return vp(e)&&bp(e)}function g1(e){var t=gp(e)?Zo.call(e):"";return t==JP||t==zP}function y1(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=_y}function gp(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function vp(e){return!!e&&typeof e=="object"}function b1(e){return typeof e=="string"||!Ty(e)&&vp(e)&&Zo.call(e)==WP}function v1(e){return typeof e=="symbol"||vp(e)&&Zo.call(e)==MP}function w1(e){if(!e)return e===0?e:0;if(e=S1(e),e===Ay||e===-Ay){var t=e<0?-1:1;return t*KP}return e===e?e:0}function E1(e){var t=w1(e),r=t%1;return t===t?r?t-r:t:0}function S1(e){if(typeof e=="number")return e;if(v1(e))return Ry;if(gp(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=gp(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(GP,"");var r=XP.test(e);return r||YP.test(e)?QP(e.slice(2),r?2:8):VP.test(e)?Ry:+e}function A1(e){return bp(e)?u1(e):l1(e)}function R1(e){return e?o1(e,A1(e)):[]}Oy.exports=m1});var Py=y(function(iK,Cy){var _1="[object Boolean]",T1=Object.prototype,O1=T1.toString;function k1(e){return e===!0||e===!1||C1(e)&&O1.call(e)==_1}function C1(e){return!!e&&typeof e=="object"}Cy.exports=k1});var qy=y(function(oK,Ny){var Iy=1/0,P1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,jy=NaN,I1="[object Symbol]",j1=/^\s+|\s+$/g,L1=/^[-+]0x[0-9a-f]+$/i,N1=/^0b[01]+$/i,q1=/^0o[0-7]+$/i,D1=parseInt,U1=Object.prototype,F1=U1.toString;function $1(e){return typeof e=="number"&&e==J1(e)}function Ly(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function B1(e){return!!e&&typeof e=="object"}function K1(e){return typeof e=="symbol"||B1(e)&&F1.call(e)==I1}function H1(e){if(!e)return e===0?e:0;if(e=z1(e),e===Iy||e===-Iy){var t=e<0?-1:1;return t*P1}return e===e?e:0}function J1(e){var t=H1(e),r=t%1;return t===t?r?t-r:t:0}function z1(e){if(typeof e=="number")return e;if(K1(e))return jy;if(Ly(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ly(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(j1,"");var r=N1.test(e);return r||q1.test(e)?D1(e.slice(2),r?2:8):L1.test(e)?jy:+e}Ny.exports=$1});var Uy=y(function(sK,Dy){var W1="[object Number]",M1=Object.prototype,G1=M1.toString;function V1(e){return!!e&&typeof e=="object"}function X1(e){return typeof e=="number"||V1(e)&&G1.call(e)==W1}Dy.exports=X1});var Ky=y(function(aK,By){var Y1="[object Object]";function Z1(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function Q1(e,t){return function(r){return e(t(r))}}var eI=Function.prototype,Fy=Object.prototype,$y=eI.toString,tI=Fy.hasOwnProperty,rI=$y.call(Object),nI=Fy.toString,iI=Q1(Object.getPrototypeOf,Object);function oI(e){return!!e&&typeof e=="object"}function sI(e){if(!oI(e)||nI.call(e)!=Y1||Z1(e))return!1;var t=iI(e);if(t===null)return!0;var r=tI.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&$y.call(r)==rI}By.exports=sI});var Jy=y(function(cK,Hy){var aI="[object String]",cI=Object.prototype,pI=cI.toString,uI=Array.isArray;function lI(e){return!!e&&typeof e=="object"}function dI(e){return typeof e=="string"||!uI(e)&&lI(e)&&pI.call(e)==aI}Hy.exports=dI});var Vy=y(function(pK,Gy){var fI="Expected a function",zy=1/0,mI=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,Wy=NaN,hI="[object Symbol]",xI=/^\s+|\s+$/g,gI=/^[-+]0x[0-9a-f]+$/i,yI=/^0b[01]+$/i,bI=/^0o[0-7]+$/i,vI=parseInt,wI=Object.prototype,EI=wI.toString;function SI(e,t){var r;if(typeof t!="function")throw TypeError(fI);return e=OI(e),function(){if(--e>0)r=t.apply(this,arguments);if(e<=1)t=void 0;return r}}function AI(e){return SI(2,e)}function My(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function RI(e){return!!e&&typeof e=="object"}function _I(e){return typeof e=="symbol"||RI(e)&&EI.call(e)==hI}function TI(e){if(!e)return e===0?e:0;if(e=kI(e),e===zy||e===-zy){var t=e<0?-1:1;return t*mI}return e===e?e:0}function OI(e){var t=TI(e),r=t%1;return t===t?r?t-r:t:0}function kI(e){if(typeof e=="number")return e;if(_I(e))return Wy;if(My(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=My(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(xI,"");var r=yI.test(e);return r||bI.test(e)?vI(e.slice(2),r?2:8):gI.test(e)?Wy:+e}Gy.exports=AI});var ib=y(function(uK,nb){var Xy=Xc(),CI=mp(),PI=fp(),Yy=jo(),II=ky(),Qo=Py(),Zy=qy(),wp=Uy(),eb=Ky(),Ut=Jy(),jI=Vy(),{KeyObject:LI,createSecretKey:NI,createPrivateKey:qI}=require("crypto"),tb=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];if(CI)tb.splice(3,0,"PS256","PS384","PS512");var DI={expiresIn:{isValid:function(e){return Zy(e)||Ut(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return Zy(e)||Ut(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return Ut(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:II.bind(null,tb),message:'"algorithm" must be a valid string enum value'},header:{isValid:eb,message:'"header" must be an object'},encoding:{isValid:Ut,message:'"encoding" must be a string'},issuer:{isValid:Ut,message:'"issuer" must be a string'},subject:{isValid:Ut,message:'"subject" must be a string'},jwtid:{isValid:Ut,message:'"jwtid" must be a string'},noTimestamp:{isValid:Qo,message:'"noTimestamp" must be a boolean'},keyid:{isValid:Ut,message:'"keyid" must be a string'},mutatePayload:{isValid:Qo,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:Qo,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:Qo,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},UI={iat:{isValid:wp,message:'"iat" should be a number of seconds'},exp:{isValid:wp,message:'"exp" should be a number of seconds'},nbf:{isValid:wp,message:'"nbf" should be a number of seconds'}};function rb(e,t,r,n){if(!eb(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 FI(e){return rb(DI,!1,e,"options")}function $I(e){return rb(UI,!0,e,"payload")}var Qy={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},BI=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];nb.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 LI))try{t=qI(t)}catch(p){try{t=NI(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{$I(e)}catch(p){return s(p)}if(!r.mutatePayload)e=Object.assign({},e)}else{let p=BI.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{FI(r)}catch(p){return s(p)}if(!r.allowInvalidAsymmetricKeyTypes)try{PI(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=Xy(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=Xy(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&&jI(n),Yy.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=Yy.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 sb=y(function(lK,ob){ob.exports={decode:Mc(),verify:Sy(),sign:ib(),JsonWebTokenError:pi(),NotBeforeError:Gc(),TokenExpiredError:Vc()}});function he(...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 Ep(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 Sp(e){let t=Math.floor(e/4294967296),r=e%4294967296,n=new Uint8Array(8);return Ep(n,t,0),Ep(n,r,4),n}function es(e){let t=new Uint8Array(4);return Ep(t,e),t}function se(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 Yr,lr,Zr;var Ke=j(()=>{Yr=new TextEncoder,lr=new TextDecoder,Zr=new TextDecoder("utf-8",{fatal:!0})});function Ap(e,t){if(t&&!e.usages.includes(t))throw TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`)}function rs(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 St(e,t,r){let n=e.algorithm;if(n.name!==t.name)throw ts(t.name);if(t.hash&&n.hash?.name!==t.hash)throw ts(t.hash,"algorithm.hash");if(t.namedCurve&&n.namedCurve!==t.namedCurve)throw ts(t.namedCurve,"algorithm.namedCurve");if(t.length!==void 0&&n.length!==t.length)throw ts(t.length,"algorithm.length");Ap(e,r)}var ts=(e,t="algorithm.name")=>TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);function ab(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 at=(e,...t)=>ab("Key must be ",e,...t),xi=(e,t,...r)=>ab(`Key for the ${e} algorithm must be `,t,...r);var Rp={};Or(Rp,{JOSEAlgNotAllowed:()=>dr,JOSEError:()=>ye,JOSENotSupported:()=>H,JWEDecryptionFailed:()=>Ft,JWEInvalid:()=>A,JWKInvalid:()=>yi,JWKSInvalid:()=>bi,JWKSMultipleMatchingKeys:()=>ns,JWKSNoMatchingKey:()=>Qr,JWKSTimeout:()=>is,JWSInvalid:()=>P,JWSSignatureVerificationFailed:()=>fr,JWTClaimValidationFailed:()=>ct,JWTExpired:()=>gi,JWTInvalid:()=>ce});var ye,ct,gi,dr,H,Ft,A,P,ce,yi,bi,Qr,ns,is,fr;var z=j(()=>{ye=class ye 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)}};ct=class ct extends ye{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}};gi=class gi extends ye{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}};dr=class dr extends ye{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"};H=class H extends ye{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"};Ft=class Ft extends ye{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",t){super(e,t)}};A=class A extends ye{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"};P=class P extends ye{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"};ce=class ce extends ye{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"};yi=class yi extends ye{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"};bi=class bi extends ye{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"};Qr=class Qr extends ye{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)}};ns=class ns extends ye{[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)}};is=class is extends ye{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",t){super(e,t)}};fr=class fr extends ye{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",t){super(e,t)}}});function os(e){if(!pt(e))throw Error("CryptoKey instance expected")}var pt=(e)=>{if(e?.[Symbol.toStringTag]==="CryptoKey")return!0;try{return e instanceof CryptoKey}catch{return!1}},vi=(e)=>e?.[Symbol.toStringTag]==="KeyObject",ss=(e)=>pt(e)||vi(e);function cb(e,t){let r=e.byteLength<<3;if(r!==t)throw new A(`Invalid Content Encryption Key length. Expected ${t} bits, got ${r} bits`)}function pb(e,t){if(t.length<<3!==e.ivBits)throw new A("Invalid Initialization Vector length")}async function ub(e,t,r){if(!(t instanceof Uint8Array))throw TypeError(at(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 lb(e,t,r){return new Uint8Array((await crypto.subtle.sign("HMAC",e,t)).slice(0,r>>3))}async function HI(e,t,r,n,i){let[o,s,a]=await ub(e,r,"encrypt"),c=new Uint8Array(await crypto.subtle.encrypt({iv:n,name:"AES-CBC"},o,t)),p=he(i,n,c,Sp(i.length*8)),u=await lb(s,p,a);return{ciphertext:c,tag:u,iv:n}}async function JI(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 zI(e,t,r,n,i,o){let[s,a,c]=await ub(e,t,"decrypt"),p=he(o,n,r,Sp(o.length*8)),u=await lb(a,p,c);try{if(await JI(i,u))return new Uint8Array(await crypto.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}throw new Ft}async function WI(e,t,r,n,i){let o=r instanceof Uint8Array?await crypto.subtle.importKey("raw",r,"AES-GCM",!1,["encrypt"]):(St(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 MI(e,t,r,n,i,o){let s=t instanceof Uint8Array?await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["decrypt"]):(St(t,e.subtle,"decrypt"),t);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:o,iv:n,name:"AES-GCM",tagLength:128},s,he(r,i)))}catch{throw new Ft}}async function as(e,t,r,n,i){if(!pt(r)&&!(r instanceof Uint8Array))throw TypeError(at(r,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(n)pb(e,n);else n=KI(e);if(r instanceof Uint8Array)cb(r,e.cekBits);return e.cbc?HI(e,t,r,n,i):WI(e,t,r,n,i)}async function cs(e,t,r,n,i,o){if(!pt(t)&&!(t instanceof Uint8Array))throw TypeError(at(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!n)throw new A("JWE Initialization Vector missing");if(!i)throw new A("JWE Authentication Tag missing");if(!e.cbc&&i.length!==16)throw new A("Invalid Authentication Tag length");if(pb(e,n),t instanceof Uint8Array)cb(t,e.cekBits);return e.cbc?zI(e,t,r,n,i,o):MI(e,t,r,n,i,o)}var ut=(e)=>crypto.getRandomValues(new Uint8Array(e.cekBits>>3)),KI=(e)=>crypto.getRandomValues(new Uint8Array(e.ivBits>>3));var wi=j(()=>{Ke();z()});function ps(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 us(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 ls={};Or(ls,{decode:()=>yt,encode:()=>Z});function yt(e){if(Uint8Array.fromBase64)try{return Uint8Array.fromBase64(typeof e==="string"?e:lr.decode(e),{alphabet:"base64url"})}catch(r){throw TypeError(_p,{cause:r})}let t=e;if(t instanceof Uint8Array)t=lr.decode(t);if(t.includes("+")||t.includes("/"))throw TypeError(_p);t=t.replace(/-/g,"+").replace(/_/g,"/");try{return us(t)}catch{throw TypeError(_p)}}function Z(e){let t=e;if(typeof t==="string")t=Yr.encode(t);if(Uint8Array.prototype.toBase64)return t.toBase64({alphabet:"base64url",omitPadding:!0});return ps(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}var _p="The input to be decoded is not correctly encoded.";var He=j(()=>{Ke()});function Je(e,t){if(!(e instanceof Uint8Array))throw TypeError(`${t} must be an instance of Uint8Array`)}function D(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 ds(e){return D(e)&&Array.isArray(e.keys)&&Array.from(e.keys).every(D)}function $t(...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 W(e,t){if(e!==void 0)throw TypeError(`${t} can only be called once`)}function xe(e,t,r){try{return yt(e)}catch{throw new r(`Failed to base64url decode the ${t}`)}}function fs(e,t,r){try{return se(e)}catch{throw new r(`The ${t} is not a valid base64url string`)}}async function ms(e,t){let r=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(r,t))}function At(e,t,r){let n;try{n=JSON.parse(Zr.decode(yt(e)))}catch{throw new t(r)}if(!D(n))throw new t(r);return n}var db;var Ce=j(()=>{He();Ke();db=Symbol()});async function lt(e,t){if(t.kty==="RSA"&&"oth"in t&&t.oth!==void 0)throw new H('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');if(!e.kty.includes(t.kty))throw new H('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 en=j(()=>{z()});function tn(e){return{__proto__:null,...e}}function rn(e){let t=tn(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 VI(e,t,r){let{alg:n,secret:i}=e,o=r==="decrypt"||r==="sign";if(i&&t instanceof Uint8Array)return[mb,t];if(D(t)){let s=rn(t);if(typeof s.kty!=="string")throw TypeError(i?xi(n,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"):xi(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 GI(e,s,r),[gb,t,s]}if(!ss(t))throw TypeError(i?xi(n,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"):xi(n,t,"CryptoKey","KeyObject","JSON Web Key"));if(i){if(t.type!=="secret")throw TypeError(`${Tp(t)} instances for symmetric algorithms must be of type "secret"`)}else{if(t.type==="secret")throw TypeError(`${Tp(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(`${Tp(t)} instances for asymmetric algorithm ${a} must be of type "${s}"`)}}return pt(t)?[hb,t]:[xb,t]}function hs(e,t,r){Op||=new WeakMap;let n=Op.get(e);if(r)if(n)n[t]=r;else Op.set(e,{[t]:r});return r??n?.[t]}async function et(e,t,r){let n=VI(e,t,r);switch(n[0]){case mb:case hb:return n[1];case gb:{let i=n[1],o=n[2];if(o.kty==="oct")return yt(o.k);if(!Object.isFrozen(i)){let{key_ops:s}=i;if(Array.isArray(s))Object.freeze(s);Object.freeze(i)}return fb(i,o,e)}case xb:{let i=n[1];if(i.type==="secret")return i.export();if("toCryptoKey"in i&&typeof i.toCryptoKey==="function")return YI(i,e);return fb(i,i.export({format:"jwk"}),e)}}}var Tp=(e)=>e[Symbol.toStringTag],GI=(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`)}},mb=0,hb=1,xb=2,gb=3,Op,XI,fb=async(e,t,r)=>hs(e,r.alg)??hs(e,r.alg,await lt(r,{...t,alg:r.alg})),YI=(e,t)=>{let r=hs(e,t.alg);if(r)return r;let n=e.type==="public",i=t.usages[n?0:1],{asymmetricKeyType:o}=e,s=XI[e.asymmetricKeyDetails?.namedCurve],a=t.resolve?.({crv:s,asymmetricKeyType:o})??t.subtle;return hs(e,t.alg,e.toCryptoKey(a,n,i))};var mr=j(()=>{He();en();XI={__proto__:null,prime256v1:"P-256",secp384r1:"P-384",secp521r1:"P-521"}});function Ei(e){let t={__proto__:null};for(let r in e)t[r]={...e[r],alg:r};return t}function xs(e){return{kty:["RSA"],subtle:{name:"RSA-OAEP",hash:`SHA-${e}`},usages:ZI,ops:["wrapKey","unwrapKey"]}}function gs(){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 H('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');return{name:"ECDH",namedCurve:t}},usages:QI,ops:[void 0,"deriveBits"]}}function nn(e,t=!1){return{kty:["oct"],secret:!0,subtle:{name:t?"AES-GCM":"AES-KW",length:e},usages:ys,ops:t?["encrypt","decrypt"]:["wrapKey","unwrapKey"]}}function kp(){return{kty:["oct"],secret:!0,subtle:{name:"PBKDF2"},usages:ys,ops:["deriveBits","deriveBits"]}}function on(e,t=!1){return{kty:["oct"],secret:!0,subtle:{name:t?"AES-CBC":"AES-GCM",length:e},usages:ys,ops:ej,cekBits:e,ivBits:t?128:96,cbc:t}}function yb(e,t){throw new H(`Invalid or unsupported "${e}" (JWE ${t}) header value`)}function tt(e){return(typeof e==="string"?Cp[e]:void 0)??yb("alg","Algorithm")}function hr(e){return(typeof e==="string"?tj[e]:void 0)??yb("enc","Encryption Algorithm")}var ZI,QI,ys,Cp,ej,tj;var sn=j(()=>{z();ZI=[["encrypt","wrapKey"],["decrypt","unwrapKey"]],QI=[[],["deriveBits"]],ys=[[],[]];Cp=Ei({dir:{kty:["oct"],secret:!0,subtle:{name:"AES-GCM"},usages:ys,ops:["encrypt","decrypt"]},"RSA-OAEP":xs(1),"RSA-OAEP-256":xs(256),"RSA-OAEP-384":xs(384),"RSA-OAEP-512":xs(512),"ECDH-ES":gs(),"ECDH-ES+A128KW":gs(),"ECDH-ES+A192KW":gs(),"ECDH-ES+A256KW":gs(),A128KW:nn(128),A192KW:nn(192),A256KW:nn(256),A128GCMKW:nn(128,!0),A192GCMKW:nn(192,!0),A256GCMKW:nn(256,!0),"PBES2-HS256+A128KW":kp(),"PBES2-HS384+A192KW":kp(),"PBES2-HS512+A256KW":kp()}),ej=["encrypt","decrypt"];tj=Ei({A128GCM:on(128),A192GCM:on(192),A256GCM:on(256),"A128CBC-HS256":on(256,!0),"A192CBC-HS384":on(384,!0),"A256CBC-HS512":on(512,!0)})});function bb(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");Ap(e,t)}async function wb(e,t,r){let n=tt(t).subtle,i=e instanceof Uint8Array?await crypto.subtle.importKey("raw",e,"AES-KW",!0,[r]):e;return St(i,n,r),i}async function Pp(e,t,r){let n=await wb(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 Ip(e,t,r){let n=await wb(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 Eb(e,t,r){St(t,tt(e).subtle,r),rs(e,t)}function rj(e,t){if(e instanceof Uint8Array)return crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]);return St(e,tt(t).subtle,"deriveBits"),e}async function Sb(e,t,r,n){if(!(e instanceof Uint8Array)||e.length<8)throw new A("PBES2 Salt Input must be 8 or more octets");if(!Number.isSafeInteger(r)||Math.sign(r)!==1)throw new A("PBES2 Count Input must be a positive integer");let i=he(se(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 rj(n,t);return new Uint8Array(await crypto.subtle.deriveBits(s,a,o))}function jp(e){return he(es(e.length),e)}async function nj(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 ms("sha256",he(es(a),e,r));s.set(c,(a-1)*32)}return s.slice(0,n)}async function Ab(e,t,r,n,i=new Uint8Array,o=new Uint8Array){bb(e),bb(t,"deriveBits");let s=he(jp(se(r)),jp(i),jp(o),es(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 nj(a,n,s)}function Rb(e){os(e);let t=e.algorithm.namedCurve;if(t!=="P-256"&&t!=="P-384"&&t!=="P-521"&&e.algorithm.name!=="X25519")throw new H("ECDH with the provided key is not allowed or not supported by your javascript runtime")}function Si(e){if(e===void 0)throw new A("JWE Encrypted Key missing")}function vb(e){if(e!==void 0)throw new A("Encountered unexpected JWE Encrypted Key")}async function _b(e,t,r,n,i,o){let s=tt(e);if(e==="dir")return vb(n),r;switch(s.subtle.name){case"ECDH":{if(e==="ECDH-ES")vb(n);if(!D(i.epk))throw new A('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');Rb(r);let a=await lt(s,i.epk),c,p;if(i.apu!==void 0){if(typeof i.apu!=="string")throw new A('JOSE Header "apu" (Agreement PartyUInfo) invalid');c=xe(i.apu,"apu",A)}if(i.apv!==void 0){if(typeof i.apv!=="string")throw new A('JOSE Header "apv" (Agreement PartyVInfo) invalid');p=xe(i.apv,"apv",A)}let u=await Ab(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 Si(n),Ip(e.slice(-6),u,n)}case"RSA-OAEP":return Si(n),os(r),Eb(e,r,"decrypt"),new Uint8Array(await crypto.subtle.decrypt("RSA-OAEP",r,n));case"PBKDF2":{if(Si(n),typeof i.p2c!=="number")throw new A('JOSE Header "p2c" (PBES2 Count) missing or invalid');let a=o||1e4;if(i.p2c>a)throw new A('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if(typeof i.p2s!=="string")throw new A('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let c=xe(i.p2s,"p2s",A),p=await Sb(c,e,i.p2c,r);return Ip(e.slice(-6),p,n)}case"AES-KW":return Si(n),Ip(e,r,n);case"AES-GCM":{if(Si(n),typeof i.iv!=="string")throw new A('JOSE Header "iv" (Initialization Vector) missing or invalid');if(typeof i.tag!=="string")throw new A('JOSE Header "tag" (Authentication Tag) missing or invalid');let a;a=xe(i.iv,"iv",A);let c;return c=xe(i.tag,"tag",A),cs(hr(e.slice(0,-2)),r,n,a,c,new Uint8Array)}}}async function bs(e,t,r,n,i={}){let o,s,a,c=tt(e);if(e==="dir")return[r,void 0,void 0];switch(c.subtle.name){case"ECDH":{Rb(r);let{apu:p,apv:u}=i;if(p!==void 0)Je(p,'"apu"');if(u!==void 0)Je(u,'"apv"');let l;if(i.epk!==void 0)l=await et(c,i.epk,"decrypt");else l=(await crypto.subtle.generateKey(r.algorithm,!0,["deriveBits"])).privateKey;let f=crypto.subtle,m=l;if(!m.extractable){if(typeof f.getPublicKey!=="function")throw TypeError('CryptoKey for "epk" must be extractable');m=await f.getPublicKey(l,[])}let{x:b,y:x,crv:w,kty:h}=await f.exportKey("jwk",m),g=await Ab(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:b,crv:w,kty:h}},h==="EC")s.epk.y=x;if(p)s.apu=Z(p);if(u)s.apv=Z(u);if(e==="ECDH-ES"){a=g;break}a=n||ut(t);let E=e.slice(-6);o=await Pp(E,g,a);break}case"RSA-OAEP":{a=n||ut(t),os(r),Eb(e,r,"encrypt"),o=new Uint8Array(await crypto.subtle.encrypt("RSA-OAEP",r,a));break}case"PBKDF2":{a=n||ut(t);let{p2c:p=2048,p2s:u=crypto.getRandomValues(new Uint8Array(16))}=i,l=await Sb(u,e,p,r);o=await Pp(e.slice(-6),l,a),s={p2c:p,p2s:Z(u)};break}case"AES-KW":{a=n||ut(t),o=await Pp(e,r,a);break}case"AES-GCM":{a=n||ut(t);let{iv:p}=i,u=await as(hr(e.slice(0,-2)),a,r,p,new Uint8Array);o=u.ciphertext,s={iv:Z(u.iv),tag:Z(u.tag)};break}}return[a,o,s]}var vs=j(()=>{He();mr();en();sn();z();Ce();wi();Ke()});function Ai(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 Es(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 bt(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 H(`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 cn(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 xr(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(!D(n))throw new e("JOSE Header is not a JSON object");return[n,r]}var an,ws;var pn=j(()=>{z();an={__proto__:null,b64:!0},ws={__proto__:null}});function Ss(e,t){if(e.zip!==void 0&&e.zip!=="DEF")throw new H('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value.');if(e.zip!==void 0&&!t?.zip)throw new A('JWE "zip" (Compression Algorithm) Header Parameter MUST be in a protected header.')}function Tb(e){if(typeof globalThis[e]>"u")throw new H(`JWE "zip" (Compression Algorithm) Header Parameter requires the ${e} API.`)}async function Ob(e){Tb("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 he(...n)}async function kb(e,t){Tb("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 A("Decompressed plaintext exceeded the configured limit")}return he(...i)}var Lp=j(()=>{z();Ke()});function As(e){let{aad:t,ciphertext:r,iv:n,protected:i,tag:o,unprotected:s}=e;if(n!==void 0&&typeof n!=="string")throw new A("JWE Initialization Vector incorrect type");if(typeof r!=="string")throw new A("JWE Ciphertext missing or incorrect type");if(o!==void 0&&typeof o!=="string")throw new A("JWE Authentication Tag incorrect type");if(i!==void 0&&typeof i!=="string")throw new A("JWE Protected Header incorrect type");if(t!==void 0&&(typeof t!=="string"||!t))throw new A("JWE AAD incorrect type");if(s!==void 0&&!D(s))throw new A("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 Rs(e){let t,r;try{let{header:n}=e;if(D(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 _s(e){let{encrypted_key:t,header:r}=e;if(t!==void 0&&typeof t!=="string")throw new A("JWE Encrypted Key incorrect type");if(r!==void 0){if(!D(r))throw new A("JWE Per-Recipient Unprotected Header incorrect type")}if(e.protected===void 0&&r===void 0&&e.unprotected===void 0)throw new A("JOSE Header missing")}function Np(e){let{protected:t,ciphertext:r,iv:n,tag:i,aad:o}=e,s;if(t!==void 0)s=At(t,A,"JWE Protected Header is invalid");let a=t!==void 0?se(t):new Uint8Array;return[s,xe(r,"ciphertext",A),n!==void 0?xe(n,"iv",A):void 0,i!==void 0?xe(i,"tag",A):void 0,o!==void 0?he(a,se("."),fs(o,"aad",A)):a]}function Ts(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=xe(a,"aad",A);if(c!==void 0)u.sharedUnprotectedHeader=c;if(p!==void 0)u.unprotectedHeader=p;if(o)return{...u,key:i};return u}function Bt(e){return[e&&Ai("keyManagementAlgorithms",e.keyManagementAlgorithms),e&&Ai("contentEncryptionAlgorithms",e.contentEncryptionAlgorithms),e?.crit,e?.maxPBES2Count,e?.maxDecompressedLength]}async function qp(e,t,r,n){let[i]=t,{header:o,unprotected:s}=e,a;if(o!==void 0||s!==void 0){if(!$t(i,o,s))throw new A("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");a={...i,...o,...s}}else a=i??{};return Cb(e,t,r,n,a)}async function Cb(e,t,r,n,i){let[o,s,a,c,p]=r,[u,l,f,m,b]=t,{encrypted_key:x}=e;bt(A,ws,a,u,i),Ss(i,u);let{alg:w,enc:h}=i;if(typeof w!=="string"||!w)throw new A("missing JWE Algorithm (alg) in JWE Header");if(typeof h!=="string"||!h)throw new A("missing JWE Encryption Algorithm (enc) in JWE Header");if(o&&!o.has(w)||!o&&w.startsWith("PBES2"))throw new dr('"alg" (Algorithm) Header Parameter value not allowed');if(s&&!s.has(h))throw new dr('"enc" (Encryption Algorithm) Header Parameter value not allowed');let g=hr(h),E;if(x!==void 0)E=xe(x,"encrypted_key",A);let S=!1;if(typeof n==="function")n=await n(u,e),S=!0;let k=tt(w),I=await et(w==="dir"?g:k,n,"decrypt"),C;try{if(C=await _b(w,g,I,E,i,c),x!==void 0&&C instanceof Uint8Array&&C.byteLength<<3!==g.cekBits)C=ut(g)}catch(U){if(U instanceof TypeError||U instanceof A||U instanceof H)throw U;C=ut(g)}let M=await cs(g,C,l,f,m,b);if(i.zip==="DEF"){let U=p??250000;if(U===0)throw new H('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');if(U!==1/0&&(!Number.isSafeInteger(U)||U<1))throw TypeError("maxDecompressedLength must be 0, a positive safe integer, or Infinity");M=await kb(M,U).catch((X)=>{if(X instanceof A)throw X;throw new A("Failed to decompress plaintext",{cause:X})})}return[M,u,I,S]}async function Pb(e,t,r){return qp(e,Np(e),t,r)}async function Os(e,t,r){if(e instanceof Uint8Array)e=lr.decode(e);if(typeof e!=="string")throw new A("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 A("Invalid Compact JWE");let p={ciphertext:s,iv:o||void 0,protected:n,tag:a||void 0,encrypted_key:i||void 0},u=At(n,A,"JWE Protected Header is invalid"),l=se(n),f=[u,xe(s,"ciphertext",A),o?xe(o,"iv",A):void 0,a?xe(a,"tag",A):void 0,l];return Cb(p,f,t,r,u)}var Ri=j(()=>{wi();Ce();z();vs();Ke();pn();mr();sn();Lp()});async function Ib(e,t,r){let n=await Os(e,Bt(r),t),i={plaintext:n[0],protectedHeader:n[1]};if(typeof t==="function")return{...i,key:n[2]};return i}var jb=j(()=>{Ri()});async function Lb(e,t,r){if(!D(e))throw new A("Flattened JWE must be an object");let n=As(e),[i,,o]=Rs(e);if(!i)throw o;let s={...n,...i};return _s(s),Ts(s,await Pb(s,Bt(r),t))}var Nb=j(()=>{z();Ri()});async function qb(e,t,r){if(!D(e))throw new A("General JWE must be an object");let n=e.recipients;if(!Array.isArray(n))throw new A("JWE Recipients missing or incorrect type");let i=Array.from(n);if(!i.every(D))throw new A("JWE Recipients missing or incorrect type");if(!i.length)throw new A("JWE Recipients has no members");let o,s,a;try{o=Bt(r),s=As(e),a=Np(s)}catch{throw new Ft}let c=i.map((p)=>Rs(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 A(`"${u}" alg may only have a single recipient`)}for(let[p]of c){if(!p)continue;try{let u={...s,...p};return _s(u),Ts(u,await qp(u,a,o,t))}catch{}}throw new Ft}var Db=j(()=>{Ri();z()});function ks(e,t,r){if(!$t(e,t,r))throw new A("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint")}function Dp(e){let[,t,r,n,i,o,s,a,c]=e;if(i!==void 0)Je(i,"JWE Additional Authenticated Data");if(o!==void 0)Je(o,"JWE Content Encryption Key");if(s!==void 0)Je(s,"JWE Initialization Vector");if(t!==void 0)t=xr(A,t)[0],e[1]=t;if(r!==void 0)r=xr(A,r)[0],e[2]=r;if(n!==void 0)n=xr(A,n)[0],e[3]=n;if(a!==void 0&&!D(a))throw TypeError("JWE Key Management Parameters must be an object");ks(t,r,n);let p={...t,...r,...n};Es(A,t),bt(A,ws,c,t,p),Ss(p,t);let{alg:u,enc:l}=p;if(typeof u!=="string"||!u)throw new A('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(typeof l!=="string"||!l)throw new A('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');return[p,u,l,hr(l)]}async function Up(e,t,r){let[n,i,,o]=t,[s,a,c,p,u,l,f,m,,b]=e,x=a,w=c;if(l&&(i==="dir"||i==="ECDH-ES"))throw TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${i}`);let h=tt(i),g=await et(i==="dir"?o:h,r,"encrypt"),[E,S,k]=await bs(i,o,g,l,m);if(k){if(b)w=w?{...w,...k}:k;else x=x?{...x,...k}:k;ks(x,w,p)}let I,C;if(x)I=Z(JSON.stringify(x)),C=se(I);else I="",C=new Uint8Array;let M,U;if(u?.byteLength)U=Z(u),M=he(C,se("."),se(U));else M=C;let X=s;if(n.zip==="DEF")X=await Ob(X).catch((Oe)=>{throw new A("Failed to compress plaintext",{cause:Oe})});let{ciphertext:q,tag:ze,iv:dt}=await as(o,X,E,f,M),re={ciphertext:Z(q)};if(dt)re.iv=Z(dt);if(ze)re.tag=Z(ze);if(S)re.encrypted_key=Z(S);if(U)re.aad=U;if(x)re.protected=I;if(p)re.unprotected=p;if(w)re.header=w;return re}async function Kt(e,t,r){if(!e[1]&&!e[2]&&!e[3])throw new A("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(r!==void 0)e[8]=r?.crit,e[9]=r?db in r:!1;return Up(e,Dp(e),t)}var _i=j(()=>{He();wi();vs();z();Ke();pn();mr();sn();Lp();Ce()});class Fb{#e;state;constructor(e,t,r){this.#e=e,this.state=[void 0,void 0,t,r]}setUnprotectedHeader(e){return W(this.state[0],"setUnprotectedHeader"),this.state[0]=e,this}setKeyManagementParameters(e){return W(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 Ub(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 Fp{#e;#t=[];#n;#o;#s;constructor(e){this.#e=e}addRecipient(e,t){let r=new Fb(this,e,t?.crit);return this.#t.push(r),r}setProtectedHeader(e){return W(this.#n,"setProtectedHeader"),this.#n=e,this}setSharedUnprotectedHeader(e){return W(this.#o,"setSharedUnprotectedHeader"),this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#s=e,this}async encrypt(){if(!this.#t.length)throw new A("at least one recipient must be added");if(Je(this.#e,"plaintext"),this.#t.length===1){let[a,c,p,u]=this.#t[0].state,l=await Kt([this.#e,this.#n,a,this.#o,this.#s,void 0,void 0,c,u,!1],p),f={ciphertext:l.ciphertext,iv:l.iv,recipients:[{}],tag:l.tag};if(l.encrypted_key)f.recipients[0].encrypted_key=l.encrypted_key;return Ub(l,f,f.recipients[0]),f}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,f=[this.#e,t,p,r,this.#s,void 0,void 0,u,l,!0],m=Dp(f);if(n.push(f),i.push(m),a===0)t=f[1],r=f[3];if(m[1]==="dir"||m[1]==="ECDH-ES")throw new A(`"${m[1]}" alg may only have a single recipient`);if(!e)e=m[2];else if(e!==m[2])throw new A('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}let o=ut(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 g=await Up(n[0],i[0],u);s.ciphertext=g.ciphertext,s.iv=g.iv,s.tag=g.tag,l.encrypted_key=g.encrypted_key,Ub(g,s,l);continue}let[,f,,m]=i[a],b=n[a][2],x=await et(tt(f),u,"encrypt"),[,w,h]=await bs(f,m,x,o,p);if(l.encrypted_key=Z(w),b||h){let g={...b,...h};if(h)ks(n[a][1],g,n[a][3]);l.header=g}}return s}}var $b=j(()=>{Ce();z();wi();vs();He();_i();mr();sn()});async function Bb(e,t,r){if(t instanceof Uint8Array)return crypto.subtle.importKey("raw",t,e.subtle,!1,[r]);if(St(t,e.subtle,r),e.minRsaBits)rs(e.alg,t);return t}async function Kb(e,t,r){let n=await Bb(e,t,"sign"),i=await crypto.subtle.sign(e.signing,n,r);return new Uint8Array(i)}async function Hb(e,t,r,n){let i=await Bb(e,t,"verify");try{return await crypto.subtle.verify(e.signing,i,r,n)}catch{return!1}}var $p=()=>{};function Bp(e){let t={name:"HMAC",hash:`SHA-${e}`};return{kty:["oct"],secret:!0,subtle:t,signing:t,usages:Ti}}function un(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:Ti,minRsaBits:2048}}function Kp(e,t){return{kty:["EC"],crv:e,subtle:{name:"ECDSA",namedCurve:e},signing:{name:"ECDSA",hash:`SHA-${t}`},usages:Ti}}function Jb(){let e={name:"Ed25519"};return{kty:["OKP"],crv:"Ed25519",subtle:e,signing:e,usages:Ti}}function Hp(e){let r={name:`ML-DSA-${e}`};return{kty:["AKP"],subtle:r,signing:r,usages:Ti}}function ln(e){let t=typeof e==="string"?Oi[e]:void 0;if(!t)throw new H(`alg ${e} is not supported either by JOSE or your javascript runtime`);return t}var Ti,Oi;var dn=j(()=>{z();Ti=[["verify"],["sign"]];Oi=Ei({HS256:Bp(256),HS384:Bp(384),HS512:Bp(512),RS256:un(256),RS384:un(384),RS512:un(512),PS256:un(256,32),PS384:un(384,48),PS512:un(512,64),ES256:Kp("P-256",256),ES384:Kp("P-384",384),ES512:Kp("P-521",512),EdDSA:Jb(),Ed25519:Jb(),"ML-DSA-44":Hp(44),"ML-DSA-65":Hp(65),"ML-DSA-87":Hp(87)})});function Cs(e,t){let{protected:r,header:n}=e,i=D(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 Ps(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 Ht(e){return[e&&Ai("algorithms",e.algorithms),e?.crit]}function Is(e,t=e===void 0?{}:At(e,P,"JWS Protected Header is invalid")){return t}function zb(e,t,r){let n=cn(e,bt(P,an,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 dr('"alg" (Algorithm) Header Parameter value not allowed');return[n,i]}function ij(e,t,r,n){let i=Is(e,n),o;if(t!==void 0){if(!$t(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,...zb(i,o,r)]}function js(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 Yr.encode(e)}function oj(e){try{return se(e)}catch{throw new P("JWS Compact Serialization payload must use only ASCII characters")}}async function Wb(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=ln(o),u=he(n!==void 0?se(n):new Uint8Array,se("."),c?t[2]??=fs(s,"payload",P):s),l=xe(e.signature,"signature",P),f=await et(p,r,"verify");if(!await Hb(p,f,l,u))throw new fr;return[c?xe(s,"payload",P):s,i,c,f,a]}async function Ls(e,t,r,n,i){let{protected:o,header:s,payload:a}=e,[c,,p,u]=ij(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 Wb(e,t,r,o,c,u,l)}async function Ns(e,t,r){if(e instanceof Uint8Array)e=lr.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=Is(n),[p,u]=zb(c,c,t),l=p?i:oj(i);return Wb(a,t,r,n,c,u,l)}var ki=j(()=>{$p();dn();z();Ke();Ce();pn();mr()});async function Mb(e,t,r){let n=await Ns(e,Ht(r),t),i={payload:n[0],protectedHeader:n[1]};if(typeof t==="function")return{...i,key:n[3]};return i}var Gb=j(()=>{ki()});async function Vb(e,t,r){if(!D(e))throw new P("Flattened JWS must be an object");let n=Cs(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&&!D(n.header))throw new P("JWS Unprotected Header incorrect type");return Ps(n,await Ls(n,Ht(r),t,js))}var Xb=j(()=>{z();ki()});function sj(e,t){try{let r=Cs(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&&!D(i))return;let s=Is(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 Yb(e,t,r){if(!D(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(D))throw new P("JWS Signatures missing or incorrect type");let s;try{if(i===void 0)throw Error();s=Ht(r)}catch{throw new fr}let a=i instanceof Uint8Array?new Uint8Array(i):i,c=o.map((u)=>sj(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 Ps(u[0],await Ls(u[0],s,t,js,u[1]))}catch{}throw new fr}var Zb=j(()=>{ki();z()});function Jp(){throw TypeError("Invalid time period format")}function qs(e){if(typeof e!=="string")Jp();let t=cj.exec(e);if(!t||t[4]&&t[1])Jp();let r=parseFloat(t[2]),n=Math.round(r*aj[t[3][0].toLowerCase()]);if(!Number.isFinite(n))Jp();if(t[1]==="-"||t[4]==="ago")return-n;return n}function mn(e,t){if(!Number.isFinite(t))throw TypeError(`Invalid ${e} input`);return t}function zp(e,t){if(typeof t!=="string")throw TypeError(`"${e}" claim must be a string`)}function pj(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 Wp(e,t){if(typeof e==="number")return mn(t,e);if(e instanceof Date)return mn(t,Ci(e));return Ci(new Date)+qs(e)}function Mp(e,t,r=!1){let n=e[t];if(n===void 0&&!r)return;if(typeof n!=="number")throw new ct(`"${t}" claim must be a number`,e,t,"invalid");return n}function Gp(e,t){throw new ct(`unexpected "${t}" claim value`,e,t,fn)}function hn(e,t,r={}){let n;try{n=JSON.parse(Zr.decode(t))}catch{}if(!D(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"||Qb(e.typ)!==Qb(i)))throw new ct('unexpected "typ" JWT header value',n,"typ",fn);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 g of new Set(u.reverse()))if(!Object.hasOwn(n,g))throw new ct(`missing required "${g}" claim`,n,g,"missing");if(s!==void 0&&!(Array.isArray(s)?s:[s]).includes(n.iss))Gp(n,"iss");if(a!==void 0&&n.sub!==a)Gp(n,"sub");if(c!==void 0&&!uj(n.aud,typeof c==="string"?[c]:c))Gp(n,"aud");let{clockTolerance:l}=r,f=0;if(typeof l==="string")f=qs(l);else if(l!==void 0){if(typeof l!=="number")throw TypeError("Invalid clockTolerance option type");f=l}mn("clockTolerance option",f);let{currentDate:m}=r,b=mn("currentDate option",Ci(m===void 0?new Date:m)),x=Mp(n,"iat",p!==void 0),w=Mp(n,"nbf");if(w!==void 0){if(w>b+f)throw new ct('"nbf" claim timestamp check failed',n,"nbf",fn)}let h=Mp(n,"exp");if(h!==void 0){if(h<=b-f)throw new gi('"exp" claim timestamp check failed',n,"exp",fn)}if(p!==void 0){let g=b-x,E=mn("maxTokenAge option",typeof p==="number"?p:qs(p));if(g-f>E)throw new gi('"iat" claim timestamp check failed (too far in the past)',n,"iat",fn);if(g<-f)throw new ct('"iat" claim timestamp check failed (it should be in the past)',n,"iat",fn)}return n}function Rt(e){return ev.get(e)}function xn(e){let t=Rt(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 Yr.encode(JSON.stringify(t))}function Ds(e,t){return Rt(e)[t]}class gr{constructor(e={}){if(!D(e))throw TypeError("JWT Claims Set MUST be an object");(ev||=new WeakMap).set(this,structuredClone(e))}setIssuer(e){return zp("iss",e),Rt(this).iss=e,this}setSubject(e){return zp("sub",e),Rt(this).sub=e,this}setAudience(e){return pj(e),Rt(this).aud=e,this}setJti(e){return zp("jti",e),Rt(this).jti=e,this}setNotBefore(e){return Rt(this).nbf=Wp(e,"setNotBefore"),this}setExpirationTime(e){return Rt(this).exp=Wp(e,"setExpirationTime"),this}setIssuedAt(e){let t=Rt(this);if(e===void 0)t.iat=Ci(new Date);else if(typeof e==="string")t.iat=mn("setIssuedAt",Ci(new Date)+qs(e));else t.iat=Wp(e,"setIssuedAt");return this}}var Ci=(e)=>Math.floor(e.getTime()/1000),aj,cj,fn="check_failed",Qb=(e)=>{let t=e.toLowerCase();return e.includes("/")?t:`application/${t}`},uj=(e,t)=>{if(typeof e==="string")return t.includes(e);if(Array.isArray(e))return t.some((r)=>e.includes(r));return!1},ev;var gn=j(()=>{z();Ke();aj={s:1,m:60,h:3600,d:86400,w:604800,y:31557600},cj=/^(\+|\-)? ?(\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 tv(e,t,r){let n=await Ns(e,Ht(r),t);if(!n[2])throw new ce("JWTs MUST NOT use unencoded payload");let o={payload:hn(n[1],n[0],r),protectedHeader:n[1]};if(typeof t==="function")return{...o,key:n[3]};return o}var rv=j(()=>{ki();gn();z()});async function nv(e,t,r){let n=await Os(e,Bt(r),t),i=n[1],o=hn(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 ct(`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 iv=j(()=>{Ri();gn();z()});class Vp{#e;#t;#n;#o;#s;constructor(e){Je(e,"plaintext"),this.#e=e}setContentEncryptionKey(e){return W(this.#n,"setContentEncryptionKey"),this.#n=e,this}setInitializationVector(e){return W(this.#o,"setInitializationVector"),this.#o=e,this}setProtectedHeader(e){return W(this.#t,"setProtectedHeader"),this.#t=e,this}setKeyManagementParameters(e){return W(this.#s,"setKeyManagementParameters"),this.#s=e,this}async encrypt(e,t){let r=await Kt([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 ov=j(()=>{Ce();_i()});class Xp{#e;#t;#n;#o;#s;#x;#g;#f;constructor(e){Je(e,"plaintext"),this.#e=e}setKeyManagementParameters(e){return W(this.#f,"setKeyManagementParameters"),this.#f=e,this}setProtectedHeader(e){return W(this.#t,"setProtectedHeader"),this.#t=e,this}setSharedUnprotectedHeader(e){return W(this.#n,"setSharedUnprotectedHeader"),this.#n=e,this}setUnprotectedHeader(e){return W(this.#o,"setUnprotectedHeader"),this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#s=e,this}setContentEncryptionKey(e){return W(this.#x,"setContentEncryptionKey"),this.#x=e,this}setInitializationVector(e){return W(this.#g,"setInitializationVector"),this.#g=e,this}async encrypt(e,t){return Kt([this.#e,this.#t,this.#o,this.#n,this.#s,this.#x,this.#g,this.#f,void 0,!1],e,t)}}var sv=j(()=>{Ce();_i()});function av(e){if(e===void 0)return[void 0,""];let t=xr(P,e);return[t[0],Z(t[1])]}function cv(e,t,r){return Es(P,e),cn(e,bt(P,an,r,e,t))}function pv(e){let t=e.alg;if(typeof t!=="string"||!t)throw new P('JWS "alg" (Algorithm) Header Parameter missing or invalid');return ln(t)}async function uv(e,t,r,n){let i=he(se(e),se("."),t),o=await et(r,n,"sign");return Z(await Kb(r,o,i))}async function Us(e,t,r){let{protectedHeader:n,unprotectedHeader:i}=e,o;if([n,o]=av(n),i!==void 0)i=xr(P,i)[0];if(!n&&!i)throw new P("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!$t(n,i))throw new P("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let s={...n,...i},a=cv(n,s,e.crit);r?.(a);let c=pv(s),p,u;if(a){let f=e.encoded??=[];f[0]??=Z(e.payload),f[1]??=se(f[0]),p=f[0],u=f[1]}else u=e.payload,p="";let l={signature:await uv(o,u,c,t),payload:p};if(n)l.protected=o;if(i)l.header=i;return[l,a]}async function Fs(e,t,r,n,i){let[o,s]=av(t);if(!o)throw new P("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!cv(o,o,r))i();let c=pv(o),p=Z(e),u=await uv(s,se(p),c,n);return`${s}.${p}.${u}`}var Pi=j(()=>{He();$p();dn();z();Ke();pn();mr()});class Yp{#e;#t;constructor(e){if(!(e instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#e=e}setProtectedHeader(e){return W(this.#t,"setProtectedHeader"),this.#t=e,this}async sign(e,t){return Fs(this.#e,this.#t,t?.crit,e,()=>{throw TypeError("use the flattened module for creating JWS with b64: false")})}}var lv=j(()=>{Pi();Ce()});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 W(this.#t,"setProtectedHeader"),this.#t=e,this}setUnprotectedHeader(e){return W(this.#n,"setUnprotectedHeader"),this.#n=e,this}async sign(e,t){let[r]=await Us({payload:this.#e,protectedHeader:this.#t,unprotectedHeader:this.#n,crit:t?.crit},e);return r}}var dv=j(()=>{Pi();Ce()});class fv{#e;state;constructor(e,t,r){this.#e=e,this.state=[void 0,void 0,t,r?.crit]}setProtectedHeader(e){return W(this.state[0],"setProtectedHeader"),this.state[0]=e,this}setUnprotectedHeader(e){return W(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 Qp{#e;#t=[];constructor(e){this.#e=e}addSignature(e,t){let r=new fv(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 Us({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 mv=j(()=>{Pi();z();Ce()});var lj,eu;var hv=j(()=>{Pi();z();gn();Ce();lj=gr;eu=class eu extends lj{#e;setProtectedHeader(e){return W(this.#e,"setProtectedHeader"),this.#e=e,this}async sign(e,t){return Fs(xn(this),this.#e,t?.crit,e,()=>{throw new ce("JWTs MUST NOT use unencoded payload")})}}});var dj,tu;var xv=j(()=>{_i();gn();Ce();dj=gr;tu=class tu extends dj{#e;#t;#n;#o;#s;#x;#g;setProtectedHeader(e){return W(this.#o,"setProtectedHeader"),this.#o=e,this}setKeyManagementParameters(e){return W(this.#n,"setKeyManagementParameters"),this.#n=e,this}setContentEncryptionKey(e){return W(this.#e,"setContentEncryptionKey"),this.#e=e,this}setInitializationVector(e){return W(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=xn(this);if(this.#o&&(this.#s||this.#x||this.#g))this.#o={...this.#o,iss:this.#s?Ds(this,"iss"):void 0,sub:this.#x?Ds(this,"sub"):void 0,aud:this.#g?Ds(this,"aud"):void 0};let n=await Kt([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 yr(e='JWK "alg" (Algorithm) Parameter'){throw new H(`Invalid or unsupported ${e} value`)}function br(e,t){return(typeof e==="string"?Oi[e]??Cp[e]:void 0)??yr(t)}var Jt='"alg" (Algorithm)';var Ii=j(()=>{z();dn();sn()});function zt(e){if(e!==void 0&&typeof e!=="boolean")throw TypeError('"extractable" option must be a boolean');return e}function hj(e,t){if(Wt(e,48,`Invalid ${t==="spki"?"SPKI":"PKCS#8"} structure`),_t(e),t==="pkcs8"){Wt(e,2,"Expected version field");let r=_t(e);e.pos+=r}Wt(e,48,"Expected algorithm identifier"),_t(e)}function gj(e){let t=wv(e);Wt(t,48,"Invalid certificate structure");let r=_t(t);if(r<0||t.pos+r>t.data.length)throw Error("Unexpected end of ASN.1 input");if(Wt(t,48,"Invalid tbsCertificate structure"),_t(t),e[t.pos]===160)gv(t,6);else gv(t,5);let n=t.pos;Wt(t,48,"Invalid SPKI structure");let i=_t(t);return e.subarray(n,n+i+(t.pos-n))}var fj=(e,t)=>{let r=(e.match(/.{1,64}/g)||[]).join(`
|
|
26
26
|
`);return`-----BEGIN ${t}-----
|
|
27
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=
|
|
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(
|
|
33
|
-
`):" "+
|
|
34
|
-
`);
|
|
35
|
-
`),s
|
|
36
|
-
`,
|
|
37
|
-
`+
|
|
28
|
+
-----END ${t}-----`},yv=async(e,t,r)=>{if(vi(r)){if(r.type!==e)throw TypeError(`key is not a ${e} key`);return r.export({format:"pem",type:t})}if(!pt(r))throw TypeError(at(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 fj(ps(new Uint8Array(await crypto.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},bv=(e)=>yv("public","spki",e),vv=(e)=>yv("private","pkcs8",e),ji=(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},wv=(e)=>({data:e,pos:0}),ru=(e)=>{let t=e.data[e.pos++];if(t===void 0)throw Error("Unexpected end of ASN.1 input");return t},_t=(e)=>{let t=ru(e);if(t&128){let r=t&127,n=0;for(let i=0;i<r;i++)n=n<<8|ru(e);return n}return t},gv=(e,t=1)=>{while(t-- >0){e.pos++;let r=_t(e);e.pos+=r}},Wt=(e,t,r)=>{if(ru(e)!==t)throw Error(r)},Ev=(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},mj=(e)=>{Wt(e,6,"Expected algorithm OID");let t=_t(e);return Ev(e,t)},xj=(e)=>{let t=mj(e);if(ji(t,[43,101,110]))return"X25519";if(!ji(t,[42,134,72,206,61,2,1]))throw Error("Unsupported key algorithm");Wt(e,6,"Expected curve OID");let r=_t(e),n=Ev(e,r);if(ji(n,[42,134,72,206,61,3,1,7]))return"P-256";if(ji(n,[43,129,4,0,34]))return"P-384";if(ji(n,[43,129,4,0,35]))return"P-521";throw Error("Unsupported named curve")},nu=async(e,t,r,n)=>{let i=zt(n?.extractable),o=br(r,Jt);if(o.secret)yr(Jt);let s=e==="spki",a;if(o.resolve)try{let c=wv(t);hj(c,e),a=o.resolve({crv:xj(c)})}catch{throw new H("Invalid or unsupported key format")}else a=o.subtle;return crypto.subtle.importKey(e,t,a,i??s,o.usages[s?0:1])},iu=(e,t)=>us(e.replace(t,"")),Sv=(e,t,r)=>{let n=iu(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);return nu("pkcs8",n,t,r)},Av=(e,t,r)=>{let n=iu(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);return nu("spki",n,t,r)},Rv=(e,t,r)=>{let n;try{let i=iu(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g);n=gj(i)}catch(i){throw TypeError("Failed to parse the X.509 certificate",{cause:i})}return nu("spki",n,t,r)};var ou=j(()=>{z();Ii()});function yj(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}async function bj(e){if(vi(e))if(e.type==="secret")e=e.export();else return e.export({format:"jwk"});if(e instanceof Uint8Array)return{kty:"oct",k:Z(e)};if(!pt(e))throw TypeError(at(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}=yj(await crypto.subtle.exportKey("jwk",e));if(o.kty==="AKP")o.alg=n;return o}function _v(e){return bv(e)}function Tv(e){return vv(e)}function $s(e){return bj(e)}var su=j(()=>{ou();He()});async function au(e,t){let r;if(D(e)){if(r=tn(e),typeof r.kty!=="string")throw TypeError(at(e,"CryptoKey","KeyObject","JSON Web Key"))}else if(ss(e))r=tn(await $s(e));else throw TypeError(at(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":Tt(r.alg,'"alg" (Algorithm) Parameter'),Tt(r.pub,'"pub" (Public key) Parameter'),n={alg:r.alg,kty:r.kty,pub:r.pub};break;case"EC":Tt(r.crv,'"crv" (Curve) Parameter'),Tt(r.x,'"x" (X Coordinate) Parameter'),Tt(r.y,'"y" (Y Coordinate) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x,y:r.y};break;case"OKP":Tt(r.crv,'"crv" (Subtype of Key Pair) Parameter'),Tt(r.x,'"x" (Public Key) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x};break;case"RSA":Tt(r.e,'"e" (Exponent) Parameter'),Tt(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 yi('"k" (Key Value) Parameter missing or invalid');n={k:r.k,kty:r.kty};break;default:throw new H('"kty" (Key Type) Parameter missing or unsupported')}let i=se(JSON.stringify(n));return Z(await ms(t,i))}async function Ov(e,t){t??="sha256";let r=await au(e,t);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${t.slice(-3)}:${r}`}var Tt=(e,t)=>{if(typeof e!=="string"||!e)throw new yi(`${t} missing or invalid`)};var kv=j(()=>{Ce();He();z();Ke();su()});async function Cv(e,t){let r={...e,...t?.header};if(!D(r.jwk))throw new P('"jwk" (JSON Web Key) Header Parameter must be a JSON object');let n;try{n=rn(r.jwk)}catch(s){throw new P("Invalid Embedded JWK",{cause:s})}let i=ln(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 lt(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 Pv=j(()=>{en();dn();z()});function vj(e,t,r,n){let{kty:i,key_ops:o,ext:s,kid:a,alg:c,use:p,crv:u}=tn(e),l=Array.isArray(o)?[...o]:o;return(s===void 0||typeof s==="boolean")&&(l===void 0||Array.isArray(l)&&l.every((f,m)=>typeof f==="string"&&l.indexOf(f)===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 Iv(e,t,r){let n=e.get(t)||e.set(t,{}).get(t),{alg:i}=r;if(n[i]===void 0){let o=await lt(r,{...t,alg:i,ext:!0});if(o.type!=="public")throw new bi("JSON Web Key Set members must be public keys");n[i]=o}return n[i]}function Li(e){let t;try{t=structuredClone(e)}catch{}if(!ds(t))throw new bi("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"?Oi[s]:void 0;if(!c||c.secret)throw new H('Unsupported "alg" value for a JSON Web Key Set');let p=t.keys.filter((f)=>vj(f,c,s,a)),{0:u,length:l}=p;if(!l)throw new Qr;if(l!==1){let f=new ns;throw f[Symbol.asyncIterator]=async function*(){for(let m of p)try{yield await Iv(r,m,c)}catch{}},f}return Iv(r,u,c)},"jwks",{value:()=>structuredClone(t)})}var cu=j(()=>{en();dn();z()});function wj(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}async function Ej(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 is;throw o});if(i.status!==200)throw new ye("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await i.json()}catch{throw new ye("Failed to parse the JSON Web Key Set HTTP response as JSON")}}function Ni(e,t){return Number.isFinite(e)&&Date.now()<e+t}function jv(e,t,r){if(Number.isNaN(e))throw TypeError(`"${r}" option must not be NaN`);return typeof e==="number"?e:t}function Lv(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=jv(n.cooldownDuration,30000,"cooldownDuration"),a=jv(n.cacheMaxAge,600000,"cacheMaxAge"),c=new Headers(n.headers);if(pu&&!c.has("User-Agent"))c.set("User-Agent",pu);if(!c.has("accept"))c.set("accept","application/json, application/jwk-set+json");let p=n[uu],u=n[lu],l,f,m=0,b=0,x;if(u&&typeof u==="object"){let{uat:g,jwks:E}=u;if(Ni(g,a)&&ds(E))l=g,x=Li(E)}let w=async()=>{if(f&&wj())f=void 0;if(!f){let g=++m,E=f=Ej(r,c,AbortSignal.timeout(o),p).then((S)=>{let k=Li(S);if(g<=b)return;x=k;let I=Date.now();if(u)u.uat=I,u.jwks=S;l=I,b=g}).finally(()=>{if(f===E)f=void 0})}await f};return Object.defineProperties(async(g,E)=>{if(!x||!Ni(l,a))await w();try{return await x(g,E)}catch(S){if(S instanceof Qr&&!Ni(l,s))return await w(),x(g,E);throw S}},{coolingDown:{get:()=>Ni(l,s),enumerable:!0},fresh:{get:()=>Ni(l,a),enumerable:!0},reload:{value:w,enumerable:!0},reloading:{get:()=>!!f,enumerable:!0},jwks:{value:()=>x?.jwks(),enumerable:!0}})}var pu,uu,lu;var Nv=j(()=>{z();cu();if(typeof navigator>"u"||!navigator.userAgent?.startsWith?.("Mozilla/5.0 "))pu="jose/v6.2.10";uu=Symbol();lu=Symbol()});var Sj,du;var qv=j(()=>{He();Ce();z();gn();pn();Sj=gr;du=class du extends Sj{encode(){let e=Z(JSON.stringify({alg:"none"})),t=Z(xn(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=At(r,P,"JWS Protected Header is invalid");let p=bt(P,an,void 0,s,s);a=cn(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:hn(s,xe(n,"payload",ce),t),header:s}}}});async function Dv(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw TypeError('"spki" must be SPKI formatted string');return Av(e,t,r)}async function Uv(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw TypeError('"x509" must be X.509 formatted string');return Rv(e,t,r)}async function Fv(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw TypeError('"pkcs8" must be PKCS#8 formatted string');return Sv(e,t,r)}async function $v(e,t,r){if(!D(e))throw TypeError("JWK must be an object");let n=rn(e),i=zt(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 yt(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 lt(br(t),{...n,ext:s})}case"RSA":case"EC":case"OKP":return lt(br(t),{...n,alg:t,ext:s});default:throw new H('Unsupported "kty" (Key Type) Parameter value')}}var Bv=j(()=>{He();ou();en();Ii();z()});function Kv(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 At(t,TypeError,r)}var Hv=j(()=>{Ce()});function Jv(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=yt(t)}catch{throw new ce("Failed to base64url decode the payload")}let i;try{i=JSON.parse(Zr.decode(n))}catch{throw new ce("Failed to parse the decoded payload as JSON")}if(!D(i))throw new ce("Invalid JWT Claims Set");return i}var zv=j(()=>{He();Ke();z()});function Aj(e){let t=e?.modulusLength??2048;if(typeof t!=="number"||!Number.isInteger(t)||t<2048)throw new H("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return t}async function Wv(e,t){let r=zt(t?.extractable),n=br(e,Jt);if(n.secret)yr(Jt);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 H("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 H(`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:Aj(t)}:n.subtle}return crypto.subtle.generateKey(i,r??!1,[...n.usages[1],...n.usages[0]])}var Mv=j(()=>{z();Ii()});async function Gv(e,t){let r=zt(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:yr(Jt)}return crypto.subtle.generateKey(i,r??!1,o)}var Vv=j(()=>{Ii()});var fu={};Or(fu,{CompactEncrypt:()=>Vp,CompactSign:()=>Yp,EmbeddedJWK:()=>Cv,EncryptJWT:()=>tu,FlattenedEncrypt:()=>Xp,FlattenedSign:()=>Zp,GeneralEncrypt:()=>Fp,GeneralSign:()=>Qp,SignJWT:()=>eu,UnsecuredJWT:()=>du,base64url:()=>ls,calculateJwkThumbprint:()=>au,calculateJwkThumbprintUri:()=>Ov,compactDecrypt:()=>Ib,compactVerify:()=>Mb,createLocalJWKSet:()=>Li,createRemoteJWKSet:()=>Lv,cryptoRuntime:()=>Rj,customFetch:()=>uu,decodeJwt:()=>Jv,decodeProtectedHeader:()=>Kv,errors:()=>Rp,exportJWK:()=>$s,exportPKCS8:()=>Tv,exportSPKI:()=>_v,flattenedDecrypt:()=>Lb,flattenedVerify:()=>Vb,generalDecrypt:()=>qb,generalVerify:()=>Yb,generateKeyPair:()=>Wv,generateSecret:()=>Gv,importJWK:()=>$v,importPKCS8:()=>Fv,importSPKI:()=>Dv,importX509:()=>Uv,jwksCache:()=>lu,jwtDecrypt:()=>nv,jwtVerify:()=>tv});var Rj="WebCryptoAPI";var mu=j(()=>{jb();Nb();Db();$b();Gb();Xb();Zb();rv();iv();ov();sv();lv();dv();mv();hv();xv();kv();Pv();cu();Nv();qv();su();Bv();Hv();zv();z();Mv();Vv();He()});var Ks=y(function(oW,Xv){function Bs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksError",this.message=e}Bs.prototype=Object.create(Error.prototype);Bs.prototype.constructor=Bs;Xv.exports=Bs});var hu=y(function(sW,Zv){var Yv=(mu(),Hi(fu)),_j=Ks();function Tj(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 _j("Unsupported JWK")}async function Oj(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 Yv.importJWK({...r,ext:!0},Tj(r));if(n.type!=="public")continue;let i;switch(n[Symbol.toStringTag]){case"CryptoKey":{let o=await Yv.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}Zv.exports={retrieveSigningKeys:Oj}});var xu=y(function(aW,Qv){function Hs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="ArgumentError",this.message=e}Hs.prototype=Object.create(Error.prototype);Hs.prototype.constructor=Hs;Qv.exports=Hs});var tw=y(function(cW,ew){var kj=require("http"),Cj=require("https"),Pj=xu();ew.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 Pj("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}},f=(s==="https:"?Cj:kj).request(u,(m)=>{let b="";m.setEncoding("utf8"),m.on("data",(x)=>{b+=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(b&&JSON.parse(b))}catch(x){r(x)}})});f.on("timeout",()=>f.destroy()).on("error",(m)=>r(m)).end()})}});var Ws=y(function(zs){var nw=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ij=nw((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")}),jj=nw((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(zs,"__esModule",{value:!0});zs.LRUCache=void 0;var le=Ij(),Lj=jj(),gu=()=>le.metrics.hasSubscribers||le.tracing.hasSubscribers,iw=new Set,rw=typeof process=="object"&&process?process:{},Nj=(e,t,r,n)=>{typeof rw.emitWarning=="function"?rw.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},qj=(e)=>!iw.has(e),Mt=(e)=>!!e&&e===Math.floor(e)&&e>0&&isFinite(e),ow=(e)=>Mt(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Js:null:null,Js=class extends Array{constructor(e){super(e),this.fill(0)}},Dj=class e{heap;length;static#e=!1;static create(t){let r=ow(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]}},Uj=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;#b;#v;#_;#D;#h;#I;static unsafeExposeInternals(t){return{starts:t.#R,ttls:t.#b,autopurgeTimers:t.#v,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.#T(r),rindexes:(r)=>t.#O(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:f,noUpdateTTL:m,maxSize:b=0,maxEntrySize:x=0,sizeCalculation:w,fetchMethod:h,memoMethod:g,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:k,allowStaleOnFetchAbort:I,ignoreFetchAbort:C,backgroundFetchSize:M=1,perf:U}=t;if(this.backgroundFetchSize=M,U!==void 0&&typeof U?.now!="function")throw TypeError("perf option must have a now() method if specified");if(this.#f=U??Lj.defaultPerf,r!==0&&!Mt(r))throw TypeError("max option must be a nonnegative integer");let X=r?ow(r):Array;if(!X)throw Error("invalid max value: "+r);if(this.#e=r,this.#t=b,this.maxEntrySize=x||this.#t,this.sizeCalculation=w,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(g!==void 0&&typeof g!="function")throw TypeError("memoMethod must be a function if defined");if(this.#g=g,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 X(r),this.#y=new X(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.#_=!!this.#n,this.#I=!!this.#o,this.#h=!!this.#s,this.noDisposeOnSet=!!f,this.noUpdateTTL=!!m,this.noDeleteOnFetchRejection=!!E,this.allowStaleOnFetchRejection=!!k,this.allowStaleOnFetchAbort=!!I,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#t!==0&&!Mt(this.#t))throw TypeError("maxSize must be a positive integer if specified");if(!Mt(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#G()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!s,this.updateAgeOnHas=!!a,this.ttlResolution=Mt(i)||i===0?i:1,this.ttlAutopurge=!!o,this.ttl=n||0,this.ttl){if(!Mt(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 q="LRU_CACHE_UNBOUNDED";qj(q)&&(iw.add(q),Nj("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",q,e))}}getRemainingTTL(t){return this.#c.has(t)?1/0:0}#B(){let t=new Js(this.#e),r=new Js(this.#e);this.#b=t,this.#R=r;let n=this.ttlAutopurge?Array.from({length:this.#e}):void 0;this.#v=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.#k(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 f=c.now-l;c.remainingTTL=u-f}};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 Js(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(!Mt(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),!Mt(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};*#T({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]}*#O({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.#T())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.#O())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.#T()){let r=this.#a[t];r!==void 0&&!this.#i(this.#r[t])&&(yield r)}}*rkeys(){for(let t of this.#O()){let r=this.#a[t];r!==void 0&&!this.#i(this.#r[t])&&(yield r)}}*values(){for(let t of this.#T())this.#r[t]!==void 0&&!this.#i(this.#r[t])&&(yield this.#r[t])}*rvalues(){for(let t of this.#O())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.#T()){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.#T()){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.#O()){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.#O({allowStale:!0}))this.#w(r)&&(this.#k(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.#b&&this.#R){let s=this.#b[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.#T({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.#b&&this.#R){s.ttl=this.#b[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 f=this.#H(t,r,n.size||0,c,p);if(this.maxEntrySize&&f>this.maxEntrySize)return this.#k(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,f,p),p&&(p.set="add"),l=!1,this.#I&&!u&&this.#o?.(r,t,"add");else{this.#q(m);let b=this.#r[m];if(r!==b){if(!a)if(this.#i(b)){b!==i&&b.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=b;x!==void 0&&x!==r&&(this.#_&&this.#n?.(x,t,"set"),this.#h&&this.#l?.push([x,t,"set"]))}else this.#_&&this.#n?.(b,t,"set"),this.#h&&this.#l?.push([b,t,"set"]);if(this.#L(m),this.#U(m,f,p),this.#r[m]=r,!u){let x=b&&this.#i(b)?b.__staleWhileFetching:b,w=x===void 0?"add":r!==x?"replace":"update";p&&(p.set=w,x!==void 0&&(p.oldValue=x)),this.#I&&this.onInsert?.(r,t,w)}}else u||(p&&(p.set="update"),this.#I&&this.onInsert?.(r,t,"update"))}if(o!==0&&!this.#b&&this.#B(),this.#b&&(l||this.#K(m,o,s),p&&this.#C(p,m)),!a&&this.#h&&this.#l){let b=this.#l,x;for(;x=b?.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.#_||this.#h)&&s!==void 0&&(this.#_&&this.#n?.(s,n,"evict"),this.#h&&this.#l?.push([s,n,"evict"])),this.#L(r),this.#v?.[r]&&(clearTimeout(this.#v[r]),this.#v[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=gu()?{}: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,w=!1)=>{let{aborted:h}=s.signal,g=n.ignoreFetchAbort&&x!==void 0,E=n.ignoreFetchAbort||!!(n.allowStaleOnFetchAbort&&x!==void 0);if(n.status&&(h&&!w?(n.status.fetchAborted=!0,n.status.fetchError=s.signal.reason,g&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),h&&!g&&!w)return l(s.signal.reason,E);let S=m,k=this.#r[r];return(k===m||k===void 0&&g&&w)&&(x===void 0?S.__staleWhileFetching!==void 0?this.#r[r]=S.__staleWhileFetching:this.#k(t,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.#P(t,x,c.options,S))),x},u=(x)=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=x),l(x,!1)),l=(x,w)=>{let{aborted:h}=s.signal,g=h&&n.allowStaleOnFetchAbort,E=g||n.allowStaleOnFetchRejection,S=E||n.noDeleteOnFetchRejection,k=m;if(this.#r[r]===m&&(!S||!w&&k.__staleWhileFetching===void 0?this.#k(t,"fetch"):g||(this.#r[r]=k.__staleWhileFetching)),E)return n.status&&k.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),k.__staleWhileFetching;if(k.__returned===k)throw x},f=(x,w)=>{let h=this.#x?.(t,o,c);s.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(x(void 0),n.allowStaleOnFetchAbort&&(x=(g)=>p(g,!0)))}),h&&h instanceof Promise?h.then((g)=>x(g===void 0?void 0:g),w):h!==void 0&&x(h)};n.status&&(n.status.fetchDispatched=!0);let m=new Promise(f).then(p,u),b=Object.assign(m,{__abortController:s,__staleWhileFetching:o,__returned:void 0});return r===void 0?(this.#P(t,b,{...c.options,status:void 0}),r=this.#c.get(t)):this.#r[r]=b,b}#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=gu()?{}:void 0}=r;r.status=i,i&&r.context&&(i.context=r.context);let o=this.#z(t,r);return i&&n&&(i.trace=!0,le.tracing.tracePromise(()=>o,i).catch(()=>{})),o}async#z(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:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:b=this.allowStaleOnFetchAbort,context:x,forceRefresh:w=!1,status:h,signal:g}=r;if(h&&(h.op="fetch",h.key=t,w&&(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:f,allowStaleOnFetchAbort:b,ignoreFetchAbort:m,status:h,signal:g},S=this.#c.get(t);if(S===void 0){h&&(h.fetch="miss");let k=this.#$(t,S,E,x);return k.__returned=k}else{let k=this.#r[S];if(this.#i(k)){let U=n&&k.__staleWhileFetching!==void 0;return h&&(h.fetch="inflight",U&&(h.returnedStale=!0)),U?k.__staleWhileFetching:k.__returned=k}let I=this.#w(S);if(!w&&!I)return h&&(h.fetch="hit"),this.#q(S),i&&this.#j(S),h&&this.#C(h,S),k;let C=this.#$(t,S,E,x),M=C.__staleWhileFetching!==void 0&&n;return h&&(h.fetch=I?"stale":"refresh",M&&I&&(h.returnedStale=!0)),M?C.__staleWhileFetching:C.__returned=C}}forceFetch(t,r={}){let n=le.tracing.hasSubscribers,{status:i=gu()?{}: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.#z(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.#k(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)}#W(t,r){this.#y[r]=t,this.#m[t]=r}#q(t){t!==this.#u&&(t===this.#d?this.#d=this.#m[t]:this.#W(this.#y[t],this.#m[t]),this.#W(this.#u,t),this.#u=t)}delete(t){return this.#k(t,"delete")}#k(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.#v?.[i]&&(clearTimeout(this.#v[i]),this.#v[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.#_||this.#h)&&(this.#_&&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.#O({allowStale:!0})){let n=this.#r[r];if(this.#i(n))n.__abortController.abort(Error("deleted"));else{let i=this.#a[r];this.#_&&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.#b&&this.#R){this.#b.fill(0),this.#R.fill(0);for(let r of this.#v??[])r!==void 0&&clearTimeout(r);this.#v?.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)}}};zs.LRUCache=Uj});var Iu=y(function(qi,yn){var Fj=200,gw="__lodash_hash_undefined__",yw=9007199254740991,Ru="[object Arguments]",$j="[object Array]",bw="[object Boolean]",vw="[object Date]",Bj="[object Error]",_u="[object Function]",ww="[object GeneratorFunction]",Ms="[object Map]",Ew="[object Number]",Tu="[object Object]",sw="[object Promise]",Sw="[object RegExp]",Gs="[object Set]",Aw="[object String]",Rw="[object Symbol]",bu="[object WeakMap]",_w="[object ArrayBuffer]",Vs="[object DataView]",Tw="[object Float32Array]",Ow="[object Float64Array]",kw="[object Int8Array]",Cw="[object Int16Array]",Pw="[object Int32Array]",Iw="[object Uint8Array]",jw="[object Uint8ClampedArray]",Lw="[object Uint16Array]",Nw="[object Uint32Array]",Kj=/[\\^$.*+?()[\]{}|]/g,Hj=/\w*$/,Jj=/^\[object .+?Constructor\]$/,zj=/^(?:0|[1-9]\d*)$/,te={};te[Ru]=te[$j]=te[_w]=te[Vs]=te[bw]=te[vw]=te[Tw]=te[Ow]=te[kw]=te[Cw]=te[Pw]=te[Ms]=te[Ew]=te[Tu]=te[Sw]=te[Gs]=te[Aw]=te[Rw]=te[Iw]=te[jw]=te[Lw]=te[Nw]=!0;te[Bj]=te[_u]=te[bu]=!1;var Wj=typeof global=="object"&&global&&global.Object===Object&&global,Mj=typeof self=="object"&&self&&self.Object===Object&&self,Ot=Wj||Mj||Function("return this")(),qw=typeof qi=="object"&&qi&&!qi.nodeType&&qi,aw=qw&&typeof yn=="object"&&yn&&!yn.nodeType&&yn,Gj=aw&&aw.exports===qw;function Vj(e,t){return e.set(t[0],t[1]),e}function Xj(e,t){return e.add(t),e}function Yj(e,t){var r=-1,n=e?e.length:0;while(++r<n)if(t(e[r],r,e)===!1)break;return e}function Zj(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}function Dw(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 Qj(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function eL(e,t){return e==null?void 0:e[t]}function Uw(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function cw(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function Ou(e,t){return function(r){return e(t(r))}}function pw(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var tL=Array.prototype,rL=Function.prototype,Xs=Object.prototype,yu=Ot["__core-js_shared__"],uw=function(){var e=/[^.]+$/.exec(yu&&yu.keys&&yu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Fw=rL.toString,Gt=Xs.hasOwnProperty,Ys=Xs.toString,nL=RegExp("^"+Fw.call(Gt).replace(Kj,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lw=Gj?Ot.Buffer:void 0,dw=Ot.Symbol,fw=Ot.Uint8Array,iL=Ou(Object.getPrototypeOf,Object),oL=Object.create,sL=Xs.propertyIsEnumerable,aL=tL.splice,mw=Object.getOwnPropertySymbols,cL=lw?lw.isBuffer:void 0,pL=Ou(Object.keys,Object),vu=wn(Ot,"DataView"),Di=wn(Ot,"Map"),wu=wn(Ot,"Promise"),Eu=wn(Ot,"Set"),Su=wn(Ot,"WeakMap"),Ui=wn(Object,"create"),uL=Er(vu),lL=Er(Di),dL=Er(wu),fL=Er(Eu),mL=Er(Su),hw=dw?dw.prototype:void 0,xw=hw?hw.valueOf:void 0;function wr(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 hL(){this.__data__=Ui?Ui(null):{}}function xL(e){return this.has(e)&&delete this.__data__[e]}function gL(e){var t=this.__data__;if(Ui){var r=t[e];return r===gw?void 0:r}return Gt.call(t,e)?t[e]:void 0}function yL(e){var t=this.__data__;return Ui?t[e]!==void 0:Gt.call(t,e)}function bL(e,t){var r=this.__data__;return r[e]=Ui&&t===void 0?gw:t,this}wr.prototype.clear=hL;wr.prototype.delete=xL;wr.prototype.get=gL;wr.prototype.has=yL;wr.prototype.set=bL;function kt(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 vL(){this.__data__=[]}function wL(e){var t=this.__data__,r=Zs(t,e);if(r<0)return!1;var n=t.length-1;if(r==n)t.pop();else aL.call(t,r,1);return!0}function EL(e){var t=this.__data__,r=Zs(t,e);return r<0?void 0:t[r][1]}function SL(e){return Zs(this.__data__,e)>-1}function AL(e,t){var r=this.__data__,n=Zs(r,e);if(n<0)r.push([e,t]);else r[n][1]=t;return this}kt.prototype.clear=vL;kt.prototype.delete=wL;kt.prototype.get=EL;kt.prototype.has=SL;kt.prototype.set=AL;function bn(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 RL(){this.__data__={hash:new wr,map:new(Di||kt),string:new wr}}function _L(e){return Qs(this,e).delete(e)}function TL(e){return Qs(this,e).get(e)}function OL(e){return Qs(this,e).has(e)}function kL(e,t){return Qs(this,e).set(e,t),this}bn.prototype.clear=RL;bn.prototype.delete=_L;bn.prototype.get=TL;bn.prototype.has=OL;bn.prototype.set=kL;function vn(e){this.__data__=new kt(e)}function CL(){this.__data__=new kt}function PL(e){return this.__data__.delete(e)}function IL(e){return this.__data__.get(e)}function jL(e){return this.__data__.has(e)}function LL(e,t){var r=this.__data__;if(r instanceof kt){var n=r.__data__;if(!Di||n.length<Fj-1)return n.push([e,t]),this;r=this.__data__=new bn(n)}return r.set(e,t),this}vn.prototype.clear=CL;vn.prototype.delete=PL;vn.prototype.get=IL;vn.prototype.has=jL;vn.prototype.set=LL;function NL(e,t){var r=Cu(e)||oN(e)?Qj(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||Gt.call(e,o))&&!(i&&(o=="length"||tN(o,n))))r.push(o);return r}function $w(e,t,r){var n=e[t];if(!(Gt.call(e,t)&&Jw(n,r))||r===void 0&&!(t in e))e[t]=r}function Zs(e,t){var r=e.length;while(r--)if(Jw(e[r][0],t))return r;return-1}function qL(e,t){return e&&Bw(t,Pu(t),e)}function Au(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(!ea(e))return e;var c=Cu(e);if(c){if(a=ZL(e),!t)return VL(e,a)}else{var p=vr(e),u=p==_u||p==ww;if(aN(e))return KL(e,t);if(p==Tu||p==Ru||u&&!o){if(Uw(e))return o?e:{};if(a=QL(u?{}:e),!t)return XL(e,qL(a,e))}else{if(!te[p])return o?e:{};a=eN(e,p,Au,t)}}s||(s=new vn);var l=s.get(e);if(l)return l;if(s.set(e,a),!c)var f=r?YL(e):Pu(e);return Yj(f||e,function(m,b){if(f)b=m,m=e[b];$w(a,b,Au(m,t,r,n,b,e,s))}),a}function DL(e){return ea(e)?oL(e):{}}function UL(e,t,r){var n=t(e);return Cu(e)?n:Zj(n,r(e))}function FL(e){return Ys.call(e)}function $L(e){if(!ea(e)||nN(e))return!1;var t=Ww(e)||Uw(e)?nL:Jj;return t.test(Er(e))}function BL(e){if(!Hw(e))return pL(e);var t=[];for(var r in Object(e))if(Gt.call(e,r)&&r!="constructor")t.push(r);return t}function KL(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}function ku(e){var t=new e.constructor(e.byteLength);return new fw(t).set(new fw(e)),t}function HL(e,t){var r=t?ku(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function JL(e,t,r){var n=t?r(cw(e),!0):cw(e);return Dw(n,Vj,new e.constructor)}function zL(e){var t=new e.constructor(e.source,Hj.exec(e));return t.lastIndex=e.lastIndex,t}function WL(e,t,r){var n=t?r(pw(e),!0):pw(e);return Dw(n,Xj,new e.constructor)}function ML(e){return xw?Object(xw.call(e)):{}}function GL(e,t){var r=t?ku(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function VL(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}function Bw(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;$w(r,s,a===void 0?e[s]:a)}return r}function XL(e,t){return Bw(e,Kw(e),t)}function YL(e){return UL(e,Pu,Kw)}function Qs(e,t){var r=e.__data__;return rN(t)?r[typeof t=="string"?"string":"hash"]:r.map}function wn(e,t){var r=eL(e,t);return $L(r)?r:void 0}var Kw=mw?Ou(mw,Object):uN,vr=FL;if(vu&&vr(new vu(new ArrayBuffer(1)))!=Vs||Di&&vr(new Di)!=Ms||wu&&vr(wu.resolve())!=sw||Eu&&vr(new Eu)!=Gs||Su&&vr(new Su)!=bu)vr=function(e){var t=Ys.call(e),r=t==Tu?e.constructor:void 0,n=r?Er(r):void 0;if(n)switch(n){case uL:return Vs;case lL:return Ms;case dL:return sw;case fL:return Gs;case mL:return bu}return t};function ZL(e){var t=e.length,r=e.constructor(t);if(t&&typeof e[0]=="string"&&Gt.call(e,"index"))r.index=e.index,r.input=e.input;return r}function QL(e){return typeof e.constructor=="function"&&!Hw(e)?DL(iL(e)):{}}function eN(e,t,r,n){var i=e.constructor;switch(t){case _w:return ku(e);case bw:case vw:return new i(+e);case Vs:return HL(e,n);case Tw:case Ow:case kw:case Cw:case Pw:case Iw:case jw:case Lw:case Nw:return GL(e,n);case Ms:return JL(e,n,r);case Ew:case Aw:return new i(e);case Sw:return zL(e);case Gs:return WL(e,n,r);case Rw:return ML(e)}}function tN(e,t){return t=t==null?yw:t,!!t&&(typeof e=="number"||zj.test(e))&&(e>-1&&e%1==0&&e<t)}function rN(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function nN(e){return!!uw&&uw in e}function Hw(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Xs;return e===r}function Er(e){if(e!=null){try{return Fw.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function iN(e){return Au(e,!0,!0)}function Jw(e,t){return e===t||e!==e&&t!==t}function oN(e){return sN(e)&&Gt.call(e,"callee")&&(!sL.call(e,"callee")||Ys.call(e)==Ru)}var Cu=Array.isArray;function zw(e){return e!=null&&cN(e.length)&&!Ww(e)}function sN(e){return pN(e)&&zw(e)}var aN=cL||lN;function Ww(e){var t=ea(e)?Ys.call(e):"";return t==_u||t==ww}function cN(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=yw}function ea(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function pN(e){return!!e&&typeof e=="object"}function Pu(e){return zw(e)?NL(e):BL(e)}function uN(){return[]}function lN(){return!1}yn.exports=iN});var ju=y(function(ta){Object.defineProperty(ta,"__esModule",{value:!0});ta.deepFreeze=void 0;function Mw(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]))Mw(e[t])});return e}ta.deepFreeze=Mw});var Xw=y(function(En){var dN=En&&En.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(En,"__esModule",{value:!0});En.syncMemoizer=void 0;var fN=Ws(),mN=require("events"),Gw=dN(Iu()),Vw=ju();function hN(e){let t=new fN.LRUCache(e),r=e.load,n=e.hash,i=e.bypass,o=e.itemTTL,s=e.freeze,a=e.clone,c=new mN.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,...w){c.emit(x,...w)}function f(x){return x&&x.then&&typeof x.then==="function"}function m(x){let w=x;if(a)if(f(w))w=w.then(Gw.default);else w=(0,Gw.default)(w);if(s)if(f(w))w=w.then(Vw.deepFreeze);else(0,Vw.deepFreeze)(w);return w}return Object.assign(function(...x){if(i&&i(...x))return l("miss",...x),r(...x);var w=n(...x),h=t.get(w);if(h)return l("hit",...x),m(h);l("miss",...x);let g=r(...x);if(o)t.set(w,g,{ttl:o(...x.concat([g]))});else t.set(w,g);return m(g)},p)}En.syncMemoizer=hN});var Zw=y(function(Sn){var xN=Sn&&Sn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.asyncMemoizer=void 0;var gN=Ws(),yN=require("events"),bN=xN(Iu()),vN=ju(),wN=Xw();function Yw(e){let t=new gN.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 yN.EventEmitter,l=Object.assign({del:f,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 f(...h){let g=n(...h);t.delete(g)}function m(h,g,E){if(s)E.forEach(vN.deepFreeze);if(o)t.set(h,E,{ttl:o(...g.concat(E))});else t.set(h,E)}function b(h,g){for(let E of h)if(a)setImmediate(E,...g.map(bN.default));else setImmediate(E,...g)}function x(h,...g){u.emit(h,...g)}function w(...h){let g=h.slice(0,-1),E=h.slice(-1).pop(),S;if(i&&i(...g))return x("miss",...g),r(...h);if(g.length===0&&!n)S="_";else S=n(...g);let k=t.get(S);if(k)return x("hit",...g),b([E],[null].concat(k));let I=p.get(S);if(I&&I.expiresAt>Date.now()){I.queue.push(E),x("queue",...g);return}x("miss",...g);let C=Date.now(),M=[E];p.set(S,{queue:M,expiresAt:C+c});let U=(...X)=>{if(!X[0])m(S,g,X.slice(1));p.delete(S),x("loaded",Date.now()-C,...g),b(M,X)};r(...g,U)}return Object.assign(w,l)}Sn.asyncMemoizer=Yw;Yw.sync=wN.syncMemoizer});var eE=y(function(mW,Qw){var EN=Zw();Qw.exports=EN.asyncMemoizer});var nE=y(function(hW,rE){var Lu=Nt()("jwks"),SN=eE(),{LRUCache:AN}=Ws(),{promisify:RN,callbackify:tE}=require("util");function _N(e,{cacheMaxEntries:t=5,cacheMaxAge:r=600000,cacheMaxAgeFallback:n,onStaleCacheFallback:i}){Lu(`Configured caching of signing keys. Max: ${t} / Age: ${r}${n?` / Fallback: ${n}`:""}`);let o;if(n){let s=new AN({max:t}),a=e.getSigningKey.bind(e);o=tE(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(Lu(`JWKS endpoint unavailable, serving stale signing key for '${c}': ${p.message}`),i)i(p,c,u.key);return u.key}Lu(`JWKS endpoint unavailable and no valid stale entry for '${c}', fallback window expired or key never fetched`)}throw p}})}else o=tE(e.getSigningKey.bind(e));return RN(SN({hash:(s)=>s,load:o,ttl:r,max:t}))}rE.exports.default=_N});var Nu=y(function(xW,oE){var iE=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};iE.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)}};oE.exports=iE});var aE=y(function(gW,sE){var TN=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()};sE.exports=TN});var uE=y(function(yW,pE){var ON=Nu(),qu=aE(),cE=function(e,t,r){this.tokenBucket=new ON(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=qu(),this.tokensThisInterval=0,this.fireImmediately=r};cE.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=qu();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=qu();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}};pE.exports=cE});var lE=y(function(Du){Du.RateLimiter=uE();Du.TokenBucket=Nu()});var Uu=y(function(vW,dE){function ra(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksRateLimitError",this.message=e}ra.prototype=Object.create(Error.prototype);ra.prototype.constructor=ra;dE.exports=ra});var mE=y(function(wW,fE){var Fu=Nt()("jwks"),{RateLimiter:kN}=lE(),CN=Uu();function PN(e,{jwksRequestsPerMinute:t=10}){let r=e.getSigningKey.bind(e),n=new kN(t,"minute",!0);return Fu(`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(Fu("Requests to the JWKS endpoint available for the next minute:",c),c<0)Fu("Too many requests to the JWKS endpoint"),s(new CN("Too many requests to the JWKS endpoint"));else try{let p=await r(i);o(p)}catch(p){s(p)}})})}fE.exports.default=PN});var xE=y(function(EW,hE){var IN=hu().retrieveSigningKeys;function jN(e,{getKeysInterceptor:t}){let r=e.getSigningKey.bind(e);return async(n)=>{let i=await t(),o;if(i&&i.length)o=await IN(i);if(o&&o.length){let s=o.find((a)=>!n||a.kid===n);if(s)return s}return r(n)}}hE.exports.default=jN});var yE=y(function(SW,gE){var{callbackify:LN}=require("util"),NN=(e)=>{let t=e.getSigningKey.bind(e);return(r,n)=>{if(n)return LN(t)(r,n);return t(r)}};gE.exports.default=NN});var vE=y(function(AW,bE){bE.exports={request:tw().default,cacheSigningKey:nE().default,rateLimitSigningKey:mE().default,getKeysInterceptor:xE().default,callbackSupport:yE().default}});var $u=y(function(RW,wE){function na(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="SigningKeyNotFoundError",this.message=e}na.prototype=Object.create(Error.prototype);na.prototype.constructor=na;wE.exports=na});var An=y(function(_W,AE){var Sr=Nt()("jwks"),{retrieveSigningKeys:qN}=hu(),{request:DN,cacheSigningKey:UN,rateLimitSigningKey:FN,getKeysInterceptor:$N,callbackSupport:BN}=vE(),Bu=Ks(),EE=$u();class SE{constructor(e){if(this.options={rateLimit:!1,cache:!0,timeout:30000,...e},this.options.getKeysInterceptor)this.getSigningKey=$N(this,e);if(this.options.rateLimit)this.getSigningKey=FN(this,e);if(this.options.cache)this.getSigningKey=UN(this,e);this.getSigningKey=BN(this,e)}async getKeys(){Sr(`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 Sr("Keys:",e.keys),e.keys}catch(e){let{errorMsg:t}=e;Sr("Failure:",t||e);let r=t?new Bu(t):e;throw r.isEndpointUnavailable=!0,r}}async getSigningKeys(){let e=await this.getKeys();if(!e||!e.length)throw new Bu("The JWKS endpoint did not contain any keys");let t=await qN(e);if(!t.length)throw new Bu("The JWKS endpoint did not contain any signing keys");return Sr("Signing Keys:",t),t}async getSigningKey(e){Sr(`Fetching signing key for '${e}'`);let t=await this.getSigningKeys(),r=e!==void 0&&e!==null;if(!r&&t.length>1)throw Sr("No KID specified and JWKS endpoint returned more than 1 key"),new EE("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 Sr(`Unable to find a signing key that matches '${e}'`),new EE(`Unable to find a signing key that matches '${e}'`)}}AE.exports={JwksClient:SE}});var Rn=y(function(TW,RE){RE.exports={ArgumentError:xu(),JwksError:Ks(),JwksRateLimitError:Uu(),SigningKeyNotFoundError:$u()}});var Fi=y(function(OW,_E){var KN=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512","EdDSA"];_E.exports=KN});var TE=y(function(kW,ia){var{ArgumentError:HN}=Rn(),{JwksClient:JN}=An(),zN=Fi(),WN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(e,null,null);if(e)return t(e,null,null)};ia.exports.hapiJwt2KeyAsync=(e)=>{let t=ia.exports.hapiJwt2Key(e);return function(r){return new Promise((n,i)=>{t(r,(s,a)=>{!a||s?i(s):n({key:a})})})}};ia.exports.hapiJwt2Key=function(e){if(e===null||e===void 0)throw new HN("An options object must be provided when initializing hapiJwt2Key");let t=new JN(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(!zN.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 kE=y(function(CW,OE){var{ArgumentError:MN}=Rn(),{JwksClient:GN}=An(),VN=Fi(),XN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};OE.exports.expressJwtSecret=function(e){if(e===null||e===void 0)throw new MN("An options object must be provided when initializing expressJwtSecret");let t=new GN(e),r=e.handleSigningKeyError||XN,n=async(i,o)=>{if(!o)return;let s=o.header;if(!s||!VN.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 PE=y(function(PW,CE){var{ArgumentError:YN}=Rn(),{JwksClient:ZN}=An(),QN=Fi();CE.exports.koaJwtSecret=function(e={}){if(!e.jwksUri)throw new YN("No JWKS provided. Please provide a jwksUri");let t=new ZN(e);return function({alg:n,kid:i}={}){return new Promise((o,s)=>{if(!QN.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 NE=y(function(IW,LE){var IE=(mu(),Hi(fu)),{ArgumentError:jE}=Rn(),{JwksClient:e2}=An(),t2=Fi(),r2=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};LE.exports.passportJwtSecret=function(e){if(e===null||e===void 0)throw new jE("An options object must be provided when initializing passportJwtSecret");if(!e.jwksUri)throw new jE("No JWKS provided. Please provide a jwksUri");let t=new e2(e),r=e.handleSigningKeyError||r2;return function(i,o,s){let a;try{a={payload:IE.decodeJwt(o),header:IE.decodeProtectedHeader(o)}}catch(c){a=null}if(!a||!t2.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 DE=y(function(jW,rt){var{JwksClient:qE}=An(),oa=Rn(),{hapiJwt2Key:n2,hapiJwt2KeyAsync:i2}=TE(),{expressJwtSecret:o2}=kE(),{koaJwtSecret:s2}=PE(),{passportJwtSecret:a2}=NE();rt.exports=(e)=>new qE(e);rt.exports.JwksClient=qE;rt.exports.ArgumentError=oa.ArgumentError;rt.exports.JwksError=oa.JwksError;rt.exports.JwksRateLimitError=oa.JwksRateLimitError;rt.exports.SigningKeyNotFoundError=oa.SigningKeyNotFoundError;rt.exports.expressJwtSecret=o2;rt.exports.hapiJwt2Key=n2;rt.exports.hapiJwt2KeyAsync=i2;rt.exports.koaJwtSecret=s2;rt.exports.passportJwtSecret=a2});var x2={};Or(x2,{handler:()=>f2});module.exports=Hi(x2);var vh=require("node:https");function kn(e,t){return function(){return e.apply(t,arguments)}}var{toString:ZE}=Object.prototype,{getPrototypeOf:Pt}=Object,{iterator:In,toStringTag:Qu}=Symbol,Cn=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),el=(e)=>typeof e==="string"&&(e==="__proto__"||e==="constructor"||e==="prototype"),tl=(e,t,r)=>e===Object.prototype||!r&&t===null,QE=(e)=>{if(!Object.isExtensible(e))return!1;let t=Object.getOwnPropertyNames(e);if(Object.getOwnPropertySymbols)t.push(...Object.getOwnPropertySymbols(e));return t.every((r)=>{if(el(r))return!1;let n=Object.getOwnPropertyDescriptor(e,r);return!!n&&n.configurable&&n.writable===!0})},Pn=(e,t)=>{let r=e,n=[];while(r!=null){if(n.indexOf(r)!==-1)return!1;n.push(r);let i=Pt(r);if(tl(r,i,r===e))return!1;if(Cn(r,t))return!0;r=i}return!1},eS=(e,t)=>e!=null&&Pn(e,t)?e[t]:void 0,tS=(e)=>{if(e==null||typeof e!=="object"&&typeof e!=="function")return e;let t=Pt(e);if(t===null&&QE(e))return e;let r=Object.create(null),n=Object.create(null),i=[],o=e;while(o!=null){if(i.indexOf(o)!==-1)break;i.push(o);let s=o===e?t:Pt(o);if(tl(o,s,o===e))break;let a=Object.getOwnPropertyNames(o);if(Object.getOwnPropertySymbols)a.push(...Object.getOwnPropertySymbols(o));for(let c of a){if(el(c))continue;if(!Cn(n,c))r[c]=e[c],n[c]=!0}o=s}return r},ca=((e)=>(t)=>{let r=ZE.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=(e)=>(e=e.toLowerCase(),(t)=>ca(t)===e),zi=(e)=>(t)=>typeof t===e,{isArray:Qt}=Array,er=zi("undefined");function kr(e){return e!==null&&!er(e)&&e.constructor!==null&&!er(e.constructor)&&qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var rl=Ge("ArrayBuffer");function rS(e){let t;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)t=ArrayBuffer.isView(e);else t=e&&e.buffer&&rl(e.buffer);return t}var nS=zi("string"),qe=zi("function"),nl=zi("number"),Cr=(e)=>e!==null&&typeof e==="object",iS=(e)=>e===!0||e===!1,Ji=(e)=>{if(!Cr(e))return!1;let t=Pt(e);return(t===null||t===Object.prototype||Pt(t)===null)&&!Pn(e,Qu)&&!Pn(e,In)},oS=(e)=>{if(!Cr(e)||kr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},sS=Ge("Date"),aS=Ge("File"),cS=(e)=>!!(e&&typeof e.uri<"u"),pS=(e)=>e&&typeof e.getParts<"u",uS=Ge("Blob"),lS=Ge("FileList"),dS=Ge("Set"),fS=(e)=>Cr(e)&&qe(e.pipe);function mS(){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 Yu=mS(),Zu=typeof Yu.FormData<"u"?Yu.FormData:void 0,hS=(e)=>{if(!e)return!1;if(Zu&&e instanceof Zu)return!0;let t=Pt(e);if(!t||t===Object.prototype)return!1;if(!qe(e.append))return!1;let r=ca(e);return r==="formdata"||r==="object"&&qe(e.toString)&&e.toString()==="[object FormData]"},xS=Ge("URLSearchParams"),[gS,yS,bS,vS]=["ReadableStream","Request","Response","Headers"].map(Ge),wS=(e)=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jn(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!=="object")e=[e];if(Qt(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(kr(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 il(e,t){if(kr(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 Zt=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})(),ol=(e)=>!er(e)&&e!==Zt;function aa(...e){let{caseless:t,skipUndefined:r}=ol(this)&&this||{},n={},i=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let a=t&&typeof s==="string"&&il(n,s)||s,c=Cn(n,a)?n[a]:void 0;if(Ji(c)&&Ji(o))n[a]=aa(c,o);else if(Ji(o))n[a]=aa({},o);else if(Qt(o))n[a]=o.slice();else if(!r||!er(o))n[a]=o};for(let o=0,s=e.length;o<s;o++){let a=e[o];if(!a||kr(a))continue;if(jn(a,i),typeof a!=="object"||Qt(a))continue;let c=Object.getOwnPropertySymbols(a);for(let p=0;p<c.length;p++){let u=c[p];if(jS.call(a,u))i(a[u],u)}}return n}var ES=(e,t,r,{allOwnKeys:n}={})=>(jn(t,(i,o)=>{if(r&&qe(i))Object.defineProperty(e,o,{__proto__:null,value:kn(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),SS=(e)=>{if(e.charCodeAt(0)===65279)e=e.slice(1);return e},AS=(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)},RS=(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&&Pt(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},_S=(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},TS=(e)=>{if(!e)return null;if(Qt(e))return e;let t=e.length;if(!nl(t))return null;let r=Array(t);while(t-- >0)r[t]=e[t];return r},OS=((e)=>(t)=>e&&t instanceof e)(typeof Uint8Array<"u"&&Pt(Uint8Array)),kS=(e,t)=>{let n=(e&&e[In]).call(e),i;while((i=n.next())&&!i.done){let o=i.value;t.call(e,o[0],o[1])}},CS=(e,t)=>{let r,n=[];while((r=e.exec(t))!==null)n.push(r);return n},PS=Ge("HTMLFormElement"),IS=(e)=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),{propertyIsEnumerable:jS}=Object.prototype,LS=Ge("RegExp"),sl=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};jn(r,(i,o)=>{let s;if((s=t(i,o,e))!==!1)n[o]=s||i}),Object.defineProperties(e,n)},NS=(e)=>{sl(e,(t,r)=>{if(qe(e)&&["arguments","caller","callee"].includes(r))return!1;let n=e[r];if(!qe(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+"'")}})},qS=(e,t)=>{let r={},n=(i)=>{i.forEach((o)=>{r[o]=!0})};return Qt(e)?n(e):n(String(e).split(t)),r},DS=()=>{},US=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function FS(e){return!!(e&&qe(e.append)&&e[Qu]==="FormData"&&e[In])}var $S=(e)=>{let t=new WeakSet,r=(n)=>{if(Cr(n)){if(t.has(n))return;if(kr(n))return n;if(!("toJSON"in n)){t.add(n);let i;if(dS(n)){i=[];for(let o of n){let s=r(o);!er(s)&&i.push(s)}}else i=Qt(n)?[]:{},jn(n,(o,s)=>{let a=r(o);!er(a)&&(i[s]=a)});return t.delete(n),i}}return n};return r(e)},BS=Ge("AsyncFunction"),KS=(e)=>e&&(Cr(e)||qe(e))&&qe(e.then)&&qe(e.catch),al=((e,t)=>{if(e)return setImmediate;return t?((r,n)=>(Zt.addEventListener("message",({source:i,data:o})=>{if(i===Zt&&o===r)n.length&&n.shift()()},!1),(i)=>{n.push(i),Zt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):(r)=>setTimeout(r)})(typeof setImmediate==="function",qe(Zt.postMessage)),HS=typeof queueMicrotask<"u"?queueMicrotask.bind(Zt):typeof process<"u"&&process.nextTick||al,cl=(e)=>e!=null&&qe(e[In]),JS=(e)=>e!=null&&Pn(e,In)&&cl(e),d={isArray:Qt,isArrayBuffer:rl,isBuffer:kr,isFormData:hS,isArrayBufferView:rS,isString:nS,isNumber:nl,isBoolean:iS,isObject:Cr,isPlainObject:Ji,isEmptyObject:oS,isReadableStream:gS,isRequest:yS,isResponse:bS,isHeaders:vS,isUndefined:er,isDate:sS,isFile:aS,isReactNativeBlob:cS,isReactNative:pS,isBlob:uS,isRegExp:LS,isFunction:qe,isStream:fS,isURLSearchParams:xS,isTypedArray:OS,isFileList:lS,forEach:jn,merge:aa,extend:ES,trim:wS,stripBOM:SS,inherits:AS,toFlatObject:RS,kindOf:ca,kindOfTest:Ge,endsWith:_S,toArray:TS,forEachEntry:kS,matchAll:CS,isHTMLForm:PS,hasOwnProperty:Cn,hasOwnProp:Cn,hasOwnInPrototypeChain:Pn,getSafeProp:eS,toSafeFlatObject:tS,reduceDescriptors:sl,freezeMethods:NS,toObjectSet:qS,toCamelCase:IS,noop:DS,toFiniteNumber:US,findKey:il,global:Zt,isContextDefined:ol,isSpecCompliantForm:FS,toJSONObject:$S,isAsyncFn:BS,isThenable:KS,setImmediate:al,asap:HS,isIterable:cl,isSafeIterable:JS};var zS=d.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"]),pl=(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=d.hasOwnProp(t,r);if(!r||a&&d.hasOwnProp(zS,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 WS(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 MS=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),GS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function pa(e,t){if(d.isArray(e))return e.map((r)=>pa(r,t));return WS(String(e).replace(t,""))}var ul=(e)=>pa(e,MS),VS=(e)=>pa(e,GS);function Pr(e){let t=Object.create(null);return d.forEach(e.toJSON(),(r,n)=>{t[n]=VS(r)}),t}var ll=Symbol("internals");function Ln(e){return e&&String(e).trim().toLowerCase()}function Wi(e){if(e===!1||e==null)return e;return d.isArray(e)?e.map(Wi):ul(String(e))}function XS(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 YS=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function ua(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 ZS(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 QS(e){let t=Object.create(null),r=String(e),n=0,i=!1,o=!1;function s(a){let c=ua(r.slice(n,a)),p=c.indexOf("=");if(p<1)return;let u=ua(c.slice(0,p));if(!YS.test(u))return;let l=u.toLowerCase();if(l==="__proto__"||l==="constructor"||l==="prototype")return;let f=ua(c.slice(p+1));t[l]=ZS(f)}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 e0=(e)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function la(e,t,r,n,i){if(d.isFunction(n))return n.call(this,t,r);if(i)t=r;if(!d.isString(t))return;if(d.isString(n))return t.indexOf(n)!==-1;if(d.isRegExp(n))return n.test(t)}function t0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function r0(e,t){let r=d.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 Nn{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(s,a,c){let p=Ln(a);if(!p)return;let u=d.findKey(n,p);if(!u||n[u]===void 0||c===!0||c===void 0&&n[u]!==!1)n[u||a]=Wi(s)}let o=(s,a)=>d.forEach(s,(c,p)=>i(c,p,a));if(d.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(d.isString(e)&&(e=e.trim())&&!e0(e))o(pl(e),t);else if(d.isObject(e)&&d.isSafeIterable(e)){let s=Object.create(null),a,c;for(let p of e){if(!d.isArray(p))throw TypeError("Object iterator must return a key-value pair");if(c=p[0],d.hasOwnProp(s,c))a=s[c],s[c]=d.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=Ln(e),e){let r=d.findKey(this,e);if(r){let n=this[r];if(!t)return n;if(t===!0)return XS(n);if(d.isFunction(t))return t.call(this,n,r);if(d.isRegExp(t))return t.exec(n);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ln(e),e){let r=d.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||la(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(o){if(o=Ln(o),o){let s=d.findKey(r,o);if(s&&(!t||la(r,r[s],s,t)))delete r[s],n=!0}}if(d.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||la(this,this[i],i,e,!0))delete this[i],n=!0}return n}normalize(e){let t=this,r={};return d.forEach(this,(n,i)=>{let o=d.findKey(r,i);if(o){t[o]=Wi(n),delete t[i];return}let s=e?t0(i):String(i).trim();if(s!==i)delete t[i];t[s]=Wi(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return d.forEach(this,(r,n)=>{r!=null&&r!==!1&&(t[n]=e&&d.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 d.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 QS(e)}static concat(e,...t){let r=new this(e);return t.forEach((n)=>r.set(n)),r}static accessor(e){let r=(this[ll]=this[ll]={accessors:{}}).accessors,n=this.prototype;function i(o){let s=Ln(o);if(!r[s])r0(n,o),r[s]=!0}return d.isArray(e)?e.forEach(i):i(e),this}}Nn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(Nn.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});d.freezeMethods(Nn);var Q=Nn;var qn="[REDACTED ****]";function n0(e){if(d.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);while(t&&t!==Object.prototype){if(d.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function i0(e,t){let r=new Set(t.map((o)=>String(o).toLowerCase())),n=[],i=(o)=>{if(o===null||typeof o!=="object")return o;if(d.isBuffer(o))return o;if(n.indexOf(o)!==-1)return;if(o instanceof Q)o=o.toJSON();n.push(o);let s;if(d.isArray(o))s=[],o.forEach((a,c)=>{let p=i(a);if(!d.isUndefined(p))s[c]=p});else{if(!d.isPlainObject(o)&&n0(o))return n.pop(),o;s=Object.create(null);for(let[a,c]of Object.entries(o)){let p=r.has(a.toLowerCase())?qn:i(c);if(!d.isUndefined(p))s[a]=p}}return n.pop(),s};return i(e)}function dl(e){try{return String(e)}catch(t){return""}}function o0(e){return e.errors.map((r)=>{try{return r&&r.message?dl(r.message):dl(r)}catch(n){return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}class Re extends Error{static from(e,t,r,n,i,o){let s=e.message;if(!s&&d.isArray(e.errors)&&e.errors.length)s=o0(e);let a=new Re(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&&d.hasOwnProp(e,"redact")?e.redact:void 0,r=d.isArray(t)&&t.length>0?i0(e,t):d.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}}}Re.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Re.ERR_BAD_OPTION="ERR_BAD_OPTION";Re.ECONNABORTED="ECONNABORTED";Re.ETIMEDOUT="ETIMEDOUT";Re.ECONNREFUSED="ECONNREFUSED";Re.ERR_NETWORK="ERR_NETWORK";Re.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Re.ERR_DEPRECATED="ERR_DEPRECATED";Re.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Re.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Re.ERR_CANCELED="ERR_CANCELED";Re.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Re.ERR_INVALID_URL="ERR_INVALID_URL";Re.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var v=Re;var gf=pe(xf(),1),no=gf.default;var io={isBufferAvailable(){return typeof Buffer<"u"},from(e){return Buffer.from(e)}};var La=100;function ja(e){return d.isPlainObject(e)||d.isArray(e)}function yf(e){return d.endsWith(e,"[]")?e.slice(0,-2):e}function Ia(e,t,r){if(!e)return t;return e.concat(t).map(function(i,o){return i=yf(i),!r&&o?"["+i+"]":i}).join(r?".":"")}function JA(e){return d.isArray(e)&&!e.some(ja)}var zA=d.toFlatObject(d,{},null,function(t){return/^is[A-Z]/.test(t)});function WA(e,t,r){if(!d.isObject(e))throw TypeError("target must be an object");t=t||new(no||FormData);let n=(g,E)=>{let S=d.getSafeProp(r,g);return d.isUndefined(S)?E:S},i=n("metaTokens",!0),o=n("visitor")||x,s=n("dots",!1),a=n("indexes",!1),c=n("Blob")||typeof Blob<"u"&&Blob,p=n("maxDepth",La),u=c&&d.isSpecCompliantForm(t),l=[];if(!d.isFunction(o))throw TypeError("visitor must be a function");function f(g){if(g===null)return"";if(d.isDate(g))return g.toISOString();if(d.isBoolean(g))return g.toString();if(!u&&d.isBlob(g))throw new v("Blob is not supported. Use a Buffer instead.");if(d.isArrayBuffer(g)||d.isTypedArray(g)){if(u&&typeof c==="function")return new c([g]);if(io&&io.isBufferAvailable())return io.from(g);throw new v("Blob is not supported. Use a Buffer instead.",v.ERR_NOT_SUPPORT)}return g}function m(g){if(g>p)throw new v("Object is too deeply nested ("+g+" levels). Max depth: "+p,v.ERR_FORM_DATA_DEPTH_EXCEEDED)}function b(g,E){if(p===1/0)return JSON.stringify(g);let S=[];return JSON.stringify(g,function(I,C){if(!d.isObject(C))return C;while(S.length&&S[S.length-1]!==this)S.pop();return S.push(C),m(E+S.length-1),C})}function x(g,E,S){let k=g;if(d.isReactNative(t)&&d.isReactNativeBlob(g))return t.append(Ia(S,E,s),f(g)),!1;if(g&&!S&&typeof g==="object"){if(d.endsWith(E,"{}"))E=i?E:E.slice(0,-2),g=b(g,1);else if(d.isArray(g)&&JA(g)||(d.isFileList(g)||d.endsWith(E,"[]"))&&(k=d.toArray(g)))return E=yf(E),k.forEach(function(C,M){!(d.isUndefined(C)||C===null)&&t.append(a===!0?Ia([E],M,s):a===null?E:E+"[]",f(C))}),!1}if(ja(g))return!0;return t.append(Ia(S,E,s),f(g)),!1}let w=Object.assign(zA,{defaultVisitor:x,convertValue:f,isVisitable:ja});function h(g,E,S=0){if(d.isUndefined(g))return;if(m(S),l.indexOf(g)!==-1)throw Error("Circular reference detected in "+E.join("."));l.push(g),d.forEach(g,function(I,C){if((!(d.isUndefined(I)||I===null)&&o.call(t,I,d.isString(C)?C.trim():C,E,w))===!0)h(I,E?E.concat(C):[C],S+1)}),l.pop()}if(!d.isObject(e))throw TypeError("data must be an object");return h(e),t}var jt=WA;function bf(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function vf(e,t){this._pairs=[],e&&jt(e,this,t)}var wf=vf.prototype;wf.append=function(t,r){this._pairs.push([t,r])};wf.toString=function(t){let r=t?(n)=>t.call(this,n,bf):bf;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};var Ef=vf;function MA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function rr(e,t,r){if(!t)return e;e=e||"";let n=d.isFunction(r)?{serialize:r}:r,i=d.getSafeProp(n,"encode")||MA,o=d.getSafeProp(n,"serialize"),s;if(o)s=o(t,n);else s=d.isURLSearchParams(t)?t.toString():new Ef(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}var Bn=Symbol("internals");function Af(e){return e?e.length:0}function Sf(e){if(!e)return;while(e.length&&e[e.length-1]===null)e.pop()}function Kn(e,t){let r=e.handlers,n=Af(r);if(r!==t.handlersRef)t.handlersRef=r,t.handlerEntries.clear();else if(n!==t.handlersLength)if(!n)t.handlerEntries.clear();else t.handlerEntries.forEach(function(o,s){if(r[o.index]!==o.handler)t.handlerEntries.delete(s)});t.handlersLength=n}class Rf{constructor(){this.handlers=[],this[Bn]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,t,r){let n={fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null},i=this[Bn];if(this.handlers==null)this.handlers=[];Kn(this,i);let o=i.nextId++;return this.handlers.push(n),i.handlerEntries.set(o,{handler:n,index:this.handlers.length-1}),i.handlersLength=this.handlers.length,o}eject(e){let t=this[Bn];Kn(this,t);let r=t.handlerEntries.get(e);if(r){if(t.handlerEntries.delete(e),this.handlers[r.index]!==r.handler)return;if(this.handlers[r.index]=null,!t.iterationDepth)Sf(this.handlers),t.handlersLength=this.handlers.length}}clear(){if(this.handlers)this.handlers=[],Kn(this,this[Bn])}forEach(e){let t=this[Bn];Kn(this,t),t.iterationDepth++;try{d.forEach(this.handlers,function(n){if(n!==null)e(n)})}finally{if(!--t.iterationDepth)Kn(this,t),Sf(this.handlers),t.handlersLength=Af(this.handlers)}}}var Na=Rf;var Lt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var kf=pe(require("crypto"));var _f=pe(require("url")),Tf=_f.default.URLSearchParams;var qa="abcdefghijklmnopqrstuvwxyz",Of="0123456789",Cf={DIGIT:Of,ALPHA:qa,ALPHA_DIGIT:qa+qa.toUpperCase()+Of},GA=(e=16,t=Cf.ALPHA_DIGIT)=>{let r="",{length:n}=t,i=new Uint32Array(e);kf.default.randomFillSync(i);for(let o=0;o<e;o++)r+=t[i[o]%n];return r},Pf={isNode:!0,classes:{URLSearchParams:Tf,FormData:no,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:Cf,generateString:GA,protocols:["http","https","file","data"]};var Fa={};Or(Fa,{hasBrowserEnv:()=>Ua,hasStandardBrowserEnv:()=>VA,hasStandardBrowserWebWorkerEnv:()=>XA,navigator:()=>Da,origin:()=>YA});var Ua=typeof window<"u"&&typeof document<"u",Da=typeof navigator==="object"&&navigator||void 0,VA=Ua&&(!Da||["ReactNative","NativeScript","NS"].indexOf(Da.product)<0),XA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")(),YA=Ua&&window.location.href||"http://localhost";var K={...Fa,...Pf};function $a(e,t){return jt(e,new K.classes.URLSearchParams,{visitor:function(r,n,i,o){if(K.isNode&&d.isBuffer(r))return this.append(n,r.toString("base64")),!1;return o.defaultVisitor.apply(this,arguments)},...t})}var If=La;function jf(e){if(e>If)throw new v("FormData field is too deeply nested ("+e+" levels). Max depth: "+If,v.ERR_FORM_DATA_DEPTH_EXCEEDED)}function ZA(e){let t=[],r=/[^.[\]]+|\[([^.[\]]*)]/g,n;while((n=r.exec(e))!==null)jf(t.length),t.push(n[0]==="[]"?"":n[1]||n[0]);return t}function QA(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 eR(e){function t(r,n,i,o){jf(o);let s=r[o++];if(s==="__proto__")return!0;let a=Number.isFinite(+s),c=o>=r.length;if(s=!s&&d.isArray(i)?i.length:s,c){if(d.hasOwnProp(i,s))i[s]=d.isArray(i[s])?i[s].concat(n):[i[s],n];else i[s]=n;return!a}if(!d.hasOwnProp(i,s)||!d.isObject(i[s]))i[s]=[];if(t(r,n,i[s],o)&&d.isArray(i[s]))i[s]=QA(i[s]);return!a}if(d.isFormData(e)&&d.isFunction(e.entries)){let r={};return d.forEachEntry(e,(n,i)=>{t(ZA(n),i,r,0)}),r}return null}var oo=eR;var tR=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),so=tR;var qr=(e,t)=>e!=null&&d.hasOwnProp(e,t)?e[t]:void 0;function rR(e,t,r){if(d.isString(e))try{return(t||JSON.parse)(e),d.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var Ba={transitional:Lt,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){let n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=d.isObject(t);if(o&&d.isHTMLForm(t))t=new FormData(t);if(d.isFormData(t))return i?JSON.stringify(oo(t)):t;if(d.isArrayBuffer(t)||d.isBuffer(t)||d.isStream(t)||d.isFile(t)||d.isBlob(t)||d.isReadableStream(t))return t;if(d.isArrayBufferView(t))return t.buffer;if(d.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){let c=qr(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return $a(t,c).toString();if((a=d.isFileList(t))||n.indexOf("multipart/form-data")>-1){let p=qr(this,"env"),u=p&&p.FormData;return jt(a?{"files[]":t}:t,u&&new u,c)}}if(o||i)return r.setContentType("application/json",!1),rR(t);return t}],transformResponse:[function(t){let r=qr(this,"transitional")||Ba.transitional,n=r&&r.forcedJSONParsing,i=qr(this,"responseType"),o=i==="json";if(d.isResponse(t)||d.isReadableStream(t))return t;if(t&&d.isString(t)&&(n&&!i||o)){let a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,qr(this,"parseReviver"))}catch(c){if(a){if(c.name==="SyntaxError")throw v.from(c,v.ERR_BAD_RESPONSE,this,null,qr(this,"response"));throw c}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:K.classes.FormData,Blob:K.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};d.forEach(so,(e)=>{Ba.headers[e]={}});var Dr=Ba;function Hn(e,t){let r=this||Dr,n=t||r,i=Q.from(n.headers),o=n.data;return d.forEach(e,function(a){o=a.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Jn(e){return!!(e&&e.__CANCEL__)}class Lf extends v{constructor(e,t,r){super(e==null?"canceled":e,v.ERR_CANCELED,t,r);this.name="CanceledError",this.__CANCEL__=!0}}var $e=Lf;function ht(e,t,r){let n=r.config.validateStatus;if(!r.status||!n||n(r.status))e(r);else t(new v("Request failed with status code "+r.status,r.status>=400&&r.status<500?v.ERR_BAD_REQUEST:v.ERR_BAD_RESPONSE,r.config,r.request,r))}function Ka(e){if(typeof e!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ha(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 nR=/[\t\n\r]/g;function zn(e){if(typeof e!=="string")return e;let t=0;while(t<e.length&&e.charCodeAt(t)<=32)t++;return e.slice(t).replace(nR,"")}var iR=/^https?:(?!\/\/)/i;function oR(e){if(!e)return e;return e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,r,n="")=>`${r}${n}${qn}`)}function sR(e){let t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${qn}@`),r=t.indexOf("#"),i=(r===-1?t:t.slice(0,r)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${qn}`);if(r===-1)return i;return`${i}#${oR(t.slice(r+1))}`}function Nf(e,t){if(typeof e==="string"){let r=zn(e);if(iR.test(r))throw new v(`Invalid URL ${JSON.stringify(sR(r))}: missing "//" after protocol`,v.ERR_INVALID_URL,t)}}function nr(e,t,r,n){Nf(t,n);let i=!Ka(t);if(e&&(i||r===!1))return Nf(e,n),Ha(e,t);return t}var aR={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function cR(e){try{return new URL(e)}catch{return null}}function qf(e){var t=(typeof e==="string"?cR(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)||aR[r]||0,!pR(n,i))return"";var o=Ja(r+"_proxy")||Ja("all_proxy");if(o&&o.indexOf("://")===-1)o=r+"://"+o;return o}function pR(e,t){var r=Ja("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 Ja(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var Ec=pe(tm(),1),Sc=pe(require("http")),Ac=pe(require("https")),Ym=pe(require("http2")),Zm=pe(require("util")),wc=require("path"),Qm=pe(cm(),1),Be=pe(require("zlib"));var wt="1.20.0";function cr(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}var m_=/^([^,;/]+\/[^,;/]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function mc(e,t,r){let n=r&&r.Blob||K.classes.Blob,i=cr(e);if(t===void 0&&n)t=!0;if(i==="data"){e=i.length?e.slice(i.length+1):e;let o=m_.exec(e);if(!o)throw new v("Invalid URL",v.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 v("Blob is not supported",v.ERR_NOT_SUPPORT);return new n([l],{type:u})}return l}throw new v("Unsupported protocol "+i,v.ERR_NOT_SUPPORT)}var Xe=pe(require("stream"));var h_=["content-type","content-length"];function ei(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([n,i])=>{if(h_.includes(n.toLowerCase()))e.set(n,i)})}var pm=pe(require("stream"));var hc=Symbol("internals");class um extends pm.default.Transform{constructor(e){e=d.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(r,n)=>!d.isUndefined(n[r]));super({readableHighWaterMark:e.chunkSize});let t=this[hc]={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[hc];if(t.onReadCallback)t.onReadCallback();return super._read(e)}_transform(e,t,r){let n=this[hc],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=(f,m)=>{let b=Buffer.byteLength(f);if(n.bytesSeen+=b,n.bytes+=b,n.isCaptured&&this.emit("progress",n.bytesSeen),this.push(f))process.nextTick(m);else n.onReadCallback=()=>{n.onReadCallback=null,process.nextTick(m)}},l=(f,m)=>{let b=Buffer.byteLength(f),x=null,w=o,h,g=0;if(i){let E=Date.now();if(!n.ts||(g=E-n.ts)>=s)n.ts=E,h=c-n.bytes,n.bytes=h<0?-h:0,g=0;h=c-n.bytes}if(i){if(h<=0)return setTimeout(()=>{m(null,f)},s-g);if(h<w)w=h}if(w&&b>w&&b-w>p)x=f.subarray(w),f=f.subarray(0,w);u(f,x?()=>{process.nextTick(m,null,x)}:m)};l(e,function f(m,b){if(m)return r(m);if(b)l(b,f);else r(null)})}}var xc=um;var eh=require("events");var dm=pe(require("util")),fm=require("stream");var{asyncIterator:lm}=Symbol,x_=async function*(e){if(e.stream)yield*e.stream();else if(e.arrayBuffer)yield await e.arrayBuffer();else if(e[lm])yield*e[lm]();else yield e},ho=x_;var g_=K.ALPHABET.ALPHA_DIGIT+"-_",ti=typeof TextEncoder==="function"?new TextEncoder:new dm.default.TextEncoder,pr=`\r
|
|
31
|
+
`,y_=ti.encode(pr),b_=2;class mm{constructor(e,t){let{escapeName:r}=this.constructor,n=d.isString(t),i=`Content-Disposition: form-data; name="${r(e)}"${!n&&t.name?`; filename="${r(t.name)}"`:""}${pr}`;if(n)t=ti.encode(String(t).replace(/\r?\n|\r\n?/g,pr));else{let o=String(t.type||"application/octet-stream").replace(/[\r\n]/g,"");i+=`Content-Type: ${o}${pr}`}this.headers=ti.encode(i+pr),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+b_,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;if(d.isTypedArray(e))yield e;else yield*ho(e);yield y_}static escapeName(e){return String(e).replace(/[\r\n"]/g,(t)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}}var v_=(e,t,r)=>{let{tag:n="form-data-boundary",size:i=25,boundary:o=n+"-"+K.generateString(i,g_)}=r||{};if(!d.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=ti.encode("--"+o+pr),a=ti.encode("--"+o+"--"+pr),c=a.byteLength,p=Array.from(e.entries()).map(([l,f])=>{let m=new mm(l,f);return c+=m.size,m});c+=s.byteLength*p.length,c=d.toFiniteNumber(c);let u={"Content-Type":`multipart/form-data; boundary=${o}`};if(Number.isFinite(c))u["Content-Length"]=c;return t&&t(u),fm.Readable.from(async function*(){for(let l of p)yield s,yield*l.encode();yield a}())},hm=v_;var xm=pe(require("stream"));class gm extends xm.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 ym=gm;var bm=pe(require("http2")),vm=pe(require("util"));class wm{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign(Object.create(null),{sessionTimeout:1000},t);let r=this.sessions[e];if(r){let u=r.length;for(let l=0;l<u;l++){let[f,m]=r[l];if(!f.destroyed&&!f.closed&&vm.default.isDeepStrictEqual(m,t))return f}}let n=bm.default.connect(e,t),i,o,s=()=>{if(i)return;if(i=!0,o)clearTimeout(o),o=null;let u=r,l=u.length,f=l;while(f--)if(u[f][0]===n){if(l===1)delete this.sessions[e];else u.splice(f,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),n.once("error",s);let p=[n,t];return r?r.push(p):r=this.sessions[e]=[p],n}}var Em=wm;var w_=(e,t)=>d.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,Sm=w_;var E_=new Set(["localhost","0.0.0.0"]),_m=(e)=>{let t=e.length;while(t&&e.charCodeAt(t-1)===46)t--;return t===e.length?e:e.slice(0,t)},Tm=(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)},gc=(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},Om=(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=_m(t),!/^[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(gc);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=gc(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(gc);if(p.some((u)=>u===null||u<0||u>255))return e;return[...p,...c].join(".")},yc=(e)=>/^0{1,4}$/.test(e),S_=(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(yc)&&s.every(yc)}let r=e.split(":");return r.length===8&&r.every(yc)},A_=(e)=>{if(e==="::1")return!0;let t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return Tm(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},Am=(e)=>{if(!e)return!1;if(E_.has(e))return!0;if(Tm(e))return!0;if(S_(e))return!0;return A_(e)},R_={http:80,https:443,ws:80,wss:443,ftp:21},__=(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]},T_=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,O_=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,km=(e)=>{if(typeof e!=="string"||e.indexOf(":")===-1)return e;let t=e.match(T_);if(t)return t[1];let r=e.match(O_);if(r){let n=parseInt(r[1],16),i=parseInt(r[2],16);return`${n>>8}.${n&255}.${i>>8}.${i&255}`}return e},k_=/^(?:0|[1-9]\d{0,2})$/,Cm=(e)=>{let t=e.split(".");return t.length===4&&t.every((r)=>k_.test(r)&&Number(r)<=255)?t.map(Number):null},C_=/^[0-9a-f]{1,4}$/i,P_=(e)=>{let t=e.split("::");if(t.length>2)return null;let r=t[0]?t[0].split(":"):[];if(t.length===2){let n=t[1]?t[1].split(":"):[],i=8-r.length-n.length;if(i<1)return null;r.push(...Array(i).fill("0"),...n)}if(r.length!==8||r.some((n)=>!C_.test(n)))return null;return r.flatMap((n)=>{let i=Number.parseInt(n,16);return[i>>8&255,i&255]})},Pm=(e)=>{if(typeof e!=="string"||!e)return null;return e.indexOf(":")!==-1?P_(e):Cm(e)},Rm=(e)=>{if(!e)return e;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]")e=e.slice(1,-1);let t=_m(e),r=Om(t);if(r!==t)return r;return km(t)},I_=(e)=>{let t=e,r=t.charAt(0)==="[",n=t.charAt(t.length-1)==="]",i=t.includes("[")||t.includes("]");if(r||n){if(!r||!n)return null;if(t=t.slice(1,-1),t.indexOf(":")===-1||t.includes("[")||t.includes("]"))return null}else if(i)return null;if(!t||t.charAt(t.length-1)===".")return null;let o=t.indexOf(":")!==-1;if(o)try{t=new URL(`http://[${t}]/`).hostname.slice(1,-1)}catch(s){return null}else if(t=Om(t),!Cm(t))return null;return{normalized:km(t),wasIPv6:o}},j_=/^(.+)\/(0|[1-9]\d{0,2})$/,L_=(e)=>{if(e.indexOf("/")===-1)return;let t=j_.exec(e);if(!t)return null;let r=Number(t[2]),n=I_(t[1]);if(!n)return null;let{normalized:i,wasIPv6:o}=n;if(o&&i.indexOf(":")===-1){if(r<96)return null;r-=96}let s=Pm(i);if(!s||r>s.length*8)return null;return{bytes:s,prefix:r}},N_=(e,t,r)=>{let n=r>>3;for(let o=0;o<n;o++)if(e[o]!==t[o])return!1;let i=r&7;if(i){let o=255<<8-i&255;if((e[n]&o)!==(t[n]&o))return!1}return!0};function bc(e){let t;try{t=new URL(e)}catch(s){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)||R_[t.protocol.split(":",1)[0]]||0,i=Rm(t.hostname.toLowerCase()),o=Pm(i);return r.split(/[\s,]+/).some((s)=>{if(!s)return!1;if(s==="*")return!0;let a=L_(s);if(a!==void 0)return a!==null&&!!o&&o.length===a.bytes.length&&N_(o,a.bytes,a.prefix);let[c,p]=__(s);if(c=Rm(c),!c)return!1;if(p&&p!==n)return!1;if(c.charAt(0)==="*")c=c.slice(1);if(c.charAt(0)===".")return i.endsWith(c);return i===c||Am(i)&&Am(c)})}function q_(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,f=0;while(l!==i)f+=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(f*1000/m):void 0}}var Im=q_;function D_(e,t){let r=0,n=1000/t,i,o,s=(u,l=Date.now())=>{if(r=l,i=null,o)clearTimeout(o),o=null;e(...u)};return[(...u)=>{let l=Date.now(),f=l-r;if(f>=n)s(u,l);else if(i=u,!o)o=setTimeout(()=>{o=null,s(i)},n-f)},()=>i&&s(i),(...u)=>s(u)]}var jm=D_;var Et=(e,t,r=3)=>{let n=0,i=Im(50,250);return jm((o)=>{if(!o||!d.isNumber(o.loaded))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)},Kr=(e,t)=>{let r=e!=null;return[(n)=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Hr=(e,t=d.asap)=>(...r)=>t(()=>e(...r));var Lm=(e)=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,qm=(e,t,r)=>t+2<r&&Lm(e.charCodeAt(t+1))&&Lm(e.charCodeAt(t+2)),Nm=(e)=>e<=57?e-48:(e&223)-55,U_=(e)=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,F_=(e)=>e===9||e===10||e===12||e===13||e===32,$_=(e)=>{let t=Math.floor(e/4),r=e%4;return t*3+(r===2?1:r===3?2:0)},Dm=(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)},B_=(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&&qm(e,o,t))s=Nm(e.charCodeAt(o+1))*16+Nm(e.charCodeAt(o+2)),o+=2;if(F_(s))continue;if(s===61){n++;continue}if(!U_(s)||n>0){i=!0;continue}r++}if(i||n>2||n>0&&(r+n)%4!==0||r%4===1)return Dm(e);return $_(r)},Um=(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&&qm(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 vc(e){let t=typeof e==="string"?e.indexOf("#"):-1;return Um(t===-1?e:e.slice(0,t),B_)}function Fm(e){return Um(e,Dm)}var $m={flush:Be.default.constants.Z_SYNC_FLUSH,finishFlush:Be.default.constants.Z_SYNC_FLUSH},K_={flush:Be.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Be.default.constants.BROTLI_OPERATION_FLUSH},H_={flush:Be.default.constants.ZSTD_e_flush,finishFlush:Be.default.constants.ZSTD_e_flush},th=d.isFunction(Be.default.createBrotliDecompress),rh=d.isFunction(Be.default.createZstdDecompress),nh="gzip, compress, deflate"+(th?", br":""),J_=nh+(rh?", zstd":""),Bm=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):d.asap,{http:z_,https:W_}=Qm.default,Rc=/https:?/,Km=Symbol("axios.http.socketListener"),xo=Symbol("axios.http.currentReq");function M_(e){let t=this[xo];if(t&&!t.destroyed)t.destroy(e)}var ih=Symbol("axios.http.installedTunnel"),G_=new Map,Hm=new WeakMap,Jm={22:21,24:5};function V_(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 Jm[t]!=null&&r>=Jm[t]}function zm(e,t=process.versions&&process.versions.node){if(!V_(t))return!1;let r=e&&e.options;return Boolean(r&&d.hasOwnProp(r,"proxyEnv")&&r.proxyEnv!=null)}function X_(e,t,r){return Rc.test(e.protocol)?r||Ac.default.globalAgent:t||Sc.default.globalAgent}function Y_(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),n=t?Hm.get(t)||Hm.set(t,new Map).get(t):G_,i=n.get(r);if(i)return i;let o=t&&t.options?{...t.options,...e}:e;if(i=new Ec.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[ih]=!0,n.set(r,i),i}var Wm=K.protocols.map((e)=>e+":"),Mm=(e)=>{if(!d.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Gm=(e,[t,r])=>(e.on("end",r).on("error",r),t),Z_=new Em;function Q_(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 eT(e,t){if(!e)return;Object.keys(e).forEach((r)=>{if(t.has(r.toLowerCase()))delete e[r]})}function tT(e,t){if(!t)return!1;try{return new URL(t.url).origin===new URL(e.href).origin}catch(r){return!1}}function oh(e,t,r,n,i,o,s=!0){let a=t,c=X_(e,o,i);if(!a&&a!==!1&&s&&!zm(c)){let p=qf(r);if(p){if(!bc(r))a=new URL(p)}}if(n&&e.headers){for(let p of Object.keys(e.headers))if(p.toLowerCase()==="proxy-authorization")delete e.headers[p]}if(n&&e.agent&&e.agent[ih])e.agent=void 0;if(a){let p=a instanceof URL,u=(x)=>p||d.hasOwnProp(a,x)?a[x]:void 0,l=u("username"),f=u("password"),m=d.hasOwnProp(a,"auth")?a.auth:void 0;if(l)m=(l||"")+":"+(f||"");if(m){let x=typeof m==="object",w=x&&d.hasOwnProp(m,"username")?m.username:void 0,h=x&&d.hasOwnProp(m,"password")?m.password:void 0;if(Boolean(w||h))m=(w||"")+":"+(h||"");else if(x)throw new v("Invalid proxy authorization",v.ERR_BAD_OPTION,{proxy:a})}if(Rc.test(e.protocol)){if(!(i instanceof Ec.default)){let x=u("hostname")||u("host"),w=u("port"),h=u("protocol"),g=h?h.includes(":")?h:`${h}:`:"http:",E=x&&x.includes(":")&&!x.startsWith("[")?`[${x}]`:x,S=new URL(`${g}//${E}${w?":"+w:""}`),k={protocol:S.protocol,hostname:S.hostname.replace(/^\[|\]$/g,""),port:S.port,auth:m&&typeof m==="string"?m:void 0};if(S.protocol==="https:")k.ALPNProtocols=["http/1.1"];let I=Y_(k,i);if(e.agent=I,e.agents)e.agents.https=I}}else{if(m){let g=Buffer.from(m,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+g}let x=!1;for(let g of Object.keys(e.headers))if(g.toLowerCase()==="host"){x=!0;break}if(!x)e.headers.host=e.hostname+(e.port?":"+e.port:"");let w=u("hostname")||u("host");e.hostname=w,e.host=w,e.port=u("port"),e.path=r;let h=u("protocol");if(h)e.protocol=h.includes(":")?h:`${h}:`}}return e.beforeRedirects.proxy=function(u){oh(u,t,u.href,!0,i,o,s)},Boolean(a||t!==!1&&s&&zm(c))}var rT=typeof process<"u"&&d.kindOf(process)==="process",nT=(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)}),iT=({address:e,family:t})=>{if(!d.isString(e))throw new v("address must be a string",v.ERR_BAD_OPTION_VALUE);return{address:e,family:t||(e.indexOf(".")<0?6:4)}},Vm=(e,t)=>iT(d.isObject(e)?e:{address:e,family:t}),Xm=new WeakMap,oT=(e)=>{let t=Xm.get(e);if(t)return t;let r=Sm(e,(n)=>d.isArray(n)?n:[n]);return t=(n,i,o)=>{r(n,i,(s,a,c)=>{if(s)return o(s);let p;try{p=d.isArray(a)?a.map((u)=>Vm(u)):[Vm(a,c)]}catch(u){return o(u)}i.all?o(s,p):o(s,p[0].address,p[0].family)})},Xm.set(e,t),t},sT={request(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||(e.protocol==="https:"?443:80)),{http2Options:n,headers:i}=e,o=Z_.getSession(r,n),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:p}=Ym.default.constants,u={[s]:e.protocol.replace(":",""),[a]:e.method,[c]:e.path};d.forEach(i,(f,m)=>{m.charAt(0)!==":"&&(u[m]=f)});let l=o.request(u);return l.once("response",(f)=>{let m=l;f=Object.assign({},f);let b=f[p];delete f[p],m.headers=f,m.statusCode=+b,t(m)}),l}},sh=rT&&function(t){return nT(async function(n,i,o){let s=(T)=>d.getSafeProp(t,T),a=s("transitional")||Lt,c=s("data"),p=s("lookup"),u=s("family"),l=s("httpVersion");if(l===void 0)l=1;let f=l,m=s("http2Options"),b=s("httpAgent"),x=s("httpsAgent"),w=s("proxy"),h=s("responseType"),g=s("responseEncoding"),E=s("socketPath"),S=s("method").toUpperCase(),k=s("maxRedirects"),I=s("maxBodyLength"),C=s("maxContentLength"),M=s("decompress"),U,X=!1,q,ze;try{l=+l}catch(T){throw new v("Invalid protocol version: value is not a number",v.ERR_BAD_OPTION_VALUE,t)}if(Number.isNaN(l))throw new v(`Invalid protocol version: '${f}' is not a number`,v.ERR_BAD_OPTION_VALUE,t);if(l!==1&&l!==2)throw new v(`Unsupported protocol version '${l}'`,v.ERR_BAD_OPTION_VALUE,t);let dt=l===2;if(p)p=oT(p);let re=new eh.EventEmitter;function Oe(T){try{re.emit("abort",!T||T.type?new $e(null,t,q):T)}catch(O){}}function Rr(){if(ze)clearTimeout(ze),ze=null}function Vt(){let T=s("timeout"),O=T?"timeout of "+T+"ms exceeded":"timeout exceeded",G=s("timeoutErrorMessage");if(G)O=G;return new v(O,a.clarifyTimeoutError?v.ETIMEDOUT:v.ECONNABORTED,t,q)}re.once("abort",i);let Xt=()=>{if(Rr(),t.cancelToken)t.cancelToken.unsubscribe(Oe);if(t.signal)t.signal.removeEventListener("abort",Oe);re.removeAllListeners()};if(t.cancelToken||t.signal){if(t.cancelToken&&t.cancelToken.subscribe(Oe),t.signal)t.signal.aborted?Oe():t.signal.addEventListener("abort",Oe)}o((T,O)=>{if(U=!0,Rr(),O){X=!0,Xt();return}let{data:G}=T;if(G instanceof Xe.default.Readable||G instanceof Xe.default.Duplex){let Se=Xe.default.finished(G,()=>{Se(),Xt()})}else Xt()});let $i=nr(s("baseURL"),s("url"),s("allowAbsoluteUrls"),t),Bi=E?"http://localhost":K.hasBrowserEnv?K.origin:void 0,ie=new URL($i,Bi),ae=ie.protocol||Wm[0];if(ae==="data:"){if(C>-1){let O=String(s("url")||$i||"");if(Fm(O)>C)return i(new v("maxContentLength size of "+C+" exceeded",v.ERR_BAD_RESPONSE,t))}let T;if(S!=="GET")return ht(n,i,{status:405,statusText:"method not allowed",headers:{},config:t});try{T=mc(s("url"),h==="blob",{Blob:t.env&&t.env.Blob})}catch(O){throw v.from(O,v.ERR_BAD_REQUEST,t)}if(h==="text"){if(T=T.toString(g),!g||g==="utf8")T=d.stripBOM(T)}else if(h==="stream")T=Xe.default.Readable.from(T);return ht(n,i,{data:T,status:200,statusText:"OK",headers:new Q,config:t})}if(Wm.indexOf(ae)===-1)return i(new v("Unsupported protocol "+ae,v.ERR_BAD_REQUEST,t));let de=Q.from(t.headers).normalize();de.set("User-Agent","axios/"+wt,!1);let{onUploadProgress:ft,onDownloadProgress:vt}=t,Yt=t.maxRate,J=void 0,Ee=void 0;if(d.isSpecCompliantForm(c)){let T=de.getContentType(/boundary=([-_\w\d]{10,70})/i);c=hm(c,(O)=>{de.set(O)},{tag:`axios-${wt}-boundary`,boundary:T&&T[1]||void 0})}else if(d.isFormData(c)&&d.isFunction(c.getHeaders)&&c.getHeaders!==Object.prototype.getHeaders){if(ei(de,c.getHeaders(),s("formDataHeaderPolicy")),!de.hasContentLength())try{let T=await Zm.default.promisify(c.getLength).call(c);Number.isFinite(T)&&T>=0&&de.setContentLength(T)}catch(T){}}else if(d.isBlob(c)||d.isFile(c))c.size&&de.setContentType(c.type||"application/octet-stream"),de.setContentLength(c.size||0),c=Xe.default.Readable.from(ho(c));else if(c&&!d.isStream(c)){if(Buffer.isBuffer(c));else if(d.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(d.isString(c))c=Buffer.from(c,"utf-8");else return i(new v("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",v.ERR_BAD_REQUEST,t));if(de.setContentLength(c.length,!1),I>-1&&c.length>I)return i(new v("Request body larger than maxBodyLength limit",v.ERR_BAD_REQUEST,t))}let _r=d.toFiniteNumber(de.getContentLength());if(d.isArray(Yt))J=Yt[0],Ee=Yt[1];else J=Ee=Yt;if(c&&(ft||J)){if(!d.isStream(c))c=Xe.default.Readable.from(c,{objectMode:!1});c=Xe.default.pipeline([c,new xc({maxRate:d.toFiniteNumber(J)})],d.noop),ft&&c.on("progress",Gm(c,Kr(_r,Et(Hr(ft,Bm),!1,3))))}let mt=void 0,_n=s("auth");if(_n){let T=d.getSafeProp(_n,"username")||"",O=d.getSafeProp(_n,"password")||"";mt=T+":"+O}if(!mt&&(ie.username||ie.password)){let T=Mm(ie.username),O=Mm(ie.password);mt=T+":"+O}mt&&de.delete("authorization");let je;try{je=rr(ie.pathname+ie.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(T){return i(v.from(T,v.ERR_BAD_REQUEST,t,null,null,{url:s("url"),exists:!0}))}if(de.set("Accept-Encoding",d.hasOwnProp(a,"advertiseZstdAcceptEncoding")&&a.advertiseZstdAcceptEncoding===!0?J_:nh,!1),dt&&p)m=Object.assign(Object.create(null),m,{lookup:p});let Y=Object.assign(Object.create(null),{path:je,method:S,headers:Pr(de),agents:{http:b,https:x},auth:mt,protocol:ae,family:u,beforeRedirect:Q_,beforeRedirects:Object.create(null),http2Options:m,createConnection:void 0});!d.isUndefined(p)&&(Y.lookup=p);let We=!1;if(E){if(typeof E!=="string")return i(new v("socketPath must be a string",v.ERR_BAD_OPTION_VALUE,t));let T=s("allowedSocketPaths");if(T!=null){let O=Array.isArray(T)?T:[T],G=wc.resolve(E);if(!O.some((V)=>typeof V==="string"&&wc.resolve(V)===G))return i(new v(`socketPath "${E}" is not permitted by allowedSocketPaths`,v.ERR_BAD_OPTION_VALUE,t))}Y.socketPath=E}else Y.hostname=ie.hostname.startsWith("[")?ie.hostname.slice(1,-1):ie.hostname,Y.port=ie.port,We=oh(Y,w,ae+"//"+ie.hostname+(ie.port?":"+ie.port:"")+Y.path,!1,x,b,!dt);let Ct,Tr=!1,Me=!1,L=Rc.test(Y.protocol);if(Y.agent==null)Y.agent=L?x:b;if(dt){if(We)return i(new v("HTTP/2 requests with a proxy are not supported",v.ERR_NOT_SUPPORT,t));Ct=sT}else{let T=s("transport");if(T)Ct=T;else if(k===0)Ct=L?Ac.default:Sc.default,Tr=!0;else{if(Me=!0,Y.sensitiveHeaders=[],k)Y.maxRedirects=k;let O=s("beforeRedirect");if(O)Y.beforeRedirects.config=O;if(mt){let Se=ie.origin,V=mt;Y.beforeRedirects.auth=function(Ne){try{if(new URL(Ne.href).origin===Se)Ne.auth=V}catch(Ae){}}}let G=s("sensitiveHeaders");if(G!=null){if(!d.isArray(G))return i(new v("sensitiveHeaders must be an array of strings",v.ERR_BAD_OPTION_VALUE,t));let Se=new Set;for(let V of G){if(!d.isString(V))return i(new v("sensitiveHeaders must be an array of strings",v.ERR_BAD_OPTION_VALUE,t));Se.add(V.toLowerCase())}if(Se.size)Y.sensitiveHeaders=Array.from(Se),Y.beforeRedirects.sensitiveHeaders=function(Le,Ne){if(!tT(Le,Ne))eT(Le.headers,Se)}}Ct=L?W_:z_}}if(I>-1)Y.maxBodyLength=I;else Y.maxBodyLength=1/0;Y.insecureHTTPParser=Boolean(s("insecureHTTPParser")),q=Ct.request(Y,function(O){if(Rr(),q.destroyed)return;let G=[O],Se=d.toFiniteNumber(O.headers["content-length"]);if(vt||Ee){let Ae=new xc({maxRate:d.toFiniteNumber(Ee)});vt&&Ae.on("progress",Gm(Ae,Kr(Se,Et(Hr(vt,Bm),!0,3)))),G.push(Ae)}let V=O,Le=O.req||q;if(M!==!1&&O.headers["content-encoding"]){if(S==="HEAD"||O.statusCode===204)delete O.headers["content-encoding"];switch((O.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":G.push(Be.default.createUnzip($m)),delete O.headers["content-encoding"];break;case"deflate":G.push(new ym),G.push(Be.default.createUnzip($m)),delete O.headers["content-encoding"];break;case"br":if(th)G.push(Be.default.createBrotliDecompress(K_)),delete O.headers["content-encoding"];break;case"zstd":if(rh)G.push(Be.default.createZstdDecompress(H_)),delete O.headers["content-encoding"];break}}V=G.length>1?Xe.default.pipeline(G,d.noop):G[0];let Ne={status:O.statusCode,statusText:O.statusMessage,headers:new Q(O.headers),config:t,request:Le};if(h==="stream"){if(C>-1){let Ae=C,Ki=V;async function*Tn(){let be=0;for await(let Wu of Ki){if(be+=Wu.length,be>Ae)throw new v("maxContentLength size of "+Ae+" exceeded",v.ERR_BAD_RESPONSE,t,Le);yield Wu}}V=Xe.default.Readable.from(Tn(),{objectMode:!1})}Ne.data=V,ht(n,i,Ne)}else{let Ae=[],Ki=0;V.on("data",function(be){if(Ae.push(be),Ki+=be.length,C>-1&&Ki>C)X=!0,V.destroy(),Oe(new v("maxContentLength size of "+C+" exceeded",v.ERR_BAD_RESPONSE,t,Le))}),V.on("aborted",function(){if(X)return;let be=new v("stream has been aborted",v.ERR_BAD_RESPONSE,t,Le,Ne);V.destroy(be),i(be)}),V.on("error",function(be){if(X)return;i(v.from(be,null,t,Le,Ne))}),V.on("end",function(){try{let be=Ae.length===1?Ae[0]:Buffer.concat(Ae);if(h!=="arraybuffer"){if(be=be.toString(g),!g||g==="utf8")be=d.stripBOM(be)}Ne.data=be}catch(be){return i(v.from(be,null,t,Ne.request,Ne))}ht(n,i,Ne)})}re.once("abort",(Ae)=>{if(!V.destroyed)V.emit("error",Ae),V.destroy()})}),re.once("abort",(T)=>{if(q.close)q.close();else q.destroy(T)}),q.on("error",function(O){i(v.from(O,null,t,q))});let fe=new Set;if(q.on("socket",function(O){if(typeof O.setKeepAlive==="function")O.setKeepAlive(!0,60000);if(!O[Km])O.on("error",M_),O[Km]=!0;O[xo]=q,fe.add(O)}),q.once("close",function(){Rr();for(let O of fe)if(O[xo]===q)O[xo]=null;fe.clear()}),s("timeout")){let T=parseInt(s("timeout"),10);if(Number.isNaN(T)){Oe(new v("error trying to parse `config.timeout` to int",v.ERR_BAD_OPTION_VALUE,t,q));return}let O=function(){if(U)return;Oe(Vt())};if(Tr&&T>0)ze=setTimeout(O,T);q.setTimeout(T,O)}else q.setTimeout(0);if(d.isStream(c)){let T=!1,O=!1;c.on("end",()=>{T=!0}),c.once("error",(Se)=>{O=!0,q.destroy(Se)}),c.on("close",()=>{if(!T&&!O)Oe(new $e("Request stream has been aborted",t,q))});let G=c;if(I>-1&&!Me){let Se=I,V=0;G=Xe.default.pipeline([c,new Xe.default.Transform({transform(Le,Ne,Ae){if(V+=Le.length,V>Se)return Ae(new v("Request body larger than maxBodyLength limit",v.ERR_BAD_REQUEST,t,q));Ae(null,Le)}})],d.noop),G.on("error",(Le)=>{if(!q.destroyed)q.destroy(Le)})}G.pipe(q)}else c&&q.write(c),q.end()})};var ah=K.hasStandardBrowserEnv?((e,t)=>(r)=>(r=new URL(r,K.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(K.origin),K.navigator&&/(msie|trident)/i.test(K.navigator.userAgent)):()=>!0;var ch=K.hasStandardBrowserEnv?{write(e,t,r,n,i,o,s){if(typeof document>"u")return;let a=[`${e}=${encodeURIComponent(t)}`];if(d.isNumber(r))a.push(`expires=${new Date(r).toUTCString()}`);if(d.isString(n))a.push(`path=${n}`);if(d.isString(i))a.push(`domain=${i}`);if(o===!0)a.push("secure");if(d.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 ph=(e)=>e instanceof Q?{...e}:e,aT=(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 it(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,f,m){if(d.isPlainObject(u)&&d.isPlainObject(l))return d.merge.call({caseless:m},u,l);else if(d.isPlainObject(l))return d.merge({},l);else if(d.isArray(l))return l.slice();return l}function i(u,l,f,m){if(!d.isUndefined(l))return n(u,l,f,m);else if(!d.isUndefined(u))return n(void 0,u,f,m)}function o(u,l){if(!d.isUndefined(l))return n(void 0,l)}function s(u,l){if(!d.isUndefined(l))return n(void 0,l);else if(!d.isUndefined(u))return n(void 0,u)}function a(u){let l=d.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!d.isUndefined(l))if(d.isPlainObject(l)){if(d.hasOwnProp(l,u))return l[u]}else return;let f=d.hasOwnProp(e,"transitional")?e.transitional:void 0;if(d.isPlainObject(f)&&d.hasOwnProp(f,u))return f[u];return}function c(u,l,f){if(d.hasOwnProp(t,f))return n(u,l);else if(d.hasOwnProp(e,f))return n(void 0,u)}let p={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutErrorMessage: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,f)=>i(ph(u),ph(l),f,!0)};if(d.forEach(aT({...e,...t}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;let f=d.hasOwnProp(p,l)?p[l]:i,m=d.hasOwnProp(e,l)?e[l]:void 0,b=d.hasOwnProp(t,l)?t[l]:void 0,x=f(m,b,l);d.isUndefined(x)&&f!==c||(r[l]=x)}),d.hasOwnProp(t,"validateStatus")&&d.isUndefined(t.validateStatus)&&a("validateStatusUndefinedResolves")===!1)if(d.hasOwnProp(e,"validateStatus"))r.validateStatus=n(void 0,e.validateStatus);else delete r.validateStatus;return r}var cT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function pT(e){let t=it({},e),r=(f)=>d.hasOwnProp(t,f)?t[f]: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=Q.from(a),t.url=rr(nr(p,l,u,t),r("params"),r("paramsSerializer")),c){let f=d.getSafeProp(c,"username")||"",m=d.getSafeProp(c,"password")||"";try{a.set("Authorization","Basic "+btoa(f+":"+(m?cT(m):"")))}catch(b){throw v.from(b,v.ERR_BAD_OPTION_VALUE,e)}}if(d.isFormData(n)){let f=d.getSafeProp(n,"getHeaders");if(K.hasStandardBrowserEnv||K.hasStandardBrowserWebWorkerEnv||d.isReactNative(n))a.setContentType(void 0);else if(d.isFunction(f))ei(a,f.call(n),r("formDataHeaderPolicy"))}if(K.hasStandardBrowserEnv){if(d.isFunction(i))i=i(t);if(i===!0||i==null&&ah(t.url)){let m=o&&s&&ch.read(s);if(m)a.set(o,m)}}return t}var go=pT;var uT=typeof XMLHttpRequest<"u",uh=uT&&function(e){return new Promise(function(r,n){let i=go(e),o=i.data,s=Q.from(i.headers).normalize(),{responseType:a,onUploadProgress:c,onDownloadProgress:p}=i,u,l,f,m,b,x;function w(){m&&m(),b&&b(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let h=new XMLHttpRequest;h.open(i.method.toUpperCase(),i.url,!0),h.timeout=i.timeout;function g(S){if(!h)return;if(h.status===0&&(cr(zn(i.url))||cr(K.origin))!=="file"&&!(h.responseURL&&h.responseURL.startsWith("file:"))){n(new v("Request aborted",v.ECONNABORTED,e,h)),w(),h=null;return}try{if(S)x&&x(S);else b&&b()}catch(M){setTimeout(()=>{throw M})}if(!h)return;let k=Q.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:k,config:e,request:h};ht(function(U){r(U),w()},function(U){n(U),w()},C),h=null}if("onloadend"in h)h.onloadend=g;else h.onreadystatechange=function(){if(!h||h.readyState!==4)return;if(h.status===0&&!(h.responseURL&&h.responseURL.startsWith("file:")))return;setTimeout(g)};if(h.onabort=function(){if(!h)return;n(new v("Request aborted",v.ECONNABORTED,e,h)),w(),h=null},h.onerror=function(k){let I=k&&k.message?k.message:"Network Error",C=new v(I,v.ERR_NETWORK,e,h);C.event=k||null,n(C),w(),h=null},h.ontimeout=function(){let k=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded",I=i.transitional||Lt;if(i.timeoutErrorMessage)k=i.timeoutErrorMessage;n(new v(k,I.clarifyTimeoutError?v.ETIMEDOUT:v.ECONNABORTED,e,h)),w(),h=null},o===void 0&&s.setContentType(null),"setRequestHeader"in h)d.forEach(Pr(s),function(k,I){h.setRequestHeader(I,k)});if(!d.isUndefined(i.withCredentials))h.withCredentials=!!i.withCredentials;if(a&&a!=="json")h.responseType=i.responseType;if(p)[f,b,x]=Et(p,!0),h.addEventListener("progress",f);if(c&&h.upload)[l,m]=Et(c),h.upload.addEventListener("progress",l),h.upload.addEventListener("loadend",m);if(i.cancelToken||i.signal){if(u=(S)=>{if(!h)return;n(!S||S.type?new $e(null,e,h):S),h.abort(),w(),h=null},i.cancelToken&&i.cancelToken.subscribe(u),i.signal)i.signal.aborted?u():i.signal.addEventListener("abort",u)}let E=cr(i.url);if(E&&!K.protocols.includes(E)){n(new v("Unsupported protocol "+E+":",v.ERR_BAD_REQUEST,e)),w();return}h.send(o||null)})};var lT=(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 v?p:new $e(p instanceof Error?p.message:p))}},o=t&&setTimeout(()=>{o=null,i(new v(`timeout of ${t}ms exceeded`,v.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=()=>d.asap(s),a},lh=lT;var dT=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},fT=async function*(e,t){for await(let r of mT(e))yield*dT(r,t)},mT=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()}},_c=(e,t,r,n)=>{let i=fT(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 f=o+=l;r(f)}c.enqueue(new Uint8Array(u))}catch(p){throw a(p),p}},cancel(c){return a(c),i.return()}},{highWaterMark:2})};var dh=65536,hT={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:yo}=d,xT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),fh=(e)=>{if(!d.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},mh=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},gT=(e)=>{let t=e.indexOf("://"),r=e;if(t!==-1)r=r.slice(t+3);return r.includes("@")||r.includes(":")},yT=(e)=>{let t=d.global!==void 0&&d.global!==null?d.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=d.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:o,Response:s}=e,a=i?yo(i):typeof fetch==="function",c=yo(o),p=yo(s);if(!a)return!1;let u=a&&yo(r),l=a&&(typeof n==="function"?((h)=>(g)=>h.encode(g))(new n):async(h)=>new Uint8Array(await new o(h).arrayBuffer())),f=c&&u&&mh(()=>{let h=!1,g=new o(K.origin,{body:new r,method:"POST",get duplex(){return h=!0,"half"}}),E=g.headers.has("Content-Type");if(g.body!=null)g.body.cancel();return h&&!E}),m=p&&u&&mh(()=>d.isReadableStream(new s("").body)),b={stream:m&&((h)=>h.body)};a&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((h)=>{!b[h]&&(b[h]=(g,E)=>{let S=g&&g[h];if(S)return S.call(g);throw new v(`Response type '${h}' is not supported`,v.ERR_NOT_SUPPORT,E)})})})();let x=async(h)=>{if(h==null)return 0;if(d.isBlob(h))return h.size;if(d.isSpecCompliantForm(h))return(await new o(K.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(d.isArrayBufferView(h)||d.isArrayBuffer(h))return h.byteLength;if(d.isURLSearchParams(h))h=h+"";if(d.isString(h))return(await l(h)).byteLength},w=async(h,g)=>{let E=d.toFiniteNumber(h.getContentLength());return E==null?x(g):E};return async(h)=>{let{url:g,method:E,data:S,signal:k,cancelToken:I,timeout:C,onDownloadProgress:M,onUploadProgress:U,responseType:X,headers:q,withCredentials:ze="same-origin",fetchOptions:dt,maxContentLength:re,maxBodyLength:Oe,maxRedirects:Rr}=go(h),Vt=d.isNumber(re)&&re>-1,Xt=d.isNumber(Oe)&&Oe>-1,$i=(J)=>d.hasOwnProp(h,J)?h[J]:void 0,Bi=i||fetch;X=X?(X+"").toLowerCase():"text";let ie=lh([k,I&&I.toAbortSignal()],C),ae=null,de=ie&&ie.unsubscribe&&(()=>{ie.unsubscribe()}),ft,vt=null,Yt=()=>new v("Request body larger than maxBodyLength limit",v.ERR_BAD_REQUEST,h,ae);try{let J=void 0,Ee=$i("auth");if(Ee){let L=d.getSafeProp(Ee,"username")||"",fe=d.getSafeProp(Ee,"password")||"";J={username:L,password:fe}}if(gT(g)){let L=new URL(g,K.origin);if(!J&&(L.username||L.password)){let fe=fh(L.username),T=fh(L.password);J={username:fe,password:T}}if(L.username||L.password)L.username="",L.password="",g=L.href}if(J)q.delete("authorization"),q.set("Authorization","Basic "+btoa(xT((J.username||"")+":"+(J.password||""))));if(Vt&&typeof g==="string"&&g.startsWith("data:")){if(vc(g)>re)throw new v("maxContentLength size of "+re+" exceeded",v.ERR_BAD_RESPONSE,h,ae)}if(Xt&&E!=="get"&&E!=="head"){let L=await x(S);if(typeof L==="number"&&isFinite(L)){if(ft=L,L>Oe)throw Yt()}}let _r=Xt&&(d.isReadableStream(S)||d.isStream(S)),mt=(L,fe,T)=>_c(L,dh,(O)=>{if(Xt&&O>Oe)throw vt=Yt();fe&&fe(O)},T);if(f&&E!=="get"&&E!=="head"&&(U||_r)){if(ft=ft==null?await w(q,S):ft,ft!==0||_r){let L=new o(g,{method:"POST",body:S,duplex:"half"}),fe;if(d.isFormData(S)&&(fe=L.headers.get("content-type")))q.setContentType(fe);if(L.body){let[T,O]=U&&Kr(ft,Et(Hr(U)))||[];S=mt(L.body,T,O)}}}else if(_r&&!c&&u&&E!=="get"&&E!=="head")S=mt(S);else if(_r&&c&&!f&&E!=="get"&&E!=="head")throw new v("Stream request bodies are not supported by the current fetch implementation",v.ERR_NOT_SUPPORT,h,ae);if(!d.isString(ze))ze=ze?"include":"omit";let _n=c&&"credentials"in o.prototype;if(d.isFormData(S)){let L=q.getContentType();if(L&&/^multipart\/form-data/i.test(L)&&!/boundary=/i.test(L))q.delete("content-type")}q.set("User-Agent","axios/"+wt,!1);let je=dt==null?dt:Object.assign(Object.create(null),dt);if(je)delete je.body,delete je.headers,delete je.method,delete je.signal,delete je.duplex,delete je.credentials;let Y=Object.assign(Object.create(null),je,{signal:ie,method:E.toUpperCase(),headers:Pr(q.normalize()),body:S,duplex:"half",credentials:_n?ze:void 0});if(c){if(d.forEach(hT,(L,fe)=>{if(Y[fe]===void 0)Y[fe]=L}),Y.signal===void 0)Y.signal=null;if(Y.body===void 0)Y.body=null}if(Rr===0){if(Y.redirect="manual",je)je.redirect="manual"}ae=c&&new o(g,Y);let We=await(c?Bi(ae,je):Bi(g,Y)),Ct=Q.from(We.headers);if(Vt){let L=d.toFiniteNumber(Ct.getContentLength());if(L!=null&&L>re)throw new v("maxContentLength size of "+re+" exceeded",v.ERR_BAD_RESPONSE,h,ae)}let Tr=m&&(X==="stream"||X==="response");if(m&&We.body&&(M||Vt||Tr&&de)){let L={};["status","statusText","headers"].forEach((V)=>{L[V]=We[V]});let fe=d.toFiniteNumber(Ct.getContentLength()),[T,O]=M&&Kr(fe,Et(Hr(M),!0))||[],G=0,Se=(V)=>{if(Vt){if(G=V,G>re)throw new v("maxContentLength size of "+re+" exceeded",v.ERR_BAD_RESPONSE,h,ae)}T&&T(V)};We=new s(_c(We.body,dh,Se,()=>{O&&O(),de&&de()}),L)}X=X||"text";let Me=await b[d.findKey(b,X)||"text"](We,h);if(Vt&&!m&&!Tr){let L;if(Me!=null){if(typeof Me.byteLength==="number")L=Me.byteLength;else if(typeof Me.size==="number")L=Me.size;else if(typeof Me==="string")L=typeof n==="function"?new n().encode(Me).byteLength:Me.length}if(typeof L==="number"&&L>re)throw new v("maxContentLength size of "+re+" exceeded",v.ERR_BAD_RESPONSE,h,ae)}return!Tr&&de&&de(),await new Promise((L,fe)=>{ht(L,fe,{data:Me,headers:Q.from(We.headers),status:We.status,statusText:We.statusText,config:h,request:ae})})}catch(J){if(de&&de(),ie&&ie.aborted&&ie.reason instanceof v){let Ee=ie.reason;if(Ee.config=h,ae&&(Ee.request=ae),J!==Ee)Object.defineProperty(Ee,"cause",{__proto__:null,value:J,writable:!0,enumerable:!1,configurable:!0});throw Ee}if(vt)throw ae&&!vt.request&&(vt.request=ae),vt;if(J instanceof v)throw ae&&!J.request&&(J.request=ae),J;if(J&&J.name==="TypeError"&&/Load failed|fetch/i.test(J.message)){let Ee=new v("Network Error",v.ERR_NETWORK,h,ae,J&&J.response);throw Object.defineProperty(Ee,"cause",{__proto__:null,value:J.cause||J,writable:!0,enumerable:!1,configurable:!0}),Ee}throw v.from(J,J&&J.code,h,ae,J&&J.response)}}},bT=new Map,Tc=(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=bT;while(a--)c=o[a],p=u.get(c),p===void 0&&u.set(c,p=a?new Map:yT(t)),u=p;return p},jF=Tc();var Oc={http:sh,xhr:uh,fetch:{get:Tc}};d.forEach(Oc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(r){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var hh=(e)=>`- ${e}`,wT=(e)=>d.isFunction(e)||e===null||e===!1;function ET(e,t){e=d.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,!wT(n)){if(i=Oc[(a=String(n)).toLowerCase()],i===void 0)throw new v(`Unknown adapter '${a}'`)}if(i&&(d.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(hh).join(`
|
|
33
|
+
`):" "+hh(s[0]):"as no adapter specified";throw new v("There is no suitable adapter to dispatch the request "+a,v.ERR_NOT_SUPPORT)}return i}var bo={getAdapter:ET,adapters:Oc};function kc(e){if(e.cancelToken)e.cancelToken.throwIfRequested();if(e.signal&&e.signal.aborted)throw new $e(null,e)}function ri(e){let t=d.toSafeFlatObject(e);if(kc(t),t.headers=Q.from(d.getSafeProp(t,"headers")),t.data=Hn.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1)t.headers.setContentType("application/x-www-form-urlencoded",!1);return bo.getAdapter(t.adapter||Dr.adapter,t)(t).then(function(i){kc(t),t.response=i;try{i.data=Hn.call(t,t.transformResponse,i)}finally{delete t.response}return i.headers=Q.from(i.headers),i},function(i){if(!Jn(i)){if(kc(t),i&&i.response){t.response=i.response;try{i.response.data=Hn.call(t,t.transformResponse,i.response)}finally{delete t.response}i.response.headers=Q.from(i.response.headers)}}return Promise.reject(i)})}var vo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{vo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var xh={};vo.transitional=function(t,r,n){function i(o,s){return"[Axios v"+wt+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(t===!1)throw new v(i(s," has been removed"+(r?" in "+r:"")),v.ERR_DEPRECATED);if(r&&!xh[s])xh[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}};vo.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function ST(e,t,r){if(typeof e!=="object"||e===null)throw new v("options must be an object",v.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 v("option "+o+" must be "+c,v.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new v("Unknown option "+o,v.ERR_BAD_OPTION)}}var ni={assertOptions:ST,validators:vo};var ke=ni.validators;class ii{constructor(e){this.defaults=e||{},this.interceptors={request:new Na,response:new Na}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error)try{let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=Error();let i=n.stack,o="";if(typeof i==="string"){let s=i.indexOf(`
|
|
34
|
+
`);o=s===-1?"":i.slice(s+1)}if(!r.stack)r.stack=o;else if(o){let s=o.indexOf(`
|
|
35
|
+
`),a=s===-1?-1:o.indexOf(`
|
|
36
|
+
`,s+1),c=a===-1?"":o.slice(a+1);if(!String(r.stack).endsWith(c))r.stack+=`
|
|
37
|
+
`+o}}catch(n){}throw r}}_request(e,t){if(typeof e==="string")t=t||{},t.url=e;else t=e||{};t=it(this.defaults,t);let{transitional:r,paramsSerializer:n,headers:i}=t;if(r!==void 0)ni.assertOptions(r,{silentJSONParsing:ke.transitional(ke.boolean),forcedJSONParsing:ke.transitional(ke.boolean),clarifyTimeoutError:ke.transitional(ke.boolean),legacyInterceptorReqResOrdering:ke.transitional(ke.boolean),advertiseZstdAcceptEncoding:ke.transitional(ke.boolean),validateStatusUndefinedResolves:ke.transitional(ke.boolean)},!1);if(n!=null)if(d.isFunction(n))t.paramsSerializer={serialize:n};else ni.assertOptions(n,{encode:ke.function,serialize:ke.function},!0);if(t.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else t.allowAbsoluteUrls=!0;ni.assertOptions(t,{baseUrl:ke.spelling("baseURL"),withXsrfToken:ke.spelling("withXSRFToken")},!0),t.method=(d.getSafeProp(t,"method")||d.getSafeProp(this.defaults,"method")||"get").toLowerCase();let o=i&&d.merge(i.common,i[t.method]);i&&d.forEach(so.concat("common"),(m)=>{delete i[m]}),t.headers=Q.concat(o,i);let s=[],a=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen==="function"&&b.runWhen(t)===!1)return;a=a&&b.synchronous;let x=t.transitional||Lt;if(x&&x.legacyInterceptorReqResOrdering)s.unshift(b.fulfilled,b.rejected);else s.push(b.fulfilled,b.rejected)});let c=[];this.interceptors.response.forEach(function(b){c.push(b.fulfilled,b.rejected)});let p,u=0,l;if(!a){let m=[ri.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 f=t;while(u<l){let m=s[u++],b=s[u++];try{f=m?m(f):f}catch(x){if(!b){p=Promise.reject(x);break}try{let w=b.call(this,x);if(d.isThenable(w))p=Promise.resolve(w).then(()=>ri.call(this,f))}catch(w){p=Promise.reject(w)}break}}if(!p)try{p=ri.call(this,f)}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=it(this.defaults,e);let t=nr(e.baseURL,e.url,e.allowAbsoluteUrls,e);return rr(t,e.params,e.paramsSerializer)}}d.forEach(["delete","get","head","options"],function(t){ii.prototype[t]=function(r,n){return this.request(it(n||{},{method:t,url:r,data:n&&d.hasOwnProp(n,"data")?n.data:void 0}))}});d.forEach(["post","put","patch","query"],function(t){function r(n){return function(o,s,a){return this.request(it(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}if(ii.prototype[t]=r(),t!=="query")ii.prototype[t+"Form"]=r(!0)});var oi=ii;class Cc{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 $e(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 Cc(function(n){e=n}),cancel:e}}}var gh=Cc;function Pc(e){return function(r){return e.apply(null,r)}}function Ic(e){return d.isObject(e)&&e.isAxiosError===!0}var wo={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,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent: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(wo).forEach(([e,t])=>{if(wo[t]===void 0)wo[t]=e});var yh=wo;function bh(e){let t=new oi(e),r=kn(oi.prototype.request,t);return d.extend(r,oi.prototype,t,{allOwnKeys:!0}),d.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return bh(it(e,i))},r}var me=bh(Dr);me.Axios=oi;me.CanceledError=$e;me.CancelToken=gh;me.isCancel=Jn;me.VERSION=wt;me.toFormData=jt;me.AxiosError=v;me.Cancel=me.CanceledError;me.all=function(t){return Promise.all(t)};me.spread=Pc;me.isAxiosError=Ic;me.mergeConfig=it;me.AxiosHeaders=Q;me.formToJSON=(e)=>oo(d.isHTMLForm(e)?new FormData(e):e);me.getAdapter=bo.getAdapter;me.HttpStatusCode=yh;me.default=me;var jc=me;var AT=jc.create({httpsAgent:new vh.Agent({keepAlive:!0})});async function wh(e,t,r,n){let i=0;while(!0){++i;try{return await AT.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 Eh(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");return Buffer.from(t,"base64").toString()}var Sh=`<!DOCTYPE html>
|
|
38
38
|
<html lang="en">
|
|
39
39
|
<head>
|
|
40
40
|
<meta charset="utf-8" />
|
|
@@ -54,4 +54,4 @@ ${r}
|
|
|
54
54
|
</p>
|
|
55
55
|
</body>
|
|
56
56
|
</html>
|
|
57
|
-
`;var
|
|
57
|
+
`;var Rh=require("node:fs"),So=pe(require("node:path")),_h=require("node:url");var _T=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function Eo(e,t){let r=new _T,n=e.length;if(n<2)return r;let i=t?.decode||kT,o=0;do{let s=OT(e,o,n);if(s===n)break;let a=TT(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 TT(e,t,r){let n=e.indexOf(";",t);return n===-1?r:n}function OT(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 kT(e){if(e.indexOf("%")===-1)return e;try{return decodeURIComponent(e)}catch(t){return e}}var Jr={none:0,error:10,warn:20,info:30,debug:40};class Lc{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>=Jr.info)console.log(...this.jsonify(e))}warn(...e){if(this.logLevel>=Jr.warn)console.warn(...this.jsonify(e))}error(...e){if(this.logLevel>=Jr.error)console.error(...this.jsonify(e))}debug(...e){if(this.logLevel>=Jr.debug)console.trace(...this.jsonify(e))}}var CT=_h.fileURLToPath("file:///home/runner/work/cdk-cloudfront-auth/cdk-cloudfront-auth/src/handlers/util/config.ts"),PT=So.dirname(CT);function Nc(){let t=process.env.LAMBDA_TASK_ROOT||PT,r=So.join(t,"config.json");console.log("Loading config from",r);let n=JSON.parse(Rh.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(Eo(n.cookieSettings.nonce.toLowerCase())["max-age"]??"",10)||86400,...n,tokenIssuer:o,tokenJwksUri:s,logger:new Lc(Jr[n.logLevel])}}function IT(e){return Object.entries(e).reduce((t,[r,n])=>Object.assign(t,{[r.toLowerCase()]:[{key:r,value:n}]}),{})}function qc(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 Th(e){return{body:jT(e),status:e.statusCode??"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}}function jT(e){let t={...e,region:process.env.AWS_REGION};return Sh.replace(/\${([^}]*)}/g,(r,n)=>t[n]||"")}function Oh(e,t){if(!t)throw Error("Expected response value");return{...t,headers:{...t.headers??{},...IT(e.httpHeaders)}}}function kh(e){let t;return async(r)=>{if(!t)t=Nc();t.logger.debug("Handling event:",r);let n=Oh(t,await e(t,r));return t.logger.debug("Returning response:",n),n}}function z$(e){let t;return async(r)=>{if(!t)t=Nc();t.logger.debug("Handling event:",r);let n=Oh(t,await e(t,r));return t.logger.debug("Returning response:",n),n}}var Hu=pe(sb(),1),UE=pe(DE(),1),Ku;function c2(e){return"rsaPublicKey"in e}async function p2(e,t){if(!Ku)Ku=UE.default({cache:!0,rateLimit:!0,jwksUri:e});let r=await Ku.getSigningKey(t);return c2(r)?r.rsaPublicKey:r.publicKey}async function FE(e,t,r,n){let i=Hu.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 p2(t,o);if(s instanceof Error)return{validationError:s};let a={audience:n,issuer:r,ignoreExpiration:!1};return new Promise((c)=>Hu.default.verify(e,s,a,(p)=>p?c({validationError:p}):c(void 0)))}function $E(e){let r=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(r,"base64").toString())}function u2(e){if(!e.cookie)return{};return e.cookie.reduce((r,n)=>({...r,...Eo(n.value)}),{})}function Ar(e,t){if(t.toLowerCase().indexOf("domain")===-1)return`${t}; Domain=.${e}`;return t}function BE(e,t){let r=u2(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 KE(e){let t=$E(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}),f={[i]:`${e.tokens.idToken}; ${Ar(e.domainName,e.cookieSettings.idToken)}`,[o]:`${e.tokens.accessToken}; ${Ar(e.domainName,e.cookieSettings.accessToken)}`,[s]:`${e.tokens.refreshToken}; ${Ar(e.domainName,e.cookieSettings.refreshToken)}`,[a]:`${r}; ${Ar(e.domainName,e.cookieSettings.idToken)}`,[c]:`${p}; ${Ar(e.domainName,e.cookieSettings.accessToken)}`,[u]:`${encodeURIComponent(l)}; ${Ar(e.domainName,e.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${Ar(e.domainName,e.cookieSettings.accessToken)}`};if(e.event==="signOut")Object.keys(f).forEach((m)=>f[m]=Ju(f[m]));else if(e.event==="refreshFailed")f[s]=Ju(f[s]);return["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((m)=>{f[m]=Ju(f[m])}),Object.entries(f).map(([m,b])=>`${m}=${b}`)}function Ju(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 sa=require("node:crypto");function l2(e,t){let r=Number.parseInt(e.slice(0,e.indexOf("T")),10);if(Number.isNaN(r))return{clientError:"Invalid nonce"};if(JE()-r>t)return{clientError:`Nonce is too old (nonce is from ${new Date(r*1000).toISOString()})`}}function HE(e,t,r){let n=l2(e,r.nonceMaxAge);if(n)return n;let i=d2(e,r);if(i!==t)return{clientError:`Nonce signature mismatch! Expected ${i} but got ${t}`}}function UW(){let e=sa.randomBytes(16).toString("hex");return`${JE()}T${e}`}function d2(e,t){return sa.createHmac("sha256",t.nonceSigningSecret).update(e).digest("hex")}function JE(){return Date.now()/1000|0}var f2=kh(async(e,t)=>{let r=t.Records[0].cf.request,n=r.headers.host[0].value,i=`https://${n}`,o,s=BE(r.headers,e.clientId);o=s.idToken;let a=h2({config:e,querystring:r.querystring,cookies:s});if("clientError"in a)return zu({error:a.clientError,errorType:"client",config:e,redirectedFromUri:i,idToken:o});if("technicalError"in a)return zu({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 m2({config:e,domainName:n,code:c,pkce:p});if("error"in l)return zu({error:l.error,errorType:"server",config:e,redirectedFromUri:i,idToken:o});return qc(i,{cookies:KE({event:"newTokens",tokens:l,domainName:n,...e})})});async function zu({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 FE(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"),qc(i)}return Th({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 m2({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 f=Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64");s.Authorization=`Basic ${f}`}let a={headers:s};e.logger.debug("HTTP POST to Cognito token endpoint:",{uri:i,body:o,requestConfig:a});let c;try{c=await wh(i,o,a,e.logger)}catch(f){return{error:`Failed to exchange authorization code for tokens: ${f}`}}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 h2(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(Eh(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=HE(o.nonce,c??"UNKNOWN",e.config);if(p)return p;return{code:t,pkce:a,requestedUri:o.requestedUri||""}}
|