@liflig/cdk-cloudfront-auth 1.10.14 → 1.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/check-auth/index.js +7 -7
- package/dist/http-headers/index.js +2 -2
- package/dist/parse-auth/index.js +19 -19
- package/dist/refresh-auth/index.js +19 -19
- package/dist/sign-out/index.js +7 -7
- package/lib/cloudfront-auth.d.ts +2 -2
- package/lib/cloudfront-auth.js +5 -5
- package/lib/handlers/util/axios.d.ts +1 -1
- package/lib/handlers/util/axios.js +1 -1
- package/lib/handlers/util/cloudfront.d.ts +1 -1
- package/lib/handlers/util/cloudfront.js +2 -2
- package/lib/handlers/util/config.d.ts +3 -3
- package/lib/handlers/util/config.js +2 -2
- package/lib/handlers/util/cookies.js +2 -2
- package/lib/handlers/util/logger.d.ts +8 -7
- package/lib/handlers/util/logger.js +8 -9
- package/lib/handlers/util/nonce.d.ts +1 -1
- package/lib/handlers/util/nonce.js +1 -1
- package/lib/index.d.ts +4 -4
- package/lib/index.js +5 -5
- package/lib/lambdas.d.ts +1 -1
- package/lib/lambdas.js +2 -2
- package/package.json +7 -8
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
var EE=Object.create;var{getPrototypeOf:SE,defineProperty:Rn,getOwnPropertyNames:Bu,getOwnPropertyDescriptor:AE}=Object,Ku=Object.prototype.hasOwnProperty;function Hu(e){return this[e]}var RE,TE,pe=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var i=t?RE??=new WeakMap:TE??=new WeakMap,o=i.get(e);if(o)return o}r=e!=null?EE(SE(e)):{};let s=t||!e||!e.__esModule?Rn(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let a of Bu(e))if(!Ku.call(s,a))Rn(s,a,{get:Hu.bind(e,a),enumerable:!0})}if(n)i.set(e,s);return s},qi=(e)=>{var t=($u??=new WeakMap).get(e),r;if(t)return t;if(t=Rn({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var n of Bu(e))if(!Ku.call(t,n))Rn(t,n,{get:Hu.bind(e,n),enumerable:!(r=AE(e,n))||r.enumerable})}return $u.set(e,t),t},$u,y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var _E=(e)=>e;function kE(e,t){this[e]=_E.bind(null,t)}var Ar=(e,t)=>{for(var r in t)Rn(e,r,{get:t[r],enumerable:!0,configurable:!0,set:kE.bind(t,r)})};var j=(e,t)=>()=>(e&&(t=e(e=0)),t);var sl=y(function(ZL,ol){var il=require("stream").Stream,LS=require("util");ol.exports=tt;function tt(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}LS.inherits(tt,il);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=il.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 ul=y(function(QL,pl){var qS=require("util"),cl=require("stream").Stream,al=sl();pl.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}qS.inherits(ue,cl);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 al)){var r=al.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 cl.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 ll=y(function(e2,DS){DS.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 fl=y(function(t2,dl){/*!
|
|
1
|
+
var EE=Object.create;var{getPrototypeOf:SE,defineProperty:Tn,getOwnPropertyNames:Bu,getOwnPropertyDescriptor:AE}=Object,Ku=Object.prototype.hasOwnProperty;function Hu(e){return this[e]}var RE,TE,pe=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var i=t?RE??=new WeakMap:TE??=new WeakMap,o=i.get(e);if(o)return o}r=e!=null?EE(SE(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 Bu(e))if(!Ku.call(s,a))Tn(s,a,{get:Hu.bind(e,a),enumerable:!0})}if(n)i.set(e,s);return s},Di=(e)=>{var t=($u??=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 Bu(e))if(!Ku.call(t,n))Tn(t,n,{get:Hu.bind(e,n),enumerable:!(r=AE(e,n))||r.enumerable})}return $u.set(e,t),t},$u,y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var _E=(e)=>e;function kE(e,t){this[e]=_E.bind(null,t)}var Ar=(e,t)=>{for(var r in t)Tn(e,r,{get:t[r],enumerable:!0,configurable:!0,set:kE.bind(t,r)})};var j=(e,t)=>()=>(e&&(t=e(e=0)),t);var sl=y(function(ZN,ol){var il=require("stream").Stream,NS=require("util");ol.exports=tt;function tt(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}NS.inherits(tt,il);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=il.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 ul=y(function(QN,pl){var qS=require("util"),cl=require("stream").Stream,al=sl();pl.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}qS.inherits(ue,cl);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 al)){var r=al.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 cl.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 ll=y(function(e2,DS){DS.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 fl=y(function(t2,dl){/*!
|
|
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
|
-
*/dl.exports=ll()});var xl=y(function(
|
|
6
|
+
*/dl.exports=ll()});var xl=y(function(Ne){/*!
|
|
7
7
|
* mime-types
|
|
8
8
|
* Copyright(c) 2014 Jonathan Ong
|
|
9
9
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
10
10
|
* MIT Licensed
|
|
11
|
-
*/var Bi=fl(),US=require("path").extname,ml=/^\s*([^;\s]*)(?:;|\s|$)/,FS=/^text\//i;Le.charset=hl;Le.charsets={lookup:hl};Le.contentType=$S;Le.extension=BS;Le.extensions=Object.create(null);Le.lookup=KS;Le.types=Object.create(null);HS(Le.extensions,Le.types);function hl(e){if(!e||typeof e!=="string")return!1;var t=ml.exec(e),r=t&&Bi[t[1].toLowerCase()];if(r&&r.charset)return r.charset;if(t&&FS.test(t[1]))return"UTF-8";return!1}function $S(e){if(!e||typeof e!=="string")return!1;var t=e.indexOf("/")===-1?Le.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=Le.charset(t);if(r)t+="; charset="+r.toLowerCase()}return t}function BS(e){if(!e||typeof e!=="string")return!1;var t=ml.exec(e),r=t&&Le.extensions[t[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]}function KS(e){if(!e||typeof e!=="string")return!1;var t=US("x."+e).toLowerCase().substr(1);if(!t)return!1;return Le.types[t]||!1}function HS(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Bi).forEach(function(i){var o=Bi[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(Bi[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 gl=y(function(n2,yl){yl.exports=JS;function JS(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 na=y(function(i2,bl){var vl=gl();bl.exports=WS;function WS(e){var t=!1;return vl(function(){t=!0}),function(n,i){if(t)e(n,i);else vl(function(){e(n,i)})}}});var ia=y(function(o2,wl){wl.exports=zS;function zS(e){Object.keys(e.jobs).forEach(MS.bind(e)),e.jobs={}}function MS(e){if(typeof this.jobs[e]=="function")this.jobs[e]()}});var oa=y(function(s2,Sl){var El=na(),GS=ia();Sl.exports=VS;function VS(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=XS(t,i,e[i],function(o,s){if(!(i in r.jobs))return;if(delete r.jobs[i],o)GS(r);else r.results[i]=s;n(o,r.results)})}function XS(e,t,r,n){var i;if(e.length==2)i=e(r,El(n));else i=e(r,t,El(n));return i}});var sa=y(function(a2,Al){Al.exports=YS;function YS(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 aa=y(function(c2,Rl){var ZS=ia(),QS=na();Rl.exports=e0;function e0(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,ZS(this),QS(e)(null,this.results)}});var _l=y(function(p2,Tl){var t0=oa(),r0=sa(),n0=aa();Tl.exports=i0;function i0(e,t,r){var n=r0(e);while(n.index<(n.keyedList||e).length)t0(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 n0.bind(n,r)}});var ca=y(function(u2,Ki){var kl=oa(),o0=sa(),s0=aa();Ki.exports=a0;Ki.exports.ascending=Ol;Ki.exports.descending=c0;function a0(e,t,r,n){var i=o0(e,r);return kl(e,t,i,function o(s,a){if(s){n(s,a);return}if(i.index++,i.index<(i.keyedList||e).length){kl(e,t,i,o);return}n(null,i.results)}),s0.bind(i,n)}function Ol(e,t){return e<t?-1:e>t?1:0}function c0(e,t){return-1*Ol(e,t)}});var Pl=y(function(l2,Cl){var p0=ca();Cl.exports=u0;function u0(e,t,r){return p0(e,t,null,r)}});var jl=y(function(d2,Il){Il.exports={parallel:_l(),serial:Pl(),serialOrdered:ca()}});var pa=y(function(f2,Nl){Nl.exports=Object});var ql=y(function(m2,Ll){Ll.exports=Error});var Ul=y(function(h2,Dl){Dl.exports=EvalError});var $l=y(function(x2,Fl){Fl.exports=RangeError});var Kl=y(function(y2,Bl){Bl.exports=ReferenceError});var Jl=y(function(g2,Hl){Hl.exports=SyntaxError});var Hi=y(function(v2,Wl){Wl.exports=TypeError});var Ml=y(function(b2,zl){zl.exports=URIError});var Vl=y(function(w2,Gl){Gl.exports=Math.abs});var Yl=y(function(E2,Xl){Xl.exports=Math.floor});var Ql=y(function(S2,Zl){Zl.exports=Math.max});var td=y(function(A2,ed){ed.exports=Math.min});var nd=y(function(R2,rd){rd.exports=Math.pow});var od=y(function(T2,id){id.exports=Math.round});var ad=y(function(_2,sd){sd.exports=Number.isNaN||function(t){return t!==t}});var pd=y(function(k2,cd){var l0=ad();cd.exports=function(t){if(l0(t)||t===0)return t;return t<0?-1:1}});var ld=y(function(O2,ud){ud.exports=Object.getOwnPropertyDescriptor});var ua=y(function(C2,dd){var Ji=ld();if(Ji)try{Ji([],"length")}catch(e){Ji=null}dd.exports=Ji});var md=y(function(P2,fd){var Wi=Object.defineProperty||!1;if(Wi)try{Wi({},"a",{value:1})}catch(e){Wi=!1}fd.exports=Wi});var la=y(function(I2,hd){hd.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 gd=y(function(j2,yd){var xd=typeof Symbol<"u"&&Symbol,d0=la();yd.exports=function(){if(typeof xd!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof xd("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return d0()}});var da=y(function(N2,vd){vd.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var fa=y(function(L2,bd){var f0=pa();bd.exports=f0.getPrototypeOf||null});var Sd=y(function(q2,Ed){var m0="Function.prototype.bind called on incompatible ",h0=Object.prototype.toString,x0=Math.max,y0="[object Function]",wd=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},g0=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},v0=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};Ed.exports=function(t){var r=this;if(typeof r!=="function"||h0.apply(r)!==y0)throw TypeError(m0+r);var n=g0(arguments,1),i,o=function(){if(this instanceof i){var u=r.apply(this,wd(n,arguments));if(Object(u)===u)return u;return this}return r.apply(t,wd(n,arguments))},s=x0(0,r.length-n.length),a=[];for(var c=0;c<s;c++)a[c]="$"+c;if(i=Function("binder","return function ("+v0(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 jn=y(function(D2,Ad){var b0=Sd();Ad.exports=Function.prototype.bind||b0});var zi=y(function(U2,Rd){Rd.exports=Function.prototype.call});var ma=y(function(F2,Td){Td.exports=Function.prototype.apply});var kd=y(function($2,_d){_d.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Cd=y(function(B2,Od){var w0=jn(),E0=ma(),S0=zi(),A0=kd();Od.exports=A0||w0.call(S0,E0)});var Id=y(function(K2,Pd){var R0=jn(),T0=Hi(),_0=zi(),k0=Cd();Pd.exports=function(t){if(t.length<1||typeof t[0]!=="function")throw new T0("a function is required");return k0(R0,_0,t)}});var Ud=y(function(H2,Dd){var O0=Id(),jd=ua(),Ld;try{Ld=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var ha=!!Ld&&jd&&jd(Object.prototype,"__proto__"),qd=Object,Nd=qd.getPrototypeOf;Dd.exports=ha&&typeof ha.get==="function"?O0([ha.get]):typeof Nd==="function"?function(t){return Nd(t==null?t:qd(t))}:!1});var Hd=y(function(J2,Kd){var Fd=da(),$d=fa(),Bd=Ud();Kd.exports=Fd?function(t){return Fd(t)}:$d?function(t){if(!t||typeof t!=="object"&&typeof t!=="function")throw TypeError("getProto: not an object");return $d(t)}:Bd?function(t){return Bd(t)}:null});var Mi=y(function(W2,Jd){var C0=Function.prototype.call,P0=Object.prototype.hasOwnProperty,I0=jn();Jd.exports=I0.call(C0,P0)});var Xd=y(function(z2,Vd){var U,j0=pa(),N0=ql(),L0=Ul(),q0=$l(),D0=Kl(),Ir=Jl(),Pr=Hi(),U0=Ml(),F0=Vl(),$0=Yl(),B0=Ql(),K0=td(),H0=nd(),J0=od(),W0=pd(),Md=Function,xa=function(e){try{return Md('"use strict"; return ('+e+").constructor;")()}catch(t){}},Nn=ua(),z0=md(),ya=function(){throw new Pr},M0=Nn?function(){try{return arguments.callee,ya}catch(e){try{return Nn(arguments,"callee").get}catch(t){return ya}}}():ya,Or=gd()(),Ee=Hd(),G0=fa(),V0=da(),Gd=ma(),Ln=zi(),Cr={},X0=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%":N0,"%eval%":eval,"%EvalError%":L0,"%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%":Md,"%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%":j0,"%Object.getOwnPropertyDescriptor%":Nn,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":q0,"%ReferenceError%":D0,"%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%":M0,"%TypedArray%":X0,"%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%":U0,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet,"%Function.prototype.call%":Ln,"%Function.prototype.apply%":Gd,"%Object.defineProperty%":z0,"%Object.getPrototypeOf%":G0,"%Math.abs%":F0,"%Math.floor%":$0,"%Math.max%":B0,"%Math.min%":K0,"%Math.pow%":H0,"%Math.round%":J0,"%Math.sign%":W0,"%Reflect.getPrototypeOf%":V0};if(Ee)try{null.error}catch(e){ga=Ee(Ee(e)),Zt["%Error.prototype%"]=ga}var ga,Y0=function e(t){var r;if(t==="%AsyncFunction%")r=xa("async function () {}");else if(t==="%GeneratorFunction%")r=xa("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=xa("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},Wd={__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"]},qn=jn(),Gi=Mi(),Z0=qn.call(Ln,Array.prototype.concat),Q0=qn.call(Gd,Array.prototype.splice),zd=qn.call(Ln,String.prototype.replace),Vi=qn.call(Ln,String.prototype.slice),eA=qn.call(Ln,RegExp.prototype.exec),tA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rA=/\\(\\)?/g,nA=function(t){var r=Vi(t,0,1),n=Vi(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 zd(t,tA,function(o,s,a,c){i[i.length]=a?zd(c,rA,"$1"):s||o}),i},iA=function(t,r){var n=t,i;if(Gi(Wd,n))i=Wd[n],n="%"+i[0]+"%";if(Gi(Zt,n)){var o=Zt[n];if(o===Cr)o=Y0(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!")};Vd.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(eA(/^%?[^%]*%?$/,t)===null)throw new Ir("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=nA(t),i=n.length>0?n[0]:"",o=iA("%"+i+"%",r),s=o.name,a=o.value,c=!1,p=o.alias;if(p)i=p[0],Q0(n,Z0([0,1],p));for(var u=1,l=!0;u<n.length;u+=1){var f=n[u],m=Vi(f,0,1),g=Vi(f,-1);if((m==='"'||m==="'"||m==="`"||(g==='"'||g==="'"||g==="`"))&&m!==g)throw new Ir("property names with quotes must have matching quotes");if(f==="constructor"||!l)c=!0;if(i+="."+f,s="%"+i+"%",Gi(Zt,s))a=Zt[s];else if(a!=null){if(!(f 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,f);if(l=!!x,l&&"get"in x&&!("originalValue"in x.get))a=x.get;else a=a[f]}else l=Gi(a,f),a=a[f];if(l&&!c)Zt[s]=a}}return a}});var Zd=y(function(M2,Yd){var oA=la();Yd.exports=function(){return oA()&&!!Symbol.toStringTag}});var tf=y(function(G2,ef){var sA=Xd(),Qd=sA("%Object.defineProperty%",!0),aA=Zd()(),cA=Mi(),pA=Hi(),Xi=aA?Symbol.toStringTag:null;ef.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 pA("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Xi&&(n||!cA(t,Xi)))if(Qd)Qd(t,Xi,{configurable:!i,enumerable:!1,value:r,writable:!1});else t[Xi]=r}});var nf=y(function(V2,rf){rf.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var af=y(function(X2,sf){var Ea=ul(),uA=require("util"),va=require("path"),lA=require("http"),dA=require("https"),fA=require("url").parse,mA=require("fs"),hA=require("stream").Stream,xA=require("crypto"),ba=xl(),yA=jl(),gA=tf(),Ot=Mi(),wa=nf();function of(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=[],Ea.call(this),e=e||{};for(var t in e)this[t]=e[t]}uA.inherits(H,Ea);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=Ea.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 hA))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 mA.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="'+of(e)+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};if(typeof r.header==="object")wa(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=va.normalize(t.filepath).replace(/\\/g,"/");else if(t.filename||e&&(e.name||e.path))r=va.basename(t.filename||e&&(e.name||e.path));else if(e&&e.readable&&Ot(e,"httpVersion"))r=va.basename(e.client._httpMessage.path||"");if(r)return'filename="'+of(r)+'"'};H.prototype._getContentType=function(e,t){var r=t.contentType;if(!r&&e&&e.name)r=ba.lookup(e.name);if(!r&&e&&e.path)r=ba.lookup(e.path);if(!r&&e&&e.readable&&Ot(e,"httpVersion"))r=e.headers["content-type"];if(!r&&(t.filepath||t.filename))r=ba.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="--------------------------"+xA.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}yA.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=fA(e),n=wa({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i);else if(n=wa(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=lA.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]"};gA(H.prototype,"FormData");sf.exports=H});var qa=y(function(Xq,Tf){var Lr=1000,qr=Lr*60,Dr=qr*60,tr=Dr*24,$A=tr*7,BA=tr*365.25;Tf.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return KA(e);else if(r==="number"&&isFinite(e))return t.long?JA(e):HA(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function KA(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*BA;case"weeks":case"week":case"w":return r*$A;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*Lr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function HA(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>=Lr)return Math.round(e/Lr)+"s";return e+"ms"}function JA(e){var t=Math.abs(e);if(t>=tr)return eo(e,t,tr,"day");if(t>=Dr)return eo(e,t,Dr,"hour");if(t>=qr)return eo(e,t,qr,"minute");if(t>=Lr)return eo(e,t,Lr,"second");return e+" ms"}function eo(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var Da=y(function(Yq,_f){function WA(e){r.debug=r,r.default=r,r.coerce=c,r.disable=s,r.enable=i,r.enabled=a,r.humanize=qa(),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,g;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(f!==null)return f;if(m!==r.namespaces)m=r.namespaces,g=r.enabled(u);return g},set:(v)=>{f=v}}),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,g=-1,x=0;while(f<u.length)if(m<l.length&&(l[m]===u[f]||l[m]==="*"))if(l[m]==="*")g=m,x=f,m++;else f++,m++;else if(g!==-1)m=g+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}_f.exports=WA});var kf=y(function(qe,to){qe.formatArgs=MA;qe.save=GA;qe.load=VA;qe.useColors=zA;qe.storage=XA();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 MA(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+to.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 GA(e){try{if(e)qe.storage.setItem("debug",e);else qe.storage.removeItem("debug")}catch(t){}}function VA(){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 XA(){try{return localStorage}catch(e){}}to.exports=Da()(qe);var{formatters:YA}=to.exports;YA.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Cf={};Ar(Cf,{createSupportsColor:()=>Fa,default:()=>rR});function We(e,t=globalThis.Deno?globalThis.Deno.args:no.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 ZA(){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 QA(e){if(e===0)return!1;return{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function eR(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=ZA();if(n!==void 0)ro=n;let i=r?ro: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(no.default.platform==="win32"){let s=Of.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 Fa(e,t={}){let r=eR(e,{streamIsTTY:e&&e.isTTY,...t});return QA(r)}var no,Of,Ua,ie,ro,tR,rR;var Pf=j(()=>{no=pe(require("node:process")),Of=pe(require("node:os")),Ua=pe(require("node:tty"));({env:ie}=no.default);if(We("no-color")||We("no-colors")||We("color=false")||We("color=never"))ro=0;else if(We("color")||We("colors")||We("color=true")||We("color=always"))ro=1;tR={stdout:Fa({isTTY:Ua.default.isatty(1)}),stderr:Fa({isTTY:Ua.default.isatty(2)})},rR=tR});var jf=y(function(Se,oo){var nR=require("tty"),io=require("util");Se.init=uR;Se.log=aR;Se.formatArgs=oR;Se.save=cR;Se.load=pR;Se.useColors=iR;Se.destroy=io.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=(Pf(),qi(Cf));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 iR(){return"colors"in Se.inspectOpts?Boolean(Se.inspectOpts.colors):nR.isatty(process.stderr.fd)}function oR(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 Ki=fl(),US=require("path").extname,ml=/^\s*([^;\s]*)(?:;|\s|$)/,FS=/^text\//i;Ne.charset=hl;Ne.charsets={lookup:hl};Ne.contentType=$S;Ne.extension=BS;Ne.extensions=Object.create(null);Ne.lookup=KS;Ne.types=Object.create(null);HS(Ne.extensions,Ne.types);function hl(e){if(!e||typeof e!=="string")return!1;var t=ml.exec(e),r=t&&Ki[t[1].toLowerCase()];if(r&&r.charset)return r.charset;if(t&&FS.test(t[1]))return"UTF-8";return!1}function $S(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 BS(e){if(!e||typeof e!=="string")return!1;var t=ml.exec(e),r=t&&Ne.extensions[t[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]}function KS(e){if(!e||typeof e!=="string")return!1;var t=US("x."+e).toLowerCase().substr(1);if(!t)return!1;return Ne.types[t]||!1}function HS(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 gl=y(function(n2,yl){yl.exports=JS;function JS(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 ia=y(function(i2,bl){var vl=gl();bl.exports=WS;function WS(e){var t=!1;return vl(function(){t=!0}),function(n,i){if(t)e(n,i);else vl(function(){e(n,i)})}}});var oa=y(function(o2,wl){wl.exports=zS;function zS(e){Object.keys(e.jobs).forEach(MS.bind(e)),e.jobs={}}function MS(e){if(typeof this.jobs[e]=="function")this.jobs[e]()}});var sa=y(function(s2,Sl){var El=ia(),GS=oa();Sl.exports=VS;function VS(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=XS(t,i,e[i],function(o,s){if(!(i in r.jobs))return;if(delete r.jobs[i],o)GS(r);else r.results[i]=s;n(o,r.results)})}function XS(e,t,r,n){var i;if(e.length==2)i=e(r,El(n));else i=e(r,t,El(n));return i}});var aa=y(function(a2,Al){Al.exports=YS;function YS(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 ca=y(function(c2,Rl){var ZS=oa(),QS=ia();Rl.exports=e0;function e0(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,ZS(this),QS(e)(null,this.results)}});var _l=y(function(p2,Tl){var t0=sa(),r0=aa(),n0=ca();Tl.exports=i0;function i0(e,t,r){var n=r0(e);while(n.index<(n.keyedList||e).length)t0(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 n0.bind(n,r)}});var pa=y(function(u2,Hi){var kl=sa(),o0=aa(),s0=ca();Hi.exports=a0;Hi.exports.ascending=Ol;Hi.exports.descending=c0;function a0(e,t,r,n){var i=o0(e,r);return kl(e,t,i,function o(s,a){if(s){n(s,a);return}if(i.index++,i.index<(i.keyedList||e).length){kl(e,t,i,o);return}n(null,i.results)}),s0.bind(i,n)}function Ol(e,t){return e<t?-1:e>t?1:0}function c0(e,t){return-1*Ol(e,t)}});var Pl=y(function(l2,Cl){var p0=pa();Cl.exports=u0;function u0(e,t,r){return p0(e,t,null,r)}});var jl=y(function(d2,Il){Il.exports={parallel:_l(),serial:Pl(),serialOrdered:pa()}});var ua=y(function(f2,Ll){Ll.exports=Object});var ql=y(function(m2,Nl){Nl.exports=Error});var Ul=y(function(h2,Dl){Dl.exports=EvalError});var $l=y(function(x2,Fl){Fl.exports=RangeError});var Kl=y(function(y2,Bl){Bl.exports=ReferenceError});var Jl=y(function(g2,Hl){Hl.exports=SyntaxError});var Ji=y(function(v2,Wl){Wl.exports=TypeError});var Ml=y(function(b2,zl){zl.exports=URIError});var Vl=y(function(w2,Gl){Gl.exports=Math.abs});var Yl=y(function(E2,Xl){Xl.exports=Math.floor});var Ql=y(function(S2,Zl){Zl.exports=Math.max});var td=y(function(A2,ed){ed.exports=Math.min});var nd=y(function(R2,rd){rd.exports=Math.pow});var od=y(function(T2,id){id.exports=Math.round});var ad=y(function(_2,sd){sd.exports=Number.isNaN||function(t){return t!==t}});var pd=y(function(k2,cd){var l0=ad();cd.exports=function(t){if(l0(t)||t===0)return t;return t<0?-1:1}});var ld=y(function(O2,ud){ud.exports=Object.getOwnPropertyDescriptor});var la=y(function(C2,dd){var Wi=ld();if(Wi)try{Wi([],"length")}catch(e){Wi=null}dd.exports=Wi});var md=y(function(P2,fd){var zi=Object.defineProperty||!1;if(zi)try{zi({},"a",{value:1})}catch(e){zi=!1}fd.exports=zi});var da=y(function(I2,hd){hd.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 gd=y(function(j2,yd){var xd=typeof Symbol<"u"&&Symbol,d0=da();yd.exports=function(){if(typeof xd!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof xd("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return d0()}});var fa=y(function(L2,vd){vd.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var ma=y(function(N2,bd){var f0=ua();bd.exports=f0.getPrototypeOf||null});var Sd=y(function(q2,Ed){var m0="Function.prototype.bind called on incompatible ",h0=Object.prototype.toString,x0=Math.max,y0="[object Function]",wd=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},g0=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},v0=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};Ed.exports=function(t){var r=this;if(typeof r!=="function"||h0.apply(r)!==y0)throw TypeError(m0+r);var n=g0(arguments,1),i,o=function(){if(this instanceof i){var u=r.apply(this,wd(n,arguments));if(Object(u)===u)return u;return this}return r.apply(t,wd(n,arguments))},s=x0(0,r.length-n.length),a=[];for(var c=0;c<s;c++)a[c]="$"+c;if(i=Function("binder","return function ("+v0(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=y(function(D2,Ad){var b0=Sd();Ad.exports=Function.prototype.bind||b0});var Mi=y(function(U2,Rd){Rd.exports=Function.prototype.call});var ha=y(function(F2,Td){Td.exports=Function.prototype.apply});var kd=y(function($2,_d){_d.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Cd=y(function(B2,Od){var w0=Ln(),E0=ha(),S0=Mi(),A0=kd();Od.exports=A0||w0.call(S0,E0)});var Id=y(function(K2,Pd){var R0=Ln(),T0=Ji(),_0=Mi(),k0=Cd();Pd.exports=function(t){if(t.length<1||typeof t[0]!=="function")throw new T0("a function is required");return k0(R0,_0,t)}});var Ud=y(function(H2,Dd){var O0=Id(),jd=la(),Nd;try{Nd=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var xa=!!Nd&&jd&&jd(Object.prototype,"__proto__"),qd=Object,Ld=qd.getPrototypeOf;Dd.exports=xa&&typeof xa.get==="function"?O0([xa.get]):typeof Ld==="function"?function(t){return Ld(t==null?t:qd(t))}:!1});var Hd=y(function(J2,Kd){var Fd=fa(),$d=ma(),Bd=Ud();Kd.exports=Fd?function(t){return Fd(t)}:$d?function(t){if(!t||typeof t!=="object"&&typeof t!=="function")throw TypeError("getProto: not an object");return $d(t)}:Bd?function(t){return Bd(t)}:null});var Gi=y(function(W2,Jd){var C0=Function.prototype.call,P0=Object.prototype.hasOwnProperty,I0=Ln();Jd.exports=I0.call(C0,P0)});var Xd=y(function(z2,Vd){var U,j0=ua(),L0=ql(),N0=Ul(),q0=$l(),D0=Kl(),Ir=Jl(),Pr=Ji(),U0=Ml(),F0=Vl(),$0=Yl(),B0=Ql(),K0=td(),H0=nd(),J0=od(),W0=pd(),Md=Function,ya=function(e){try{return Md('"use strict"; return ('+e+").constructor;")()}catch(t){}},Nn=la(),z0=md(),ga=function(){throw new Pr},M0=Nn?function(){try{return arguments.callee,ga}catch(e){try{return Nn(arguments,"callee").get}catch(t){return ga}}}():ga,Or=gd()(),Ee=Hd(),G0=ma(),V0=fa(),Gd=ha(),qn=Mi(),Cr={},X0=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%":L0,"%eval%":eval,"%EvalError%":N0,"%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%":Md,"%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%":j0,"%Object.getOwnPropertyDescriptor%":Nn,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":q0,"%ReferenceError%":D0,"%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%":M0,"%TypedArray%":X0,"%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%":U0,"%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%":Gd,"%Object.defineProperty%":z0,"%Object.getPrototypeOf%":G0,"%Math.abs%":F0,"%Math.floor%":$0,"%Math.max%":B0,"%Math.min%":K0,"%Math.pow%":H0,"%Math.round%":J0,"%Math.sign%":W0,"%Reflect.getPrototypeOf%":V0};if(Ee)try{null.error}catch(e){va=Ee(Ee(e)),Zt["%Error.prototype%"]=va}var va,Y0=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},Wd={__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(),Z0=Dn.call(qn,Array.prototype.concat),Q0=Dn.call(Gd,Array.prototype.splice),zd=Dn.call(qn,String.prototype.replace),Xi=Dn.call(qn,String.prototype.slice),eA=Dn.call(qn,RegExp.prototype.exec),tA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rA=/\\(\\)?/g,nA=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 zd(t,tA,function(o,s,a,c){i[i.length]=a?zd(c,rA,"$1"):s||o}),i},iA=function(t,r){var n=t,i;if(Vi(Wd,n))i=Wd[n],n="%"+i[0]+"%";if(Vi(Zt,n)){var o=Zt[n];if(o===Cr)o=Y0(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!")};Vd.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(eA(/^%?[^%]*%?$/,t)===null)throw new Ir("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=nA(t),i=n.length>0?n[0]:"",o=iA("%"+i+"%",r),s=o.name,a=o.value,c=!1,p=o.alias;if(p)i=p[0],Q0(n,Z0([0,1],p));for(var u=1,l=!0;u<n.length;u+=1){var f=n[u],m=Xi(f,0,1),g=Xi(f,-1);if((m==='"'||m==="'"||m==="`"||(g==='"'||g==="'"||g==="`"))&&m!==g)throw new Ir("property names with quotes must have matching quotes");if(f==="constructor"||!l)c=!0;if(i+="."+f,s="%"+i+"%",Vi(Zt,s))a=Zt[s];else if(a!=null){if(!(f 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,f);if(l=!!x,l&&"get"in x&&!("originalValue"in x.get))a=x.get;else a=a[f]}else l=Vi(a,f),a=a[f];if(l&&!c)Zt[s]=a}}return a}});var Zd=y(function(M2,Yd){var oA=da();Yd.exports=function(){return oA()&&!!Symbol.toStringTag}});var tf=y(function(G2,ef){var sA=Xd(),Qd=sA("%Object.defineProperty%",!0),aA=Zd()(),cA=Gi(),pA=Ji(),Yi=aA?Symbol.toStringTag:null;ef.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 pA("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Yi&&(n||!cA(t,Yi)))if(Qd)Qd(t,Yi,{configurable:!i,enumerable:!1,value:r,writable:!1});else t[Yi]=r}});var nf=y(function(V2,rf){rf.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var af=y(function(X2,sf){var Sa=ul(),uA=require("util"),ba=require("path"),lA=require("http"),dA=require("https"),fA=require("url").parse,mA=require("fs"),hA=require("stream").Stream,xA=require("crypto"),wa=xl(),yA=jl(),gA=tf(),Ot=Gi(),Ea=nf();function of(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=[],Sa.call(this),e=e||{};for(var t in e)this[t]=e[t]}uA.inherits(H,Sa);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=Sa.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 hA))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 mA.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="'+of(e)+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};if(typeof r.header==="object")Ea(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=ba.normalize(t.filepath).replace(/\\/g,"/");else if(t.filename||e&&(e.name||e.path))r=ba.basename(t.filename||e&&(e.name||e.path));else if(e&&e.readable&&Ot(e,"httpVersion"))r=ba.basename(e.client._httpMessage.path||"");if(r)return'filename="'+of(r)+'"'};H.prototype._getContentType=function(e,t){var r=t.contentType;if(!r&&e&&e.name)r=wa.lookup(e.name);if(!r&&e&&e.path)r=wa.lookup(e.path);if(!r&&e&&e.readable&&Ot(e,"httpVersion"))r=e.headers["content-type"];if(!r&&(t.filepath||t.filename))r=wa.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="--------------------------"+xA.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}yA.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=fA(e),n=Ea({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i);else if(n=Ea(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=lA.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]"};gA(H.prototype,"FormData");sf.exports=H});var Da=y(function(Xq,Tf){var Nr=1000,qr=Nr*60,Dr=qr*60,tr=Dr*24,$A=tr*7,BA=tr*365.25;Tf.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return KA(e);else if(r==="number"&&isFinite(e))return t.long?JA(e):HA(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function KA(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*BA;case"weeks":case"week":case"w":return r*$A;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 HA(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 JA(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 Ua=y(function(Yq,_f){function WA(e){r.debug=r,r.default=r,r.coerce=c,r.disable=s,r.enable=i,r.enabled=a,r.humanize=Da(),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,g;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(f!==null)return f;if(m!==r.namespaces)m=r.namespaces,g=r.enabled(u);return g},set:(v)=>{f=v}}),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,g=-1,x=0;while(f<u.length)if(m<l.length&&(l[m]===u[f]||l[m]==="*"))if(l[m]==="*")g=m,x=f,m++;else f++,m++;else if(g!==-1)m=g+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}_f.exports=WA});var kf=y(function(qe,ro){qe.formatArgs=MA;qe.save=GA;qe.load=VA;qe.useColors=zA;qe.storage=XA();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 MA(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 GA(e){try{if(e)qe.storage.setItem("debug",e);else qe.storage.removeItem("debug")}catch(t){}}function VA(){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 XA(){try{return localStorage}catch(e){}}ro.exports=Ua()(qe);var{formatters:YA}=ro.exports;YA.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Cf={};Ar(Cf,{createSupportsColor:()=>$a,default:()=>rR});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 ZA(){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 QA(e){if(e===0)return!1;return{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function eR(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=ZA();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=Of.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 $a(e,t={}){let r=eR(e,{streamIsTTY:e&&e.isTTY,...t});return QA(r)}var io,Of,Fa,ie,no,tR,rR;var Pf=j(()=>{io=pe(require("node:process")),Of=pe(require("node:os")),Fa=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;tR={stdout:$a({isTTY:Fa.default.isatty(1)}),stderr:$a({isTTY:Fa.default.isatty(2)})},rR=tR});var jf=y(function(Se,so){var nR=require("tty"),oo=require("util");Se.init=uR;Se.log=aR;Se.formatArgs=oR;Se.save=cR;Se.load=pR;Se.useColors=iR;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=(Pf(),Di(Cf));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 iR(){return"colors"in Se.inspectOpts?Boolean(Se.inspectOpts.colors):nR.isatty(process.stderr.fd)}function oR(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 cR(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function pR(){return process.env.DEBUG}function uR(e){e.inspectOpts={};let t=Object.keys(Se.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Se.inspectOpts[t[r]]}
|
|
16
|
-
`).map((t)=>t.trim()).join(" ")};If.O=function(e){return this.inspectOpts.colors=this.useColors,
|
|
17
|
-
`).some((t)=>t.indexOf("(https.js:")!==-1||t.indexOf("node:https:")!==-1)}function
|
|
14
|
+
`+o),e.push(i+"m+"+so.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=sR()+t+" "+e[0]}function sR(){if(Se.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function aR(...e){return process.stderr.write(oo.formatWithOptions(Se.inspectOpts,...e)+`
|
|
15
|
+
`)}function cR(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function pR(){return process.env.DEBUG}function uR(e){e.inspectOpts={};let t=Object.keys(Se.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Se.inspectOpts[t[r]]}so.exports=Ua()(Se);var{formatters:If}=so.exports;If.o=function(e){return this.inspectOpts.colors=this.useColors,oo.inspect(e,this.inspectOpts).split(`
|
|
16
|
+
`).map((t)=>t.trim()).join(" ")};If.O=function(e){return this.inspectOpts.colors=this.useColors,oo.inspect(e,this.inspectOpts)}});var It=y(function(Zq,Ba){if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Ba.exports=kf();else Ba.exports=jf()});var Lf=y(function(Ka){Object.defineProperty(Ka,"__esModule",{value:!0});function lR(e){return function(t,r){return new Promise((n,i)=>{e.call(this,t,r,(o,s)=>{if(o)i(o);else n(s)})})}}Ka.default=lR});var Df=y(function(Ja,qf){var Nf=Ja&&Ja.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},dR=require("events"),fR=Nf(It()),mR=Nf(Lf()),$n=fR.default("agent-base");function hR(e){return Boolean(e)&&typeof e.addRequest==="function"}function Ha(){let{stack:e}=Error();if(typeof e!=="string")return!1;return e.split(`
|
|
17
|
+
`).some((t)=>t.indexOf("(https.js:")!==-1||t.indexOf("node:https:")!==-1)}function ao(e,t){return new ao.Agent(e,t)}(function(e){class t extends dR.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 Ha()?443:80}set defaultPort(r){this.explicitDefaultPort=r}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return Ha()?"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=Ha();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(hR(f)){$n("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)$n("Converting legacy callback function to promise"),this.promisifiedCallback=mR.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof a==="number"&&a>0)s=setTimeout(p,a);if("port"in i&&typeof i.port!=="number")i.port=Number(i.port);try{$n("Resolving socket for %o request: %o",i.protocol,`${r.method} ${r.path}`),Promise.resolve(this.promisifiedCallback(r,i)).then(l,u)}catch(f){Promise.reject(f).catch(u)}}freeSocket(r,n){$n("Freeing socket %o %o",r.constructor.name,n),r.destroy()}destroy(){$n("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype})(ao||(ao={}));qf.exports=ao});var Uf=y(function(Kn){var xR=Kn&&Kn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Kn,"__esModule",{value:!0});var yR=xR(It()),Bn=yR.default("https-proxy-agent:parse-proxy-response");function gR(e){return new Promise((t,r)=>{let n=0,i=[];function o(){let l=e.read();if(l)u(l);else e.once("readable",o)}function s(){e.removeListener("end",c),e.removeListener("error",p),e.removeListener("close",a),e.removeListener("readable",o)}function a(l){Bn("onclose had error %o",l)}function c(){Bn("onend")}function p(l){s(),Bn("onerror %o",l),r(l)}function u(l){i.push(l),n+=l.length;let f=Buffer.concat(i,n);if(f.indexOf(`\r
|
|
18
18
|
\r
|
|
19
|
-
`)===-1){
|
|
20
|
-
`)),x=+g.split(" ")[1]
|
|
19
|
+
`)===-1){Bn("have not received end of HTTP headers yet..."),o();return}let g=f.toString("ascii",0,f.indexOf(`\r
|
|
20
|
+
`)),x=+g.split(" ")[1];Bn("got proxy server response: %o",g),t({statusCode:x,buffered:f})}e.on("error",p),e.on("close",a),e.on("end",c),o()})}Kn.default=gR});var Kf=y(function(rr){var vR=rr&&rr.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{p(n.next(u))}catch(l){s(l)}}function c(u){try{p(n.throw(u))}catch(l){s(l)}}function p(u){u.done?o(u.value):i(u.value).then(a,c)}p((n=n.apply(e,t||[])).next())})},Ur=rr&&rr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(rr,"__esModule",{value:!0});var Ff=Ur(require("net")),$f=Ur(require("tls")),bR=Ur(require("url")),wR=Ur(require("assert")),ER=Ur(It()),SR=Df(),AR=Ur(Uf()),Hn=ER.default("https-proxy-agent:agent");class Bf extends SR.Agent{constructor(e){let t;if(typeof e==="string")t=bR.default.parse(e);else t=e;if(!t)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");Hn("creating new HttpsProxyAgent instance: %o",t);super(t);let r=Object.assign({},t);if(this.secureProxy=t.secureProxy||_R(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 vR(this,void 0,void 0,function*(){let{proxy:r,secureProxy:n}=this,i;if(n)Hn("Creating `tls.Socket`: %o",r),i=$f.default.connect(r);else Hn("Creating `net.Socket`: %o",r),i=Ff.default.connect(r);let o=Object.assign({},r.headers),a=`CONNECT ${`${t.host}:${t.port}`} HTTP/1.1\r
|
|
21
21
|
`;if(r.auth)o["Proxy-Authorization"]=`Basic ${Buffer.from(r.auth).toString("base64")}`;let{host:c,port:p,secureEndpoint:u}=t;if(!TR(p,u))c+=`:${p}`;o.Host=c,o.Connection="close";for(let x of Object.keys(o))a+=`${x}: ${o[x]}\r
|
|
22
22
|
`;let l=AR.default(i);i.write(`${a}\r
|
|
23
|
-
`);let{statusCode:f,buffered:m}=yield l;if(f===200){if(e.once("socket",RR),t.secureEndpoint){Kn("Upgrading socket connection to TLS");let x=t.servername||t.host;return $f.default.connect(Object.assign(Object.assign({},kR(t,"host","hostname","path","port")),{socket:i,servername:x}))}return i}i.destroy();let g=new Ff.default.Socket({writable:!1});return g.readable=!0,e.once("socket",(x)=>{Kn("replaying proxy buffer for failed request"),wR.default(x.listenerCount("data")>0),x.push(m),x.push(null)}),g})}}rr.default=Bf;function RR(e){e.resume()}function TR(e,t){return Boolean(!t&&e===80||t&&e===443)}function _R(e){return typeof e==="string"?/^https:?$/i.test(e):!1}function kR(e,...t){let r={},n;for(n in e)if(!t.includes(n))r[n]=e[n];return r}});var Jf=y(function(za,Hf){var OR=za&&za.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Ja=OR(Kf());function Wa(e){return new Ja.default(e)}(function(e){e.HttpsProxyAgent=Ja.default,e.prototype=Ja.default.prototype})(Wa||(Wa={}));Hf.exports=Wa});var zf=y(function(rD,Wf){var Hn;Wf.exports=function(){if(!Hn){try{Hn=It()("follow-redirects")}catch(e){}if(typeof Hn!=="function")Hn=function(){}}Hn.apply(null,arguments)}});var Yf=y(function(nD,ic){var Wn=require("url"),Jn=Wn.URL,CR=require("http"),PR=require("https"),Ya=require("stream").Writable,Za=require("assert"),Mf=zf();(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 Qa=!1;try{Za(new Jn(""))}catch(e){Qa=e.code==="ERR_INVALID_URL"}var IR=["Authorization","Proxy-Authorization","Cookie"],jR=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],ec=["abort","aborted","connect","error","socket","timeout"],tc=Object.create(null);ec.forEach(function(e){tc[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var Ga=zn("ERR_INVALID_URL","Invalid URL",TypeError),Va=zn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),NR=zn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Va),LR=zn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),qR=zn("ERR_STREAM_WRITE_AFTER_END","write after end"),DR=Ya.prototype.destroy||Vf;function De(e,t){if(Ya.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 Va?i:new Va({cause:i}))}},this._headerFilter=new RegExp("^(?:"+IR.concat(e.sensitiveHeaders).map(HR).join("|")+")$","i"),this._performRequest()}De.prototype=Object.create(Ya.prototype);De.prototype.abort=function(){nc(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};De.prototype.destroy=function(e){return nc(this._currentRequest,e),DR.call(this,e),this};De.prototype.write=function(e,t,r){if(this._ending)throw new qR;if(!nr(e)&&!BR(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 LR),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(!$R(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 ec)n.on(i,tc[i]);if(this._currentUrl=/^\//.test(this._options.path)?Wn.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(nc(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new NR;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=[],Ma(/^content-/i,this._options.headers);var s=Ma(/^host$/i,this._options.headers),a=rc(this._currentUrl),c=s||a.host,p=/^\w+:/.test(r)?this._currentUrl:Wn.format(Object.assign(a,{host:c})),u=UR(r,p);if(Mf("redirecting to",u.href),this._isRedirect=!0,Xa(u,this._options),u.protocol!==a.protocol&&u.protocol!=="https:"||u.host!==c&&!FR(u.host,c))Ma(this._headerFilter,this._options.headers);if(ir(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 Gf(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(KR(p))p=Xa(p);else if(nr(p))p=Xa(rc(p));else l=u,u=Xf(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 Za.equal(u.protocol,i,"protocol mismatch"),Mf("options",u),new De(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 Vf(){}function rc(e){var t;if(Qa)t=new Jn(e);else if(t=Xf(Wn.parse(e)),!nr(t.protocol))throw new Ga({input:e});return t}function UR(e,t){return Qa?new Jn(e,t):rc(Wn.resolve(t,e))}function Xf(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Ga({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Ga({input:e.href||e});return e}function Xa(e,t){var r=t||{};for(var n of jR)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 Ma(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 zn(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 nc(e,t){for(var r of ec)e.removeListener(r,tc[r]);e.on("error",Vf),e.destroy(t)}function FR(e,t){Za(nr(e)&&nr(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function $R(e){return e instanceof Array}function nr(e){return typeof e==="string"||e instanceof String}function ir(e){return typeof e==="function"}function BR(e){return typeof e==="object"&&"length"in e}function KR(e){return Jn&&e instanceof Jn}function HR(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}ic.exports=Gf({http:CR,https:PR});ic.exports.wrap=Gf});var Br=y(function(Cc,dh){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var xo=require("buffer"),ft=xo.Buffer;function lh(e,t){for(var r in e)t[r]=e[r]}if(ft.from&&ft.alloc&&ft.allocUnsafe&&ft.allocUnsafeSlow)dh.exports=xo;else lh(xo,Cc),Cc.Buffer=sr;function sr(e,t,r){return ft(e,t,r)}sr.prototype=Object.create(ft.prototype);lh(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 xo.SlowBuffer(e)}});var Pc=y(function(i$,fh){var yo=Br().Buffer,n_=require("stream"),i_=require("util");function go(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+")")}i_.inherits(go,n_);go.prototype.write=function(t){this.buffer=yo.concat([this.buffer,yo.from(t)]),this.emit("data",t)};go.prototype.end=function(t){if(t)this.write(t);this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1};fh.exports=go});var hh=y(function(o$,mh){function Ic(e){var t=(e/8|0)+(e%8===0?0:1);return t}var o_={ES256:Ic(256),ES384:Ic(384),ES512:Ic(521)};function s_(e){var t=o_[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}mh.exports=s_});var Eh=y(function(s$,wh){var vo=Br().Buffer,yh=hh(),bo=128,gh=0,a_=32,c_=16,p_=2,vh=c_|a_|gh<<6,wo=p_|gh<<6;function u_(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function bh(e){if(vo.isBuffer(e))return e;else if(typeof e==="string")return vo.from(e,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function l_(e,t){e=bh(e);var r=yh(t),n=r+1,i=e.length,o=0;if(e[o++]!==vh)throw Error('Could not find expected "seq"');var s=e[o++];if(s===(bo|1))s=e[o++];if(i-o<s)throw Error('"seq" specified length of "'+s+'", only "'+(i-o)+'" remaining');if(e[o++]!==wo)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++]!==wo)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=vo.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 g=o;o<g+f;++o)m[o]=0;return e.copy(m,o,u+Math.max(-f,0),u+p),m=m.toString("base64"),m=u_(m),m}function xh(e,t,r){var n=0;while(t+n<r&&e[t+n]===0)++n;var i=e[t+n]>=bo;if(i)--n;return n}function d_(e,t){e=bh(e);var r=yh(t),n=e.length;if(n!==r*2)throw TypeError('"'+t+'" signatures must be "'+r*2+'" bytes, saw "'+n+'"');var i=xh(e,0,r),o=xh(e,r,e.length),s=r-i,a=r-o,c=2+s+1+1+a,p=c<bo,u=vo.allocUnsafe((p?2:3)+c),l=0;if(u[l++]=vh,p)u[l++]=c;else u[l++]=bo|1,u[l++]=c&255;if(u[l++]=wo,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++]=wo,u[l++]=a,o<0)u[l++]=0,e.copy(u,l,r);else e.copy(u,l,r+o);return u}wh.exports={derToJose:l_,joseToDer:d_}});var Ah=y(function(a$,Sh){var ei=require("buffer").Buffer,jc=require("buffer").SlowBuffer;Sh.exports=Eo;function Eo(e,t){if(!ei.isBuffer(e)||!ei.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}Eo.install=function(){ei.prototype.equal=jc.prototype.equal=function(t){return Eo(this,t)}};var f_=ei.prototype.equal,m_=jc.prototype.equal;Eo.restore=function(){ei.prototype.equal=f_,jc.prototype.equal=m_}});var Dc=y(function(c$,jh){var Hr=Br().Buffer,Me=require("crypto"),Th=Eh(),Rh=require("util"),h_=`"%s" is not a valid algorithm.
|
|
23
|
+
`);let{statusCode:f,buffered:m}=yield l;if(f===200){if(e.once("socket",RR),t.secureEndpoint){Hn("Upgrading socket connection to TLS");let x=t.servername||t.host;return $f.default.connect(Object.assign(Object.assign({},kR(t,"host","hostname","path","port")),{socket:i,servername:x}))}return i}i.destroy();let g=new Ff.default.Socket({writable:!1});return g.readable=!0,e.once("socket",(x)=>{Hn("replaying proxy buffer for failed request"),wR.default(x.listenerCount("data")>0),x.push(m),x.push(null)}),g})}}rr.default=Bf;function RR(e){e.resume()}function TR(e,t){return Boolean(!t&&e===80||t&&e===443)}function _R(e){return typeof e==="string"?/^https:?$/i.test(e):!1}function kR(e,...t){let r={},n;for(n in e)if(!t.includes(n))r[n]=e[n];return r}});var Jf=y(function(Ma,Hf){var OR=Ma&&Ma.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Wa=OR(Kf());function za(e){return new Wa.default(e)}(function(e){e.HttpsProxyAgent=Wa.default,e.prototype=Wa.default.prototype})(za||(za={}));Hf.exports=za});var zf=y(function(rD,Wf){var Jn;Wf.exports=function(){if(!Jn){try{Jn=It()("follow-redirects")}catch(e){}if(typeof Jn!=="function")Jn=function(){}}Jn.apply(null,arguments)}});var Yf=y(function(nD,oc){var zn=require("url"),Wn=zn.URL,CR=require("http"),PR=require("https"),Za=require("stream").Writable,Qa=require("assert"),Mf=zf();(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 ec=!1;try{Qa(new Wn(""))}catch(e){ec=e.code==="ERR_INVALID_URL"}var IR=["Authorization","Proxy-Authorization","Cookie"],jR=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],tc=["abort","aborted","connect","error","socket","timeout"],rc=Object.create(null);tc.forEach(function(e){rc[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var Va=Mn("ERR_INVALID_URL","Invalid URL",TypeError),Xa=Mn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),LR=Mn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Xa),NR=Mn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),qR=Mn("ERR_STREAM_WRITE_AFTER_END","write after end"),DR=Za.prototype.destroy||Vf;function De(e,t){if(Za.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 Xa?i:new Xa({cause:i}))}},this._headerFilter=new RegExp("^(?:"+IR.concat(e.sensitiveHeaders).map(HR).join("|")+")$","i"),this._performRequest()}De.prototype=Object.create(Za.prototype);De.prototype.abort=function(){ic(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};De.prototype.destroy=function(e){return ic(this._currentRequest,e),DR.call(this,e),this};De.prototype.write=function(e,t,r){if(this._ending)throw new qR;if(!nr(e)&&!BR(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 NR),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(!$R(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 tc)n.on(i,rc[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(ic(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new LR;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=[],Ga(/^content-/i,this._options.headers);var s=Ga(/^host$/i,this._options.headers),a=nc(this._currentUrl),c=s||a.host,p=/^\w+:/.test(r)?this._currentUrl:zn.format(Object.assign(a,{host:c})),u=UR(r,p);if(Mf("redirecting to",u.href),this._isRedirect=!0,Ya(u,this._options),u.protocol!==a.protocol&&u.protocol!=="https:"||u.host!==c&&!FR(u.host,c))Ga(this._headerFilter,this._options.headers);if(ir(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 Gf(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(KR(p))p=Ya(p);else if(nr(p))p=Ya(nc(p));else l=u,u=Xf(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 Qa.equal(u.protocol,i,"protocol mismatch"),Mf("options",u),new De(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 Vf(){}function nc(e){var t;if(ec)t=new Wn(e);else if(t=Xf(zn.parse(e)),!nr(t.protocol))throw new Va({input:e});return t}function UR(e,t){return ec?new Wn(e,t):nc(zn.resolve(t,e))}function Xf(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Va({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Va({input:e.href||e});return e}function Ya(e,t){var r=t||{};for(var n of jR)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 Ga(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 ic(e,t){for(var r of tc)e.removeListener(r,rc[r]);e.on("error",Vf),e.destroy(t)}function FR(e,t){Qa(nr(e)&&nr(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function $R(e){return e instanceof Array}function nr(e){return typeof e==="string"||e instanceof String}function ir(e){return typeof e==="function"}function BR(e){return typeof e==="object"&&"length"in e}function KR(e){return Wn&&e instanceof Wn}function HR(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}oc.exports=Gf({http:CR,https:PR});oc.exports.wrap=Gf});var Kr=y(function(Cc,dh){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var yo=require("buffer"),ft=yo.Buffer;function lh(e,t){for(var r in e)t[r]=e[r]}if(ft.from&&ft.alloc&&ft.allocUnsafe&&ft.allocUnsafeSlow)dh.exports=yo;else lh(yo,Cc),Cc.Buffer=sr;function sr(e,t,r){return ft(e,t,r)}sr.prototype=Object.create(ft.prototype);lh(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 yo.SlowBuffer(e)}});var Pc=y(function(i$,fh){var go=Kr().Buffer,n_=require("stream"),i_=require("util");function vo(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=go.alloc(0),this;if(typeof e.pipe==="function")return this.buffer=go.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+")")}i_.inherits(vo,n_);vo.prototype.write=function(t){this.buffer=go.concat([this.buffer,go.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};fh.exports=vo});var hh=y(function(o$,mh){function Ic(e){var t=(e/8|0)+(e%8===0?0:1);return t}var o_={ES256:Ic(256),ES384:Ic(384),ES512:Ic(521)};function s_(e){var t=o_[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}mh.exports=s_});var Eh=y(function(s$,wh){var bo=Kr().Buffer,yh=hh(),wo=128,gh=0,a_=32,c_=16,p_=2,vh=c_|a_|gh<<6,Eo=p_|gh<<6;function u_(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function bh(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 l_(e,t){e=bh(e);var r=yh(t),n=r+1,i=e.length,o=0;if(e[o++]!==vh)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,f=r-p,m=bo.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 g=o;o<g+f;++o)m[o]=0;return e.copy(m,o,u+Math.max(-f,0),u+p),m=m.toString("base64"),m=u_(m),m}function xh(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 d_(e,t){e=bh(e);var r=yh(t),n=e.length;if(n!==r*2)throw TypeError('"'+t+'" signatures must be "'+r*2+'" bytes, saw "'+n+'"');var i=xh(e,0,r),o=xh(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++]=vh,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}wh.exports={derToJose:l_,joseToDer:d_}});var Ah=y(function(a$,Sh){var ti=require("buffer").Buffer,jc=require("buffer").SlowBuffer;Sh.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=jc.prototype.equal=function(t){return So(this,t)}};var f_=ti.prototype.equal,m_=jc.prototype.equal;So.restore=function(){ti.prototype.equal=f_,jc.prototype.equal=m_}});var Dc=y(function(c$,jh){var Jr=Kr().Buffer,Me=require("crypto"),Th=Eh(),Rh=require("util"),h_=`"%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".`,ti="secret must be a string or buffer",Kr="key must be a string or a buffer",x_="key must be a string, a buffer or an object",Lc=typeof Me.createPublicKey==="function";if(Lc)Kr+=" or a KeyObject",ti+="or a KeyObject";function _h(e){if(Hr.isBuffer(e))return;if(typeof e==="string")return;if(!Lc)throw nt(Kr);if(typeof e!=="object")throw nt(Kr);if(typeof e.type!=="string")throw nt(Kr);if(typeof e.asymmetricKeyType!=="string")throw nt(Kr);if(typeof e.export!=="function")throw nt(Kr)}function kh(e){if(Hr.isBuffer(e))return;if(typeof e==="string")return;if(typeof e==="object")return;throw nt(x_)}function y_(e){if(Hr.isBuffer(e))return;if(typeof e==="string")return e;if(!Lc)throw nt(ti);if(typeof e!=="object")throw nt(ti);if(e.type!=="secret")throw nt(ti);if(typeof e.export!=="function")throw nt(ti)}function qc(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Oh(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=Rh.format.bind(Rh,e).apply(null,t);return TypeError(r)}function g_(e){return Hr.isBuffer(e)||typeof e==="string"}function ri(e){if(!g_(e))e=JSON.stringify(e);return e}function Ch(e){return function(r,n){y_(n),r=ri(r);var i=Me.createHmac("sha"+e,n),o=(i.update(r),i.digest("base64"));return qc(o)}}var Nc,v_="timingSafeEqual"in Me?function(t,r){if(t.byteLength!==r.byteLength)return!1;return Me.timingSafeEqual(t,r)}:function(t,r){if(!Nc)Nc=Ah();return Nc(t,r)};function b_(e){return function(r,n,i){var o=Ch(e)(r,i);return v_(Hr.from(n),Hr.from(o))}}function Ph(e){return function(r,n){kh(n),r=ri(r);var i=Me.createSign("RSA-SHA"+e),o=(i.update(r),i.sign(n,"base64"));return qc(o)}}function Ih(e){return function(r,n,i){_h(i),r=ri(r),n=Oh(n);var o=Me.createVerify("RSA-SHA"+e);return o.update(r),o.verify(i,n,"base64")}}function w_(e){return function(r,n){kh(n),r=ri(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 qc(o)}}function E_(e){return function(r,n,i){_h(i),r=ri(r),n=Oh(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 S_(e){var t=Ph(e);return function(){var n=t.apply(null,arguments);return n=Th.derToJose(n,"ES"+e),n}}function A_(e){var t=Ih(e);return function(n,i,o){i=Th.joseToDer(i,"ES"+e).toString("base64");var s=t(n,i,o);return s}}function R_(){return function(){return""}}function T_(){return function(t,r){return r===""}}jh.exports=function(t){var r={hs:Ch,rs:Ph,ps:w_,es:S_,none:R_},n={hs:b_,rs:Ih,ps:E_,es:A_,none:T_},i=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!i)throw nt(h_,t);var o=(i[1]||i[3]).toLowerCase(),s=i[2];return{sign:r[o](s),verify:n[o](s)}}});var Uc=y(function(p$,Nh){var __=require("buffer").Buffer;Nh.exports=function(t){if(typeof t==="string")return t;if(typeof t==="number"||__.isBuffer(t))return t.toString();return JSON.stringify(t)}});var $h=y(function(u$,Fh){var k_=Br().Buffer,Lh=Pc(),O_=Dc(),C_=require("stream"),qh=Uc(),Fc=require("util");function Dh(e,t){return k_.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function P_(e,t,r){r=r||"utf8";var n=Dh(qh(e),"binary"),i=Dh(qh(t),r);return Fc.format("%s.%s",n,i)}function Uh(e){var{header:t,payload:r}=e,n=e.secret||e.privateKey,i=e.encoding,o=O_(t.alg),s=P_(t,r,i),a=o.sign(s,n);return Fc.format("%s.%s",s,a)}function So(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 Lh(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=r,this.payload=new Lh(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))}Fc.inherits(So,C_);So.prototype.sign=function(){try{var t=Uh({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")}};So.sign=Uh;Fh.exports=So});var Xh=y(function(l$,Vh){var Kh=Br().Buffer,Bh=Pc(),I_=Dc(),j_=require("stream"),Hh=Uc(),N_=require("util"),L_=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function q_(e){return Object.prototype.toString.call(e)==="[object Object]"}function D_(e){if(q_(e))return e;try{return JSON.parse(e)}catch(t){return}}function Jh(e){var t=e.split(".",1)[0];return D_(Kh.from(t,"base64").toString("binary"))}function U_(e){return e.split(".",2).join(".")}function Wh(e){return e.split(".")[2]}function F_(e,t){t=t||"utf8";var r=e.split(".")[1];return Kh.from(r,"base64").toString(t)}function zh(e){return L_.test(e)&&!!Jh(e)}function Mh(e,t,r){if(!t){var n=Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}e=Hh(e);var i=Wh(e),o=U_(e),s=I_(t);return s.verify(o,i,r)}function Gh(e,t){if(t=t||{},e=Hh(e),!zh(e))return null;var r=Jh(e);if(!r)return null;var n=F_(e);if(r.typ==="JWT"||t.json)n=JSON.parse(n,t.encoding);return{header:r,payload:n,signature:Wh(e)}}function Jr(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 Bh(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=r,this.signature=new Bh(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))}N_.inherits(Jr,j_);Jr.prototype.verify=function(){try{var t=Mh(this.signature.buffer,this.algorithm,this.key.buffer),r=Gh(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")}};Jr.decode=Gh;Jr.isValid=zh;Jr.verify=Mh;Vh.exports=Jr});var Ro=y(function(jt){var Yh=$h(),Ao=Xh(),$_=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];jt.ALGORITHMS=$_;jt.sign=Yh.sign;jt.verify=Ao.verify;jt.decode=Ao.decode;jt.isValid=Ao.isValid;jt.createSign=function(t){return new Yh(t)};jt.createVerify=function(t){return new Ao(t)}});var $c=y(function(f$,Zh){var B_=Ro();Zh.exports=function(e,t){t=t||{};var r=B_.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 ni=y(function(m$,Qh){var To=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};To.prototype=Object.create(Error.prototype);To.prototype.constructor=To;Qh.exports=To});var Bc=y(function(h$,tx){var ex=ni(),_o=function(e,t){ex.call(this,e),this.name="NotBeforeError",this.date=t};_o.prototype=Object.create(ex.prototype);_o.prototype.constructor=_o;tx.exports=_o});var Kc=y(function(x$,nx){var rx=ni(),ko=function(e,t){rx.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};ko.prototype=Object.create(rx.prototype);ko.prototype.constructor=ko;nx.exports=ko});var Hc=y(function(y$,ix){var K_=qa();ix.exports=function(e,t){var r=t||Math.floor(Date.now()/1000);if(typeof e==="string"){var n=K_(e);if(typeof n>"u")return;return Math.floor(r+n/1000)}else if(typeof e==="number")return r+e;else return}});var Wr=y(function(g$,ox){var H_=Number.MAX_SAFE_INTEGER||9007199254740991,J_=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ox.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:H_,RELEASE_TYPES:J_,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ii=y(function(v$,sx){var W_=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};sx.exports=W_});var zr=y(function(mt,ax){var{MAX_SAFE_COMPONENT_LENGTH:Jc,MAX_SAFE_BUILD_LENGTH:z_,MAX_LENGTH:M_}=Wr(),G_=ii();mt=ax.exports={};var V_=mt.re=[],X_=mt.safeRe=[],T=mt.src=[],Y_=mt.safeSrc=[],_=mt.t={},Z_=0,Wc="[a-zA-Z0-9-]",Q_=[["\\s",1],["\\d",M_],[Wc,z_]],ek=(e)=>{for(let[t,r]of Q_)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},L=(e,t,r)=>{let n=ek(t),i=Z_++;G_(e,i,t),_[e]=i,T[i]=t,Y_[i]=n,V_[i]=new RegExp(t,r?"g":void 0),X_[i]=new RegExp(n,r?"g":void 0)};L("NUMERICIDENTIFIER","0|[1-9]\\d*");L("NUMERICIDENTIFIERLOOSE","\\d+");L("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Wc}*`);L("MAINVERSION",`(${T[_.NUMERICIDENTIFIER]})\\.(${T[_.NUMERICIDENTIFIER]})\\.(${T[_.NUMERICIDENTIFIER]})`);L("MAINVERSIONLOOSE",`(${T[_.NUMERICIDENTIFIERLOOSE]})\\.(${T[_.NUMERICIDENTIFIERLOOSE]})\\.(${T[_.NUMERICIDENTIFIERLOOSE]})`);L("PRERELEASEIDENTIFIER",`(?:${T[_.NONNUMERICIDENTIFIER]}|${T[_.NUMERICIDENTIFIER]})`);L("PRERELEASEIDENTIFIERLOOSE",`(?:${T[_.NONNUMERICIDENTIFIER]}|${T[_.NUMERICIDENTIFIERLOOSE]})`);L("PRERELEASE",`(?:-(${T[_.PRERELEASEIDENTIFIER]}(?:\\.${T[_.PRERELEASEIDENTIFIER]})*))`);L("PRERELEASELOOSE",`(?:-?(${T[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[_.PRERELEASEIDENTIFIERLOOSE]})*))`);L("BUILDIDENTIFIER",`${Wc}+`);L("BUILD",`(?:\\+(${T[_.BUILDIDENTIFIER]}(?:\\.${T[_.BUILDIDENTIFIER]})*))`);L("FULLPLAIN",`v?${T[_.MAINVERSION]}${T[_.PRERELEASE]}?${T[_.BUILD]}?`);L("FULL",`^${T[_.FULLPLAIN]}$`);L("LOOSEPLAIN",`[v=\\s]*${T[_.MAINVERSIONLOOSE]}${T[_.PRERELEASELOOSE]}?${T[_.BUILD]}?`);L("LOOSE",`^${T[_.LOOSEPLAIN]}$`);L("GTLT","((?:<|>)?=?)");L("XRANGEIDENTIFIERLOOSE",`${T[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);L("XRANGEIDENTIFIER",`${T[_.NUMERICIDENTIFIER]}|x|X|\\*`);L("XRANGEPLAIN",`[v=\\s]*(${T[_.XRANGEIDENTIFIER]})(?:\\.(${T[_.XRANGEIDENTIFIER]})(?:\\.(${T[_.XRANGEIDENTIFIER]})(?:${T[_.PRERELEASE]})?${T[_.BUILD]}?)?)?`);L("XRANGEPLAINLOOSE",`[v=\\s]*(${T[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[_.XRANGEIDENTIFIERLOOSE]})(?:${T[_.PRERELEASELOOSE]})?${T[_.BUILD]}?)?)?`);L("XRANGE",`^${T[_.GTLT]}\\s*${T[_.XRANGEPLAIN]}$`);L("XRANGELOOSE",`^${T[_.GTLT]}\\s*${T[_.XRANGEPLAINLOOSE]}$`);L("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Jc}})(?:\\.(\\d{1,${Jc}}))?(?:\\.(\\d{1,${Jc}}))?`);L("COERCE",`${T[_.COERCEPLAIN]}(?:$|[^\\d])`);L("COERCEFULL",T[_.COERCEPLAIN]+`(?:${T[_.PRERELEASE]})?(?:${T[_.BUILD]})?(?:$|[^\\d])`);L("COERCERTL",T[_.COERCE],!0);L("COERCERTLFULL",T[_.COERCEFULL],!0);L("LONETILDE","(?:~>?)");L("TILDETRIM",`(\\s*)${T[_.LONETILDE]}\\s+`,!0);mt.tildeTrimReplace="$1~";L("TILDE",`^${T[_.LONETILDE]}${T[_.XRANGEPLAIN]}$`);L("TILDELOOSE",`^${T[_.LONETILDE]}${T[_.XRANGEPLAINLOOSE]}$`);L("LONECARET","(?:\\^)");L("CARETTRIM",`(\\s*)${T[_.LONECARET]}\\s+`,!0);mt.caretTrimReplace="$1^";L("CARET",`^${T[_.LONECARET]}${T[_.XRANGEPLAIN]}$`);L("CARETLOOSE",`^${T[_.LONECARET]}${T[_.XRANGEPLAINLOOSE]}$`);L("COMPARATORLOOSE",`^${T[_.GTLT]}\\s*(${T[_.LOOSEPLAIN]})$|^$`);L("COMPARATOR",`^${T[_.GTLT]}\\s*(${T[_.FULLPLAIN]})$|^$`);L("COMPARATORTRIM",`(\\s*)${T[_.GTLT]}\\s*(${T[_.LOOSEPLAIN]}|${T[_.XRANGEPLAIN]})`,!0);mt.comparatorTrimReplace="$1$2$3";L("HYPHENRANGE",`^\\s*(${T[_.XRANGEPLAIN]})\\s+-\\s+(${T[_.XRANGEPLAIN]})\\s*$`);L("HYPHENRANGELOOSE",`^\\s*(${T[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[_.XRANGEPLAINLOOSE]})\\s*$`);L("STAR","(<|>)?=?\\s*\\*");L("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");L("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Oo=y(function(b$,cx){var tk=Object.freeze({loose:!0}),rk=Object.freeze({}),nk=(e)=>{if(!e)return rk;if(typeof e!=="object")return tk;return e};cx.exports=nk});var zc=y(function(w$,lx){var px=/^[0-9]+$/,ux=(e,t)=>{if(typeof e==="number"&&typeof t==="number")return e===t?0:e<t?-1:1;let r=px.test(e),n=px.test(t);if(r&&n)e=+e,t=+t;return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},ik=(e,t)=>ux(t,e);lx.exports={compareIdentifiers:ux,rcompareIdentifiers:ik}});var _e=y(function(E$,fx){var Co=ii(),{MAX_LENGTH:dx,MAX_SAFE_INTEGER:Po}=Wr(),{safeRe:Io,t:jo}=zr(),ok=Oo(),{compareIdentifiers:Mc}=zc(),sk=(e,t)=>{let r=t.split(".");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(Mc(e[n],r[n])!==0)return!1;return!0};class it{constructor(e,t){if(t=ok(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>dx)throw TypeError(`version is longer than ${dx} characters`);Co("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?Io[jo.LOOSE]:Io[jo.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>Po||this.major<0)throw TypeError("Invalid major version");if(this.minor>Po||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>Po||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<Po)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(Co("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(Co("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 Mc(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(Co("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 Mc(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?Io[jo.PRERELEASELOOSE]:Io[jo.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(sk(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}}fx.exports=it});var Nt=y(function(S$,hx){var mx=_e(),ak=(e,t,r=!1)=>{if(e instanceof mx)return e;try{return new mx(e,t)}catch(n){if(!r)return null;throw n}};hx.exports=ak});var yx=y(function(A$,xx){var ck=Nt(),pk=(e,t)=>{let r=ck(e,t);return r?r.version:null};xx.exports=pk});var vx=y(function(R$,gx){var uk=Nt(),lk=(e,t)=>{let r=uk(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};gx.exports=lk});var Ex=y(function(T$,wx){var bx=_e(),dk=(e,t,r,n,i)=>{if(typeof r==="string")i=n,n=r,r=void 0;try{return new bx(e instanceof bx?e.version:e,r).inc(t,n,i).version}catch(o){return null}};wx.exports=dk});var Rx=y(function(_$,Ax){var Sx=Nt(),fk=(e,t)=>{let r=Sx(e,null,!0),n=Sx(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"};Ax.exports=fk});var _x=y(function(k$,Tx){var mk=_e(),hk=(e,t)=>new mk(e,t).major;Tx.exports=hk});var Ox=y(function(O$,kx){var xk=_e(),yk=(e,t)=>new xk(e,t).minor;kx.exports=yk});var Px=y(function(C$,Cx){var gk=_e(),vk=(e,t)=>new gk(e,t).patch;Cx.exports=vk});var jx=y(function(P$,Ix){var bk=Nt(),wk=(e,t)=>{let r=bk(e,t);return r&&r.prerelease.length?r.prerelease:null};Ix.exports=wk});var Ge=y(function(I$,Lx){var Nx=_e(),Ek=(e,t,r)=>new Nx(e,r).compare(new Nx(t,r));Lx.exports=Ek});var Dx=y(function(j$,qx){var Sk=Ge(),Ak=(e,t,r)=>Sk(t,e,r);qx.exports=Ak});var Fx=y(function(N$,Ux){var Rk=Ge(),Tk=(e,t)=>Rk(e,t,!0);Ux.exports=Tk});var No=y(function(L$,Bx){var $x=_e(),_k=(e,t,r)=>{let n=new $x(e,r),i=new $x(t,r);return n.compare(i)||n.compareBuild(i)};Bx.exports=_k});var Hx=y(function(q$,Kx){var kk=No(),Ok=(e,t)=>e.sort((r,n)=>kk(r,n,t));Kx.exports=Ok});var Wx=y(function(D$,Jx){var Ck=No(),Pk=(e,t)=>e.sort((r,n)=>Ck(n,r,t));Jx.exports=Pk});var oi=y(function(U$,zx){var Ik=Ge(),jk=(e,t,r)=>Ik(e,t,r)>0;zx.exports=jk});var Lo=y(function(F$,Mx){var Nk=Ge(),Lk=(e,t,r)=>Nk(e,t,r)<0;Mx.exports=Lk});var Gc=y(function($$,Gx){var qk=Ge(),Dk=(e,t,r)=>qk(e,t,r)===0;Gx.exports=Dk});var Vc=y(function(B$,Vx){var Uk=Ge(),Fk=(e,t,r)=>Uk(e,t,r)!==0;Vx.exports=Fk});var qo=y(function(K$,Xx){var $k=Ge(),Bk=(e,t,r)=>$k(e,t,r)>=0;Xx.exports=Bk});var Do=y(function(H$,Yx){var Kk=Ge(),Hk=(e,t,r)=>Kk(e,t,r)<=0;Yx.exports=Hk});var Xc=y(function(J$,Zx){var Jk=Gc(),Wk=Vc(),zk=oi(),Mk=qo(),Gk=Lo(),Vk=Do(),Xk=(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 Jk(e,r,n);case"!=":return Wk(e,r,n);case">":return zk(e,r,n);case">=":return Mk(e,r,n);case"<":return Gk(e,r,n);case"<=":return Vk(e,r,n);default:throw TypeError(`Invalid operator: ${t}`)}};Zx.exports=Xk});var ey=y(function(W$,Qx){var Yk=_e(),Zk=Nt(),{safeRe:Uo,t:Fo}=zr(),Qk=(e,t)=>{if(e instanceof Yk)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?Uo[Fo.COERCEFULL]:Uo[Fo.COERCE]);else{let c=t.includePrerelease?Uo[Fo.COERCERTLFULL]:Uo[Fo.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 Zk(`${n}.${i}.${o}${s}${a}`,t)};Qx.exports=Qk});var ry=y(function(z$,ty){var eO=Nt(),tO=Wr(),rO=_e(),nO=(e,t,r)=>{if(!tO.RELEASE_TYPES.includes(t))return null;let n=iO(e,r);return n&&oO(n,t)},iO=(e,t)=>{let r=e instanceof rO?e.version:e;return eO(r,t)},oO=(e,t)=>{if(sO(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()},sO=(e)=>e.startsWith("pre");ty.exports=nO});var oy=y(function(M$,iy){class ny{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}}iy.exports=ny});var Ve=y(function(G$,py){var aO=/\s+/g;class si{constructor(e,t){if(t=pO(t),e instanceof si)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else return new si(e.raw,t);if(e instanceof Yc)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(aO," "),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)=>!ay(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&&gO(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(yO,"");let r=((this.options.includePrerelease&&hO)|(this.options.loose&&xO))+":"+e,n=sy.get(r);if(n)return n;let i=this.options.loose,o=i?Ie[ke.HYPHENRANGELOOSE]:Ie[ke.HYPHENRANGE];e=e.replace(o,OO(this.options.includePrerelease)),re("hyphen replace",e),e=e.replace(Ie[ke.COMPARATORTRIM],dO),re("comparator trim",e),e=e.replace(Ie[ke.TILDETRIM],fO),re("tilde trim",e),e=e.replace(Ie[ke.CARETTRIM],mO),re("caret trim",e);let s=e.split(" ").map((u)=>vO(u,this.options)).join(" ").split(/\s+/).map((u)=>kO(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 Yc(u,this.options));for(let u of c){if(ay(u))return[u];a.set(u.value,u)}if(a.size>1&&a.has(""))a.delete("");let p=[...a.values()];return sy.set(r,p),p}intersects(e,t){if(!(e instanceof si))throw TypeError("a Range is required");return this.set.some((r)=>cy(r,t)&&e.set.some((n)=>cy(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 uO(e,this.options)}catch(t){return!1}for(let t=0;t<this.set.length;t++)if(CO(this.set[t],e,this.options))return!0;return!1}}py.exports=si;var cO=oy(),sy=new cO,pO=Oo(),Yc=ai(),re=ii(),uO=_e(),{safeRe:Ie,src:lO,t:ke,comparatorTrimReplace:dO,tildeTrimReplace:fO,caretTrimReplace:mO}=zr(),{FLAG_INCLUDE_PRERELEASE:hO,FLAG_LOOSE:xO}=Wr(),yO=new RegExp(lO[ke.BUILD],"g"),ay=(e)=>e.value==="<0.0.0-0",gO=(e)=>e.value==="",cy=(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},vO=(e,t)=>(e=e.replace(Ie[ke.BUILD],""),re("comp",e,t),e=SO(e,t),re("caret",e),e=wO(e,t),re("tildes",e),e=RO(e,t),re("xrange",e),e=_O(e,t),re("stars",e),e),ge=(e)=>!e||e.toLowerCase()==="x"||e==="*",bO=(e,t,r)=>ge(e)&&!ge(t)||ge(t)&&r&&!ge(r),wO=(e,t)=>e.trim().split(/\s+/).map((r)=>EO(r,t)).join(" "),EO=(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(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)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})},SO=(e,t)=>e.trim().split(/\s+/).map((r)=>AO(r,t)).join(" "),AO=(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(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(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})},RO=(e,t)=>(re("replaceXRanges",e,t),e.split(/\s+/).map((r)=>TO(r,t)).join(" ")),TO=(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),bO(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 re("xRange return",n),n})},_O=(e,t)=>(re("replaceStars",e,t),e.trim().replace(Ie[ke.STAR],"")),kO=(e,t)=>(re("replaceGTE0",e,t),e.trim().replace(Ie[t.includePrerelease?ke.GTE0PRE:ke.GTE0],"")),OO=(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()},CO=(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===Yc.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 ai=y(function(V$,hy){var ci=Symbol("SemVer ANY");class $o{static get ANY(){return ci}constructor(e,t){if(t=uy(t),e instanceof $o)if(e.loose===!!t.loose)return e;else e=e.value;if(e=e.trim().split(/\s+/).join(" "),Qc("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ci)this.value="";else this.value=this.operator+this.semver.version;Qc("comp",this)}parse(e){let t=this.options.loose?ly[dy.COMPARATORLOOSE]:ly[dy.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=ci;else this.semver=new fy(r[2],this.options.loose)}toString(){return this.value}test(e){if(Qc("Comparator.test",e,this.options.loose),this.semver===ci||e===ci)return!0;if(typeof e==="string")try{e=new fy(e,this.options)}catch(t){return!1}return Zc(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof $o))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new my(e.value,t).test(this.value)}else if(e.operator===""){if(e.value==="")return!0;return new my(this.value,t).test(e.semver)}if(t=uy(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(Zc(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))return!0;if(Zc(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))return!0;return!1}}hy.exports=$o;var uy=Oo(),{safeRe:ly,t:dy}=zr(),Zc=Xc(),Qc=ii(),fy=_e(),my=Ve()});var pi=y(function(X$,xy){var PO=Ve(),IO=(e,t,r)=>{try{t=new PO(t,r)}catch(n){return!1}return t.test(e)};xy.exports=IO});var gy=y(function(Y$,yy){var jO=Ve(),NO=(e,t)=>new jO(e,t).set.map((r)=>r.map((n)=>n.value).join(" ").trim().split(" "));yy.exports=NO});var by=y(function(Z$,vy){var LO=_e(),qO=Ve(),DO=(e,t,r)=>{let n=null,i=null,o=null;try{o=new qO(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===-1)n=s,i=new LO(n,r)}}),n};vy.exports=DO});var Ey=y(function(Q$,wy){var UO=_e(),FO=Ve(),$O=(e,t,r)=>{let n=null,i=null,o=null;try{o=new FO(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===1)n=s,i=new UO(n,r)}}),n};wy.exports=$O});var Ry=y(function(eB,Ay){var ep=_e(),BO=Ve(),Sy=oi(),KO=(e,t)=>{e=new BO(e,t);let r=new ep("0.0.0");if(e.test(r))return r;if(r=new ep("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 ep(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||Sy(a,o))o=a;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${s.operator}`)}}),o&&(!r||Sy(r,o)))r=o}if(r&&e.test(r))return r;return null};Ay.exports=KO});var _y=y(function(tB,Ty){var HO=Ve(),JO=(e,t)=>{try{return new HO(e,t).range||"*"}catch(r){return null}};Ty.exports=JO});var Bo=y(function(rB,Py){var WO=_e(),Cy=ai(),{ANY:zO}=Cy,MO=Ve(),GO=pi(),ky=oi(),Oy=Lo(),VO=Do(),XO=qo(),YO=(e,t,r,n)=>{e=new WO(e,n),t=new MO(t,n);let i,o,s,a,c;switch(r){case">":i=ky,o=VO,s=Oy,a=">",c=">=";break;case"<":i=Oy,o=XO,s=ky,a="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(GO(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===zO)m=new Cy(">=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};Py.exports=YO});var jy=y(function(nB,Iy){var ZO=Bo(),QO=(e,t,r)=>ZO(e,t,">",r);Iy.exports=QO});var Ly=y(function(iB,Ny){var eC=Bo(),tC=(e,t,r)=>eC(e,t,"<",r);Ny.exports=tC});var Uy=y(function(oB,Dy){var qy=Ve(),rC=(e,t,r)=>(e=new qy(e,r),t=new qy(t,r),e.intersects(t,r));Dy.exports=rC});var $y=y(function(sB,Fy){var nC=pi(),iC=Ge();Fy.exports=(e,t,r)=>{let n=[],i=null,o=null,s=e.sort((u,l)=>iC(u,l,r));for(let u of s)if(nC(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 zy=y(function(aB,Wy){var By=Ve(),np=ai(),{ANY:tp}=np,rp=pi(),ip=Ge(),oC=(e,t,r={})=>{if(e===t)return!0;e=new By(e,r),t=new By(t,r);let n=!1;e:for(let i of e.set){for(let o of t.set){let s=aC(i,o,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},sC=[new np(">=0.0.0-0")],Ky=[new np(">=0.0.0")],aC=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===tp)if(t.length===1&&t[0].semver===tp)return!0;else if(r.includePrerelease)e=sC;else e=Ky;if(t.length===1&&t[0].semver===tp)if(r.includePrerelease)return!0;else t=Ky;let n=new Set,i,o;for(let m of e)if(m.operator===">"||m.operator===">=")i=Hy(i,m,r);else if(m.operator==="<"||m.operator==="<=")o=Jy(o,m,r);else n.add(m.semver);if(n.size>1)return null;let s;if(i&&o){if(s=ip(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&&!rp(m,String(i),r))return null;if(o&&!rp(m,String(o),r))return null;for(let g of t)if(!rp(m,String(g),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=Hy(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=Jy(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},Hy=(e,t,r)=>{if(!e)return t;let n=ip(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e},Jy=(e,t,r)=>{if(!e)return t;let n=ip(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};Wy.exports=oC});var Ko=y(function(cB,Vy){var op=zr(),My=Wr(),cC=_e(),Gy=zc(),pC=Nt(),uC=yx(),lC=vx(),dC=Ex(),fC=Rx(),mC=_x(),hC=Ox(),xC=Px(),yC=jx(),gC=Ge(),vC=Dx(),bC=Fx(),wC=No(),EC=Hx(),SC=Wx(),AC=oi(),RC=Lo(),TC=Gc(),_C=Vc(),kC=qo(),OC=Do(),CC=Xc(),PC=ey(),IC=ry(),jC=ai(),NC=Ve(),LC=pi(),qC=gy(),DC=by(),UC=Ey(),FC=Ry(),$C=_y(),BC=Bo(),KC=jy(),HC=Ly(),JC=Uy(),WC=$y(),zC=zy();Vy.exports={parse:pC,valid:uC,clean:lC,inc:dC,diff:fC,major:mC,minor:hC,patch:xC,prerelease:yC,compare:gC,rcompare:vC,compareLoose:bC,compareBuild:wC,sort:EC,rsort:SC,gt:AC,lt:RC,eq:TC,neq:_C,gte:kC,lte:OC,cmp:CC,coerce:PC,truncate:IC,Comparator:jC,Range:NC,satisfies:LC,toComparators:qC,maxSatisfying:DC,minSatisfying:UC,minVersion:FC,validRange:$C,outside:BC,gtr:KC,ltr:HC,intersects:JC,simplifyRange:WC,subset:zC,SemVer:cC,re:op.re,src:op.src,tokens:op.t,SEMVER_SPEC_VERSION:My.SEMVER_SPEC_VERSION,RELEASE_TYPES:My.RELEASE_TYPES,compareIdentifiers:Gy.compareIdentifiers,rcompareIdentifiers:Gy.rcompareIdentifiers}});var Yy=y(function(pB,Xy){var MC=Ko();Xy.exports=MC.satisfies(process.version,">=15.7.0")});var Qy=y(function(uB,Zy){var GC=Ko();Zy.exports=GC.satisfies(process.version,">=16.9.0")});var sp=y(function(lB,eg){var VC=Yy(),XC=Qy(),YC={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},ZC={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};eg.exports=function(e,t){if(!e||!t)return;let r=t.asymmetricKeyType;if(!r)return;let n=YC[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(VC)switch(r){case"ec":let i=t.asymmetricKeyDetails.namedCurve,o=ZC[e];if(i!==o)throw Error(`"alg" parameter "${e}" requires curve "${o}".`);break;case"rsa-pss":if(XC){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 ap=y(function(dB,tg){var QC=Ko();tg.exports=QC.satisfies(process.version,"^6.12.0 || >=8.0.0")});var ig=y(function(fB,ng){var Q=ni(),eP=Bc(),rg=Kc(),tP=$c(),rP=Hc(),nP=sp(),iP=ap(),oP=Ro(),{KeyObject:sP,createSecretKey:aP,createPublicKey:cP}=require("crypto"),cp=["RS256","RS384","RS512"],pP=["ES256","ES384","ES512"],pp=["RS256","RS384","RS512"],uP=["HS256","HS384","HS512"];if(iP)cp.splice(cp.length,0,"PS256","PS384","PS512"),pp.splice(pp.length,0,"PS256","PS384","PS512");ng.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=tP(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 f=s[2].trim()!=="";if(!f&&l)return i(new Q("jwt signature is required"));if(f&&!l)return i(new Q("secret or public key must be provided"));if(!f&&!r.algorithms)return i(new Q('please specify "none" in "algorithms" to verify unsigned tokens'));if(l!=null&&!(l instanceof sP))try{l=cP(l)}catch(x){try{l=aP(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=uP;else if(["rsa","rsa-pss"].includes(l.asymmetricKeyType))r.algorithms=pp;else if(l.asymmetricKeyType==="ec")r.algorithms=pP;else r.algorithms=cp;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{nP(c.alg,l)}catch(x){return i(x)}let m;try{m=oP.verify(e,a.header.alg,l)}catch(x){return i(x)}if(!m)return i(new Q("invalid signature"));let g=a.payload;if(typeof g.nbf<"u"&&!r.ignoreNotBefore){if(typeof g.nbf!=="number")return i(new Q("invalid nbf value"));if(g.nbf>o+(r.clockTolerance||0))return i(new eP("jwt not active",new Date(g.nbf*1000)))}if(typeof g.exp<"u"&&!r.ignoreExpiration){if(typeof g.exp!=="number")return i(new Q("invalid exp value"));if(o>=g.exp+(r.clockTolerance||0))return i(new rg("jwt expired",new Date(g.exp*1000)))}if(r.audience){let x=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(g.aud)?g.aud:[g.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"&&g.iss!==r.issuer||Array.isArray(r.issuer)&&r.issuer.indexOf(g.iss)===-1)return i(new Q("jwt issuer invalid. expected: "+r.issuer))}if(r.subject){if(g.sub!==r.subject)return i(new Q("jwt subject invalid. expected: "+r.subject))}if(r.jwtid){if(g.jti!==r.jwtid)return i(new Q("jwt jwtid invalid. expected: "+r.jwtid))}if(r.nonce){if(g.nonce!==r.nonce)return i(new Q("jwt nonce invalid. expected: "+r.nonce))}if(r.maxAge){if(typeof g.iat!=="number")return i(new Q("iat required when maxAge is specified"));let x=rP(r.maxAge,g.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 rg("maxAge exceeded",new Date(x*1000)))}if(r.complete===!0){let x=a.signature;return i(null,{header:c,payload:g,signature:x})}return i(null,g)})}});var ug=y(function(mB,pg){var og=1/0,ag=9007199254740991,lP=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,sg=NaN,dP="[object Arguments]",fP="[object Function]",mP="[object GeneratorFunction]",hP="[object String]",xP="[object Symbol]",yP=/^\s+|\s+$/g,gP=/^[-+]0x[0-9a-f]+$/i,vP=/^0b[01]+$/i,bP=/^0o[0-7]+$/i,wP=/^(?:0|[1-9]\d*)$/,EP=parseInt;function SP(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 AP(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 RP(e,t,r){if(t!==t)return AP(e,TP,r);var n=r-1,i=e.length;while(++n<i)if(e[n]===t)return n;return-1}function TP(e){return e!==e}function _P(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function kP(e,t){return SP(t,function(r){return e[r]})}function OP(e,t){return function(r){return e(t(r))}}var Ho=Object.prototype,lp=Ho.hasOwnProperty,Jo=Ho.toString,CP=Ho.propertyIsEnumerable,PP=OP(Object.keys,Object),IP=Math.max;function jP(e,t){var r=cg(e)||UP(e)?_P(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||lp.call(e,o))&&!(i&&(o=="length"||LP(o,n))))r.push(o);return r}function NP(e){if(!qP(e))return PP(e);var t=[];for(var r in Object(e))if(lp.call(e,r)&&r!="constructor")t.push(r);return t}function LP(e,t){return t=t==null?ag:t,!!t&&(typeof e=="number"||wP.test(e))&&(e>-1&&e%1==0&&e<t)}function qP(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ho;return e===r}function DP(e,t,r,n){e=dp(e)?e:GP(e),r=r&&!n?WP(r):0;var i=e.length;if(r<0)r=IP(i+r,0);return KP(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&RP(e,t,r)>-1}function UP(e){return FP(e)&&lp.call(e,"callee")&&(!CP.call(e,"callee")||Jo.call(e)==dP)}var cg=Array.isArray;function dp(e){return e!=null&&BP(e.length)&&!$P(e)}function FP(e){return fp(e)&&dp(e)}function $P(e){var t=up(e)?Jo.call(e):"";return t==fP||t==mP}function BP(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ag}function up(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function fp(e){return!!e&&typeof e=="object"}function KP(e){return typeof e=="string"||!cg(e)&&fp(e)&&Jo.call(e)==hP}function HP(e){return typeof e=="symbol"||fp(e)&&Jo.call(e)==xP}function JP(e){if(!e)return e===0?e:0;if(e=zP(e),e===og||e===-og){var t=e<0?-1:1;return t*lP}return e===e?e:0}function WP(e){var t=JP(e),r=t%1;return t===t?r?t-r:t:0}function zP(e){if(typeof e=="number")return e;if(HP(e))return sg;if(up(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=up(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(yP,"");var r=vP.test(e);return r||bP.test(e)?EP(e.slice(2),r?2:8):gP.test(e)?sg:+e}function MP(e){return dp(e)?jP(e):NP(e)}function GP(e){return e?kP(e,MP(e)):[]}pg.exports=DP});var dg=y(function(hB,lg){var VP="[object Boolean]",XP=Object.prototype,YP=XP.toString;function ZP(e){return e===!0||e===!1||QP(e)&&YP.call(e)==VP}function QP(e){return!!e&&typeof e=="object"}lg.exports=ZP});var yg=y(function(xB,xg){var fg=1/0,e1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,mg=NaN,t1="[object Symbol]",r1=/^\s+|\s+$/g,n1=/^[-+]0x[0-9a-f]+$/i,i1=/^0b[01]+$/i,o1=/^0o[0-7]+$/i,s1=parseInt,a1=Object.prototype,c1=a1.toString;function p1(e){return typeof e=="number"&&e==f1(e)}function hg(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function u1(e){return!!e&&typeof e=="object"}function l1(e){return typeof e=="symbol"||u1(e)&&c1.call(e)==t1}function d1(e){if(!e)return e===0?e:0;if(e=m1(e),e===fg||e===-fg){var t=e<0?-1:1;return t*e1}return e===e?e:0}function f1(e){var t=d1(e),r=t%1;return t===t?r?t-r:t:0}function m1(e){if(typeof e=="number")return e;if(l1(e))return mg;if(hg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=hg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(r1,"");var r=i1.test(e);return r||o1.test(e)?s1(e.slice(2),r?2:8):n1.test(e)?mg:+e}xg.exports=p1});var vg=y(function(yB,gg){var h1="[object Number]",x1=Object.prototype,y1=x1.toString;function g1(e){return!!e&&typeof e=="object"}function v1(e){return typeof e=="number"||g1(e)&&y1.call(e)==h1}gg.exports=v1});var Sg=y(function(gB,Eg){var b1="[object Object]";function w1(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function E1(e,t){return function(r){return e(t(r))}}var S1=Function.prototype,bg=Object.prototype,wg=S1.toString,A1=bg.hasOwnProperty,R1=wg.call(Object),T1=bg.toString,_1=E1(Object.getPrototypeOf,Object);function k1(e){return!!e&&typeof e=="object"}function O1(e){if(!k1(e)||T1.call(e)!=b1||w1(e))return!1;var t=_1(e);if(t===null)return!0;var r=A1.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&wg.call(r)==R1}Eg.exports=O1});var Rg=y(function(vB,Ag){var C1="[object String]",P1=Object.prototype,I1=P1.toString,j1=Array.isArray;function N1(e){return!!e&&typeof e=="object"}function L1(e){return typeof e=="string"||!j1(e)&&N1(e)&&I1.call(e)==C1}Ag.exports=L1});var Cg=y(function(bB,Og){var q1="Expected a function",Tg=1/0,D1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,_g=NaN,U1="[object Symbol]",F1=/^\s+|\s+$/g,$1=/^[-+]0x[0-9a-f]+$/i,B1=/^0b[01]+$/i,K1=/^0o[0-7]+$/i,H1=parseInt,J1=Object.prototype,W1=J1.toString;function z1(e,t){var r;if(typeof t!="function")throw TypeError(q1);return e=Y1(e),function(){if(--e>0)r=t.apply(this,arguments);if(e<=1)t=void 0;return r}}function M1(e){return z1(2,e)}function kg(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function G1(e){return!!e&&typeof e=="object"}function V1(e){return typeof e=="symbol"||G1(e)&&W1.call(e)==U1}function X1(e){if(!e)return e===0?e:0;if(e=Z1(e),e===Tg||e===-Tg){var t=e<0?-1:1;return t*D1}return e===e?e:0}function Y1(e){var t=X1(e),r=t%1;return t===t?r?t-r:t:0}function Z1(e){if(typeof e=="number")return e;if(V1(e))return _g;if(kg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=kg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(F1,"");var r=B1.test(e);return r||K1.test(e)?H1(e.slice(2),r?2:8):$1.test(e)?_g:+e}Og.exports=M1});var Fg=y(function(wB,Ug){var Pg=Hc(),Q1=ap(),eI=sp(),Ig=Ro(),tI=ug(),Wo=dg(),jg=yg(),mp=vg(),Lg=Sg(),Lt=Rg(),rI=Cg(),{KeyObject:nI,createSecretKey:iI,createPrivateKey:oI}=require("crypto"),qg=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];if(Q1)qg.splice(3,0,"PS256","PS384","PS512");var sI={expiresIn:{isValid:function(e){return jg(e)||Lt(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return jg(e)||Lt(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return Lt(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:tI.bind(null,qg),message:'"algorithm" must be a valid string enum value'},header:{isValid:Lg,message:'"header" must be an object'},encoding:{isValid:Lt,message:'"encoding" must be a string'},issuer:{isValid:Lt,message:'"issuer" must be a string'},subject:{isValid:Lt,message:'"subject" must be a string'},jwtid:{isValid:Lt,message:'"jwtid" must be a string'},noTimestamp:{isValid:Wo,message:'"noTimestamp" must be a boolean'},keyid:{isValid:Lt,message:'"keyid" must be a string'},mutatePayload:{isValid:Wo,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:Wo,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:Wo,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},aI={iat:{isValid:mp,message:'"iat" should be a number of seconds'},exp:{isValid:mp,message:'"exp" should be a number of seconds'},nbf:{isValid:mp,message:'"nbf" should be a number of seconds'}};function Dg(e,t,r,n){if(!Lg(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 cI(e){return Dg(sI,!1,e,"options")}function pI(e){return Dg(aI,!0,e,"payload")}var Ng={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},uI=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];Ug.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 nI))try{t=oI(t)}catch(p){try{t=iI(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{pI(e)}catch(p){return s(p)}if(!r.mutatePayload)e=Object.assign({},e)}else{let p=uI.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{cI(r)}catch(p){return s(p)}if(!r.allowInvalidAsymmetricKeyTypes)try{eI(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=Pg(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=Pg(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(Ng).forEach(function(p){let u=Ng[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&&rI(n),Ig.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=Ig.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 Bg=y(function(EB,$g){$g.exports={decode:$c(),verify:ig(),sign:Fg(),JsonWebTokenError:ni(),NotBeforeError:Bc(),TokenExpiredError:Kc()}});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 hp(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 xp(e){let t=Math.floor(e/4294967296),r=e%4294967296,n=new Uint8Array(8);return hp(n,t,0),hp(n,r,4),n}function zo(e){let t=new Uint8Array(4);return hp(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 Mr,ar,Gr;var $e=j(()=>{Mr=new TextEncoder,ar=new TextDecoder,Gr=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 Go(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 Mo(t.name);if(t.hash&&n.hash?.name!==t.hash)throw Mo(t.hash,"algorithm.hash");if(t.namedCurve&&n.namedCurve!==t.namedCurve)throw Mo(t.namedCurve,"algorithm.namedCurve");if(t.length!==void 0&&n.length!==t.length)throw Mo(t.length,"algorithm.length");yp(e,r)}var Mo=(e,t="algorithm.name")=>TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);function Kg(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)=>Kg("Key must be ",e,...t),ui=(e,t,...r)=>Kg(`Key for the ${e} algorithm must be `,t,...r);var gp={};Ar(gp,{JOSEAlgNotAllowed:()=>cr,JOSEError:()=>ve,JOSENotSupported:()=>J,JWEDecryptionFailed:()=>qt,JWEInvalid:()=>S,JWKInvalid:()=>di,JWKSInvalid:()=>fi,JWKSMultipleMatchingKeys:()=>Vo,JWKSNoMatchingKey:()=>Vr,JWKSTimeout:()=>Xo,JWSInvalid:()=>P,JWSSignatureVerificationFailed:()=>pr,JWTClaimValidationFailed:()=>st,JWTExpired:()=>li,JWTInvalid:()=>ce});var ve,st,li,cr,J,qt,S,P,ce,di,fi,Vr,Vo,Xo,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}};li=class li 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"};di=class di extends ve{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"};fi=class fi extends ve{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"};Vr=class Vr 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)}};Vo=class Vo 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)}};Xo=class Xo 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 Yo(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}},mi=(e)=>e?.[Symbol.toStringTag]==="KeyObject",Zo=(e)=>at(e)||mi(e);function Hg(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 Jg(e,t){if(t.length<<3!==e.ivBits)throw new S("Invalid Initialization Vector length")}async function Wg(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 zg(e,t,r){return new Uint8Array((await crypto.subtle.sign("HMAC",e,t)).slice(0,r>>3))}async function dI(e,t,r,n,i){let[o,s,a]=await Wg(e,r,"encrypt"),c=new Uint8Array(await crypto.subtle.encrypt({iv:n,name:"AES-CBC"},o,t)),p=xe(i,n,c,xp(i.length*8)),u=await zg(s,p,a);return{ciphertext:c,tag:u,iv:n}}async function fI(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 mI(e,t,r,n,i,o){let[s,a,c]=await Wg(e,t,"decrypt"),p=xe(o,n,r,xp(o.length*8)),u=await zg(a,p,c);try{if(await fI(i,u))return new Uint8Array(await crypto.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}throw new qt}async function hI(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 xI(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 Qo(e,t,r,n,i){if(!at(r)&&!(r instanceof Uint8Array))throw TypeError(ot(r,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(n)Jg(e,n);else n=lI(e);if(r instanceof Uint8Array)Hg(r,e.cekBits);return e.cbc?dI(e,t,r,n,i):hI(e,t,r,n,i)}async function es(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(Jg(e,n),t instanceof Uint8Array)Hg(t,e.cekBits);return e.cbc?mI(e,t,r,n,i,o):xI(e,t,r,n,i,o)}var ct=(e)=>crypto.getRandomValues(new Uint8Array(e.cekBits>>3)),lI=(e)=>crypto.getRandomValues(new Uint8Array(e.ivBits>>3));var hi=j(()=>{$e();M()});function ts(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 rs(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 ns={};Ar(ns,{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(vp,{cause:r})}let t=e;if(t instanceof Uint8Array)t=ar.decode(t);if(t.includes("+")||t.includes("/"))throw TypeError(vp);t=t.replace(/-/g,"+").replace(/_/g,"/");try{return rs(t)}catch{throw TypeError(vp)}}function Y(e){let t=e;if(typeof t==="string")t=Mr.encode(t);if(Uint8Array.prototype.toBase64)return t.toBase64({alphabet:"base64url",omitPadding:!0});return ts(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}var vp="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 is(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 ye(e,t,r){try{return ht(e)}catch{throw new r(`Failed to base64url decode the ${t}`)}}function os(e,t,r){try{return oe(e)}catch{throw new r(`The ${t} is not a valid base64url string`)}}async function ss(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(Gr.decode(ht(e)))}catch{throw new t(r)}if(!q(n))throw new t(r);return n}var Mg;var Pe=j(()=>{Be();$e();Mg=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 Xr=j(()=>{M()});function Yr(e){return{__proto__:null,...e}}function Zr(e){let t=Yr(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 gI(e,t,r){let{alg:n,secret:i}=e,o=r==="decrypt"||r==="sign";if(i&&t instanceof Uint8Array)return[Vg,t];if(q(t)){let s=Zr(t);if(typeof s.kty!=="string")throw TypeError(i?ui(n,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"):ui(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 yI(e,s,r),[Zg,t,s]}if(!Zo(t))throw TypeError(i?ui(n,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"):ui(n,t,"CryptoKey","KeyObject","JSON Web Key"));if(i){if(t.type!=="secret")throw TypeError(`${bp(t)} instances for symmetric algorithms must be of type "secret"`)}else{if(t.type==="secret")throw TypeError(`${bp(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(`${bp(t)} instances for asymmetric algorithm ${a} must be of type "${s}"`)}}return at(t)?[Xg,t]:[Yg,t]}function as(e,t,r){wp||=new WeakMap;let n=wp.get(e);if(r)if(n)n[t]=r;else wp.set(e,{[t]:r});return r??n?.[t]}async function Xe(e,t,r){let n=gI(e,t,r);switch(n[0]){case Vg:case Xg:return n[1];case Zg:{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 Gg(i,o,e)}case Yg:{let i=n[1];if(i.type==="secret")return i.export();if("toCryptoKey"in i&&typeof i.toCryptoKey==="function")return bI(i,e);return Gg(i,i.export({format:"jwk"}),e)}}}var bp=(e)=>e[Symbol.toStringTag],yI=(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`)}},Vg=0,Xg=1,Yg=2,Zg=3,wp,vI,Gg=async(e,t,r)=>as(e,r.alg)??as(e,r.alg,await pt(r,{...t,alg:r.alg})),bI=(e,t)=>{let r=as(e,t.alg);if(r)return r;let n=e.type==="public",i=t.usages[n?0:1],{asymmetricKeyType:o}=e,s=vI[e.asymmetricKeyDetails?.namedCurve],a=t.resolve?.({crv:s,asymmetricKeyType:o})??t.subtle;return as(e,t.alg,e.toCryptoKey(a,n,i))};var ur=j(()=>{Be();Xr();vI={__proto__:null,prime256v1:"P-256",secp384r1:"P-384",secp521r1:"P-521"}});function xi(e){let t={__proto__:null};for(let r in e)t[r]={...e[r],alg:r};return t}function cs(e){return{kty:["RSA"],subtle:{name:"RSA-OAEP",hash:`SHA-${e}`},usages:wI,ops:["wrapKey","unwrapKey"]}}function ps(){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:EI,ops:[void 0,"deriveBits"]}}function Qr(e,t=!1){return{kty:["oct"],secret:!0,subtle:{name:t?"AES-GCM":"AES-KW",length:e},usages:us,ops:t?["encrypt","decrypt"]:["wrapKey","unwrapKey"]}}function Ep(){return{kty:["oct"],secret:!0,subtle:{name:"PBKDF2"},usages:us,ops:["deriveBits","deriveBits"]}}function en(e,t=!1){return{kty:["oct"],secret:!0,subtle:{name:t?"AES-CBC":"AES-GCM",length:e},usages:us,ops:SI,cekBits:e,ivBits:t?128:96,cbc:t}}function Qg(e,t){throw new J(`Invalid or unsupported "${e}" (JWE ${t}) header value`)}function Ye(e){return(typeof e==="string"?Sp[e]:void 0)??Qg("alg","Algorithm")}function lr(e){return(typeof e==="string"?AI[e]:void 0)??Qg("enc","Encryption Algorithm")}var wI,EI,us,Sp,SI,AI;var tn=j(()=>{M();wI=[["encrypt","wrapKey"],["decrypt","unwrapKey"]],EI=[[],["deriveBits"]],us=[[],[]];Sp=xi({dir:{kty:["oct"],secret:!0,subtle:{name:"AES-GCM"},usages:us,ops:["encrypt","decrypt"]},"RSA-OAEP":cs(1),"RSA-OAEP-256":cs(256),"RSA-OAEP-384":cs(384),"RSA-OAEP-512":cs(512),"ECDH-ES":ps(),"ECDH-ES+A128KW":ps(),"ECDH-ES+A192KW":ps(),"ECDH-ES+A256KW":ps(),A128KW:Qr(128),A192KW:Qr(192),A256KW:Qr(256),A128GCMKW:Qr(128,!0),A192GCMKW:Qr(192,!0),A256GCMKW:Qr(256,!0),"PBES2-HS256+A128KW":Ep(),"PBES2-HS384+A192KW":Ep(),"PBES2-HS512+A256KW":Ep()}),SI=["encrypt","decrypt"];AI=xi({A128GCM:en(128),A192GCM:en(192),A256GCM:en(256),"A128CBC-HS256":en(256,!0),"A192CBC-HS384":en(384,!0),"A256CBC-HS512":en(512,!0)})});function ev(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 rv(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 Ap(e,t,r){let n=await rv(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 Rp(e,t,r){let n=await rv(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 nv(e,t,r){wt(t,Ye(e).subtle,r),Go(e,t)}function RI(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 iv(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 RI(n,t);return new Uint8Array(await crypto.subtle.deriveBits(s,a,o))}function Tp(e){return xe(zo(e.length),e)}async function TI(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 ss("sha256",xe(zo(a),e,r));s.set(c,(a-1)*32)}return s.slice(0,n)}async function ov(e,t,r,n,i=new Uint8Array,o=new Uint8Array){ev(e),ev(t,"deriveBits");let s=xe(Tp(oe(r)),Tp(i),Tp(o),zo(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 TI(a,n,s)}function sv(e){Yo(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 tv(e){if(e!==void 0)throw new S("Encountered unexpected JWE Encrypted Key")}async function av(e,t,r,n,i,o){let s=Ye(e);if(e==="dir")return tv(n),r;switch(s.subtle.name){case"ECDH":{if(e==="ECDH-ES")tv(n);if(!q(i.epk))throw new S('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');sv(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=ye(i.apu,"apu",S)}if(i.apv!==void 0){if(typeof i.apv!=="string")throw new S('JOSE Header "apv" (Agreement PartyVInfo) invalid');p=ye(i.apv,"apv",S)}let u=await ov(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),Rp(e.slice(-6),u,n)}case"RSA-OAEP":return yi(n),Yo(r),nv(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=ye(i.p2s,"p2s",S),p=await iv(c,e,i.p2c,r);return Rp(e.slice(-6),p,n)}case"AES-KW":return yi(n),Rp(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=ye(i.iv,"iv",S);let c;return c=ye(i.tag,"tag",S),es(lr(e.slice(0,-2)),r,n,a,c,new Uint8Array)}}}async function ls(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":{sv(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 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:g,y:x,crv:v,kty:h}=await f.exportKey("jwk",m),b=await ov(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:g,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 Ap(E,b,a);break}case"RSA-OAEP":{a=n||ct(t),Yo(r),nv(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 iv(u,e,p,r);o=await Ap(e.slice(-6),l,a),s={p2c:p,p2s:Y(u)};break}case"AES-KW":{a=n||ct(t),o=await Ap(e,r,a);break}case"AES-GCM":{a=n||ct(t);let{iv:p}=i,u=await Qo(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 ds=j(()=>{Be();ur();Xr();tn();M();Pe();hi();$e()});function gi(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 ms(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 nn(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 rn,fs;var on=j(()=>{M();rn={__proto__:null,b64:!0},fs={__proto__:null}});function hs(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 cv(e){if(typeof globalThis[e]>"u")throw new J(`JWE "zip" (Compression Algorithm) Header Parameter requires the ${e} API.`)}async function pv(e){cv("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 uv(e,t){cv("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 _p=j(()=>{M();$e()});function xs(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 gs(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 kp(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,ye(r,"ciphertext",S),n!==void 0?ye(n,"iv",S):void 0,i!==void 0?ye(i,"tag",S):void 0,o!==void 0?xe(a,oe("."),os(o,"aad",S)):a]}function vs(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=ye(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&&gi("keyManagementAlgorithms",e.keyManagementAlgorithms),e&&gi("contentEncryptionAlgorithms",e.contentEncryptionAlgorithms),e?.crit,e?.maxPBES2Count,e?.maxDecompressedLength]}async function Op(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 lv(e,t,r,n,a)}async function lv(e,t,r,n,i){let[o,s,a,c,p]=r,[u,l,f,m,g]=t,{encrypted_key:x}=e;xt(S,fs,a,u,i),hs(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=ye(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 av(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 es(b,K,l,f,m,g);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 uv(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 dv(e,t,r){return Op(e,kp(e),t,r)}async function bs(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),f=[u,ye(s,"ciphertext",S),o?ye(o,"iv",S):void 0,a?ye(a,"tag",S):void 0,l];return lv(p,f,t,r,u)}var vi=j(()=>{hi();Pe();M();ds();$e();on();ur();tn();_p()});async function fv(e,t,r){let n=await bs(e,Ut(r),t),i={plaintext:n[0],protectedHeader:n[1]};if(typeof t==="function")return{...i,key:n[2]};return i}var mv=j(()=>{vi()});async function hv(e,t,r){if(!q(e))throw new S("Flattened JWE must be an object");let n=xs(e),[i,,o]=ys(e);if(!i)throw o;let s={...n,...i};return gs(s),vs(s,await dv(s,Ut(r),t))}var xv=j(()=>{M();vi()});async function yv(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=xs(e),a=kp(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 gs(u),vs(u,await Op(u,a,o,t))}catch{}}throw new qt}var gv=j(()=>{vi();M()});function ws(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 Cp(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");ws(t,r,n);let p={...t,...r,...n};ms(S,t),xt(S,fs,c,t,p),hs(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 Pp(e,t,r){let[n,i,,o]=t,[s,a,c,p,u,l,f,m,,g]=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 ls(i,o,b,l,m);if(O){if(g)v=v?{...v,...O}:O;else x=x?{...x,...O}:O;ws(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 pv(I).catch((et)=>{throw new S("Failed to compress plaintext",{cause:et})});let{ciphertext:me,tag:yt,iv:Qe}=await Qo(o,I,E,f,te),V={ciphertext:Y(me)};if(Qe)V.iv=Y(Qe);if(yt)V.tag=Y(yt);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?Mg in r:!1;return Pp(e,Cp(e),t)}var bi=j(()=>{Be();hi();ds();M();$e();on();ur();tn();_p();Pe()});class bv{#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 vv(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 Ip{#e;#t=[];#n;#o;#s;constructor(e){this.#e=e}addRecipient(e,t){let r=new bv(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),f={ciphertext:l.ciphertext,iv:l.iv,recipients:[{}],tag:l.tag};if(l.encrypted_key)f.recipients[0].encrypted_key=l.encrypted_key;return vv(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=Cp(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 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 Pp(n[0],i[0],u);s.ciphertext=b.ciphertext,s.iv=b.iv,s.tag=b.tag,l.encrypted_key=b.encrypted_key,vv(b,s,l);continue}let[,f,,m]=i[a],g=n[a][2],x=await Xe(Ye(f),u,"encrypt"),[,v,h]=await ls(f,m,x,o,p);if(l.encrypted_key=Y(v),g||h){let b={...g,...h};if(h)ws(n[a][1],b,n[a][3]);l.header=b}}return s}}var wv=j(()=>{Pe();M();hi();ds();Be();bi();ur();tn()});async function Ev(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)Go(e.alg,t);return t}async function Sv(e,t,r){let n=await Ev(e,t,"sign"),i=await crypto.subtle.sign(e.signing,n,r);return new Uint8Array(i)}async function Av(e,t,r,n){let i=await Ev(e,t,"verify");try{return await crypto.subtle.verify(e.signing,i,r,n)}catch{return!1}}var jp=()=>{};function Np(e){let t={name:"HMAC",hash:`SHA-${e}`};return{kty:["oct"],secret:!0,subtle:t,signing:t,usages:wi}}function sn(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:wi,minRsaBits:2048}}function Lp(e,t){return{kty:["EC"],crv:e,subtle:{name:"ECDSA",namedCurve:e},signing:{name:"ECDSA",hash:`SHA-${t}`},usages:wi}}function Rv(){let e={name:"Ed25519"};return{kty:["OKP"],crv:"Ed25519",subtle:e,signing:e,usages:wi}}function qp(e){let r={name:`ML-DSA-${e}`};return{kty:["AKP"],subtle:r,signing:r,usages:wi}}function an(e){let t=typeof e==="string"?Ei[e]:void 0;if(!t)throw new J(`alg ${e} is not supported either by JOSE or your javascript runtime`);return t}var wi,Ei;var cn=j(()=>{M();wi=[["verify"],["sign"]];Ei=xi({HS256:Np(256),HS384:Np(384),HS512:Np(512),RS256:sn(256),RS384:sn(384),RS512:sn(512),PS256:sn(256,32),PS384:sn(384,48),PS512:sn(512,64),ES256:Lp("P-256",256),ES384:Lp("P-384",384),ES512:Lp("P-521",512),EdDSA:Rv(),Ed25519:Rv(),"ML-DSA-44":qp(44),"ML-DSA-65":qp(65),"ML-DSA-87":qp(87)})});function Es(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 Ss(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&&gi("algorithms",e.algorithms),e?.crit]}function As(e,t=e===void 0?{}:Et(e,P,"JWS Protected Header is invalid")){return t}function Tv(e,t,r){let n=nn(e,xt(P,rn,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 _I(e,t,r,n){let i=As(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,...Tv(i,o,r)]}function Rs(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 Mr.encode(e)}function kI(e){try{return oe(e)}catch{throw new P("JWS Compact Serialization payload must use only ASCII characters")}}async function _v(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=an(o),u=xe(n!==void 0?oe(n):new Uint8Array,oe("."),c?t[2]??=os(s,"payload",P):s),l=ye(e.signature,"signature",P),f=await Xe(p,r,"verify");if(!await Av(p,f,l,u))throw new pr;return[c?ye(s,"payload",P):s,i,c,f,a]}async function Ts(e,t,r,n,i){let{protected:o,header:s,payload:a}=e,[c,,p,u]=_I(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 _v(e,t,r,o,c,u,l)}async function _s(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=As(n),[p,u]=Tv(c,c,t),l=p?i:kI(i);return _v(a,t,r,n,c,u,l)}var Si=j(()=>{jp();cn();M();$e();Pe();on();ur()});async function kv(e,t,r){let n=await _s(e,$t(r),t),i={payload:n[0],protectedHeader:n[1]};if(typeof t==="function")return{...i,key:n[3]};return i}var Ov=j(()=>{Si()});async function Cv(e,t,r){if(!q(e))throw new P("Flattened JWS must be an object");let n=Es(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 Ss(n,await Ts(n,$t(r),t,Rs))}var Pv=j(()=>{M();Si()});function OI(e,t){try{let r=Es(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=As(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 Iv(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)=>OI(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 Ss(u[0],await Ts(u[0],s,t,Rs,u[1]))}catch{}throw new pr}var jv=j(()=>{Si();M()});function Dp(){throw TypeError("Invalid time period format")}function ks(e){if(typeof e!=="string")Dp();let t=PI.exec(e);if(!t||t[4]&&t[1])Dp();let r=parseFloat(t[2]),n=Math.round(r*CI[t[3][0].toLowerCase()]);if(!Number.isFinite(n))Dp();if(t[1]==="-"||t[4]==="ago")return-n;return n}function un(e,t){if(!Number.isFinite(t))throw TypeError(`Invalid ${e} input`);return t}function Up(e,t){if(typeof t!=="string")throw TypeError(`"${e}" claim must be a string`)}function II(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 Fp(e,t){if(typeof e==="number")return un(t,e);if(e instanceof Date)return un(t,Ai(e));return Ai(new Date)+ks(e)}function $p(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 Bp(e,t){throw new st(`unexpected "${t}" claim value`,e,t,pn)}function ln(e,t,r={}){let n;try{n=JSON.parse(Gr.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"||Nv(e.typ)!==Nv(i)))throw new st('unexpected "typ" JWT header value',n,"typ",pn);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))Bp(n,"iss");if(a!==void 0&&n.sub!==a)Bp(n,"sub");if(c!==void 0&&!jI(n.aud,typeof c==="string"?[c]:c))Bp(n,"aud");let{clockTolerance:l}=r,f=0;if(typeof l==="string")f=ks(l);else if(l!==void 0){if(typeof l!=="number")throw TypeError("Invalid clockTolerance option type");f=l}un("clockTolerance option",f);let{currentDate:m}=r,g=un("currentDate option",Ai(m===void 0?new Date:m)),x=$p(n,"iat",p!==void 0),v=$p(n,"nbf");if(v!==void 0){if(v>g+f)throw new st('"nbf" claim timestamp check failed',n,"nbf",pn)}let h=$p(n,"exp");if(h!==void 0){if(h<=g-f)throw new li('"exp" claim timestamp check failed',n,"exp",pn)}if(p!==void 0){let b=g-x,E=un("maxTokenAge option",typeof p==="number"?p:ks(p));if(b-f>E)throw new li('"iat" claim timestamp check failed (too far in the past)',n,"iat",pn);if(b<-f)throw new st('"iat" claim timestamp check failed (it should be in the past)',n,"iat",pn)}return n}function St(e){return Lv.get(e)}function dn(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 Mr.encode(JSON.stringify(t))}function Os(e,t){return St(e)[t]}class fr{constructor(e={}){if(!q(e))throw TypeError("JWT Claims Set MUST be an object");(Lv||=new WeakMap).set(this,structuredClone(e))}setIssuer(e){return Up("iss",e),St(this).iss=e,this}setSubject(e){return Up("sub",e),St(this).sub=e,this}setAudience(e){return II(e),St(this).aud=e,this}setJti(e){return Up("jti",e),St(this).jti=e,this}setNotBefore(e){return St(this).nbf=Fp(e,"setNotBefore"),this}setExpirationTime(e){return St(this).exp=Fp(e,"setExpirationTime"),this}setIssuedAt(e){let t=St(this);if(e===void 0)t.iat=Ai(new Date);else if(typeof e==="string")t.iat=un("setIssuedAt",Ai(new Date)+ks(e));else t.iat=Fp(e,"setIssuedAt");return this}}var Ai=(e)=>Math.floor(e.getTime()/1000),CI,PI,pn="check_failed",Nv=(e)=>{let t=e.toLowerCase();return e.includes("/")?t:`application/${t}`},jI=(e,t)=>{if(typeof e==="string")return t.includes(e);if(Array.isArray(e))return t.some((r)=>e.includes(r));return!1},Lv;var fn=j(()=>{M();$e();CI={s:1,m:60,h:3600,d:86400,w:604800,y:31557600},PI=/^(\+|\-)? ?(\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 qv(e,t,r){let n=await _s(e,$t(r),t);if(!n[2])throw new ce("JWTs MUST NOT use unencoded payload");let o={payload:ln(n[1],n[0],r),protectedHeader:n[1]};if(typeof t==="function")return{...o,key:n[3]};return o}var Dv=j(()=>{Si();fn();M()});async function Uv(e,t,r){let n=await bs(e,Ut(r),t),i=n[1],o=ln(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 Fv=j(()=>{vi();fn();M()});class Kp{#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 $v=j(()=>{Pe();bi()});class Hp{#e;#t;#n;#o;#s;#x;#y;#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.#y,"setInitializationVector"),this.#y=e,this}async encrypt(e,t){return Ft([this.#e,this.#t,this.#o,this.#n,this.#s,this.#x,this.#y,this.#f,void 0,!1],e,t)}}var Bv=j(()=>{Pe();bi()});function Kv(e){if(e===void 0)return[void 0,""];let t=dr(P,e);return[t[0],Y(t[1])]}function Hv(e,t,r){return ms(P,e),nn(e,xt(P,rn,r,e,t))}function Jv(e){let t=e.alg;if(typeof t!=="string"||!t)throw new P('JWS "alg" (Algorithm) Header Parameter missing or invalid');return an(t)}async function Wv(e,t,r,n){let i=xe(oe(e),oe("."),t),o=await Xe(r,n,"sign");return Y(await Sv(r,o,i))}async function Cs(e,t,r){let{protectedHeader:n,unprotectedHeader:i}=e,o;if([n,o]=Kv(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=Hv(n,s,e.crit);r?.(a);let c=Jv(s),p,u;if(a){let f=e.encoded??=[];f[0]??=Y(e.payload),f[1]??=oe(f[0]),p=f[0],u=f[1]}else u=e.payload,p="";let l={signature:await Wv(o,u,c,t),payload:p};if(n)l.protected=o;if(i)l.header=i;return[l,a]}async function Ps(e,t,r,n,i){let[o,s]=Kv(t);if(!o)throw new P("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Hv(o,o,r))i();let c=Jv(o),p=Y(e),u=await Wv(s,oe(p),c,n);return`${s}.${p}.${u}`}var Ri=j(()=>{Be();jp();cn();M();$e();on();ur()});class Jp{#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 Ps(this.#e,this.#t,t?.crit,e,()=>{throw TypeError("use the flattened module for creating JWS with b64: false")})}}var zv=j(()=>{Ri();Pe()});class Wp{#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 Cs({payload:this.#e,protectedHeader:this.#t,unprotectedHeader:this.#n,crit:t?.crit},e);return r}}var Mv=j(()=>{Ri();Pe()});class Gv{#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 zp{#e;#t=[];constructor(e){this.#e=e}addSignature(e,t){let r=new Gv(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 Cs({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 Vv=j(()=>{Ri();M();Pe()});var NI,Mp;var Xv=j(()=>{Ri();M();fn();Pe();NI=fr;Mp=class Mp extends NI{#e;setProtectedHeader(e){return G(this.#e,"setProtectedHeader"),this.#e=e,this}async sign(e,t){return Ps(dn(this),this.#e,t?.crit,e,()=>{throw new ce("JWTs MUST NOT use unencoded payload")})}}});var LI,Gp;var Yv=j(()=>{bi();fn();Pe();LI=fr;Gp=class Gp extends LI{#e;#t;#n;#o;#s;#x;#y;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.#y=!0,this}async encrypt(e,t){let r=dn(this);if(this.#o&&(this.#s||this.#x||this.#y))this.#o={...this.#o,iss:this.#s?Os(this,"iss"):void 0,sub:this.#x?Os(this,"sub"):void 0,aud:this.#y?Os(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"?Ei[e]??Sp[e]:void 0)??mr(t)}var Bt='"alg" (Algorithm)';var Ti=j(()=>{M();cn();tn()});function Kt(e){if(e!==void 0&&typeof e!=="boolean")throw TypeError('"extractable" option must be a boolean');return e}function UI(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 $I(e){let t=rb(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)Zv(t,6);else Zv(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 qI=(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".`,ri="secret must be a string or buffer",Hr="key must be a string or a buffer",x_="key must be a string, a buffer or an object",Nc=typeof Me.createPublicKey==="function";if(Nc)Hr+=" or a KeyObject",ri+="or a KeyObject";function _h(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return;if(!Nc)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 kh(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return;if(typeof e==="object")return;throw nt(x_)}function y_(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return e;if(!Nc)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 qc(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Oh(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=Rh.format.bind(Rh,e).apply(null,t);return TypeError(r)}function g_(e){return Jr.isBuffer(e)||typeof e==="string"}function ni(e){if(!g_(e))e=JSON.stringify(e);return e}function Ch(e){return function(r,n){y_(n),r=ni(r);var i=Me.createHmac("sha"+e,n),o=(i.update(r),i.digest("base64"));return qc(o)}}var Lc,v_="timingSafeEqual"in Me?function(t,r){if(t.byteLength!==r.byteLength)return!1;return Me.timingSafeEqual(t,r)}:function(t,r){if(!Lc)Lc=Ah();return Lc(t,r)};function b_(e){return function(r,n,i){var o=Ch(e)(r,i);return v_(Jr.from(n),Jr.from(o))}}function Ph(e){return function(r,n){kh(n),r=ni(r);var i=Me.createSign("RSA-SHA"+e),o=(i.update(r),i.sign(n,"base64"));return qc(o)}}function Ih(e){return function(r,n,i){_h(i),r=ni(r),n=Oh(n);var o=Me.createVerify("RSA-SHA"+e);return o.update(r),o.verify(i,n,"base64")}}function w_(e){return function(r,n){kh(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 qc(o)}}function E_(e){return function(r,n,i){_h(i),r=ni(r),n=Oh(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 S_(e){var t=Ph(e);return function(){var n=t.apply(null,arguments);return n=Th.derToJose(n,"ES"+e),n}}function A_(e){var t=Ih(e);return function(n,i,o){i=Th.joseToDer(i,"ES"+e).toString("base64");var s=t(n,i,o);return s}}function R_(){return function(){return""}}function T_(){return function(t,r){return r===""}}jh.exports=function(t){var r={hs:Ch,rs:Ph,ps:w_,es:S_,none:R_},n={hs:b_,rs:Ih,ps:E_,es:A_,none:T_},i=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!i)throw nt(h_,t);var o=(i[1]||i[3]).toLowerCase(),s=i[2];return{sign:r[o](s),verify:n[o](s)}}});var Uc=y(function(p$,Lh){var __=require("buffer").Buffer;Lh.exports=function(t){if(typeof t==="string")return t;if(typeof t==="number"||__.isBuffer(t))return t.toString();return JSON.stringify(t)}});var $h=y(function(u$,Fh){var k_=Kr().Buffer,Nh=Pc(),O_=Dc(),C_=require("stream"),qh=Uc(),Fc=require("util");function Dh(e,t){return k_.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function P_(e,t,r){r=r||"utf8";var n=Dh(qh(e),"binary"),i=Dh(qh(t),r);return Fc.format("%s.%s",n,i)}function Uh(e){var{header:t,payload:r}=e,n=e.secret||e.privateKey,i=e.encoding,o=O_(t.alg),s=P_(t,r,i),a=o.sign(s,n);return Fc.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 Nh(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=r,this.payload=new Nh(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))}Fc.inherits(Ao,C_);Ao.prototype.sign=function(){try{var t=Uh({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=Uh;Fh.exports=Ao});var Xh=y(function(l$,Vh){var Kh=Kr().Buffer,Bh=Pc(),I_=Dc(),j_=require("stream"),Hh=Uc(),L_=require("util"),N_=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function q_(e){return Object.prototype.toString.call(e)==="[object Object]"}function D_(e){if(q_(e))return e;try{return JSON.parse(e)}catch(t){return}}function Jh(e){var t=e.split(".",1)[0];return D_(Kh.from(t,"base64").toString("binary"))}function U_(e){return e.split(".",2).join(".")}function Wh(e){return e.split(".")[2]}function F_(e,t){t=t||"utf8";var r=e.split(".")[1];return Kh.from(r,"base64").toString(t)}function zh(e){return N_.test(e)&&!!Jh(e)}function Mh(e,t,r){if(!t){var n=Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}e=Hh(e);var i=Wh(e),o=U_(e),s=I_(t);return s.verify(o,i,r)}function Gh(e,t){if(t=t||{},e=Hh(e),!zh(e))return null;var r=Jh(e);if(!r)return null;var n=F_(e);if(r.typ==="JWT"||t.json)n=JSON.parse(n,t.encoding);return{header:r,payload:n,signature:Wh(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 Bh(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=r,this.signature=new Bh(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))}L_.inherits(Wr,j_);Wr.prototype.verify=function(){try{var t=Mh(this.signature.buffer,this.algorithm,this.key.buffer),r=Gh(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=Gh;Wr.isValid=zh;Wr.verify=Mh;Vh.exports=Wr});var To=y(function(jt){var Yh=$h(),Ro=Xh(),$_=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];jt.ALGORITHMS=$_;jt.sign=Yh.sign;jt.verify=Ro.verify;jt.decode=Ro.decode;jt.isValid=Ro.isValid;jt.createSign=function(t){return new Yh(t)};jt.createVerify=function(t){return new Ro(t)}});var $c=y(function(f$,Zh){var B_=To();Zh.exports=function(e,t){t=t||{};var r=B_.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=y(function(m$,Qh){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;Qh.exports=_o});var Bc=y(function(h$,tx){var ex=ii(),ko=function(e,t){ex.call(this,e),this.name="NotBeforeError",this.date=t};ko.prototype=Object.create(ex.prototype);ko.prototype.constructor=ko;tx.exports=ko});var Kc=y(function(x$,nx){var rx=ii(),Oo=function(e,t){rx.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};Oo.prototype=Object.create(rx.prototype);Oo.prototype.constructor=Oo;nx.exports=Oo});var Hc=y(function(y$,ix){var K_=Da();ix.exports=function(e,t){var r=t||Math.floor(Date.now()/1000);if(typeof e==="string"){var n=K_(e);if(typeof n>"u")return;return Math.floor(r+n/1000)}else if(typeof e==="number")return r+e;else return}});var zr=y(function(g$,ox){var H_=Number.MAX_SAFE_INTEGER||9007199254740991,J_=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ox.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:H_,RELEASE_TYPES:J_,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var oi=y(function(v$,sx){var W_=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};sx.exports=W_});var Mr=y(function(mt,ax){var{MAX_SAFE_COMPONENT_LENGTH:Jc,MAX_SAFE_BUILD_LENGTH:z_,MAX_LENGTH:M_}=zr(),G_=oi();mt=ax.exports={};var V_=mt.re=[],X_=mt.safeRe=[],T=mt.src=[],Y_=mt.safeSrc=[],_=mt.t={},Z_=0,Wc="[a-zA-Z0-9-]",Q_=[["\\s",1],["\\d",M_],[Wc,z_]],ek=(e)=>{for(let[t,r]of Q_)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},N=(e,t,r)=>{let n=ek(t),i=Z_++;G_(e,i,t),_[e]=i,T[i]=t,Y_[i]=n,V_[i]=new RegExp(t,r?"g":void 0),X_[i]=new RegExp(n,r?"g":void 0)};N("NUMERICIDENTIFIER","0|[1-9]\\d*");N("NUMERICIDENTIFIERLOOSE","\\d+");N("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Wc}*`);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",`${Wc}+`);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,${Jc}})(?:\\.(\\d{1,${Jc}}))?(?:\\.(\\d{1,${Jc}}))?`);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=y(function(b$,cx){var tk=Object.freeze({loose:!0}),rk=Object.freeze({}),nk=(e)=>{if(!e)return rk;if(typeof e!=="object")return tk;return e};cx.exports=nk});var zc=y(function(w$,lx){var px=/^[0-9]+$/,ux=(e,t)=>{if(typeof e==="number"&&typeof t==="number")return e===t?0:e<t?-1:1;let r=px.test(e),n=px.test(t);if(r&&n)e=+e,t=+t;return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},ik=(e,t)=>ux(t,e);lx.exports={compareIdentifiers:ux,rcompareIdentifiers:ik}});var _e=y(function(E$,fx){var Po=oi(),{MAX_LENGTH:dx,MAX_SAFE_INTEGER:Io}=zr(),{safeRe:jo,t:Lo}=Mr(),ok=Co(),{compareIdentifiers:Mc}=zc(),sk=(e,t)=>{let r=t.split(".");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(Mc(e[n],r[n])!==0)return!1;return!0};class it{constructor(e,t){if(t=ok(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>dx)throw TypeError(`version is longer than ${dx} 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 Mc(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 Mc(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(sk(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}}fx.exports=it});var Lt=y(function(S$,hx){var mx=_e(),ak=(e,t,r=!1)=>{if(e instanceof mx)return e;try{return new mx(e,t)}catch(n){if(!r)return null;throw n}};hx.exports=ak});var yx=y(function(A$,xx){var ck=Lt(),pk=(e,t)=>{let r=ck(e,t);return r?r.version:null};xx.exports=pk});var vx=y(function(R$,gx){var uk=Lt(),lk=(e,t)=>{let r=uk(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};gx.exports=lk});var Ex=y(function(T$,wx){var bx=_e(),dk=(e,t,r,n,i)=>{if(typeof r==="string")i=n,n=r,r=void 0;try{return new bx(e instanceof bx?e.version:e,r).inc(t,n,i).version}catch(o){return null}};wx.exports=dk});var Rx=y(function(_$,Ax){var Sx=Lt(),fk=(e,t)=>{let r=Sx(e,null,!0),n=Sx(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"};Ax.exports=fk});var _x=y(function(k$,Tx){var mk=_e(),hk=(e,t)=>new mk(e,t).major;Tx.exports=hk});var Ox=y(function(O$,kx){var xk=_e(),yk=(e,t)=>new xk(e,t).minor;kx.exports=yk});var Px=y(function(C$,Cx){var gk=_e(),vk=(e,t)=>new gk(e,t).patch;Cx.exports=vk});var jx=y(function(P$,Ix){var bk=Lt(),wk=(e,t)=>{let r=bk(e,t);return r&&r.prerelease.length?r.prerelease:null};Ix.exports=wk});var Ge=y(function(I$,Nx){var Lx=_e(),Ek=(e,t,r)=>new Lx(e,r).compare(new Lx(t,r));Nx.exports=Ek});var Dx=y(function(j$,qx){var Sk=Ge(),Ak=(e,t,r)=>Sk(t,e,r);qx.exports=Ak});var Fx=y(function(L$,Ux){var Rk=Ge(),Tk=(e,t)=>Rk(e,t,!0);Ux.exports=Tk});var No=y(function(N$,Bx){var $x=_e(),_k=(e,t,r)=>{let n=new $x(e,r),i=new $x(t,r);return n.compare(i)||n.compareBuild(i)};Bx.exports=_k});var Hx=y(function(q$,Kx){var kk=No(),Ok=(e,t)=>e.sort((r,n)=>kk(r,n,t));Kx.exports=Ok});var Wx=y(function(D$,Jx){var Ck=No(),Pk=(e,t)=>e.sort((r,n)=>Ck(n,r,t));Jx.exports=Pk});var si=y(function(U$,zx){var Ik=Ge(),jk=(e,t,r)=>Ik(e,t,r)>0;zx.exports=jk});var qo=y(function(F$,Mx){var Lk=Ge(),Nk=(e,t,r)=>Lk(e,t,r)<0;Mx.exports=Nk});var Gc=y(function($$,Gx){var qk=Ge(),Dk=(e,t,r)=>qk(e,t,r)===0;Gx.exports=Dk});var Vc=y(function(B$,Vx){var Uk=Ge(),Fk=(e,t,r)=>Uk(e,t,r)!==0;Vx.exports=Fk});var Do=y(function(K$,Xx){var $k=Ge(),Bk=(e,t,r)=>$k(e,t,r)>=0;Xx.exports=Bk});var Uo=y(function(H$,Yx){var Kk=Ge(),Hk=(e,t,r)=>Kk(e,t,r)<=0;Yx.exports=Hk});var Xc=y(function(J$,Zx){var Jk=Gc(),Wk=Vc(),zk=si(),Mk=Do(),Gk=qo(),Vk=Uo(),Xk=(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 Jk(e,r,n);case"!=":return Wk(e,r,n);case">":return zk(e,r,n);case">=":return Mk(e,r,n);case"<":return Gk(e,r,n);case"<=":return Vk(e,r,n);default:throw TypeError(`Invalid operator: ${t}`)}};Zx.exports=Xk});var ey=y(function(W$,Qx){var Yk=_e(),Zk=Lt(),{safeRe:Fo,t:$o}=Mr(),Qk=(e,t)=>{if(e instanceof Yk)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 Zk(`${n}.${i}.${o}${s}${a}`,t)};Qx.exports=Qk});var ry=y(function(z$,ty){var eO=Lt(),tO=zr(),rO=_e(),nO=(e,t,r)=>{if(!tO.RELEASE_TYPES.includes(t))return null;let n=iO(e,r);return n&&oO(n,t)},iO=(e,t)=>{let r=e instanceof rO?e.version:e;return eO(r,t)},oO=(e,t)=>{if(sO(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()},sO=(e)=>e.startsWith("pre");ty.exports=nO});var oy=y(function(M$,iy){class ny{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}}iy.exports=ny});var Ve=y(function(G$,py){var aO=/\s+/g;class ai{constructor(e,t){if(t=pO(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 Yc)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(aO," "),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)=>!ay(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&&gO(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(yO,"");let r=((this.options.includePrerelease&&hO)|(this.options.loose&&xO))+":"+e,n=sy.get(r);if(n)return n;let i=this.options.loose,o=i?Ie[ke.HYPHENRANGELOOSE]:Ie[ke.HYPHENRANGE];e=e.replace(o,OO(this.options.includePrerelease)),re("hyphen replace",e),e=e.replace(Ie[ke.COMPARATORTRIM],dO),re("comparator trim",e),e=e.replace(Ie[ke.TILDETRIM],fO),re("tilde trim",e),e=e.replace(Ie[ke.CARETTRIM],mO),re("caret trim",e);let s=e.split(" ").map((u)=>vO(u,this.options)).join(" ").split(/\s+/).map((u)=>kO(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 Yc(u,this.options));for(let u of c){if(ay(u))return[u];a.set(u.value,u)}if(a.size>1&&a.has(""))a.delete("");let p=[...a.values()];return sy.set(r,p),p}intersects(e,t){if(!(e instanceof ai))throw TypeError("a Range is required");return this.set.some((r)=>cy(r,t)&&e.set.some((n)=>cy(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 uO(e,this.options)}catch(t){return!1}for(let t=0;t<this.set.length;t++)if(CO(this.set[t],e,this.options))return!0;return!1}}py.exports=ai;var cO=oy(),sy=new cO,pO=Co(),Yc=ci(),re=oi(),uO=_e(),{safeRe:Ie,src:lO,t:ke,comparatorTrimReplace:dO,tildeTrimReplace:fO,caretTrimReplace:mO}=Mr(),{FLAG_INCLUDE_PRERELEASE:hO,FLAG_LOOSE:xO}=zr(),yO=new RegExp(lO[ke.BUILD],"g"),ay=(e)=>e.value==="<0.0.0-0",gO=(e)=>e.value==="",cy=(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},vO=(e,t)=>(e=e.replace(Ie[ke.BUILD],""),re("comp",e,t),e=SO(e,t),re("caret",e),e=wO(e,t),re("tildes",e),e=RO(e,t),re("xrange",e),e=_O(e,t),re("stars",e),e),ge=(e)=>!e||e.toLowerCase()==="x"||e==="*",bO=(e,t,r)=>ge(e)&&!ge(t)||ge(t)&&r&&!ge(r),wO=(e,t)=>e.trim().split(/\s+/).map((r)=>EO(r,t)).join(" "),EO=(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(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)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})},SO=(e,t)=>e.trim().split(/\s+/).map((r)=>AO(r,t)).join(" "),AO=(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(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(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})},RO=(e,t)=>(re("replaceXRanges",e,t),e.split(/\s+/).map((r)=>TO(r,t)).join(" ")),TO=(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),bO(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 re("xRange return",n),n})},_O=(e,t)=>(re("replaceStars",e,t),e.trim().replace(Ie[ke.STAR],"")),kO=(e,t)=>(re("replaceGTE0",e,t),e.trim().replace(Ie[t.includePrerelease?ke.GTE0PRE:ke.GTE0],"")),OO=(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()},CO=(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===Yc.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=y(function(V$,hy){var pi=Symbol("SemVer ANY");class Bo{static get ANY(){return pi}constructor(e,t){if(t=uy(t),e instanceof Bo)if(e.loose===!!t.loose)return e;else e=e.value;if(e=e.trim().split(/\s+/).join(" "),Qc("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;Qc("comp",this)}parse(e){let t=this.options.loose?ly[dy.COMPARATORLOOSE]:ly[dy.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 fy(r[2],this.options.loose)}toString(){return this.value}test(e){if(Qc("Comparator.test",e,this.options.loose),this.semver===pi||e===pi)return!0;if(typeof e==="string")try{e=new fy(e,this.options)}catch(t){return!1}return Zc(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 my(e.value,t).test(this.value)}else if(e.operator===""){if(e.value==="")return!0;return new my(this.value,t).test(e.semver)}if(t=uy(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(Zc(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))return!0;if(Zc(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))return!0;return!1}}hy.exports=Bo;var uy=Co(),{safeRe:ly,t:dy}=Mr(),Zc=Xc(),Qc=oi(),fy=_e(),my=Ve()});var ui=y(function(X$,xy){var PO=Ve(),IO=(e,t,r)=>{try{t=new PO(t,r)}catch(n){return!1}return t.test(e)};xy.exports=IO});var gy=y(function(Y$,yy){var jO=Ve(),LO=(e,t)=>new jO(e,t).set.map((r)=>r.map((n)=>n.value).join(" ").trim().split(" "));yy.exports=LO});var by=y(function(Z$,vy){var NO=_e(),qO=Ve(),DO=(e,t,r)=>{let n=null,i=null,o=null;try{o=new qO(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===-1)n=s,i=new NO(n,r)}}),n};vy.exports=DO});var Ey=y(function(Q$,wy){var UO=_e(),FO=Ve(),$O=(e,t,r)=>{let n=null,i=null,o=null;try{o=new FO(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===1)n=s,i=new UO(n,r)}}),n};wy.exports=$O});var Ry=y(function(eB,Ay){var ep=_e(),BO=Ve(),Sy=si(),KO=(e,t)=>{e=new BO(e,t);let r=new ep("0.0.0");if(e.test(r))return r;if(r=new ep("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 ep(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||Sy(a,o))o=a;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${s.operator}`)}}),o&&(!r||Sy(r,o)))r=o}if(r&&e.test(r))return r;return null};Ay.exports=KO});var _y=y(function(tB,Ty){var HO=Ve(),JO=(e,t)=>{try{return new HO(e,t).range||"*"}catch(r){return null}};Ty.exports=JO});var Ko=y(function(rB,Py){var WO=_e(),Cy=ci(),{ANY:zO}=Cy,MO=Ve(),GO=ui(),ky=si(),Oy=qo(),VO=Uo(),XO=Do(),YO=(e,t,r,n)=>{e=new WO(e,n),t=new MO(t,n);let i,o,s,a,c;switch(r){case">":i=ky,o=VO,s=Oy,a=">",c=">=";break;case"<":i=Oy,o=XO,s=ky,a="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(GO(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===zO)m=new Cy(">=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};Py.exports=YO});var jy=y(function(nB,Iy){var ZO=Ko(),QO=(e,t,r)=>ZO(e,t,">",r);Iy.exports=QO});var Ny=y(function(iB,Ly){var eC=Ko(),tC=(e,t,r)=>eC(e,t,"<",r);Ly.exports=tC});var Uy=y(function(oB,Dy){var qy=Ve(),rC=(e,t,r)=>(e=new qy(e,r),t=new qy(t,r),e.intersects(t,r));Dy.exports=rC});var $y=y(function(sB,Fy){var nC=ui(),iC=Ge();Fy.exports=(e,t,r)=>{let n=[],i=null,o=null,s=e.sort((u,l)=>iC(u,l,r));for(let u of s)if(nC(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 zy=y(function(aB,Wy){var By=Ve(),np=ci(),{ANY:tp}=np,rp=ui(),ip=Ge(),oC=(e,t,r={})=>{if(e===t)return!0;e=new By(e,r),t=new By(t,r);let n=!1;e:for(let i of e.set){for(let o of t.set){let s=aC(i,o,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},sC=[new np(">=0.0.0-0")],Ky=[new np(">=0.0.0")],aC=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===tp)if(t.length===1&&t[0].semver===tp)return!0;else if(r.includePrerelease)e=sC;else e=Ky;if(t.length===1&&t[0].semver===tp)if(r.includePrerelease)return!0;else t=Ky;let n=new Set,i,o;for(let m of e)if(m.operator===">"||m.operator===">=")i=Hy(i,m,r);else if(m.operator==="<"||m.operator==="<=")o=Jy(o,m,r);else n.add(m.semver);if(n.size>1)return null;let s;if(i&&o){if(s=ip(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&&!rp(m,String(i),r))return null;if(o&&!rp(m,String(o),r))return null;for(let g of t)if(!rp(m,String(g),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=Hy(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=Jy(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},Hy=(e,t,r)=>{if(!e)return t;let n=ip(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e},Jy=(e,t,r)=>{if(!e)return t;let n=ip(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};Wy.exports=oC});var Ho=y(function(cB,Vy){var op=Mr(),My=zr(),cC=_e(),Gy=zc(),pC=Lt(),uC=yx(),lC=vx(),dC=Ex(),fC=Rx(),mC=_x(),hC=Ox(),xC=Px(),yC=jx(),gC=Ge(),vC=Dx(),bC=Fx(),wC=No(),EC=Hx(),SC=Wx(),AC=si(),RC=qo(),TC=Gc(),_C=Vc(),kC=Do(),OC=Uo(),CC=Xc(),PC=ey(),IC=ry(),jC=ci(),LC=Ve(),NC=ui(),qC=gy(),DC=by(),UC=Ey(),FC=Ry(),$C=_y(),BC=Ko(),KC=jy(),HC=Ny(),JC=Uy(),WC=$y(),zC=zy();Vy.exports={parse:pC,valid:uC,clean:lC,inc:dC,diff:fC,major:mC,minor:hC,patch:xC,prerelease:yC,compare:gC,rcompare:vC,compareLoose:bC,compareBuild:wC,sort:EC,rsort:SC,gt:AC,lt:RC,eq:TC,neq:_C,gte:kC,lte:OC,cmp:CC,coerce:PC,truncate:IC,Comparator:jC,Range:LC,satisfies:NC,toComparators:qC,maxSatisfying:DC,minSatisfying:UC,minVersion:FC,validRange:$C,outside:BC,gtr:KC,ltr:HC,intersects:JC,simplifyRange:WC,subset:zC,SemVer:cC,re:op.re,src:op.src,tokens:op.t,SEMVER_SPEC_VERSION:My.SEMVER_SPEC_VERSION,RELEASE_TYPES:My.RELEASE_TYPES,compareIdentifiers:Gy.compareIdentifiers,rcompareIdentifiers:Gy.rcompareIdentifiers}});var Yy=y(function(pB,Xy){var MC=Ho();Xy.exports=MC.satisfies(process.version,">=15.7.0")});var Qy=y(function(uB,Zy){var GC=Ho();Zy.exports=GC.satisfies(process.version,">=16.9.0")});var sp=y(function(lB,eg){var VC=Yy(),XC=Qy(),YC={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},ZC={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};eg.exports=function(e,t){if(!e||!t)return;let r=t.asymmetricKeyType;if(!r)return;let n=YC[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(VC)switch(r){case"ec":let i=t.asymmetricKeyDetails.namedCurve,o=ZC[e];if(i!==o)throw Error(`"alg" parameter "${e}" requires curve "${o}".`);break;case"rsa-pss":if(XC){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 ap=y(function(dB,tg){var QC=Ho();tg.exports=QC.satisfies(process.version,"^6.12.0 || >=8.0.0")});var ig=y(function(fB,ng){var Q=ii(),eP=Bc(),rg=Kc(),tP=$c(),rP=Hc(),nP=sp(),iP=ap(),oP=To(),{KeyObject:sP,createSecretKey:aP,createPublicKey:cP}=require("crypto"),cp=["RS256","RS384","RS512"],pP=["ES256","ES384","ES512"],pp=["RS256","RS384","RS512"],uP=["HS256","HS384","HS512"];if(iP)cp.splice(cp.length,0,"PS256","PS384","PS512"),pp.splice(pp.length,0,"PS256","PS384","PS512");ng.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=tP(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 f=s[2].trim()!=="";if(!f&&l)return i(new Q("jwt signature is required"));if(f&&!l)return i(new Q("secret or public key must be provided"));if(!f&&!r.algorithms)return i(new Q('please specify "none" in "algorithms" to verify unsigned tokens'));if(l!=null&&!(l instanceof sP))try{l=cP(l)}catch(x){try{l=aP(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=uP;else if(["rsa","rsa-pss"].includes(l.asymmetricKeyType))r.algorithms=pp;else if(l.asymmetricKeyType==="ec")r.algorithms=pP;else r.algorithms=cp;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{nP(c.alg,l)}catch(x){return i(x)}let m;try{m=oP.verify(e,a.header.alg,l)}catch(x){return i(x)}if(!m)return i(new Q("invalid signature"));let g=a.payload;if(typeof g.nbf<"u"&&!r.ignoreNotBefore){if(typeof g.nbf!=="number")return i(new Q("invalid nbf value"));if(g.nbf>o+(r.clockTolerance||0))return i(new eP("jwt not active",new Date(g.nbf*1000)))}if(typeof g.exp<"u"&&!r.ignoreExpiration){if(typeof g.exp!=="number")return i(new Q("invalid exp value"));if(o>=g.exp+(r.clockTolerance||0))return i(new rg("jwt expired",new Date(g.exp*1000)))}if(r.audience){let x=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(g.aud)?g.aud:[g.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"&&g.iss!==r.issuer||Array.isArray(r.issuer)&&r.issuer.indexOf(g.iss)===-1)return i(new Q("jwt issuer invalid. expected: "+r.issuer))}if(r.subject){if(g.sub!==r.subject)return i(new Q("jwt subject invalid. expected: "+r.subject))}if(r.jwtid){if(g.jti!==r.jwtid)return i(new Q("jwt jwtid invalid. expected: "+r.jwtid))}if(r.nonce){if(g.nonce!==r.nonce)return i(new Q("jwt nonce invalid. expected: "+r.nonce))}if(r.maxAge){if(typeof g.iat!=="number")return i(new Q("iat required when maxAge is specified"));let x=rP(r.maxAge,g.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 rg("maxAge exceeded",new Date(x*1000)))}if(r.complete===!0){let x=a.signature;return i(null,{header:c,payload:g,signature:x})}return i(null,g)})}});var ug=y(function(mB,pg){var og=1/0,ag=9007199254740991,lP=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,sg=NaN,dP="[object Arguments]",fP="[object Function]",mP="[object GeneratorFunction]",hP="[object String]",xP="[object Symbol]",yP=/^\s+|\s+$/g,gP=/^[-+]0x[0-9a-f]+$/i,vP=/^0b[01]+$/i,bP=/^0o[0-7]+$/i,wP=/^(?:0|[1-9]\d*)$/,EP=parseInt;function SP(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 AP(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 RP(e,t,r){if(t!==t)return AP(e,TP,r);var n=r-1,i=e.length;while(++n<i)if(e[n]===t)return n;return-1}function TP(e){return e!==e}function _P(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function kP(e,t){return SP(t,function(r){return e[r]})}function OP(e,t){return function(r){return e(t(r))}}var Jo=Object.prototype,lp=Jo.hasOwnProperty,Wo=Jo.toString,CP=Jo.propertyIsEnumerable,PP=OP(Object.keys,Object),IP=Math.max;function jP(e,t){var r=cg(e)||UP(e)?_P(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||lp.call(e,o))&&!(i&&(o=="length"||NP(o,n))))r.push(o);return r}function LP(e){if(!qP(e))return PP(e);var t=[];for(var r in Object(e))if(lp.call(e,r)&&r!="constructor")t.push(r);return t}function NP(e,t){return t=t==null?ag:t,!!t&&(typeof e=="number"||wP.test(e))&&(e>-1&&e%1==0&&e<t)}function qP(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Jo;return e===r}function DP(e,t,r,n){e=dp(e)?e:GP(e),r=r&&!n?WP(r):0;var i=e.length;if(r<0)r=IP(i+r,0);return KP(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&RP(e,t,r)>-1}function UP(e){return FP(e)&&lp.call(e,"callee")&&(!CP.call(e,"callee")||Wo.call(e)==dP)}var cg=Array.isArray;function dp(e){return e!=null&&BP(e.length)&&!$P(e)}function FP(e){return fp(e)&&dp(e)}function $P(e){var t=up(e)?Wo.call(e):"";return t==fP||t==mP}function BP(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ag}function up(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function fp(e){return!!e&&typeof e=="object"}function KP(e){return typeof e=="string"||!cg(e)&&fp(e)&&Wo.call(e)==hP}function HP(e){return typeof e=="symbol"||fp(e)&&Wo.call(e)==xP}function JP(e){if(!e)return e===0?e:0;if(e=zP(e),e===og||e===-og){var t=e<0?-1:1;return t*lP}return e===e?e:0}function WP(e){var t=JP(e),r=t%1;return t===t?r?t-r:t:0}function zP(e){if(typeof e=="number")return e;if(HP(e))return sg;if(up(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=up(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(yP,"");var r=vP.test(e);return r||bP.test(e)?EP(e.slice(2),r?2:8):gP.test(e)?sg:+e}function MP(e){return dp(e)?jP(e):LP(e)}function GP(e){return e?kP(e,MP(e)):[]}pg.exports=DP});var dg=y(function(hB,lg){var VP="[object Boolean]",XP=Object.prototype,YP=XP.toString;function ZP(e){return e===!0||e===!1||QP(e)&&YP.call(e)==VP}function QP(e){return!!e&&typeof e=="object"}lg.exports=ZP});var yg=y(function(xB,xg){var fg=1/0,e1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,mg=NaN,t1="[object Symbol]",r1=/^\s+|\s+$/g,n1=/^[-+]0x[0-9a-f]+$/i,i1=/^0b[01]+$/i,o1=/^0o[0-7]+$/i,s1=parseInt,a1=Object.prototype,c1=a1.toString;function p1(e){return typeof e=="number"&&e==f1(e)}function hg(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function u1(e){return!!e&&typeof e=="object"}function l1(e){return typeof e=="symbol"||u1(e)&&c1.call(e)==t1}function d1(e){if(!e)return e===0?e:0;if(e=m1(e),e===fg||e===-fg){var t=e<0?-1:1;return t*e1}return e===e?e:0}function f1(e){var t=d1(e),r=t%1;return t===t?r?t-r:t:0}function m1(e){if(typeof e=="number")return e;if(l1(e))return mg;if(hg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=hg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(r1,"");var r=i1.test(e);return r||o1.test(e)?s1(e.slice(2),r?2:8):n1.test(e)?mg:+e}xg.exports=p1});var vg=y(function(yB,gg){var h1="[object Number]",x1=Object.prototype,y1=x1.toString;function g1(e){return!!e&&typeof e=="object"}function v1(e){return typeof e=="number"||g1(e)&&y1.call(e)==h1}gg.exports=v1});var Sg=y(function(gB,Eg){var b1="[object Object]";function w1(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function E1(e,t){return function(r){return e(t(r))}}var S1=Function.prototype,bg=Object.prototype,wg=S1.toString,A1=bg.hasOwnProperty,R1=wg.call(Object),T1=bg.toString,_1=E1(Object.getPrototypeOf,Object);function k1(e){return!!e&&typeof e=="object"}function O1(e){if(!k1(e)||T1.call(e)!=b1||w1(e))return!1;var t=_1(e);if(t===null)return!0;var r=A1.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&wg.call(r)==R1}Eg.exports=O1});var Rg=y(function(vB,Ag){var C1="[object String]",P1=Object.prototype,I1=P1.toString,j1=Array.isArray;function L1(e){return!!e&&typeof e=="object"}function N1(e){return typeof e=="string"||!j1(e)&&L1(e)&&I1.call(e)==C1}Ag.exports=N1});var Cg=y(function(bB,Og){var q1="Expected a function",Tg=1/0,D1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,_g=NaN,U1="[object Symbol]",F1=/^\s+|\s+$/g,$1=/^[-+]0x[0-9a-f]+$/i,B1=/^0b[01]+$/i,K1=/^0o[0-7]+$/i,H1=parseInt,J1=Object.prototype,W1=J1.toString;function z1(e,t){var r;if(typeof t!="function")throw TypeError(q1);return e=Y1(e),function(){if(--e>0)r=t.apply(this,arguments);if(e<=1)t=void 0;return r}}function M1(e){return z1(2,e)}function kg(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function G1(e){return!!e&&typeof e=="object"}function V1(e){return typeof e=="symbol"||G1(e)&&W1.call(e)==U1}function X1(e){if(!e)return e===0?e:0;if(e=Z1(e),e===Tg||e===-Tg){var t=e<0?-1:1;return t*D1}return e===e?e:0}function Y1(e){var t=X1(e),r=t%1;return t===t?r?t-r:t:0}function Z1(e){if(typeof e=="number")return e;if(V1(e))return _g;if(kg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=kg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(F1,"");var r=B1.test(e);return r||K1.test(e)?H1(e.slice(2),r?2:8):$1.test(e)?_g:+e}Og.exports=M1});var Fg=y(function(wB,Ug){var Pg=Hc(),Q1=ap(),eI=sp(),Ig=To(),tI=ug(),zo=dg(),jg=yg(),mp=vg(),Ng=Sg(),Nt=Rg(),rI=Cg(),{KeyObject:nI,createSecretKey:iI,createPrivateKey:oI}=require("crypto"),qg=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];if(Q1)qg.splice(3,0,"PS256","PS384","PS512");var sI={expiresIn:{isValid:function(e){return jg(e)||Nt(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return jg(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:tI.bind(null,qg),message:'"algorithm" must be a valid string enum value'},header:{isValid:Ng,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'}},aI={iat:{isValid:mp,message:'"iat" should be a number of seconds'},exp:{isValid:mp,message:'"exp" should be a number of seconds'},nbf:{isValid:mp,message:'"nbf" should be a number of seconds'}};function Dg(e,t,r,n){if(!Ng(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 cI(e){return Dg(sI,!1,e,"options")}function pI(e){return Dg(aI,!0,e,"payload")}var Lg={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},uI=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];Ug.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 nI))try{t=oI(t)}catch(p){try{t=iI(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{pI(e)}catch(p){return s(p)}if(!r.mutatePayload)e=Object.assign({},e)}else{let p=uI.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{cI(r)}catch(p){return s(p)}if(!r.allowInvalidAsymmetricKeyTypes)try{eI(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=Pg(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=Pg(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(Lg).forEach(function(p){let u=Lg[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&&rI(n),Ig.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=Ig.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 Bg=y(function(EB,$g){$g.exports={decode:$c(),verify:ig(),sign:Fg(),JsonWebTokenError:ii(),NotBeforeError:Bc(),TokenExpiredError:Kc()}});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 hp(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 xp(e){let t=Math.floor(e/4294967296),r=e%4294967296,n=new Uint8Array(8);return hp(n,t,0),hp(n,r,4),n}function Mo(e){let t=new Uint8Array(4);return hp(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 Kg(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)=>Kg("Key must be ",e,...t),li=(e,t,...r)=>Kg(`Key for the ${e} algorithm must be `,t,...r);var gp={};Ar(gp,{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 Hg(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 Jg(e,t){if(t.length<<3!==e.ivBits)throw new S("Invalid Initialization Vector length")}async function Wg(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 zg(e,t,r){return new Uint8Array((await crypto.subtle.sign("HMAC",e,t)).slice(0,r>>3))}async function dI(e,t,r,n,i){let[o,s,a]=await Wg(e,r,"encrypt"),c=new Uint8Array(await crypto.subtle.encrypt({iv:n,name:"AES-CBC"},o,t)),p=xe(i,n,c,xp(i.length*8)),u=await zg(s,p,a);return{ciphertext:c,tag:u,iv:n}}async function fI(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 mI(e,t,r,n,i,o){let[s,a,c]=await Wg(e,t,"decrypt"),p=xe(o,n,r,xp(o.length*8)),u=await zg(a,p,c);try{if(await fI(i,u))return new Uint8Array(await crypto.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}throw new qt}async function hI(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 xI(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)Jg(e,n);else n=lI(e);if(r instanceof Uint8Array)Hg(r,e.cekBits);return e.cbc?dI(e,t,r,n,i):hI(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(Jg(e,n),t instanceof Uint8Array)Hg(t,e.cekBits);return e.cbc?mI(e,t,r,n,i,o):xI(e,t,r,n,i,o)}var ct=(e)=>crypto.getRandomValues(new Uint8Array(e.cekBits>>3)),lI=(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(vp,{cause:r})}let t=e;if(t instanceof Uint8Array)t=ar.decode(t);if(t.includes("+")||t.includes("/"))throw TypeError(vp);t=t.replace(/-/g,"+").replace(/_/g,"/");try{return ns(t)}catch{throw TypeError(vp)}}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 vp="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 ye(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 Mg;var Pe=j(()=>{Be();$e();Mg=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 gI(e,t,r){let{alg:n,secret:i}=e,o=r==="decrypt"||r==="sign";if(i&&t instanceof Uint8Array)return[Vg,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 yI(e,s,r),[Zg,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(`${bp(t)} instances for symmetric algorithms must be of type "secret"`)}else{if(t.type==="secret")throw TypeError(`${bp(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(`${bp(t)} instances for asymmetric algorithm ${a} must be of type "${s}"`)}}return at(t)?[Xg,t]:[Yg,t]}function cs(e,t,r){wp||=new WeakMap;let n=wp.get(e);if(r)if(n)n[t]=r;else wp.set(e,{[t]:r});return r??n?.[t]}async function Xe(e,t,r){let n=gI(e,t,r);switch(n[0]){case Vg:case Xg:return n[1];case Zg:{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 Gg(i,o,e)}case Yg:{let i=n[1];if(i.type==="secret")return i.export();if("toCryptoKey"in i&&typeof i.toCryptoKey==="function")return bI(i,e);return Gg(i,i.export({format:"jwk"}),e)}}}var bp=(e)=>e[Symbol.toStringTag],yI=(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`)}},Vg=0,Xg=1,Yg=2,Zg=3,wp,vI,Gg=async(e,t,r)=>cs(e,r.alg)??cs(e,r.alg,await pt(r,{...t,alg:r.alg})),bI=(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=vI[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();vI={__proto__:null,prime256v1:"P-256",secp384r1:"P-384",secp521r1:"P-521"}});function yi(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:wI,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:EI,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 Ep(){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:SI,cekBits:e,ivBits:t?128:96,cbc:t}}function Qg(e,t){throw new J(`Invalid or unsupported "${e}" (JWE ${t}) header value`)}function Ye(e){return(typeof e==="string"?Sp[e]:void 0)??Qg("alg","Algorithm")}function lr(e){return(typeof e==="string"?AI[e]:void 0)??Qg("enc","Encryption Algorithm")}var wI,EI,ls,Sp,SI,AI;var rn=j(()=>{M();wI=[["encrypt","wrapKey"],["decrypt","unwrapKey"]],EI=[[],["deriveBits"]],ls=[[],[]];Sp=yi({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":Ep(),"PBES2-HS384+A192KW":Ep(),"PBES2-HS512+A256KW":Ep()}),SI=["encrypt","decrypt"];AI=yi({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 ev(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 rv(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 Ap(e,t,r){let n=await rv(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 Rp(e,t,r){let n=await rv(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 nv(e,t,r){wt(t,Ye(e).subtle,r),Vo(e,t)}function RI(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 iv(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 RI(n,t);return new Uint8Array(await crypto.subtle.deriveBits(s,a,o))}function Tp(e){return xe(Mo(e.length),e)}async function TI(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 ov(e,t,r,n,i=new Uint8Array,o=new Uint8Array){ev(e),ev(t,"deriveBits");let s=xe(Tp(oe(r)),Tp(i),Tp(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 TI(a,n,s)}function sv(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 gi(e){if(e===void 0)throw new S("JWE Encrypted Key missing")}function tv(e){if(e!==void 0)throw new S("Encountered unexpected JWE Encrypted Key")}async function av(e,t,r,n,i,o){let s=Ye(e);if(e==="dir")return tv(n),r;switch(s.subtle.name){case"ECDH":{if(e==="ECDH-ES")tv(n);if(!q(i.epk))throw new S('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');sv(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=ye(i.apu,"apu",S)}if(i.apv!==void 0){if(typeof i.apv!=="string")throw new S('JOSE Header "apv" (Agreement PartyVInfo) invalid');p=ye(i.apv,"apv",S)}let u=await ov(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 gi(n),Rp(e.slice(-6),u,n)}case"RSA-OAEP":return gi(n),Zo(r),nv(e,r,"decrypt"),new Uint8Array(await crypto.subtle.decrypt("RSA-OAEP",r,n));case"PBKDF2":{if(gi(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=ye(i.p2s,"p2s",S),p=await iv(c,e,i.p2c,r);return Rp(e.slice(-6),p,n)}case"AES-KW":return gi(n),Rp(e,r,n);case"AES-GCM":{if(gi(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=ye(i.iv,"iv",S);let c;return c=ye(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":{sv(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 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:g,y:x,crv:v,kty:h}=await f.exportKey("jwk",m),b=await ov(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:g,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 Ap(E,b,a);break}case"RSA-OAEP":{a=n||ct(t),Zo(r),nv(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 iv(u,e,p,r);o=await Ap(e.slice(-6),l,a),s={p2c:p,p2s:Y(u)};break}case"AES-KW":{a=n||ct(t),o=await Ap(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 cv(e){if(typeof globalThis[e]>"u")throw new J(`JWE "zip" (Compression Algorithm) Header Parameter requires the ${e} API.`)}async function pv(e){cv("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 uv(e,t){cv("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 _p=j(()=>{M();$e()});function ys(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 gs(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 kp(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,ye(r,"ciphertext",S),n!==void 0?ye(n,"iv",S):void 0,i!==void 0?ye(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=ye(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 Op(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 lv(e,t,r,n,a)}async function lv(e,t,r,n,i){let[o,s,a,c,p]=r,[u,l,f,m,g]=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=ye(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 av(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,f,m,g);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 uv(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 dv(e,t,r){return Op(e,kp(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),f=[u,ye(s,"ciphertext",S),o?ye(o,"iv",S):void 0,a?ye(a,"tag",S):void 0,l];return lv(p,f,t,r,u)}var bi=j(()=>{xi();Pe();M();fs();$e();sn();ur();rn();_p()});async function fv(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 mv=j(()=>{bi()});async function hv(e,t,r){if(!q(e))throw new S("Flattened JWE must be an object");let n=ys(e),[i,,o]=gs(e);if(!i)throw o;let s={...n,...i};return vs(s),bs(s,await dv(s,Ut(r),t))}var xv=j(()=>{M();bi()});async function yv(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=ys(e),a=kp(s)}catch{throw new qt}let c=i.map((p)=>gs(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 Op(u,a,o,t))}catch{}}throw new qt}var gv=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 Cp(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 Pp(e,t,r){let[n,i,,o]=t,[s,a,c,p,u,l,f,m,,g]=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(g)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 pv(I).catch((et)=>{throw new S("Failed to compress plaintext",{cause:et})});let{ciphertext:me,tag:yt,iv:Qe}=await es(o,I,E,f,te),V={ciphertext:Y(me)};if(Qe)V.iv=Y(Qe);if(yt)V.tag=Y(yt);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?Mg in r:!1;return Pp(e,Cp(e),t)}var wi=j(()=>{Be();xi();fs();M();$e();sn();ur();rn();_p();Pe()});class bv{#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 vv(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 Ip{#e;#t=[];#n;#o;#s;constructor(e){this.#e=e}addRecipient(e,t){let r=new bv(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),f={ciphertext:l.ciphertext,iv:l.iv,recipients:[{}],tag:l.tag};if(l.encrypted_key)f.recipients[0].encrypted_key=l.encrypted_key;return vv(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=Cp(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 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 Pp(n[0],i[0],u);s.ciphertext=b.ciphertext,s.iv=b.iv,s.tag=b.tag,l.encrypted_key=b.encrypted_key,vv(b,s,l);continue}let[,f,,m]=i[a],g=n[a][2],x=await Xe(Ye(f),u,"encrypt"),[,v,h]=await ds(f,m,x,o,p);if(l.encrypted_key=Y(v),g||h){let b={...g,...h};if(h)Es(n[a][1],b,n[a][3]);l.header=b}}return s}}var wv=j(()=>{Pe();M();xi();fs();Be();wi();ur();rn()});async function Ev(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 Sv(e,t,r){let n=await Ev(e,t,"sign"),i=await crypto.subtle.sign(e.signing,n,r);return new Uint8Array(i)}async function Av(e,t,r,n){let i=await Ev(e,t,"verify");try{return await crypto.subtle.verify(e.signing,i,r,n)}catch{return!1}}var jp=()=>{};function Lp(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 Np(e,t){return{kty:["EC"],crv:e,subtle:{name:"ECDSA",namedCurve:e},signing:{name:"ECDSA",hash:`SHA-${t}`},usages:Ei}}function Rv(){let e={name:"Ed25519"};return{kty:["OKP"],crv:"Ed25519",subtle:e,signing:e,usages:Ei}}function qp(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=yi({HS256:Lp(256),HS384:Lp(384),HS512:Lp(512),RS256:an(256),RS384:an(384),RS512:an(512),PS256:an(256,32),PS384:an(384,48),PS512:an(512,64),ES256:Np("P-256",256),ES384:Np("P-384",384),ES512:Np("P-521",512),EdDSA:Rv(),Ed25519:Rv(),"ML-DSA-44":qp(44),"ML-DSA-65":qp(65),"ML-DSA-87":qp(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 Tv(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 _I(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,...Tv(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 kI(e){try{return oe(e)}catch{throw new P("JWS Compact Serialization payload must use only ASCII characters")}}async function _v(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=ye(e.signature,"signature",P),f=await Xe(p,r,"verify");if(!await Av(p,f,l,u))throw new pr;return[c?ye(s,"payload",P):s,i,c,f,a]}async function _s(e,t,r,n,i){let{protected:o,header:s,payload:a}=e,[c,,p,u]=_I(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 _v(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]=Tv(c,c,t),l=p?i:kI(i);return _v(a,t,r,n,c,u,l)}var Ai=j(()=>{jp();pn();M();$e();Pe();sn();ur()});async function kv(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 Ov=j(()=>{Ai()});async function Cv(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 Pv=j(()=>{M();Ai()});function OI(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 Iv(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)=>OI(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 jv=j(()=>{Ai();M()});function Dp(){throw TypeError("Invalid time period format")}function Os(e){if(typeof e!=="string")Dp();let t=PI.exec(e);if(!t||t[4]&&t[1])Dp();let r=parseFloat(t[2]),n=Math.round(r*CI[t[3][0].toLowerCase()]);if(!Number.isFinite(n))Dp();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 Up(e,t){if(typeof t!=="string")throw TypeError(`"${e}" claim must be a string`)}function II(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 Fp(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 $p(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 Bp(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"||Lv(e.typ)!==Lv(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))Bp(n,"iss");if(a!==void 0&&n.sub!==a)Bp(n,"sub");if(c!==void 0&&!jI(n.aud,typeof c==="string"?[c]:c))Bp(n,"aud");let{clockTolerance:l}=r,f=0;if(typeof l==="string")f=Os(l);else if(l!==void 0){if(typeof l!=="number")throw TypeError("Invalid clockTolerance option type");f=l}ln("clockTolerance option",f);let{currentDate:m}=r,g=ln("currentDate option",Ri(m===void 0?new Date:m)),x=$p(n,"iat",p!==void 0),v=$p(n,"nbf");if(v!==void 0){if(v>g+f)throw new st('"nbf" claim timestamp check failed',n,"nbf",un)}let h=$p(n,"exp");if(h!==void 0){if(h<=g-f)throw new di('"exp" claim timestamp check failed',n,"exp",un)}if(p!==void 0){let b=g-x,E=ln("maxTokenAge option",typeof p==="number"?p:Os(p));if(b-f>E)throw new di('"iat" claim timestamp check failed (too far in the past)',n,"iat",un);if(b<-f)throw new st('"iat" claim timestamp check failed (it should be in the past)',n,"iat",un)}return n}function St(e){return Nv.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");(Nv||=new WeakMap).set(this,structuredClone(e))}setIssuer(e){return Up("iss",e),St(this).iss=e,this}setSubject(e){return Up("sub",e),St(this).sub=e,this}setAudience(e){return II(e),St(this).aud=e,this}setJti(e){return Up("jti",e),St(this).jti=e,this}setNotBefore(e){return St(this).nbf=Fp(e,"setNotBefore"),this}setExpirationTime(e){return St(this).exp=Fp(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=Fp(e,"setIssuedAt");return this}}var Ri=(e)=>Math.floor(e.getTime()/1000),CI,PI,un="check_failed",Lv=(e)=>{let t=e.toLowerCase();return e.includes("/")?t:`application/${t}`},jI=(e,t)=>{if(typeof e==="string")return t.includes(e);if(Array.isArray(e))return t.some((r)=>e.includes(r));return!1},Nv;var mn=j(()=>{M();$e();CI={s:1,m:60,h:3600,d:86400,w:604800,y:31557600},PI=/^(\+|\-)? ?(\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 qv(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 Dv=j(()=>{Ai();mn();M()});async function Uv(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 Fv=j(()=>{bi();mn();M()});class Kp{#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 $v=j(()=>{Pe();wi()});class Hp{#e;#t;#n;#o;#s;#x;#y;#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.#y,"setInitializationVector"),this.#y=e,this}async encrypt(e,t){return Ft([this.#e,this.#t,this.#o,this.#n,this.#s,this.#x,this.#y,this.#f,void 0,!1],e,t)}}var Bv=j(()=>{Pe();wi()});function Kv(e){if(e===void 0)return[void 0,""];let t=dr(P,e);return[t[0],Y(t[1])]}function Hv(e,t,r){return hs(P,e),on(e,xt(P,nn,r,e,t))}function Jv(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 Wv(e,t,r,n){let i=xe(oe(e),oe("."),t),o=await Xe(r,n,"sign");return Y(await Sv(r,o,i))}async function Ps(e,t,r){let{protectedHeader:n,unprotectedHeader:i}=e,o;if([n,o]=Kv(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=Hv(n,s,e.crit);r?.(a);let c=Jv(s),p,u;if(a){let f=e.encoded??=[];f[0]??=Y(e.payload),f[1]??=oe(f[0]),p=f[0],u=f[1]}else u=e.payload,p="";let l={signature:await Wv(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]=Kv(t);if(!o)throw new P("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Hv(o,o,r))i();let c=Jv(o),p=Y(e),u=await Wv(s,oe(p),c,n);return`${s}.${p}.${u}`}var Ti=j(()=>{Be();jp();pn();M();$e();sn();ur()});class Jp{#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 zv=j(()=>{Ti();Pe()});class Wp{#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 Mv=j(()=>{Ti();Pe()});class Gv{#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 zp{#e;#t=[];constructor(e){this.#e=e}addSignature(e,t){let r=new Gv(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 Vv=j(()=>{Ti();M();Pe()});var LI,Mp;var Xv=j(()=>{Ti();M();mn();Pe();LI=fr;Mp=class Mp extends LI{#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 NI,Gp;var Yv=j(()=>{wi();mn();Pe();NI=fr;Gp=class Gp extends NI{#e;#t;#n;#o;#s;#x;#y;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.#y=!0,this}async encrypt(e,t){let r=fn(this);if(this.#o&&(this.#s||this.#x||this.#y))this.#o={...this.#o,iss:this.#s?Cs(this,"iss"):void 0,sub:this.#x?Cs(this,"sub"):void 0,aud:this.#y?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]??Sp[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 UI(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 $I(e){let t=rb(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)Zv(t,6);else Zv(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 qI=(e,t)=>{let r=(e.match(/.{1,64}/g)||[]).join(`
|
|
26
26
|
`);return`-----BEGIN ${t}-----
|
|
27
27
|
${r}
|
|
28
|
-
-----END ${t}-----`},Qv=async(e,t,r)=>{if(mi(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 qI(ts(new Uint8Array(await crypto.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},eb=(e)=>Qv("public","spki",e),tb=(e)=>Qv("private","pkcs8",e),_i=(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},rb=(e)=>({data:e,pos:0}),Vp=(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=Vp(e);if(t&128){let r=t&127,n=0;for(let i=0;i<r;i++)n=n<<8|Vp(e);return n}return t},Zv=(e,t=1)=>{while(t-- >0){e.pos++;let r=At(e);e.pos+=r}},Ht=(e,t,r)=>{if(Vp(e)!==t)throw Error(r)},nb=(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},DI=(e)=>{Ht(e,6,"Expected algorithm OID");let t=At(e);return nb(e,t)},FI=(e)=>{let t=DI(e);if(_i(t,[43,101,110]))return"X25519";if(!_i(t,[42,134,72,206,61,2,1]))throw Error("Unsupported key algorithm");Ht(e,6,"Expected curve OID");let r=At(e),n=nb(e,r);if(_i(n,[42,134,72,206,61,3,1,7]))return"P-256";if(_i(n,[43,129,4,0,34]))return"P-384";if(_i(n,[43,129,4,0,35]))return"P-521";throw Error("Unsupported named curve")},Xp=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=rb(t);UI(c,e),a=o.resolve({crv:FI(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])},Yp=(e,t)=>rs(e.replace(t,"")),ib=(e,t,r)=>{let n=Yp(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);return Xp("pkcs8",n,t,r)},ob=(e,t,r)=>{let n=Yp(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);return Xp("spki",n,t,r)},sb=(e,t,r)=>{let n;try{let i=Yp(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g);n=$I(i)}catch(i){throw TypeError("Failed to parse the X.509 certificate",{cause:i})}return Xp("spki",n,t,r)};var Zp=j(()=>{M();Ti()});function BI(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}async function KI(e){if(mi(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}=BI(await crypto.subtle.exportKey("jwk",e));if(o.kty==="AKP")o.alg=n;return o}function ab(e){return eb(e)}function cb(e){return tb(e)}function Is(e){return KI(e)}var Qp=j(()=>{Zp();Be()});async function eu(e,t){let r;if(q(e)){if(r=Yr(e),typeof r.kty!=="string")throw TypeError(ot(e,"CryptoKey","KeyObject","JSON Web Key"))}else if(Zo(e))r=Yr(await Is(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 di('"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 ss(t,i))}async function pb(e,t){t??="sha256";let r=await eu(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 di(`${t} missing or invalid`)};var ub=j(()=>{Pe();Be();M();$e();Qp()});async function lb(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=Zr(r.jwk)}catch(s){throw new P("Invalid Embedded JWK",{cause:s})}let i=an(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 db=j(()=>{Xr();cn();M()});function HI(e,t,r,n){let{kty:i,key_ops:o,ext:s,kid:a,alg:c,use:p,crv:u}=Yr(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 fb(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 fi("JSON Web Key Set members must be public keys");n[i]=o}return n[i]}function ki(e){let t;try{t=structuredClone(e)}catch{}if(!is(t))throw new fi("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"?Ei[s]:void 0;if(!c||c.secret)throw new J('Unsupported "alg" value for a JSON Web Key Set');let p=t.keys.filter((f)=>HI(f,c,s,a)),{0:u,length:l}=p;if(!l)throw new Vr;if(l!==1){let f=new Vo;throw f[Symbol.asyncIterator]=async function*(){for(let m of p)try{yield await fb(r,m,c)}catch{}},f}return fb(r,u,c)},"jwks",{value:()=>structuredClone(t)})}var tu=j(()=>{Xr();cn();M()});function JI(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}async function WI(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 Xo;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 Oi(e,t){return Number.isFinite(e)&&Date.now()<e+t}function mb(e,t,r){if(Number.isNaN(e))throw TypeError(`"${r}" option must not be NaN`);return typeof e==="number"?e:t}function hb(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=mb(n.cooldownDuration,30000,"cooldownDuration"),a=mb(n.cacheMaxAge,600000,"cacheMaxAge"),c=new Headers(n.headers);if(ru&&!c.has("User-Agent"))c.set("User-Agent",ru);if(!c.has("accept"))c.set("accept","application/json, application/jwk-set+json");let p=n[nu],u=n[iu],l,f,m=0,g=0,x;if(u&&typeof u==="object"){let{uat:b,jwks:E}=u;if(Oi(b,a)&&is(E))l=b,x=ki(E)}let v=async()=>{if(f&&JI())f=void 0;if(!f){let b=++m,E=f=WI(r,c,AbortSignal.timeout(o),p).then((A)=>{let O=ki(A);if(b<=g)return;x=O;let C=Date.now();if(u)u.uat=C,u.jwks=A;l=C,g=b}).finally(()=>{if(f===E)f=void 0})}await f};return Object.defineProperties(async(b,E)=>{if(!x||!Oi(l,a))await v();try{return await x(b,E)}catch(A){if(A instanceof Vr&&!Oi(l,s))return await v(),x(b,E);throw A}},{coolingDown:{get:()=>Oi(l,s),enumerable:!0},fresh:{get:()=>Oi(l,a),enumerable:!0},reload:{value:v,enumerable:!0},reloading:{get:()=>!!f,enumerable:!0},jwks:{value:()=>x?.jwks(),enumerable:!0}})}var ru,nu,iu;var xb=j(()=>{M();tu();if(typeof navigator>"u"||!navigator.userAgent?.startsWith?.("Mozilla/5.0 "))ru="jose/v6.2.10";nu=Symbol();iu=Symbol()});var zI,ou;var yb=j(()=>{Be();Pe();M();fn();on();zI=fr;ou=class ou extends zI{encode(){let e=Y(JSON.stringify({alg:"none"})),t=Y(dn(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,rn,void 0,s,s);a=nn(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:ln(s,ye(n,"payload",ce),t),header:s}}}});async function gb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw TypeError('"spki" must be SPKI formatted string');return ob(e,t,r)}async function vb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw TypeError('"x509" must be X.509 formatted string');return sb(e,t,r)}async function bb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw TypeError('"pkcs8" must be PKCS#8 formatted string');return ib(e,t,r)}async function wb(e,t,r){if(!q(e))throw TypeError("JWK must be an object");let n=Zr(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 Eb=j(()=>{Be();Zp();Xr();Ti();M()});function Sb(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 Ab=j(()=>{Pe()});function Rb(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(Gr.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 Tb=j(()=>{Be();$e();M()});function MI(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 _b(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:MI(t)}:n.subtle}return crypto.subtle.generateKey(i,r??!1,[...n.usages[1],...n.usages[0]])}var kb=j(()=>{M();Ti()});async function Ob(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 Cb=j(()=>{Ti()});var su={};Ar(su,{CompactEncrypt:()=>Kp,CompactSign:()=>Jp,EmbeddedJWK:()=>lb,EncryptJWT:()=>Gp,FlattenedEncrypt:()=>Hp,FlattenedSign:()=>Wp,GeneralEncrypt:()=>Ip,GeneralSign:()=>zp,SignJWT:()=>Mp,UnsecuredJWT:()=>ou,base64url:()=>ns,calculateJwkThumbprint:()=>eu,calculateJwkThumbprintUri:()=>pb,compactDecrypt:()=>fv,compactVerify:()=>kv,createLocalJWKSet:()=>ki,createRemoteJWKSet:()=>hb,cryptoRuntime:()=>GI,customFetch:()=>nu,decodeJwt:()=>Rb,decodeProtectedHeader:()=>Sb,errors:()=>gp,exportJWK:()=>Is,exportPKCS8:()=>cb,exportSPKI:()=>ab,flattenedDecrypt:()=>hv,flattenedVerify:()=>Cv,generalDecrypt:()=>yv,generalVerify:()=>Iv,generateKeyPair:()=>_b,generateSecret:()=>Ob,importJWK:()=>wb,importPKCS8:()=>bb,importSPKI:()=>gb,importX509:()=>vb,jwksCache:()=>iu,jwtDecrypt:()=>Uv,jwtVerify:()=>qv});var GI="WebCryptoAPI";var au=j(()=>{mv();xv();gv();wv();Ov();Pv();jv();Dv();Fv();$v();Bv();zv();Mv();Vv();Xv();Yv();ub();db();tu();xb();yb();Qp();Eb();Ab();Tb();M();kb();Cb();Be()});var Ns=y(function(xW,Pb){function js(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksError",this.message=e}js.prototype=Object.create(Error.prototype);js.prototype.constructor=js;Pb.exports=js});var cu=y(function(yW,jb){var Ib=(au(),qi(su)),VI=Ns();function XI(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 VI("Unsupported JWK")}async function YI(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 Ib.importJWK({...r,ext:!0},XI(r));if(n.type!=="public")continue;let i;switch(n[Symbol.toStringTag]){case"CryptoKey":{let o=await Ib.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}jb.exports={retrieveSigningKeys:YI}});var pu=y(function(gW,Nb){function Ls(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="ArgumentError",this.message=e}Ls.prototype=Object.create(Error.prototype);Ls.prototype.constructor=Ls;Nb.exports=Ls});var qb=y(function(vW,Lb){var ZI=require("http"),QI=require("https"),ej=pu();Lb.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 ej("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:"?QI:ZI).request(u,(m)=>{let g="";m.setEncoding("utf8"),m.on("data",(x)=>{g+=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(g&&JSON.parse(g))}catch(x){r(x)}})});f.on("timeout",()=>f.destroy()).on("error",(m)=>r(m)).end()})}});var Us=y(function(Ds){var Ub=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tj=Ub((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")}),rj=Ub((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(Ds,"__esModule",{value:!0});Ds.LRUCache=void 0;var le=tj(),nj=rj(),uu=()=>le.metrics.hasSubscribers||le.tracing.hasSubscribers,Fb=new Set,Db=typeof process=="object"&&process?process:{},ij=(e,t,r,n)=>{typeof Db.emitWarning=="function"?Db.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},oj=(e)=>!Fb.has(e),Jt=(e)=>!!e&&e===Math.floor(e)&&e>0&&isFinite(e),$b=(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?qs:null:null,qs=class extends Array{constructor(e){super(e),this.fill(0)}},sj=class e{heap;length;static#e=!1;static create(t){let r=$b(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]}},aj=class e{#e;#t;#n;#o;#s;#x;#y;#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;#g;#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.#g,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.#y}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:g=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??nj.defaultPerf,r!==0&&!Jt(r))throw TypeError("max option must be a nonnegative integer");let I=r?$b(r):Array;if(!I)throw Error("invalid max value: "+r);if(this.#e=r,this.#t=g,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.#y=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.#g=new I(r),this.#d=0,this.#u=0,this.#S=sj.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=!!f,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";oj(me)&&(Fb.add(me),ij("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 qs(this.#e),r=new qs(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 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 qs(this.#e);this.#E=0,this.#A=t,this.#N=(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)}}#N=(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.#g[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.#L(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 f=this.#H(t,r,n.size||0,c,p);if(this.maxEntrySize&&f>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.#g[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 g=this.#r[m];if(r!==g){if(!a)if(this.#i(g)){g!==i&&g.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=g;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?.(g,t,"set"),this.#h&&this.#l?.push([g,t,"set"]);if(this.#N(m),this.#U(m,f,p),this.#r[m]=r,!u){let x=g&&this.#i(g)?g.__staleWhileFetching:g,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 g=this.#l,x;for(;x=g?.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.#N(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=uu()?{}: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},f=(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(f).then(p,u),g=Object.assign(m,{__abortController:s,__staleWhileFetching:o,__returned:void 0});return r===void 0?(this.#P(t,g,{...c.options,status:void 0}),r=this.#c.get(t)):this.#r[r]=g,g}#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=uu()?{}: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:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=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.#L(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:g,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=uu()?{}: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.#y;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.#L(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.#L(t,r);return n&&(i!==void 0&&(n.value=i),le.metrics.hasSubscribers&&le.metrics.publish(n)),i}#L(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.#g[r]=t,this.#m[t]=r}#q(t){t!==this.#u&&(t===this.#d?this.#d=this.#m[t]:this.#z(this.#g[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.#N(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.#g[i];else if(i===this.#d)this.#d=this.#m[i];else{let s=this.#g[i];this.#m[s]=this.#m[i];let a=this.#m[i];this.#g[a]=this.#g[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)}}};Ds.LRUCache=aj});var Ru=y(function(Ci,mn){var cj=200,Zb="__lodash_hash_undefined__",Qb=9007199254740991,gu="[object Arguments]",pj="[object Array]",ew="[object Boolean]",tw="[object Date]",uj="[object Error]",vu="[object Function]",rw="[object GeneratorFunction]",Fs="[object Map]",nw="[object Number]",bu="[object Object]",Bb="[object Promise]",iw="[object RegExp]",$s="[object Set]",ow="[object String]",sw="[object Symbol]",du="[object WeakMap]",aw="[object ArrayBuffer]",Bs="[object DataView]",cw="[object Float32Array]",pw="[object Float64Array]",uw="[object Int8Array]",lw="[object Int16Array]",dw="[object Int32Array]",fw="[object Uint8Array]",mw="[object Uint8ClampedArray]",hw="[object Uint16Array]",xw="[object Uint32Array]",lj=/[\\^$.*+?()[\]{}|]/g,dj=/\w*$/,fj=/^\[object .+?Constructor\]$/,mj=/^(?:0|[1-9]\d*)$/,ee={};ee[gu]=ee[pj]=ee[aw]=ee[Bs]=ee[ew]=ee[tw]=ee[cw]=ee[pw]=ee[uw]=ee[lw]=ee[dw]=ee[Fs]=ee[nw]=ee[bu]=ee[iw]=ee[$s]=ee[ow]=ee[sw]=ee[fw]=ee[mw]=ee[hw]=ee[xw]=!0;ee[uj]=ee[vu]=ee[du]=!1;var hj=typeof global=="object"&&global&&global.Object===Object&&global,xj=typeof self=="object"&&self&&self.Object===Object&&self,Tt=hj||xj||Function("return this")(),yw=typeof Ci=="object"&&Ci&&!Ci.nodeType&&Ci,Kb=yw&&typeof mn=="object"&&mn&&!mn.nodeType&&mn,yj=Kb&&Kb.exports===yw;function gj(e,t){return e.set(t[0],t[1]),e}function vj(e,t){return e.add(t),e}function bj(e,t){var r=-1,n=e?e.length:0;while(++r<n)if(t(e[r],r,e)===!1)break;return e}function wj(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}function gw(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 Ej(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function Sj(e,t){return e==null?void 0:e[t]}function vw(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function Hb(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function wu(e,t){return function(r){return e(t(r))}}function Jb(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Aj=Array.prototype,Rj=Function.prototype,Ks=Object.prototype,lu=Tt["__core-js_shared__"],Wb=function(){var e=/[^.]+$/.exec(lu&&lu.keys&&lu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),bw=Rj.toString,Wt=Ks.hasOwnProperty,Hs=Ks.toString,Tj=RegExp("^"+bw.call(Wt).replace(lj,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zb=yj?Tt.Buffer:void 0,Mb=Tt.Symbol,Gb=Tt.Uint8Array,_j=wu(Object.getPrototypeOf,Object),kj=Object.create,Oj=Ks.propertyIsEnumerable,Cj=Aj.splice,Vb=Object.getOwnPropertySymbols,Pj=zb?zb.isBuffer:void 0,Ij=wu(Object.keys,Object),fu=yn(Tt,"DataView"),Pi=yn(Tt,"Map"),mu=yn(Tt,"Promise"),hu=yn(Tt,"Set"),xu=yn(Tt,"WeakMap"),Ii=yn(Object,"create"),jj=gr(fu),Nj=gr(Pi),Lj=gr(mu),qj=gr(hu),Dj=gr(xu),Xb=Mb?Mb.prototype:void 0,Yb=Xb?Xb.valueOf:void 0;function yr(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 Uj(){this.__data__=Ii?Ii(null):{}}function Fj(e){return this.has(e)&&delete this.__data__[e]}function $j(e){var t=this.__data__;if(Ii){var r=t[e];return r===Zb?void 0:r}return Wt.call(t,e)?t[e]:void 0}function Bj(e){var t=this.__data__;return Ii?t[e]!==void 0:Wt.call(t,e)}function Kj(e,t){var r=this.__data__;return r[e]=Ii&&t===void 0?Zb:t,this}yr.prototype.clear=Uj;yr.prototype.delete=Fj;yr.prototype.get=$j;yr.prototype.has=Bj;yr.prototype.set=Kj;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 Hj(){this.__data__=[]}function Jj(e){var t=this.__data__,r=Js(t,e);if(r<0)return!1;var n=t.length-1;if(r==n)t.pop();else Cj.call(t,r,1);return!0}function Wj(e){var t=this.__data__,r=Js(t,e);return r<0?void 0:t[r][1]}function zj(e){return Js(this.__data__,e)>-1}function Mj(e,t){var r=this.__data__,n=Js(r,e);if(n<0)r.push([e,t]);else r[n][1]=t;return this}_t.prototype.clear=Hj;_t.prototype.delete=Jj;_t.prototype.get=Wj;_t.prototype.has=zj;_t.prototype.set=Mj;function hn(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 Gj(){this.__data__={hash:new yr,map:new(Pi||_t),string:new yr}}function Vj(e){return Ws(this,e).delete(e)}function Xj(e){return Ws(this,e).get(e)}function Yj(e){return Ws(this,e).has(e)}function Zj(e,t){return Ws(this,e).set(e,t),this}hn.prototype.clear=Gj;hn.prototype.delete=Vj;hn.prototype.get=Xj;hn.prototype.has=Yj;hn.prototype.set=Zj;function xn(e){this.__data__=new _t(e)}function Qj(){this.__data__=new _t}function eN(e){return this.__data__.delete(e)}function tN(e){return this.__data__.get(e)}function rN(e){return this.__data__.has(e)}function nN(e,t){var r=this.__data__;if(r instanceof _t){var n=r.__data__;if(!Pi||n.length<cj-1)return n.push([e,t]),this;r=this.__data__=new hn(n)}return r.set(e,t),this}xn.prototype.clear=Qj;xn.prototype.delete=eN;xn.prototype.get=tN;xn.prototype.has=rN;xn.prototype.set=nN;function iN(e,t){var r=Su(e)||kN(e)?Ej(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||Wt.call(e,o))&&!(i&&(o=="length"||AN(o,n))))r.push(o);return r}function ww(e,t,r){var n=e[t];if(!(Wt.call(e,t)&&Rw(n,r))||r===void 0&&!(t in e))e[t]=r}function Js(e,t){var r=e.length;while(r--)if(Rw(e[r][0],t))return r;return-1}function oN(e,t){return e&&Ew(t,Au(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(!zs(e))return e;var c=Su(e);if(c){if(a=wN(e),!t)return gN(e,a)}else{var p=xr(e),u=p==vu||p==rw;if(CN(e))return lN(e,t);if(p==bu||p==gu||u&&!o){if(vw(e))return o?e:{};if(a=EN(u?{}:e),!t)return vN(e,oN(a,e))}else{if(!ee[p])return o?e:{};a=SN(e,p,yu,t)}}s||(s=new xn);var l=s.get(e);if(l)return l;if(s.set(e,a),!c)var f=r?bN(e):Au(e);return bj(f||e,function(m,g){if(f)g=m,m=e[g];ww(a,g,yu(m,t,r,n,g,e,s))}),a}function sN(e){return zs(e)?kj(e):{}}function aN(e,t,r){var n=t(e);return Su(e)?n:wj(n,r(e))}function cN(e){return Hs.call(e)}function pN(e){if(!zs(e)||TN(e))return!1;var t=_w(e)||vw(e)?Tj:fj;return t.test(gr(e))}function uN(e){if(!Aw(e))return Ij(e);var t=[];for(var r in Object(e))if(Wt.call(e,r)&&r!="constructor")t.push(r);return t}function lN(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}function Eu(e){var t=new e.constructor(e.byteLength);return new Gb(t).set(new Gb(e)),t}function dN(e,t){var r=t?Eu(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function fN(e,t,r){var n=t?r(Hb(e),!0):Hb(e);return gw(n,gj,new e.constructor)}function mN(e){var t=new e.constructor(e.source,dj.exec(e));return t.lastIndex=e.lastIndex,t}function hN(e,t,r){var n=t?r(Jb(e),!0):Jb(e);return gw(n,vj,new e.constructor)}function xN(e){return Yb?Object(Yb.call(e)):{}}function yN(e,t){var r=t?Eu(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function gN(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}function Ew(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;ww(r,s,a===void 0?e[s]:a)}return r}function vN(e,t){return Ew(e,Sw(e),t)}function bN(e){return aN(e,Au,Sw)}function Ws(e,t){var r=e.__data__;return RN(t)?r[typeof t=="string"?"string":"hash"]:r.map}function yn(e,t){var r=Sj(e,t);return pN(r)?r:void 0}var Sw=Vb?wu(Vb,Object):jN,xr=cN;if(fu&&xr(new fu(new ArrayBuffer(1)))!=Bs||Pi&&xr(new Pi)!=Fs||mu&&xr(mu.resolve())!=Bb||hu&&xr(new hu)!=$s||xu&&xr(new xu)!=du)xr=function(e){var t=Hs.call(e),r=t==bu?e.constructor:void 0,n=r?gr(r):void 0;if(n)switch(n){case jj:return Bs;case Nj:return Fs;case Lj:return Bb;case qj:return $s;case Dj:return du}return t};function wN(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 EN(e){return typeof e.constructor=="function"&&!Aw(e)?sN(_j(e)):{}}function SN(e,t,r,n){var i=e.constructor;switch(t){case aw:return Eu(e);case ew:case tw:return new i(+e);case Bs:return dN(e,n);case cw:case pw:case uw:case lw:case dw:case fw:case mw:case hw:case xw:return yN(e,n);case Fs:return fN(e,n,r);case nw:case ow:return new i(e);case iw:return mN(e);case $s:return hN(e,n,r);case sw:return xN(e)}}function AN(e,t){return t=t==null?Qb:t,!!t&&(typeof e=="number"||mj.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 TN(e){return!!Wb&&Wb in e}function Aw(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ks;return e===r}function gr(e){if(e!=null){try{return bw.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function _N(e){return yu(e,!0,!0)}function Rw(e,t){return e===t||e!==e&&t!==t}function kN(e){return ON(e)&&Wt.call(e,"callee")&&(!Oj.call(e,"callee")||Hs.call(e)==gu)}var Su=Array.isArray;function Tw(e){return e!=null&&PN(e.length)&&!_w(e)}function ON(e){return IN(e)&&Tw(e)}var CN=Pj||NN;function _w(e){var t=zs(e)?Hs.call(e):"";return t==vu||t==rw}function PN(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Qb}function zs(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function IN(e){return!!e&&typeof e=="object"}function Au(e){return Tw(e)?iN(e):uN(e)}function jN(){return[]}function NN(){return!1}mn.exports=_N});var Tu=y(function(Ms){Object.defineProperty(Ms,"__esModule",{value:!0});Ms.deepFreeze=void 0;function kw(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]))kw(e[t])});return e}Ms.deepFreeze=kw});var Pw=y(function(gn){var LN=gn&&gn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(gn,"__esModule",{value:!0});gn.syncMemoizer=void 0;var qN=Us(),DN=require("events"),Ow=LN(Ru()),Cw=Tu();function UN(e){let t=new qN.LRUCache(e),r=e.load,n=e.hash,i=e.bypass,o=e.itemTTL,s=e.freeze,a=e.clone,c=new DN.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 f(x){return x&&x.then&&typeof x.then==="function"}function m(x){let v=x;if(a)if(f(v))v=v.then(Ow.default);else v=(0,Ow.default)(v);if(s)if(f(v))v=v.then(Cw.deepFreeze);else(0,Cw.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)}gn.syncMemoizer=UN});var jw=y(function(vn){var FN=vn&&vn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vn,"__esModule",{value:!0});vn.asyncMemoizer=void 0;var $N=Us(),BN=require("events"),KN=FN(Ru()),HN=Tu(),JN=Pw();function Iw(e){let t=new $N.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 BN.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 b=n(...h);t.delete(b)}function m(h,b,E){if(s)E.forEach(HN.deepFreeze);if(o)t.set(h,E,{ttl:o(...b.concat(E))});else t.set(h,E)}function g(h,b){for(let E of h)if(a)setImmediate(E,...b.map(KN.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),g([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),g(te,I)};r(...b,F)}return Object.assign(v,l)}vn.asyncMemoizer=Iw;Iw.sync=JN.syncMemoizer});var Lw=y(function(RW,Nw){var WN=jw();Nw.exports=WN.asyncMemoizer});var Uw=y(function(TW,Dw){var _u=It()("jwks"),zN=Lw(),{LRUCache:MN}=Us(),{promisify:GN,callbackify:qw}=require("util");function VN(e,{cacheMaxEntries:t=5,cacheMaxAge:r=600000,cacheMaxAgeFallback:n,onStaleCacheFallback:i}){_u(`Configured caching of signing keys. Max: ${t} / Age: ${r}${n?` / Fallback: ${n}`:""}`);let o;if(n){let s=new MN({max:t}),a=e.getSigningKey.bind(e);o=qw(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(_u(`JWKS endpoint unavailable, serving stale signing key for '${c}': ${p.message}`),i)i(p,c,u.key);return u.key}_u(`JWKS endpoint unavailable and no valid stale entry for '${c}', fallback window expired or key never fetched`)}throw p}})}else o=qw(e.getSigningKey.bind(e));return GN(zN({hash:(s)=>s,load:o,ttl:r,max:t}))}Dw.exports.default=VN});var ku=y(function(_W,$w){var Fw=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};Fw.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)}};$w.exports=Fw});var Kw=y(function(kW,Bw){var XN=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()};Bw.exports=XN});var Ww=y(function(OW,Jw){var YN=ku(),Ou=Kw(),Hw=function(e,t,r){this.tokenBucket=new YN(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=Ou(),this.tokensThisInterval=0,this.fireImmediately=r};Hw.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=Ou();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=Ou();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}};Jw.exports=Hw});var zw=y(function(Cu){Cu.RateLimiter=Ww();Cu.TokenBucket=ku()});var Pu=y(function(PW,Mw){function Gs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksRateLimitError",this.message=e}Gs.prototype=Object.create(Error.prototype);Gs.prototype.constructor=Gs;Mw.exports=Gs});var Vw=y(function(IW,Gw){var Iu=It()("jwks"),{RateLimiter:ZN}=zw(),QN=Pu();function eL(e,{jwksRequestsPerMinute:t=10}){let r=e.getSigningKey.bind(e),n=new ZN(t,"minute",!0);return Iu(`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(Iu("Requests to the JWKS endpoint available for the next minute:",c),c<0)Iu("Too many requests to the JWKS endpoint"),s(new QN("Too many requests to the JWKS endpoint"));else try{let p=await r(i);o(p)}catch(p){s(p)}})})}Gw.exports.default=eL});var Yw=y(function(jW,Xw){var tL=cu().retrieveSigningKeys;function rL(e,{getKeysInterceptor:t}){let r=e.getSigningKey.bind(e);return async(n)=>{let i=await t(),o;if(i&&i.length)o=await tL(i);if(o&&o.length){let s=o.find((a)=>!n||a.kid===n);if(s)return s}return r(n)}}Xw.exports.default=rL});var Qw=y(function(NW,Zw){var{callbackify:nL}=require("util"),iL=(e)=>{let t=e.getSigningKey.bind(e);return(r,n)=>{if(n)return nL(t)(r,n);return t(r)}};Zw.exports.default=iL});var tE=y(function(LW,eE){eE.exports={request:qb().default,cacheSigningKey:Uw().default,rateLimitSigningKey:Vw().default,getKeysInterceptor:Yw().default,callbackSupport:Qw().default}});var ju=y(function(qW,rE){function Vs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="SigningKeyNotFoundError",this.message=e}Vs.prototype=Object.create(Error.prototype);Vs.prototype.constructor=Vs;rE.exports=Vs});var bn=y(function(DW,oE){var vr=It()("jwks"),{retrieveSigningKeys:oL}=cu(),{request:sL,cacheSigningKey:aL,rateLimitSigningKey:cL,getKeysInterceptor:pL,callbackSupport:uL}=tE(),Nu=Ns(),nE=ju();class iE{constructor(e){if(this.options={rateLimit:!1,cache:!0,timeout:30000,...e},this.options.getKeysInterceptor)this.getSigningKey=pL(this,e);if(this.options.rateLimit)this.getSigningKey=cL(this,e);if(this.options.cache)this.getSigningKey=aL(this,e);this.getSigningKey=uL(this,e)}async getKeys(){vr(`Fetching keys from '${this.options.jwksUri}'`);try{let e=await sL({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 oL(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 nE("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 nE(`Unable to find a signing key that matches '${e}'`)}}oE.exports={JwksClient:iE}});var wn=y(function(UW,sE){sE.exports={ArgumentError:pu(),JwksError:Ns(),JwksRateLimitError:Pu(),SigningKeyNotFoundError:ju()}});var ji=y(function(FW,aE){var lL=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512","EdDSA"];aE.exports=lL});var cE=y(function($W,Xs){var{ArgumentError:dL}=wn(),{JwksClient:fL}=bn(),mL=ji(),hL=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(e,null,null);if(e)return t(e,null,null)};Xs.exports.hapiJwt2KeyAsync=(e)=>{let t=Xs.exports.hapiJwt2Key(e);return function(r){return new Promise((n,i)=>{t(r,(s,a)=>{!a||s?i(s):n({key:a})})})}};Xs.exports.hapiJwt2Key=function(e){if(e===null||e===void 0)throw new dL("An options object must be provided when initializing hapiJwt2Key");let t=new fL(e),r=e.handleSigningKeyError||hL;return function(i,o){if(!i||!i.header)return o(Error("Cannot find a signing certificate if there is no header"),null,null);if(!mL.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 uE=y(function(BW,pE){var{ArgumentError:xL}=wn(),{JwksClient:yL}=bn(),gL=ji(),vL=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};pE.exports.expressJwtSecret=function(e){if(e===null||e===void 0)throw new xL("An options object must be provided when initializing expressJwtSecret");let t=new yL(e),r=e.handleSigningKeyError||vL,n=async(i,o)=>{if(!o)return;let s=o.header;if(!s||!gL.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 dE=y(function(KW,lE){var{ArgumentError:bL}=wn(),{JwksClient:wL}=bn(),EL=ji();lE.exports.koaJwtSecret=function(e={}){if(!e.jwksUri)throw new bL("No JWKS provided. Please provide a jwksUri");let t=new wL(e);return function({alg:n,kid:i}={}){return new Promise((o,s)=>{if(!EL.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 xE=y(function(HW,hE){var fE=(au(),qi(su)),{ArgumentError:mE}=wn(),{JwksClient:SL}=bn(),AL=ji(),RL=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};hE.exports.passportJwtSecret=function(e){if(e===null||e===void 0)throw new mE("An options object must be provided when initializing passportJwtSecret");if(!e.jwksUri)throw new mE("No JWKS provided. Please provide a jwksUri");let t=new SL(e),r=e.handleSigningKeyError||RL;return function(i,o,s){let a;try{a={payload:fE.decodeJwt(o),header:fE.decodeProtectedHeader(o)}}catch(c){a=null}if(!a||!AL.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 gE=y(function(JW,Ze){var{JwksClient:yE}=bn(),Ys=wn(),{hapiJwt2Key:TL,hapiJwt2KeyAsync:_L}=cE(),{expressJwtSecret:kL}=uE(),{koaJwtSecret:OL}=dE(),{passportJwtSecret:CL}=xE();Ze.exports=(e)=>new yE(e);Ze.exports.JwksClient=yE;Ze.exports.ArgumentError=Ys.ArgumentError;Ze.exports.JwksError=Ys.JwksError;Ze.exports.JwksRateLimitError=Ys.JwksRateLimitError;Ze.exports.SigningKeyNotFoundError=Ys.SigningKeyNotFoundError;Ze.exports.expressJwtSecret=kL;Ze.exports.hapiJwt2Key=TL;Ze.exports.hapiJwt2KeyAsync=_L;Ze.exports.koaJwtSecret=OL;Ze.exports.passportJwtSecret=CL});var qL={};Ar(qL,{handler:()=>NL});module.exports=qi(qL);var rh=require("node:https");function Tn(e,t){return function(){return e.apply(t,arguments)}}var{toString:OE}=Object.prototype,{getPrototypeOf:Rr}=Object,{iterator:kn,toStringTag:zu}=Symbol,Ui=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),_n=(e,t)=>{let r=e,n=[];while(r!=null&&r!==Object.prototype){if(n.indexOf(r)!==-1)return!1;if(n.push(r),Ui(r,t))return!0;r=Rr(r)}return!1},CE=(e,t)=>e!=null&&_n(e,t)?e[t]:void 0,Qs=((e)=>(t)=>{let r=OE.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Je=(e)=>(e=e.toLowerCase(),(t)=>Qs(t)===e),Fi=(e)=>(t)=>typeof t===e,{isArray:Xt}=Array,Yt=Fi("undefined");function Tr(e){return e!==null&&!Yt(e)&&e.constructor!==null&&!Yt(e.constructor)&&Ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Mu=Je("ArrayBuffer");function PE(e){let t;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)t=ArrayBuffer.isView(e);else t=e&&e.buffer&&Mu(e.buffer);return t}var IE=Fi("string"),Ne=Fi("function"),Gu=Fi("number"),_r=(e)=>e!==null&&typeof e==="object",jE=(e)=>e===!0||e===!1,Di=(e)=>{if(!_r(e))return!1;let t=Rr(e);return(t===null||t===Object.prototype||Rr(t)===null)&&!_n(e,zu)&&!_n(e,kn)},NE=(e)=>{if(!_r(e)||Tr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},LE=Je("Date"),qE=Je("File"),DE=(e)=>!!(e&&typeof e.uri<"u"),UE=(e)=>e&&typeof e.getParts<"u",FE=Je("Blob"),$E=Je("FileList"),BE=Je("Set"),KE=(e)=>_r(e)&&Ne(e.pipe);function HE(){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 Ju=HE(),Wu=typeof Ju.FormData<"u"?Ju.FormData:void 0,JE=(e)=>{if(!e)return!1;if(Wu&&e instanceof Wu)return!0;let t=Rr(e);if(!t||t===Object.prototype)return!1;if(!Ne(e.append))return!1;let r=Qs(e);return r==="formdata"||r==="object"&&Ne(e.toString)&&e.toString()==="[object FormData]"},WE=Je("URLSearchParams"),[zE,ME,GE,VE]=["ReadableStream","Request","Response","Headers"].map(Je),XE=(e)=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function On(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 Vu(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})(),Xu=(e)=>!Yt(e)&&e!==Vt;function Zs(...e){let{caseless:t,skipUndefined:r}=Xu(this)&&this||{},n={},i=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let a=t&&typeof s==="string"&&Vu(n,s)||s,c=Ui(n,a)?n[a]:void 0;if(Di(c)&&Di(o))n[a]=Zs(c,o);else if(Di(o))n[a]=Zs({},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(On(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(cS.call(a,u))i(a[u],u)}}return n}var YE=(e,t,r,{allOwnKeys:n}={})=>(On(t,(i,o)=>{if(r&&Ne(i))Object.defineProperty(e,o,{__proto__:null,value:Tn(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),ZE=(e)=>{if(e.charCodeAt(0)===65279)e=e.slice(1);return e},QE=(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)},eS=(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},tS=(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},rS=(e)=>{if(!e)return null;if(Xt(e))return e;let t=e.length;if(!Gu(t))return null;let r=Array(t);while(t-- >0)r[t]=e[t];return r},nS=((e)=>(t)=>e&&t instanceof e)(typeof Uint8Array<"u"&&Rr(Uint8Array)),iS=(e,t)=>{let n=(e&&e[kn]).call(e),i;while((i=n.next())&&!i.done){let o=i.value;t.call(e,o[0],o[1])}},oS=(e,t)=>{let r,n=[];while((r=e.exec(t))!==null)n.push(r);return n},sS=Je("HTMLFormElement"),aS=(e)=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),{propertyIsEnumerable:cS}=Object.prototype,pS=Je("RegExp"),Yu=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};On(r,(i,o)=>{let s;if((s=t(i,o,e))!==!1)n[o]=s||i}),Object.defineProperties(e,n)},uS=(e)=>{Yu(e,(t,r)=>{if(Ne(e)&&["arguments","caller","callee"].includes(r))return!1;let n=e[r];if(!Ne(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+"'")}})},lS=(e,t)=>{let r={},n=(i)=>{i.forEach((o)=>{r[o]=!0})};return Xt(e)?n(e):n(String(e).split(t)),r},dS=()=>{},fS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function mS(e){return!!(e&&Ne(e.append)&&e[zu]==="FormData"&&e[kn])}var hS=(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(BE(n)){i=[];for(let o of n){let s=r(o);!Yt(s)&&i.push(s)}}else i=Xt(n)?[]:{},On(n,(o,s)=>{let a=r(o);!Yt(a)&&(i[s]=a)});return t.delete(n),i}}return n};return r(e)},xS=Je("AsyncFunction"),yS=(e)=>e&&(_r(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),Zu=((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",Ne(Vt.postMessage)),gS=typeof queueMicrotask<"u"?queueMicrotask.bind(Vt):typeof process<"u"&&process.nextTick||Zu,Qu=(e)=>e!=null&&Ne(e[kn]),vS=(e)=>e!=null&&_n(e,kn)&&Qu(e),d={isArray:Xt,isArrayBuffer:Mu,isBuffer:Tr,isFormData:JE,isArrayBufferView:PE,isString:IE,isNumber:Gu,isBoolean:jE,isObject:_r,isPlainObject:Di,isEmptyObject:NE,isReadableStream:zE,isRequest:ME,isResponse:GE,isHeaders:VE,isUndefined:Yt,isDate:LE,isFile:qE,isReactNativeBlob:DE,isReactNative:UE,isBlob:FE,isRegExp:pS,isFunction:Ne,isStream:KE,isURLSearchParams:WE,isTypedArray:nS,isFileList:$E,forEach:On,merge:Zs,extend:YE,trim:XE,stripBOM:ZE,inherits:QE,toFlatObject:eS,kindOf:Qs,kindOfTest:Je,endsWith:tS,toArray:rS,forEachEntry:iS,matchAll:oS,isHTMLForm:sS,hasOwnProperty:Ui,hasOwnProp:Ui,hasOwnInPrototypeChain:_n,getSafeProp:CE,reduceDescriptors:Yu,freezeMethods:uS,toObjectSet:lS,toCamelCase:aS,noop:dS,toFiniteNumber:fS,findKey:Vu,global:Vt,isContextDefined:Xu,isSpecCompliantForm:mS,toJSONObject:hS,isAsyncFn:xS,isThenable:yS,setImmediate:Zu,asap:gS,isIterable:Qu,isSafeIterable:vS};var bS=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"]),el=(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(bS,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 ES=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),SS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function
|
|
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 kS(e)}static concat(e,...t){let r=new this(e);return t.forEach((n)=>r.set(n)),r}static accessor(e){let r=(this[rl]=this[rl]={accessors:{}}).accessors,n=this.prototype;function i(o){let s=Cn(o);if(!r[s])PS(n,o),r[s]=!0}return d.isArray(e)?e.forEach(i):i(e),this}}Pn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(Pn.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});d.freezeMethods(Pn);var Z=Pn;var In="[REDACTED ****]";function IS(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 jS(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 Z)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)&&IS(o))return n.pop(),o;s=Object.create(null);for(let[a,c]of Object.entries(o)){let p=r.has(a.toLowerCase())?In:i(c);if(!d.isUndefined(p))s[a]=p}}return n.pop(),s};return i(e)}function nl(e){try{return String(e)}catch(t){return""}}function NS(e){return e.errors.map((r)=>{try{return r&&r.message?nl(r.message):nl(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&&d.isArray(e.errors)&&e.errors.length)s=NS(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&&d.hasOwnProp(e,"redact")?e.redact:void 0,r=d.isArray(t)&&t.length>0?jS(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}}}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 cf=pe(af(),1),Yi=cf.default;var Zi={isBufferAvailable(){return typeof Buffer<"u"},from(e){return Buffer.from(e)}};var Ra=100;function Aa(e){return d.isPlainObject(e)||d.isArray(e)}function pf(e){return d.endsWith(e,"[]")?e.slice(0,-2):e}function Sa(e,t,r){if(!e)return t;return e.concat(t).map(function(i,o){return i=pf(i),!r&&o?"["+i+"]":i}).join(r?".":"")}function vA(e){return d.isArray(e)&&!e.some(Aa)}var bA=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(Yi||FormData),r=d.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,E){return!d.isUndefined(E[b])});let n=r.metaTokens,i=r.visitor||g,o=r.dots,s=r.indexes,a=r.Blob||typeof Blob<"u"&&Blob,c=r.maxDepth===void 0?Ra:r.maxDepth,p=a&&d.isSpecCompliantForm(t),u=[];if(!d.isFunction(i))throw TypeError("visitor must be a function");function l(h){if(h===null)return"";if(d.isDate(h))return h.toISOString();if(d.isBoolean(h))return h.toString();if(!p&&d.isBlob(h))throw new w("Blob is not supported. Use a Buffer instead.");if(d.isArrayBuffer(h)||d.isTypedArray(h)){if(p&&typeof a==="function")return new a([h]);if(Zi&&Zi.isBufferAvailable())return Zi.from(h);throw new w("Blob is not supported. Use a Buffer instead.",w.ERR_NOT_SUPPORT)}return h}function f(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(!d.isObject(C))return C;while(E.length&&E[E.length-1]!==this)E.pop();return E.push(C),f(b+E.length-1),C})}function g(h,b,E){let A=h;if(d.isReactNative(t)&&d.isReactNativeBlob(h))return t.append(Sa(E,b,o),l(h)),!1;if(h&&!E&&typeof h==="object"){if(d.endsWith(b,"{}"))b=n?b:b.slice(0,-2),h=m(h,1);else if(d.isArray(h)&&vA(h)||(d.isFileList(h)||d.endsWith(b,"[]"))&&(A=d.toArray(h)))return b=pf(b),A.forEach(function(C,K){!(d.isUndefined(C)||C===null)&&t.append(s===!0?Sa([b],K,o):s===null?b:b+"[]",l(C))}),!1}if(Aa(h))return!0;return t.append(Sa(E,b,o),l(h)),!1}let x=Object.assign(bA,{defaultVisitor:g,convertValue:l,isVisitable:Aa});function v(h,b,E=0){if(d.isUndefined(h))return;if(f(E),u.indexOf(h)!==-1)throw Error("Circular reference detected in "+b.join("."));u.push(h),d.forEach(h,function(O,C){if((!(d.isUndefined(O)||O===null)&&i.call(t,O,d.isString(C)?C.trim():C,b,x))===!0)v(O,b?b.concat(C):[C],E+1)}),u.pop()}if(!d.isObject(e))throw TypeError("data must be an object");return v(e),t}var Ct=wA;function uf(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function lf(e,t){this._pairs=[],e&&Ct(e,this,t)}var df=lf.prototype;df.append=function(t,r){this._pairs.push([t,r])};df.toString=function(t){let r=t?(n)=>t.call(this,n,uf):uf;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};var ff=lf;function EA(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=d.isFunction(r)?{serialize:r}:r,i=d.getSafeProp(n,"encode")||EA,o=d.getSafeProp(n,"serialize"),s;if(o)s=o(t,n);else s=d.isURLSearchParams(t)?t.toString():new ff(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 mf{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){d.forEach(this.handlers,function(r){if(r!==null)e(r)})}}var Ta=mf;var Pt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var gf=pe(require("crypto"));var hf=pe(require("url")),xf=hf.default.URLSearchParams;var _a="abcdefghijklmnopqrstuvwxyz",yf="0123456789",vf={DIGIT:yf,ALPHA:_a,ALPHA_DIGIT:_a+_a.toUpperCase()+yf},SA=(e=16,t=vf.ALPHA_DIGIT)=>{let r="",{length:n}=t,i=new Uint32Array(e);gf.default.randomFillSync(i);for(let o=0;o<e;o++)r+=t[i[o]%n];return r},bf={isNode:!0,classes:{URLSearchParams:xf,FormData:Yi,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:vf,generateString:SA,protocols:["http","https","file","data"]};var Ca={};Ar(Ca,{hasBrowserEnv:()=>Oa,hasStandardBrowserEnv:()=>AA,hasStandardBrowserWebWorkerEnv:()=>RA,navigator:()=>ka,origin:()=>TA});var Oa=typeof window<"u"&&typeof document<"u",ka=typeof navigator==="object"&&navigator||void 0,AA=Oa&&(!ka||["ReactNative","NativeScript","NS"].indexOf(ka.product)<0),RA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")(),TA=Oa&&window.location.href||"http://localhost";var z={...Ca,...bf};function Pa(e,t){return Ct(e,new z.classes.URLSearchParams,{visitor:function(r,n,i,o){if(z.isNode&&d.isBuffer(r))return this.append(n,r.toString("base64")),!1;return o.defaultVisitor.apply(this,arguments)},...t})}var wf=Ra;function Ef(e){if(e>wf)throw new w("FormData field is too deeply nested ("+e+" levels). Max depth: "+wf,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}function _A(e){let t=[],r=/[^.[\]]+|\[([^.[\]]*)]/g,n;while((n=r.exec(e))!==null)Ef(t.length),t.push(n[0]==="[]"?"":n[1]||n[0]);return t}function kA(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 OA(e){function t(r,n,i,o){Ef(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]=kA(i[s]);return!a}if(d.isFormData(e)&&d.isFunction(e.entries)){let r={};return d.forEachEntry(e,(n,i)=>{t(_A(n),i,r,0)}),r}return null}var Qi=OA;var jr=(e,t)=>e!=null&&d.hasOwnProp(e,t)?e[t]:void 0;function CA(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 Ia={transitional:Pt,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(Qi(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=jr(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return Pa(t,c).toString();if((a=d.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),CA(t);return t}],transformResponse:[function(t){let r=jr(this,"transitional")||Ia.transitional,n=r&&r.forcedJSONParsing,i=jr(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,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}}};d.forEach(["delete","get","head","post","put","patch","query"],(e)=>{Ia.headers[e]={}});var Nr=Ia;function Dn(e,t){let r=this||Nr,n=t||r,i=Z.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 Un(e){return!!(e&&e.__CANCEL__)}class Sf extends w{constructor(e,t,r){super(e==null?"canceled":e,w.ERR_CANCELED,t,r);this.name="CanceledError",this.__CANCEL__=!0}}var Ue=Sf;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 ja(e){if(typeof e!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Na(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 PA=/^https?:(?!\/\/)/i,IA=/[\t\n\r]/g;function jA(e){let t=0;while(t<e.length&&e.charCodeAt(t)<=32)t++;return e.slice(t)}function NA(e){return jA(e).replace(IA,"")}function LA(e){if(!e)return e;return e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,r,n="")=>`${r}${n}${In}`)}function qA(e){let t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${In}@`),r=t.indexOf("#"),i=(r===-1?t:t.slice(0,r)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${In}`);if(r===-1)return i;return`${i}#${LA(t.slice(r+1))}`}function Af(e,t){if(typeof e==="string"){let r=NA(e);if(PA.test(r))throw new w(`Invalid URL ${JSON.stringify(qA(r))}: missing "//" after protocol`,w.ERR_INVALID_URL,t)}}function er(e,t,r,n){Af(t,n);let i=!ja(t);if(e&&(i||r===!1))return Af(e,n),Na(e,t);return t}var DA={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function UA(e){try{return new URL(e)}catch{return null}}function Rf(e){var t=(typeof e==="string"?UA(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)||DA[r]||0,!FA(n,i))return"";var o=La(r+"_proxy")||La("all_proxy");if(o&&o.indexOf("://")===-1)o=r+"://"+o;return o}function FA(e,t){var r=La("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 La(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var fc=pe(Jf(),1),mc=pe(require("http")),hc=pe(require("https")),jm=pe(require("http2")),Nm=pe(require("util")),dc=require("path"),Lm=pe(Yf(),1),Fe=pe(require("zlib"));var vt="1.19.0";function Mn(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}var JR=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function oc(e,t,r){let n=r&&r.Blob||z.classes.Blob,i=Mn(e);if(t===void 0&&n)t=!0;if(i==="data"){e=i.length?e.slice(i.length+1):e;let o=JR.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 WR=["content-type","content-length"];function Gn(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([n,i])=>{if(WR.includes(n.toLowerCase()))e.set(n,i)})}var Zf=pe(require("stream"));var sc=Symbol("internals");class Qf extends Zf.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[sc]={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[sc];if(t.onReadCallback)t.onReadCallback();return super._read(e)}_transform(e,t,r){let n=this[sc],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 g=Buffer.byteLength(f);if(n.bytesSeen+=g,n.bytes+=g,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 g=Buffer.byteLength(f),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,f)},s-b);if(h<v)v=h}if(v&&g>v&&g-v>p)x=f.subarray(v),f=f.subarray(0,v);u(f,x?()=>{process.nextTick(m,null,x)}:m)};l(e,function f(m,g){if(m)return r(m);if(g)l(g,f);else r(null)})}}var ac=Qf;var qm=require("events");var tm=pe(require("util")),rm=require("stream");var{asyncIterator:em}=Symbol,zR=async function*(e){if(e.stream)yield*e.stream();else if(e.arrayBuffer)yield await e.arrayBuffer();else if(e[em])yield*e[em]();else yield e},ao=zR;var MR=z.ALPHABET.ALPHA_DIGIT+"-_",Vn=typeof TextEncoder==="function"?new TextEncoder:new tm.default.TextEncoder,or=`\r
|
|
31
|
-
`,GR=Vn.encode(or),VR=2;class nm{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)}"`:""}${or}`;if(n)t=Vn.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=Vn.encode(i+or),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+VR,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;if(d.isTypedArray(e))yield e;else yield*ao(e);yield GR}static escapeName(e){return String(e).replace(/[\r\n"]/g,(t)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}}var XR=(e,t,r)=>{let{tag:n="form-data-boundary",size:i=25,boundary:o=n+"-"+z.generateString(i,MR)}=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=Vn.encode("--"+o+or),a=Vn.encode("--"+o+"--"+or),c=a.byteLength,p=Array.from(e.entries()).map(([l,f])=>{let m=new nm(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),rm.Readable.from(async function*(){for(let l of p)yield s,yield*l.encode();yield a}())},im=XR;var om=pe(require("stream"));class sm extends om.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 am=sm;var cm=pe(require("http2")),pm=pe(require("util"));class um{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[f,m]=r[l];if(!f.destroyed&&!f.closed&&pm.default.isDeepStrictEqual(m,t))return f}}let n=cm.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);let p=[n,t];return r?r.push(p):r=this.sessions[e]=[p],n}}var lm=um;var YR=(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,dm=YR;var ZR=new Set(["localhost","0.0.0.0"]),hm=(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)},cc=(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},QR=(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(cc);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=cc(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(cc);if(p.some((u)=>u===null||u<0||u>255))return e;return[...p,...c].join(".")},pc=(e)=>/^0{1,4}$/.test(e),eT=(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(pc)&&s.every(pc)}let r=e.split(":");return r.length===8&&r.every(pc)},tT=(e)=>{if(e==="::1")return!0;let t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return hm(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},fm=(e)=>{if(!e)return!1;if(ZR.has(e))return!0;if(hm(e))return!0;if(eT(e))return!0;return tT(e)},rT={http:80,https:443,ws:80,wss:443,ftp:21},nT=(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]},iT=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,oT=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,sT=(e)=>{if(typeof e!=="string"||e.indexOf(":")===-1)return e;let t=e.match(iT);if(t)return t[1];let r=e.match(oT);if(r){let n=parseInt(r[1],16),i=parseInt(r[2],16);return`${n>>8}.${n&255}.${i>>8}.${i&255}`}return e},mm=(e)=>{if(!e)return e;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]")e=e.slice(1,-1);let t=e.replace(/\.+$/,""),r=QR(t);if(r!==t)return r;return sT(t)};function uc(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)||rT[t.protocol.split(":",1)[0]]||0,i=mm(t.hostname.toLowerCase());return r.split(/[\s,]+/).some((o)=>{if(!o)return!1;if(o==="*")return!0;let[s,a]=nT(o);if(s=mm(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||fm(i)&&fm(s)})}function aT(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 xm=aT;function cT(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=cT;var bt=(e,t,r=3)=>{let n=0,i=xm(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=d.asap)=>(...r)=>t(()=>e(...r));var gm=(e)=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,bm=(e,t,r)=>t+2<r&&gm(e.charCodeAt(t+1))&&gm(e.charCodeAt(t+2)),vm=(e)=>e<=57?e-48:(e&223)-55,pT=(e)=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,uT=(e)=>e===9||e===10||e===12||e===13||e===32,lT=(e)=>{let t=Math.floor(e/4),r=e%4;return t*3+(r===2?1:r===3?2:0)},wm=(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)},dT=(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&&bm(e,o,t))s=vm(e.charCodeAt(o+1))*16+vm(e.charCodeAt(o+2)),o+=2;if(uT(s))continue;if(s===61){n++;continue}if(!pT(s)||n>0){i=!0;continue}r++}if(i||n>2||n>0&&(r+n)%4!==0||r%4===1)return wm(e);return lT(r)},Em=(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&&bm(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 lc(e){let t=typeof e==="string"?e.indexOf("#"):-1;return Em(t===-1?e:e.slice(0,t),dT)}function Sm(e){return Em(e,wm)}var Am={flush:Fe.default.constants.Z_SYNC_FLUSH,finishFlush:Fe.default.constants.Z_SYNC_FLUSH},fT={flush:Fe.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Fe.default.constants.BROTLI_OPERATION_FLUSH},mT={flush:Fe.default.constants.ZSTD_e_flush,finishFlush:Fe.default.constants.ZSTD_e_flush},Dm=d.isFunction(Fe.default.createBrotliDecompress),Um=d.isFunction(Fe.default.createZstdDecompress),Fm="gzip, compress, deflate"+(Dm?", br":""),hT=Fm+(Um?", zstd":""),Rm=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):d.asap,{http:xT,https:yT}=Lm.default,xc=/https:?/,Tm=Symbol("axios.http.socketListener"),co=Symbol("axios.http.currentReq"),$m=Symbol("axios.http.installedTunnel"),gT=new Map,_m=new WeakMap,km={22:21,24:5};function vT(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 km[t]!=null&&r>=km[t]}function bT(e,t=process.versions&&process.versions.node){if(!vT(t))return!1;let r=e&&e.options;return Boolean(r&&d.hasOwnProp(r,"proxyEnv")&&r.proxyEnv!=null)}function wT(e,t,r){return xc.test(e.protocol)?r||hc.default.globalAgent:t||mc.default.globalAgent}function ET(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),n=t?_m.get(t)||_m.set(t,new Map).get(t):gT,i=n.get(r);if(i)return i;let o=t&&t.options?{...t.options,...e}:e;if(i=new fc.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[$m]=!0,n.set(r,i),i}var Om=z.protocols.map((e)=>e+":"),Cm=(e)=>{if(!d.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Pm=(e,[t,r])=>(e.on("end",r).on("error",r),t),ST=new lm;function AT(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 RT(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 Bm(e,t,r,n,i,o){let s=t,a=wT(e,o,i);if(!s&&s!==!1&&!bT(a)){let c=Rf(r);if(c){if(!uc(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[$m])e.agent=void 0;if(s){let c=s instanceof URL,p=(g)=>c||d.hasOwnProp(s,g)?s[g]:void 0,u=p("username"),l=p("password"),f=d.hasOwnProp(s,"auth")?s.auth:void 0;if(u)f=(u||"")+":"+(l||"");if(f){let g=typeof f==="object",x=g&&d.hasOwnProp(f,"username")?f.username:void 0,v=g&&d.hasOwnProp(f,"password")?f.password:void 0;if(Boolean(x||v))f=(x||"")+":"+(v||"");else if(g)throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:s})}if(xc.test(e.protocol)){if(!(i instanceof fc.default)){let g=p("hostname")||p("host"),x=p("port"),v=p("protocol"),h=v?v.includes(":")?v:`${v}:`:"http:",b=g&&g.includes(":")&&!g.startsWith("[")?`[${g}]`:g,E=new URL(`${h}//${b}${x?":"+x:""}`),A={protocol:E.protocol,hostname:E.hostname.replace(/^\[|\]$/g,""),port:E.port,auth:f&&typeof f==="string"?f:void 0};if(E.protocol==="https:")A.ALPNProtocols=["http/1.1"];let O=ET(A,i);if(e.agent=O,e.agents)e.agents.https=O}}else{if(f){let h=Buffer.from(f,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+h}let g=!1;for(let h of Object.keys(e.headers))if(h.toLowerCase()==="host"){g=!0;break}if(!g)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){Bm(p,t,p.href,!0,i,o)}}var _T=typeof process<"u"&&d.kindOf(process)==="process",kT=(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)}),OT=({address:e,family:t})=>{if(!d.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},Im=(e,t)=>OT(d.isObject(e)?e:{address:e,family:t}),CT={request(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||(e.protocol==="https:"?443:80)),{http2Options:n,headers:i}=e,o=ST.getSession(r,n),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:p}=jm.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 g=f[p];delete f[p],m.headers=f,m.statusCode=+g,t(m)}),l}},Km=_T&&function(t){return kT(async function(n,i,o){let s=(k)=>d.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 f=s("http2Options"),m=s("httpAgent"),g=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 yt=l===2;if(p){let k=dm(p,(R)=>d.isArray(R)?R:[R]);p=(R,B,ae)=>{k(R,B,(D,be,Oe)=>{if(D)return ae(D);let fe=d.isArray(be)?be.map((Sr)=>Im(Sr)):[Im(be,Oe)];B.all?ae(D,fe):ae(D,fe[0].address,fe[0].family)})}}let Qe=new qm.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),Li=b?"http://localhost":z.hasBrowserEnv?z.origin:void 0,ne=new URL(Ni,Li),se=ne.protocol||Om[0];if(se==="data:"){if(C>-1){let R=String(s("url")||Ni||"");if(Sm(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=oc(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=d.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(Om.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:gt}=t,Gt=t.maxRate,W=void 0,Ae=void 0;if(d.isSpecCompliantForm(c)){let k=de.getContentType(/boundary=([-_\w\d]{10,70})/i);c=im(c,(R)=>{de.set(R)},{tag:`axios-${vt}-boundary`,boundary:k&&k[1]||void 0})}else if(d.isFormData(c)&&d.isFunction(c.getHeaders)&&c.getHeaders!==Object.prototype.getHeaders){if(Gn(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(d.isBlob(c)||d.isFile(c))c.size&&de.setContentType(c.type||"application/octet-stream"),de.setContentLength(c.size||0),c=ze.default.Readable.from(ao(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 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=d.toFiniteNumber(de.getContentLength());if(d.isArray(Gt))W=Gt[0],Ae=Gt[1];else W=Ae=Gt;if(c&&(ut||W)){if(!d.isStream(c))c=ze.default.Readable.from(c,{objectMode:!1});c=ze.default.pipeline([c,new ac({maxRate:d.toFiniteNumber(W)})],d.noop),ut&&c.on("progress",Pm(c,Fr(wr,bt($r(ut,Rm),!1,3))))}let lt=void 0,En=s("auth");if(En){let k=d.getSafeProp(En,"username")||"",R=d.getSafeProp(En,"password")||"";lt=k+":"+R}if(!lt&&(ne.username||ne.password)){let k=Cm(ne.username),R=Cm(ne.password);lt=k+":"+R}lt&&de.delete("authorization");let Sn;try{Sn=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",d.hasOwnProp(a,"advertiseZstdAcceptEncoding")&&a.advertiseZstdAcceptEncoding===!0?hT:Fm,!1);let X=Object.assign(Object.create(null),{path:Sn,method:E,headers:kr(de),agents:{http:m,https:g},auth:lt,protocol:se,family:u,beforeRedirect:AT,beforeRedirects:Object.create(null),http2Options:f});if(!d.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=dc.resolve(b);if(!R.some((D)=>typeof D==="string"&&dc.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,Bm(X,x,se+"//"+ne.hostname+(ne.port?":"+ne.port:"")+X.path,!1,g,m);let kt,Er=!1,He=!1,N=xc.test(X.protocol);if(X.agent==null)X.agent=N?g:m;if(yt)kt=CT;else{let k=s("transport");if(k)kt=k;else if(A===0)kt=N?hc.default:mc.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(!d.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(!d.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(!TT(be,Oe))RT(be.headers,ae)}}kt=N?yT:xT}}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=d.toFiniteNumber(R.headers["content-length"]);if(gt||Ae){let fe=new ac({maxRate:d.toFiniteNumber(Ae)});gt&&fe.on("progress",Pm(fe,Fr(ae,bt($r(gt,Rm),!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(Am)),delete R.headers["content-encoding"];break;case"deflate":B.push(new am),B.push(Fe.default.createUnzip(Am)),delete R.headers["content-encoding"];break;case"br":if(Dm)B.push(Fe.default.createBrotliDecompress(fT)),delete R.headers["content-encoding"];break;case"zstd":if(Um)B.push(Fe.default.createZstdDecompress(mT)),delete R.headers["content-encoding"];break}}D=B.length>1?ze.default.pipeline(B,d.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*An(){let we=0;for await(let Fu of Sr){if(we+=Fu.length,we>fe)throw new w("maxContentLength size of "+fe+" exceeded",w.ERR_BAD_RESPONSE,t,be);yield Fu}}D=ze.default.Readable.from(An(),{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=d.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[Tm])R.on("error",function(ae){let D=R[co];if(D&&!D.destroyed)D.destroy(ae)}),R[Tm]=!0;R[co]=I,Re.add(R)}),I.once("close",function(){et();for(let R of Re)if(R[co]===I)R[co]=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(d.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)}})],d.noop),B.on("error",(be)=>{if(!I.destroyed)I.destroy(be)})}B.pipe(I)}else c&&I.write(c),I.end()})};var Hm=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 Jm=z.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 Wm=(e)=>e instanceof Z?{...e}:e,PT=(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,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,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,f)=>i(Wm(u),Wm(l),f,!0)};if(d.forEach(PT({...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,g=d.hasOwnProp(t,l)?t[l]:void 0,x=f(m,g,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 IT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function jT(e){let t=rt({},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=Z.from(a),t.url=Qt(er(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?IT(m):"")))}catch(g){throw w.from(g,w.ERR_BAD_OPTION_VALUE,e)}}if(d.isFormData(n)){if(z.hasStandardBrowserEnv||z.hasStandardBrowserWebWorkerEnv||d.isReactNative(n))a.setContentType(void 0);else if(d.isFunction(n.getHeaders))Gn(a,n.getHeaders(),r("formDataHeaderPolicy"))}if(z.hasStandardBrowserEnv){if(d.isFunction(i))i=i(t);if(i===!0||i==null&&Hm(t.url)){let m=o&&s&&Jm.read(s);if(m)a.set(o,m)}}return t}var po=jT;var NT=typeof XMLHttpRequest<"u",zm=NT&&function(e){return new Promise(function(r,n){let i=po(e),o=i.data,s=Z.from(i.headers).normalize(),{responseType:a,onUploadProgress:c,onDownloadProgress:p}=i,u,l,f,m,g;function x(){m&&m(),g&&g(),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)d.forEach(kr(s),function(A,O){v.setRequestHeader(O,A)});if(!d.isUndefined(i.withCredentials))v.withCredentials=!!i.withCredentials;if(a&&a!=="json")v.responseType=i.responseType;if(p)[f,g]=bt(p,!0),v.addEventListener("progress",f);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=Mn(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 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 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=()=>d.asap(s),a},Mm=LT;var qT=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},DT=async function*(e,t){for await(let r of UT(e))yield*qT(r,t)},UT=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()}},yc=(e,t,r,n)=>{let i=DT(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 Gm=65536,{isFunction:uo}=d,FT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),Vm=(e)=>{if(!d.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Xm=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},$T=(e)=>{let t=e.indexOf("://"),r=e;if(t!==-1)r=r.slice(t+3);return r.includes("@")||r.includes(":")},BT=(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?uo(i):typeof fetch==="function",c=uo(o),p=uo(s);if(!a)return!1;let u=a&&uo(r),l=a&&(typeof n==="function"?((h)=>(b)=>h.encode(b))(new n):async(h)=>new Uint8Array(await new o(h).arrayBuffer())),f=c&&u&&Xm(()=>{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&&Xm(()=>d.isReadableStream(new s("").body)),g={stream:m&&((h)=>h.body)};a&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((h)=>{!g[h]&&(g[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(d.isBlob(h))return h.size;if(d.isSpecCompliantForm(h))return(await new o(z.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},v=async(h,b)=>{let E=d.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:yt="same-origin",fetchOptions:Qe,maxContentLength:V,maxBodyLength:et}=po(h),zt=d.isNumber(V)&&V>-1,Mt=d.isNumber(et)&&et>-1,Ni=(W)=>d.hasOwnProp(h,W)?h[W]:void 0,Li=i||fetch;I=I?(I+"").toLowerCase():"text";let ne=Mm([O,C&&C.toAbortSignal()],K),se=null,de=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()}),ut,gt=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 N=d.getSafeProp(Ae,"username")||"",Re=d.getSafeProp(Ae,"password")||"";W={username:N,password:Re}}if($T(b)){let N=new URL(b,z.origin);if(!W&&(N.username||N.password)){let Re=Vm(N.username),k=Vm(N.password);W={username:Re,password:k}}if(N.username||N.password)N.username="",N.password="",b=N.href}if(W)me.delete("authorization"),me.set("Authorization","Basic "+btoa(FT((W.username||"")+":"+(W.password||""))));if(zt&&typeof b==="string"&&b.startsWith("data:")){if(lc(b)>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}if(Mt&&E!=="get"&&E!=="head"){let N=await x(A);if(typeof N==="number"&&isFinite(N)){if(ut=N,N>et)throw Gt()}}let wr=Mt&&(d.isReadableStream(A)||d.isStream(A)),lt=(N,Re,k)=>yc(N,Gm,(R)=>{if(Mt&&R>et)throw gt=Gt();Re&&Re(R)},k);if(f&&E!=="get"&&E!=="head"&&(F||wr)){if(ut=ut==null?await v(me,A):ut,ut!==0||wr){let N=new o(b,{method:"POST",body:A,duplex:"half"}),Re;if(d.isFormData(A)&&(Re=N.headers.get("content-type")))me.setContentType(Re);if(N.body){let[k,R]=F&&Fr(ut,bt($r(F)))||[];A=lt(N.body,k,R)}}}else if(wr&&!c&&u&&E!=="get"&&E!=="head")A=lt(A);else if(wr&&c&&!f&&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(!d.isString(yt))yt=yt?"include":"omit";let En=c&&"credentials"in o.prototype;if(d.isFormData(A)){let N=me.getContentType();if(N&&/^multipart\/form-data/i.test(N)&&!/boundary=/i.test(N))me.delete("content-type")}me.set("User-Agent","axios/"+vt,!1);let Sn={...Qe,signal:ne,method:E.toUpperCase(),headers:kr(me.normalize()),body:A,duplex:"half",credentials:En?yt:void 0};se=c&&new o(b,Sn);let X=await(c?Li(se,Qe):Li(b,Sn)),kt=Z.from(X.headers);if(zt){let N=d.toFiniteNumber(kt.getContentLength());if(N!=null&&N>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 N={};["status","statusText","headers"].forEach((D)=>{N[D]=X[D]});let Re=d.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(yc(X.body,Gm,ae,()=>{R&&R(),de&&de()}),N)}I=I||"text";let He=await g[d.findKey(g,I)||"text"](X,h);if(zt&&!m&&!Er){let N;if(He!=null){if(typeof He.byteLength==="number")N=He.byteLength;else if(typeof He.size==="number")N=He.size;else if(typeof He==="string")N=typeof n==="function"?new n().encode(He).byteLength:He.length}if(typeof N==="number"&&N>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}return!Er&&de&&de(),await new Promise((N,Re)=>{dt(N,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(gt)throw se&&!gt.request&&(gt.request=se),gt;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)}}},KT=new Map,gc=(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=KT;while(a--)c=o[a],p=u.get(c),p===void 0&&u.set(c,p=a?new Map:BT(t)),u=p;return p},GU=gc();var vc={http:Km,xhr:zm,fetch:{get:gc}};d.forEach(vc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(r){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Ym=(e)=>`- ${e}`,JT=(e)=>d.isFunction(e)||e===null||e===!1;function WT(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,!JT(n)){if(i=vc[(a=String(n)).toLowerCase()],i===void 0)throw new w(`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 :
|
|
28
|
+
-----END ${t}-----`},Qv=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 qI(rs(new Uint8Array(await crypto.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},eb=(e)=>Qv("public","spki",e),tb=(e)=>Qv("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},rb=(e)=>({data:e,pos:0}),Vp=(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=Vp(e);if(t&128){let r=t&127,n=0;for(let i=0;i<r;i++)n=n<<8|Vp(e);return n}return t},Zv=(e,t=1)=>{while(t-- >0){e.pos++;let r=At(e);e.pos+=r}},Ht=(e,t,r)=>{if(Vp(e)!==t)throw Error(r)},nb=(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},DI=(e)=>{Ht(e,6,"Expected algorithm OID");let t=At(e);return nb(e,t)},FI=(e)=>{let t=DI(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=nb(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")},Xp=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=rb(t);UI(c,e),a=o.resolve({crv:FI(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])},Yp=(e,t)=>ns(e.replace(t,"")),ib=(e,t,r)=>{let n=Yp(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);return Xp("pkcs8",n,t,r)},ob=(e,t,r)=>{let n=Yp(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);return Xp("spki",n,t,r)},sb=(e,t,r)=>{let n;try{let i=Yp(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g);n=$I(i)}catch(i){throw TypeError("Failed to parse the X.509 certificate",{cause:i})}return Xp("spki",n,t,r)};var Zp=j(()=>{M();_i()});function BI(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}async function KI(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}=BI(await crypto.subtle.exportKey("jwk",e));if(o.kty==="AKP")o.alg=n;return o}function ab(e){return eb(e)}function cb(e){return tb(e)}function js(e){return KI(e)}var Qp=j(()=>{Zp();Be()});async function eu(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 pb(e,t){t??="sha256";let r=await eu(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 ub=j(()=>{Pe();Be();M();$e();Qp()});async function lb(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 db=j(()=>{Yr();pn();M()});function HI(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((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 fb(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((f)=>HI(f,c,s,a)),{0:u,length:l}=p;if(!l)throw new Xr;if(l!==1){let f=new Xo;throw f[Symbol.asyncIterator]=async function*(){for(let m of p)try{yield await fb(r,m,c)}catch{}},f}return fb(r,u,c)},"jwks",{value:()=>structuredClone(t)})}var tu=j(()=>{Yr();pn();M()});function JI(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}async function WI(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 mb(e,t,r){if(Number.isNaN(e))throw TypeError(`"${r}" option must not be NaN`);return typeof e==="number"?e:t}function hb(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=mb(n.cooldownDuration,30000,"cooldownDuration"),a=mb(n.cacheMaxAge,600000,"cacheMaxAge"),c=new Headers(n.headers);if(ru&&!c.has("User-Agent"))c.set("User-Agent",ru);if(!c.has("accept"))c.set("accept","application/json, application/jwk-set+json");let p=n[nu],u=n[iu],l,f,m=0,g=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(f&&JI())f=void 0;if(!f){let b=++m,E=f=WI(r,c,AbortSignal.timeout(o),p).then((A)=>{let O=Oi(A);if(b<=g)return;x=O;let C=Date.now();if(u)u.uat=C,u.jwks=A;l=C,g=b}).finally(()=>{if(f===E)f=void 0})}await f};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:()=>!!f,enumerable:!0},jwks:{value:()=>x?.jwks(),enumerable:!0}})}var ru,nu,iu;var xb=j(()=>{M();tu();if(typeof navigator>"u"||!navigator.userAgent?.startsWith?.("Mozilla/5.0 "))ru="jose/v6.2.10";nu=Symbol();iu=Symbol()});var zI,ou;var yb=j(()=>{Be();Pe();M();mn();sn();zI=fr;ou=class ou 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,ye(n,"payload",ce),t),header:s}}}});async function gb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw TypeError('"spki" must be SPKI formatted string');return ob(e,t,r)}async function vb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw TypeError('"x509" must be X.509 formatted string');return sb(e,t,r)}async function bb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw TypeError('"pkcs8" must be PKCS#8 formatted string');return ib(e,t,r)}async function wb(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 Eb=j(()=>{Be();Zp();Yr();_i();M()});function Sb(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 Ab=j(()=>{Pe()});function Rb(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 Tb=j(()=>{Be();$e();M()});function MI(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 _b(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:MI(t)}:n.subtle}return crypto.subtle.generateKey(i,r??!1,[...n.usages[1],...n.usages[0]])}var kb=j(()=>{M();_i()});async function Ob(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 Cb=j(()=>{_i()});var su={};Ar(su,{CompactEncrypt:()=>Kp,CompactSign:()=>Jp,EmbeddedJWK:()=>lb,EncryptJWT:()=>Gp,FlattenedEncrypt:()=>Hp,FlattenedSign:()=>Wp,GeneralEncrypt:()=>Ip,GeneralSign:()=>zp,SignJWT:()=>Mp,UnsecuredJWT:()=>ou,base64url:()=>is,calculateJwkThumbprint:()=>eu,calculateJwkThumbprintUri:()=>pb,compactDecrypt:()=>fv,compactVerify:()=>kv,createLocalJWKSet:()=>Oi,createRemoteJWKSet:()=>hb,cryptoRuntime:()=>GI,customFetch:()=>nu,decodeJwt:()=>Rb,decodeProtectedHeader:()=>Sb,errors:()=>gp,exportJWK:()=>js,exportPKCS8:()=>cb,exportSPKI:()=>ab,flattenedDecrypt:()=>hv,flattenedVerify:()=>Cv,generalDecrypt:()=>yv,generalVerify:()=>Iv,generateKeyPair:()=>_b,generateSecret:()=>Ob,importJWK:()=>wb,importPKCS8:()=>bb,importSPKI:()=>gb,importX509:()=>vb,jwksCache:()=>iu,jwtDecrypt:()=>Uv,jwtVerify:()=>qv});var GI="WebCryptoAPI";var au=j(()=>{mv();xv();gv();wv();Ov();Pv();jv();Dv();Fv();$v();Bv();zv();Mv();Vv();Xv();Yv();ub();db();tu();xb();yb();Qp();Eb();Ab();Tb();M();kb();Cb();Be()});var Ns=y(function(xW,Pb){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;Pb.exports=Ls});var cu=y(function(yW,jb){var Ib=(au(),Di(su)),VI=Ns();function XI(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 VI("Unsupported JWK")}async function YI(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 Ib.importJWK({...r,ext:!0},XI(r));if(n.type!=="public")continue;let i;switch(n[Symbol.toStringTag]){case"CryptoKey":{let o=await Ib.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}jb.exports={retrieveSigningKeys:YI}});var pu=y(function(gW,Lb){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;Lb.exports=qs});var qb=y(function(vW,Nb){var ZI=require("http"),QI=require("https"),ej=pu();Nb.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 ej("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:"?QI:ZI).request(u,(m)=>{let g="";m.setEncoding("utf8"),m.on("data",(x)=>{g+=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(g&&JSON.parse(g))}catch(x){r(x)}})});f.on("timeout",()=>f.destroy()).on("error",(m)=>r(m)).end()})}});var Fs=y(function(Us){var Ub=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tj=Ub((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")}),rj=Ub((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=tj(),nj=rj(),uu=()=>le.metrics.hasSubscribers||le.tracing.hasSubscribers,Fb=new Set,Db=typeof process=="object"&&process?process:{},ij=(e,t,r,n)=>{typeof Db.emitWarning=="function"?Db.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},oj=(e)=>!Fb.has(e),Jt=(e)=>!!e&&e===Math.floor(e)&&e>0&&isFinite(e),$b=(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)}},sj=class e{heap;length;static#e=!1;static create(t){let r=$b(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]}},aj=class e{#e;#t;#n;#o;#s;#x;#y;#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;#g;#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.#g,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.#y}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:g=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??nj.defaultPerf,r!==0&&!Jt(r))throw TypeError("max option must be a nonnegative integer");let I=r?$b(r):Array;if(!I)throw Error("invalid max value: "+r);if(this.#e=r,this.#t=g,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.#y=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.#g=new I(r),this.#d=0,this.#u=0,this.#S=sj.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=!!f,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";oj(me)&&(Fb.add(me),ij("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 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 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.#g[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 f=this.#H(t,r,n.size||0,c,p);if(this.maxEntrySize&&f>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.#g[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 g=this.#r[m];if(r!==g){if(!a)if(this.#i(g)){g!==i&&g.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=g;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?.(g,t,"set"),this.#h&&this.#l?.push([g,t,"set"]);if(this.#L(m),this.#U(m,f,p),this.#r[m]=r,!u){let x=g&&this.#i(g)?g.__staleWhileFetching:g,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 g=this.#l,x;for(;x=g?.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=uu()?{}: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},f=(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(f).then(p,u),g=Object.assign(m,{__abortController:s,__staleWhileFetching:o,__returned:void 0});return r===void 0?(this.#P(t,g,{...c.options,status:void 0}),r=this.#c.get(t)):this.#r[r]=g,g}#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=uu()?{}: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:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=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:f,allowStaleOnFetchAbort:g,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=uu()?{}: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.#y;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.#g[r]=t,this.#m[t]=r}#q(t){t!==this.#u&&(t===this.#d?this.#d=this.#m[t]:this.#z(this.#g[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.#g[i];else if(i===this.#d)this.#d=this.#m[i];else{let s=this.#g[i];this.#m[s]=this.#m[i];let a=this.#m[i];this.#g[a]=this.#g[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=aj});var Ru=y(function(Pi,hn){var cj=200,Zb="__lodash_hash_undefined__",Qb=9007199254740991,gu="[object Arguments]",pj="[object Array]",ew="[object Boolean]",tw="[object Date]",uj="[object Error]",vu="[object Function]",rw="[object GeneratorFunction]",$s="[object Map]",nw="[object Number]",bu="[object Object]",Bb="[object Promise]",iw="[object RegExp]",Bs="[object Set]",ow="[object String]",sw="[object Symbol]",du="[object WeakMap]",aw="[object ArrayBuffer]",Ks="[object DataView]",cw="[object Float32Array]",pw="[object Float64Array]",uw="[object Int8Array]",lw="[object Int16Array]",dw="[object Int32Array]",fw="[object Uint8Array]",mw="[object Uint8ClampedArray]",hw="[object Uint16Array]",xw="[object Uint32Array]",lj=/[\\^$.*+?()[\]{}|]/g,dj=/\w*$/,fj=/^\[object .+?Constructor\]$/,mj=/^(?:0|[1-9]\d*)$/,ee={};ee[gu]=ee[pj]=ee[aw]=ee[Ks]=ee[ew]=ee[tw]=ee[cw]=ee[pw]=ee[uw]=ee[lw]=ee[dw]=ee[$s]=ee[nw]=ee[bu]=ee[iw]=ee[Bs]=ee[ow]=ee[sw]=ee[fw]=ee[mw]=ee[hw]=ee[xw]=!0;ee[uj]=ee[vu]=ee[du]=!1;var hj=typeof global=="object"&&global&&global.Object===Object&&global,xj=typeof self=="object"&&self&&self.Object===Object&&self,Tt=hj||xj||Function("return this")(),yw=typeof Pi=="object"&&Pi&&!Pi.nodeType&&Pi,Kb=yw&&typeof hn=="object"&&hn&&!hn.nodeType&&hn,yj=Kb&&Kb.exports===yw;function gj(e,t){return e.set(t[0],t[1]),e}function vj(e,t){return e.add(t),e}function bj(e,t){var r=-1,n=e?e.length:0;while(++r<n)if(t(e[r],r,e)===!1)break;return e}function wj(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}function gw(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 Ej(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function Sj(e,t){return e==null?void 0:e[t]}function vw(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function Hb(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function wu(e,t){return function(r){return e(t(r))}}function Jb(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Aj=Array.prototype,Rj=Function.prototype,Hs=Object.prototype,lu=Tt["__core-js_shared__"],Wb=function(){var e=/[^.]+$/.exec(lu&&lu.keys&&lu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),bw=Rj.toString,Wt=Hs.hasOwnProperty,Js=Hs.toString,Tj=RegExp("^"+bw.call(Wt).replace(lj,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zb=yj?Tt.Buffer:void 0,Mb=Tt.Symbol,Gb=Tt.Uint8Array,_j=wu(Object.getPrototypeOf,Object),kj=Object.create,Oj=Hs.propertyIsEnumerable,Cj=Aj.splice,Vb=Object.getOwnPropertySymbols,Pj=zb?zb.isBuffer:void 0,Ij=wu(Object.keys,Object),fu=gn(Tt,"DataView"),Ii=gn(Tt,"Map"),mu=gn(Tt,"Promise"),hu=gn(Tt,"Set"),xu=gn(Tt,"WeakMap"),ji=gn(Object,"create"),jj=gr(fu),Lj=gr(Ii),Nj=gr(mu),qj=gr(hu),Dj=gr(xu),Xb=Mb?Mb.prototype:void 0,Yb=Xb?Xb.valueOf:void 0;function yr(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 Uj(){this.__data__=ji?ji(null):{}}function Fj(e){return this.has(e)&&delete this.__data__[e]}function $j(e){var t=this.__data__;if(ji){var r=t[e];return r===Zb?void 0:r}return Wt.call(t,e)?t[e]:void 0}function Bj(e){var t=this.__data__;return ji?t[e]!==void 0:Wt.call(t,e)}function Kj(e,t){var r=this.__data__;return r[e]=ji&&t===void 0?Zb:t,this}yr.prototype.clear=Uj;yr.prototype.delete=Fj;yr.prototype.get=$j;yr.prototype.has=Bj;yr.prototype.set=Kj;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 Hj(){this.__data__=[]}function Jj(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 Cj.call(t,r,1);return!0}function Wj(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 Mj(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=Hj;_t.prototype.delete=Jj;_t.prototype.get=Wj;_t.prototype.has=zj;_t.prototype.set=Mj;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 Gj(){this.__data__={hash:new yr,map:new(Ii||_t),string:new yr}}function Vj(e){return zs(this,e).delete(e)}function Xj(e){return zs(this,e).get(e)}function Yj(e){return zs(this,e).has(e)}function Zj(e,t){return zs(this,e).set(e,t),this}xn.prototype.clear=Gj;xn.prototype.delete=Vj;xn.prototype.get=Xj;xn.prototype.has=Yj;xn.prototype.set=Zj;function yn(e){this.__data__=new _t(e)}function Qj(){this.__data__=new _t}function eL(e){return this.__data__.delete(e)}function tL(e){return this.__data__.get(e)}function rL(e){return this.__data__.has(e)}function nL(e,t){var r=this.__data__;if(r instanceof _t){var n=r.__data__;if(!Ii||n.length<cj-1)return n.push([e,t]),this;r=this.__data__=new xn(n)}return r.set(e,t),this}yn.prototype.clear=Qj;yn.prototype.delete=eL;yn.prototype.get=tL;yn.prototype.has=rL;yn.prototype.set=nL;function iL(e,t){var r=Su(e)||kL(e)?Ej(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||Wt.call(e,o))&&!(i&&(o=="length"||AL(o,n))))r.push(o);return r}function ww(e,t,r){var n=e[t];if(!(Wt.call(e,t)&&Rw(n,r))||r===void 0&&!(t in e))e[t]=r}function Ws(e,t){var r=e.length;while(r--)if(Rw(e[r][0],t))return r;return-1}function oL(e,t){return e&&Ew(t,Au(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=Su(e);if(c){if(a=wL(e),!t)return gL(e,a)}else{var p=xr(e),u=p==vu||p==rw;if(CL(e))return lL(e,t);if(p==bu||p==gu||u&&!o){if(vw(e))return o?e:{};if(a=EL(u?{}:e),!t)return vL(e,oL(a,e))}else{if(!ee[p])return o?e:{};a=SL(e,p,yu,t)}}s||(s=new yn);var l=s.get(e);if(l)return l;if(s.set(e,a),!c)var f=r?bL(e):Au(e);return bj(f||e,function(m,g){if(f)g=m,m=e[g];ww(a,g,yu(m,t,r,n,g,e,s))}),a}function sL(e){return Ms(e)?kj(e):{}}function aL(e,t,r){var n=t(e);return Su(e)?n:wj(n,r(e))}function cL(e){return Js.call(e)}function pL(e){if(!Ms(e)||TL(e))return!1;var t=_w(e)||vw(e)?Tj:fj;return t.test(gr(e))}function uL(e){if(!Aw(e))return Ij(e);var t=[];for(var r in Object(e))if(Wt.call(e,r)&&r!="constructor")t.push(r);return t}function lL(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}function Eu(e){var t=new e.constructor(e.byteLength);return new Gb(t).set(new Gb(e)),t}function dL(e,t){var r=t?Eu(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function fL(e,t,r){var n=t?r(Hb(e),!0):Hb(e);return gw(n,gj,new e.constructor)}function mL(e){var t=new e.constructor(e.source,dj.exec(e));return t.lastIndex=e.lastIndex,t}function hL(e,t,r){var n=t?r(Jb(e),!0):Jb(e);return gw(n,vj,new e.constructor)}function xL(e){return Yb?Object(Yb.call(e)):{}}function yL(e,t){var r=t?Eu(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function gL(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}function Ew(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;ww(r,s,a===void 0?e[s]:a)}return r}function vL(e,t){return Ew(e,Sw(e),t)}function bL(e){return aL(e,Au,Sw)}function zs(e,t){var r=e.__data__;return RL(t)?r[typeof t=="string"?"string":"hash"]:r.map}function gn(e,t){var r=Sj(e,t);return pL(r)?r:void 0}var Sw=Vb?wu(Vb,Object):jL,xr=cL;if(fu&&xr(new fu(new ArrayBuffer(1)))!=Ks||Ii&&xr(new Ii)!=$s||mu&&xr(mu.resolve())!=Bb||hu&&xr(new hu)!=Bs||xu&&xr(new xu)!=du)xr=function(e){var t=Js.call(e),r=t==bu?e.constructor:void 0,n=r?gr(r):void 0;if(n)switch(n){case jj:return Ks;case Lj:return $s;case Nj:return Bb;case qj:return Bs;case Dj:return du}return t};function wL(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 EL(e){return typeof e.constructor=="function"&&!Aw(e)?sL(_j(e)):{}}function SL(e,t,r,n){var i=e.constructor;switch(t){case aw:return Eu(e);case ew:case tw:return new i(+e);case Ks:return dL(e,n);case cw:case pw:case uw:case lw:case dw:case fw:case mw:case hw:case xw:return yL(e,n);case $s:return fL(e,n,r);case nw:case ow:return new i(e);case iw:return mL(e);case Bs:return hL(e,n,r);case sw:return xL(e)}}function AL(e,t){return t=t==null?Qb:t,!!t&&(typeof e=="number"||mj.test(e))&&(e>-1&&e%1==0&&e<t)}function RL(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function TL(e){return!!Wb&&Wb in e}function Aw(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Hs;return e===r}function gr(e){if(e!=null){try{return bw.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function _L(e){return yu(e,!0,!0)}function Rw(e,t){return e===t||e!==e&&t!==t}function kL(e){return OL(e)&&Wt.call(e,"callee")&&(!Oj.call(e,"callee")||Js.call(e)==gu)}var Su=Array.isArray;function Tw(e){return e!=null&&PL(e.length)&&!_w(e)}function OL(e){return IL(e)&&Tw(e)}var CL=Pj||LL;function _w(e){var t=Ms(e)?Js.call(e):"";return t==vu||t==rw}function PL(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Qb}function Ms(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function IL(e){return!!e&&typeof e=="object"}function Au(e){return Tw(e)?iL(e):uL(e)}function jL(){return[]}function LL(){return!1}hn.exports=_L});var Tu=y(function(Gs){Object.defineProperty(Gs,"__esModule",{value:!0});Gs.deepFreeze=void 0;function kw(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]))kw(e[t])});return e}Gs.deepFreeze=kw});var Pw=y(function(vn){var NL=vn&&vn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vn,"__esModule",{value:!0});vn.syncMemoizer=void 0;var qL=Fs(),DL=require("events"),Ow=NL(Ru()),Cw=Tu();function UL(e){let t=new qL.LRUCache(e),r=e.load,n=e.hash,i=e.bypass,o=e.itemTTL,s=e.freeze,a=e.clone,c=new DL.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 f(x){return x&&x.then&&typeof x.then==="function"}function m(x){let v=x;if(a)if(f(v))v=v.then(Ow.default);else v=(0,Ow.default)(v);if(s)if(f(v))v=v.then(Cw.deepFreeze);else(0,Cw.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=UL});var jw=y(function(bn){var FL=bn&&bn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bn,"__esModule",{value:!0});bn.asyncMemoizer=void 0;var $L=Fs(),BL=require("events"),KL=FL(Ru()),HL=Tu(),JL=Pw();function Iw(e){let t=new $L.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 BL.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 b=n(...h);t.delete(b)}function m(h,b,E){if(s)E.forEach(HL.deepFreeze);if(o)t.set(h,E,{ttl:o(...b.concat(E))});else t.set(h,E)}function g(h,b){for(let E of h)if(a)setImmediate(E,...b.map(KL.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),g([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),g(te,I)};r(...b,F)}return Object.assign(v,l)}bn.asyncMemoizer=Iw;Iw.sync=JL.syncMemoizer});var Nw=y(function(RW,Lw){var WL=jw();Lw.exports=WL.asyncMemoizer});var Uw=y(function(TW,Dw){var _u=It()("jwks"),zL=Nw(),{LRUCache:ML}=Fs(),{promisify:GL,callbackify:qw}=require("util");function VL(e,{cacheMaxEntries:t=5,cacheMaxAge:r=600000,cacheMaxAgeFallback:n,onStaleCacheFallback:i}){_u(`Configured caching of signing keys. Max: ${t} / Age: ${r}${n?` / Fallback: ${n}`:""}`);let o;if(n){let s=new ML({max:t}),a=e.getSigningKey.bind(e);o=qw(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(_u(`JWKS endpoint unavailable, serving stale signing key for '${c}': ${p.message}`),i)i(p,c,u.key);return u.key}_u(`JWKS endpoint unavailable and no valid stale entry for '${c}', fallback window expired or key never fetched`)}throw p}})}else o=qw(e.getSigningKey.bind(e));return GL(zL({hash:(s)=>s,load:o,ttl:r,max:t}))}Dw.exports.default=VL});var ku=y(function(_W,$w){var Fw=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};Fw.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)}};$w.exports=Fw});var Kw=y(function(kW,Bw){var XL=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()};Bw.exports=XL});var Ww=y(function(OW,Jw){var YL=ku(),Ou=Kw(),Hw=function(e,t,r){this.tokenBucket=new YL(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=Ou(),this.tokensThisInterval=0,this.fireImmediately=r};Hw.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=Ou();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=Ou();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}};Jw.exports=Hw});var zw=y(function(Cu){Cu.RateLimiter=Ww();Cu.TokenBucket=ku()});var Pu=y(function(PW,Mw){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;Mw.exports=Vs});var Vw=y(function(IW,Gw){var Iu=It()("jwks"),{RateLimiter:ZL}=zw(),QL=Pu();function eN(e,{jwksRequestsPerMinute:t=10}){let r=e.getSigningKey.bind(e),n=new ZL(t,"minute",!0);return Iu(`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(Iu("Requests to the JWKS endpoint available for the next minute:",c),c<0)Iu("Too many requests to the JWKS endpoint"),s(new QL("Too many requests to the JWKS endpoint"));else try{let p=await r(i);o(p)}catch(p){s(p)}})})}Gw.exports.default=eN});var Yw=y(function(jW,Xw){var tN=cu().retrieveSigningKeys;function rN(e,{getKeysInterceptor:t}){let r=e.getSigningKey.bind(e);return async(n)=>{let i=await t(),o;if(i&&i.length)o=await tN(i);if(o&&o.length){let s=o.find((a)=>!n||a.kid===n);if(s)return s}return r(n)}}Xw.exports.default=rN});var Qw=y(function(LW,Zw){var{callbackify:nN}=require("util"),iN=(e)=>{let t=e.getSigningKey.bind(e);return(r,n)=>{if(n)return nN(t)(r,n);return t(r)}};Zw.exports.default=iN});var tE=y(function(NW,eE){eE.exports={request:qb().default,cacheSigningKey:Uw().default,rateLimitSigningKey:Vw().default,getKeysInterceptor:Yw().default,callbackSupport:Qw().default}});var ju=y(function(qW,rE){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;rE.exports=Xs});var wn=y(function(DW,oE){var vr=It()("jwks"),{retrieveSigningKeys:oN}=cu(),{request:sN,cacheSigningKey:aN,rateLimitSigningKey:cN,getKeysInterceptor:pN,callbackSupport:uN}=tE(),Lu=Ns(),nE=ju();class iE{constructor(e){if(this.options={rateLimit:!1,cache:!0,timeout:30000,...e},this.options.getKeysInterceptor)this.getSigningKey=pN(this,e);if(this.options.rateLimit)this.getSigningKey=cN(this,e);if(this.options.cache)this.getSigningKey=aN(this,e);this.getSigningKey=uN(this,e)}async getKeys(){vr(`Fetching keys from '${this.options.jwksUri}'`);try{let e=await sN({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 Lu(t):e;throw r.isEndpointUnavailable=!0,r}}async getSigningKeys(){let e=await this.getKeys();if(!e||!e.length)throw new Lu("The JWKS endpoint did not contain any keys");let t=await oN(e);if(!t.length)throw new Lu("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 nE("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 nE(`Unable to find a signing key that matches '${e}'`)}}oE.exports={JwksClient:iE}});var En=y(function(UW,sE){sE.exports={ArgumentError:pu(),JwksError:Ns(),JwksRateLimitError:Pu(),SigningKeyNotFoundError:ju()}});var Li=y(function(FW,aE){var lN=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512","EdDSA"];aE.exports=lN});var cE=y(function($W,Ys){var{ArgumentError:dN}=En(),{JwksClient:fN}=wn(),mN=Li(),hN=(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 dN("An options object must be provided when initializing hapiJwt2Key");let t=new fN(e),r=e.handleSigningKeyError||hN;return function(i,o){if(!i||!i.header)return o(Error("Cannot find a signing certificate if there is no header"),null,null);if(!mN.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 uE=y(function(BW,pE){var{ArgumentError:xN}=En(),{JwksClient:yN}=wn(),gN=Li(),vN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};pE.exports.expressJwtSecret=function(e){if(e===null||e===void 0)throw new xN("An options object must be provided when initializing expressJwtSecret");let t=new yN(e),r=e.handleSigningKeyError||vN,n=async(i,o)=>{if(!o)return;let s=o.header;if(!s||!gN.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 dE=y(function(KW,lE){var{ArgumentError:bN}=En(),{JwksClient:wN}=wn(),EN=Li();lE.exports.koaJwtSecret=function(e={}){if(!e.jwksUri)throw new bN("No JWKS provided. Please provide a jwksUri");let t=new wN(e);return function({alg:n,kid:i}={}){return new Promise((o,s)=>{if(!EN.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 xE=y(function(HW,hE){var fE=(au(),Di(su)),{ArgumentError:mE}=En(),{JwksClient:SN}=wn(),AN=Li(),RN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};hE.exports.passportJwtSecret=function(e){if(e===null||e===void 0)throw new mE("An options object must be provided when initializing passportJwtSecret");if(!e.jwksUri)throw new mE("No JWKS provided. Please provide a jwksUri");let t=new SN(e),r=e.handleSigningKeyError||RN;return function(i,o,s){let a;try{a={payload:fE.decodeJwt(o),header:fE.decodeProtectedHeader(o)}}catch(c){a=null}if(!a||!AN.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 gE=y(function(JW,Ze){var{JwksClient:yE}=wn(),Zs=En(),{hapiJwt2Key:TN,hapiJwt2KeyAsync:_N}=cE(),{expressJwtSecret:kN}=uE(),{koaJwtSecret:ON}=dE(),{passportJwtSecret:CN}=xE();Ze.exports=(e)=>new yE(e);Ze.exports.JwksClient=yE;Ze.exports.ArgumentError=Zs.ArgumentError;Ze.exports.JwksError=Zs.JwksError;Ze.exports.JwksRateLimitError=Zs.JwksRateLimitError;Ze.exports.SigningKeyNotFoundError=Zs.SigningKeyNotFoundError;Ze.exports.expressJwtSecret=kN;Ze.exports.hapiJwt2Key=TN;Ze.exports.hapiJwt2KeyAsync=_N;Ze.exports.koaJwtSecret=ON;Ze.exports.passportJwtSecret=CN});var qN={};Ar(qN,{handler:()=>LN});module.exports=Di(qN);var rh=require("node:https");function _n(e,t){return function(){return e.apply(t,arguments)}}var{toString:OE}=Object.prototype,{getPrototypeOf:Rr}=Object,{iterator:On,toStringTag:zu}=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},CE=(e,t)=>e!=null&&kn(e,t)?e[t]:void 0,ea=((e)=>(t)=>{let r=OE.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Je=(e)=>(e=e.toLowerCase(),(t)=>ea(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 Mu=Je("ArrayBuffer");function PE(e){let t;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)t=ArrayBuffer.isView(e);else t=e&&e.buffer&&Mu(e.buffer);return t}var IE=$i("string"),Le=$i("function"),Gu=$i("number"),_r=(e)=>e!==null&&typeof e==="object",jE=(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,zu)&&!kn(e,On)},LE=(e)=>{if(!_r(e)||Tr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},NE=Je("Date"),qE=Je("File"),DE=(e)=>!!(e&&typeof e.uri<"u"),UE=(e)=>e&&typeof e.getParts<"u",FE=Je("Blob"),$E=Je("FileList"),BE=Je("Set"),KE=(e)=>_r(e)&&Le(e.pipe);function HE(){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 Ju=HE(),Wu=typeof Ju.FormData<"u"?Ju.FormData:void 0,JE=(e)=>{if(!e)return!1;if(Wu&&e instanceof Wu)return!0;let t=Rr(e);if(!t||t===Object.prototype)return!1;if(!Le(e.append))return!1;let r=ea(e);return r==="formdata"||r==="object"&&Le(e.toString)&&e.toString()==="[object FormData]"},WE=Je("URLSearchParams"),[zE,ME,GE,VE]=["ReadableStream","Request","Response","Headers"].map(Je),XE=(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 Vu(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})(),Xu=(e)=>!Yt(e)&&e!==Vt;function Qs(...e){let{caseless:t,skipUndefined:r}=Xu(this)&&this||{},n={},i=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let a=t&&typeof s==="string"&&Vu(n,s)||s,c=Fi(n,a)?n[a]:void 0;if(Ui(c)&&Ui(o))n[a]=Qs(c,o);else if(Ui(o))n[a]=Qs({},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(cS.call(a,u))i(a[u],u)}}return n}var YE=(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),ZE=(e)=>{if(e.charCodeAt(0)===65279)e=e.slice(1);return e},QE=(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)},eS=(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},tS=(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},rS=(e)=>{if(!e)return null;if(Xt(e))return e;let t=e.length;if(!Gu(t))return null;let r=Array(t);while(t-- >0)r[t]=e[t];return r},nS=((e)=>(t)=>e&&t instanceof e)(typeof Uint8Array<"u"&&Rr(Uint8Array)),iS=(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])}},oS=(e,t)=>{let r,n=[];while((r=e.exec(t))!==null)n.push(r);return n},sS=Je("HTMLFormElement"),aS=(e)=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),{propertyIsEnumerable:cS}=Object.prototype,pS=Je("RegExp"),Yu=(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)},uS=(e)=>{Yu(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+"'")}})},lS=(e,t)=>{let r={},n=(i)=>{i.forEach((o)=>{r[o]=!0})};return Xt(e)?n(e):n(String(e).split(t)),r},dS=()=>{},fS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function mS(e){return!!(e&&Le(e.append)&&e[zu]==="FormData"&&e[On])}var hS=(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(BE(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)},xS=Je("AsyncFunction"),yS=(e)=>e&&(_r(e)||Le(e))&&Le(e.then)&&Le(e.catch),Zu=((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)),gS=typeof queueMicrotask<"u"?queueMicrotask.bind(Vt):typeof process<"u"&&process.nextTick||Zu,Qu=(e)=>e!=null&&Le(e[On]),vS=(e)=>e!=null&&kn(e,On)&&Qu(e),d={isArray:Xt,isArrayBuffer:Mu,isBuffer:Tr,isFormData:JE,isArrayBufferView:PE,isString:IE,isNumber:Gu,isBoolean:jE,isObject:_r,isPlainObject:Ui,isEmptyObject:LE,isReadableStream:zE,isRequest:ME,isResponse:GE,isHeaders:VE,isUndefined:Yt,isDate:NE,isFile:qE,isReactNativeBlob:DE,isReactNative:UE,isBlob:FE,isRegExp:pS,isFunction:Le,isStream:KE,isURLSearchParams:WE,isTypedArray:nS,isFileList:$E,forEach:Cn,merge:Qs,extend:YE,trim:XE,stripBOM:ZE,inherits:QE,toFlatObject:eS,kindOf:ea,kindOfTest:Je,endsWith:tS,toArray:rS,forEachEntry:iS,matchAll:oS,isHTMLForm:sS,hasOwnProperty:Fi,hasOwnProp:Fi,hasOwnInPrototypeChain:kn,getSafeProp:CE,reduceDescriptors:Yu,freezeMethods:uS,toObjectSet:lS,toCamelCase:aS,noop:dS,toFiniteNumber:fS,findKey:Vu,global:Vt,isContextDefined:Xu,isSpecCompliantForm:mS,toJSONObject:hS,isAsyncFn:xS,isThenable:yS,setImmediate:Zu,asap:gS,isIterable:Qu,isSafeIterable:vS};var bS=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"]),el=(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(bS,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 ES=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),SS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ta(e,t){if(d.isArray(e))return e.map((r)=>ta(r,t));return wS(String(e).replace(t,""))}var tl=(e)=>ta(e,ES),AS=(e)=>ta(e,SS);function kr(e){let t=Object.create(null);return d.forEach(e.toJSON(),(r,n)=>{t[n]=AS(r)}),t}var rl=Symbol("internals");function Pn(e){return e&&String(e).trim().toLowerCase()}function Bi(e){if(e===!1||e==null)return e;return d.isArray(e)?e.map(Bi):tl(String(e))}function RS(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 TS=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function ra(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 _S(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 kS(e){let t=Object.create(null),r=String(e),n=0,i=!1,o=!1;function s(a){let c=ra(r.slice(n,a)),p=c.indexOf("=");if(p<1)return;let u=ra(c.slice(0,p));if(!TS.test(u))return;let l=u.toLowerCase();if(l==="__proto__"||l==="constructor"||l==="prototype")return;let f=ra(c.slice(p+1));t[l]=_S(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 OS=(e)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function na(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 CS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function PS(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 In{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(s,a,c){let p=Pn(a);if(!p)return;let u=d.findKey(n,p);if(!u||n[u]===void 0||c===!0||c===void 0&&n[u]!==!1)n[u||a]=Bi(s)}let o=(s,a)=>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())&&!OS(e))o(el(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=Pn(e),e){let r=d.findKey(this,e);if(r){let n=this[r];if(!t)return n;if(t===!0)return RS(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=Pn(e),e){let r=d.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||na(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(o){if(o=Pn(o),o){let s=d.findKey(r,o);if(s&&(!t||na(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||na(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]=Bi(n),delete t[i];return}let s=e?CS(i):String(i).trim();if(s!==i)delete t[i];t[s]=Bi(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return 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 kS(e)}static concat(e,...t){let r=new this(e);return t.forEach((n)=>r.set(n)),r}static accessor(e){let r=(this[rl]=this[rl]={accessors:{}}).accessors,n=this.prototype;function i(o){let s=Pn(o);if(!r[s])PS(n,o),r[s]=!0}return d.isArray(e)?e.forEach(i):i(e),this}}In.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(In.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});d.freezeMethods(In);var Z=In;var jn="[REDACTED ****]";function IS(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 jS(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 Z)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)&&IS(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(!d.isUndefined(p))s[a]=p}}return n.pop(),s};return i(e)}function nl(e){try{return String(e)}catch(t){return""}}function LS(e){return e.errors.map((r)=>{try{return r&&r.message?nl(r.message):nl(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&&d.isArray(e.errors)&&e.errors.length)s=LS(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&&d.hasOwnProp(e,"redact")?e.redact:void 0,r=d.isArray(t)&&t.length>0?jS(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}}}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 cf=pe(af(),1),Zi=cf.default;var Qi={isBufferAvailable(){return typeof Buffer<"u"},from(e){return Buffer.from(e)}};var Ta=100;function Ra(e){return d.isPlainObject(e)||d.isArray(e)}function pf(e){return d.endsWith(e,"[]")?e.slice(0,-2):e}function Aa(e,t,r){if(!e)return t;return e.concat(t).map(function(i,o){return i=pf(i),!r&&o?"["+i+"]":i}).join(r?".":"")}function vA(e){return d.isArray(e)&&!e.some(Ra)}var bA=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(Zi||FormData),r=d.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,E){return!d.isUndefined(E[b])});let n=r.metaTokens,i=r.visitor||g,o=r.dots,s=r.indexes,a=r.Blob||typeof Blob<"u"&&Blob,c=r.maxDepth===void 0?Ta:r.maxDepth,p=a&&d.isSpecCompliantForm(t),u=[];if(!d.isFunction(i))throw TypeError("visitor must be a function");function l(h){if(h===null)return"";if(d.isDate(h))return h.toISOString();if(d.isBoolean(h))return h.toString();if(!p&&d.isBlob(h))throw new w("Blob is not supported. Use a Buffer instead.");if(d.isArrayBuffer(h)||d.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 f(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(!d.isObject(C))return C;while(E.length&&E[E.length-1]!==this)E.pop();return E.push(C),f(b+E.length-1),C})}function g(h,b,E){let A=h;if(d.isReactNative(t)&&d.isReactNativeBlob(h))return t.append(Aa(E,b,o),l(h)),!1;if(h&&!E&&typeof h==="object"){if(d.endsWith(b,"{}"))b=n?b:b.slice(0,-2),h=m(h,1);else if(d.isArray(h)&&vA(h)||(d.isFileList(h)||d.endsWith(b,"[]"))&&(A=d.toArray(h)))return b=pf(b),A.forEach(function(C,K){!(d.isUndefined(C)||C===null)&&t.append(s===!0?Aa([b],K,o):s===null?b:b+"[]",l(C))}),!1}if(Ra(h))return!0;return t.append(Aa(E,b,o),l(h)),!1}let x=Object.assign(bA,{defaultVisitor:g,convertValue:l,isVisitable:Ra});function v(h,b,E=0){if(d.isUndefined(h))return;if(f(E),u.indexOf(h)!==-1)throw Error("Circular reference detected in "+b.join("."));u.push(h),d.forEach(h,function(O,C){if((!(d.isUndefined(O)||O===null)&&i.call(t,O,d.isString(C)?C.trim():C,b,x))===!0)v(O,b?b.concat(C):[C],E+1)}),u.pop()}if(!d.isObject(e))throw TypeError("data must be an object");return v(e),t}var Ct=wA;function uf(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function lf(e,t){this._pairs=[],e&&Ct(e,this,t)}var df=lf.prototype;df.append=function(t,r){this._pairs.push([t,r])};df.toString=function(t){let r=t?(n)=>t.call(this,n,uf):uf;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};var ff=lf;function EA(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=d.isFunction(r)?{serialize:r}:r,i=d.getSafeProp(n,"encode")||EA,o=d.getSafeProp(n,"serialize"),s;if(o)s=o(t,n);else s=d.isURLSearchParams(t)?t.toString():new ff(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 mf{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){d.forEach(this.handlers,function(r){if(r!==null)e(r)})}}var _a=mf;var Pt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var gf=pe(require("crypto"));var hf=pe(require("url")),xf=hf.default.URLSearchParams;var ka="abcdefghijklmnopqrstuvwxyz",yf="0123456789",vf={DIGIT:yf,ALPHA:ka,ALPHA_DIGIT:ka+ka.toUpperCase()+yf},SA=(e=16,t=vf.ALPHA_DIGIT)=>{let r="",{length:n}=t,i=new Uint32Array(e);gf.default.randomFillSync(i);for(let o=0;o<e;o++)r+=t[i[o]%n];return r},bf={isNode:!0,classes:{URLSearchParams:xf,FormData:Zi,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:vf,generateString:SA,protocols:["http","https","file","data"]};var Pa={};Ar(Pa,{hasBrowserEnv:()=>Ca,hasStandardBrowserEnv:()=>AA,hasStandardBrowserWebWorkerEnv:()=>RA,navigator:()=>Oa,origin:()=>TA});var Ca=typeof window<"u"&&typeof document<"u",Oa=typeof navigator==="object"&&navigator||void 0,AA=Ca&&(!Oa||["ReactNative","NativeScript","NS"].indexOf(Oa.product)<0),RA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")(),TA=Ca&&window.location.href||"http://localhost";var z={...Pa,...bf};function Ia(e,t){return Ct(e,new z.classes.URLSearchParams,{visitor:function(r,n,i,o){if(z.isNode&&d.isBuffer(r))return this.append(n,r.toString("base64")),!1;return o.defaultVisitor.apply(this,arguments)},...t})}var wf=Ta;function Ef(e){if(e>wf)throw new w("FormData field is too deeply nested ("+e+" levels). Max depth: "+wf,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}function _A(e){let t=[],r=/[^.[\]]+|\[([^.[\]]*)]/g,n;while((n=r.exec(e))!==null)Ef(t.length),t.push(n[0]==="[]"?"":n[1]||n[0]);return t}function kA(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 OA(e){function t(r,n,i,o){Ef(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]=kA(i[s]);return!a}if(d.isFormData(e)&&d.isFunction(e.entries)){let r={};return d.forEachEntry(e,(n,i)=>{t(_A(n),i,r,0)}),r}return null}var eo=OA;var jr=(e,t)=>e!=null&&d.hasOwnProp(e,t)?e[t]:void 0;function CA(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 ja={transitional:Pt,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(eo(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=jr(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return Ia(t,c).toString();if((a=d.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),CA(t);return t}],transformResponse:[function(t){let r=jr(this,"transitional")||ja.transitional,n=r&&r.forcedJSONParsing,i=jr(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,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}}};d.forEach(["delete","get","head","post","put","patch","query"],(e)=>{ja.headers[e]={}});var Lr=ja;function Un(e,t){let r=this||Lr,n=t||r,i=Z.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 Fn(e){return!!(e&&e.__CANCEL__)}class Sf extends w{constructor(e,t,r){super(e==null?"canceled":e,w.ERR_CANCELED,t,r);this.name="CanceledError",this.__CANCEL__=!0}}var Ue=Sf;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 La(e){if(typeof e!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Na(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 PA=/^https?:(?!\/\/)/i,IA=/[\t\n\r]/g;function jA(e){let t=0;while(t<e.length&&e.charCodeAt(t)<=32)t++;return e.slice(t)}function LA(e){return jA(e).replace(IA,"")}function NA(e){if(!e)return e;return e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,r,n="")=>`${r}${n}${jn}`)}function qA(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}#${NA(t.slice(r+1))}`}function Af(e,t){if(typeof e==="string"){let r=LA(e);if(PA.test(r))throw new w(`Invalid URL ${JSON.stringify(qA(r))}: missing "//" after protocol`,w.ERR_INVALID_URL,t)}}function er(e,t,r,n){Af(t,n);let i=!La(t);if(e&&(i||r===!1))return Af(e,n),Na(e,t);return t}var DA={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function UA(e){try{return new URL(e)}catch{return null}}function Rf(e){var t=(typeof e==="string"?UA(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)||DA[r]||0,!FA(n,i))return"";var o=qa(r+"_proxy")||qa("all_proxy");if(o&&o.indexOf("://")===-1)o=r+"://"+o;return o}function FA(e,t){var r=qa("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 qa(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var mc=pe(Jf(),1),hc=pe(require("http")),xc=pe(require("https")),jm=pe(require("http2")),Lm=pe(require("util")),fc=require("path"),Nm=pe(Yf(),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 JR=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function sc(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=JR.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 WR=["content-type","content-length"];function Vn(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([n,i])=>{if(WR.includes(n.toLowerCase()))e.set(n,i)})}var Zf=pe(require("stream"));var ac=Symbol("internals");class Qf extends Zf.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[ac]={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[ac];if(t.onReadCallback)t.onReadCallback();return super._read(e)}_transform(e,t,r){let n=this[ac],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 g=Buffer.byteLength(f);if(n.bytesSeen+=g,n.bytes+=g,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 g=Buffer.byteLength(f),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,f)},s-b);if(h<v)v=h}if(v&&g>v&&g-v>p)x=f.subarray(v),f=f.subarray(0,v);u(f,x?()=>{process.nextTick(m,null,x)}:m)};l(e,function f(m,g){if(m)return r(m);if(g)l(g,f);else r(null)})}}var cc=Qf;var qm=require("events");var tm=pe(require("util")),rm=require("stream");var{asyncIterator:em}=Symbol,zR=async function*(e){if(e.stream)yield*e.stream();else if(e.arrayBuffer)yield await e.arrayBuffer();else if(e[em])yield*e[em]();else yield e},co=zR;var MR=z.ALPHABET.ALPHA_DIGIT+"-_",Xn=typeof TextEncoder==="function"?new TextEncoder:new tm.default.TextEncoder,or=`\r
|
|
31
|
+
`,GR=Xn.encode(or),VR=2;class nm{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)}"`:""}${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+VR,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;if(d.isTypedArray(e))yield e;else yield*co(e);yield GR}static escapeName(e){return String(e).replace(/[\r\n"]/g,(t)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}}var XR=(e,t,r)=>{let{tag:n="form-data-boundary",size:i=25,boundary:o=n+"-"+z.generateString(i,MR)}=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=Xn.encode("--"+o+or),a=Xn.encode("--"+o+"--"+or),c=a.byteLength,p=Array.from(e.entries()).map(([l,f])=>{let m=new nm(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),rm.Readable.from(async function*(){for(let l of p)yield s,yield*l.encode();yield a}())},im=XR;var om=pe(require("stream"));class sm extends om.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 am=sm;var cm=pe(require("http2")),pm=pe(require("util"));class um{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[f,m]=r[l];if(!f.destroyed&&!f.closed&&pm.default.isDeepStrictEqual(m,t))return f}}let n=cm.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);let p=[n,t];return r?r.push(p):r=this.sessions[e]=[p],n}}var lm=um;var YR=(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,dm=YR;var ZR=new Set(["localhost","0.0.0.0"]),hm=(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)},pc=(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},QR=(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(pc);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=pc(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(pc);if(p.some((u)=>u===null||u<0||u>255))return e;return[...p,...c].join(".")},uc=(e)=>/^0{1,4}$/.test(e),eT=(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(uc)&&s.every(uc)}let r=e.split(":");return r.length===8&&r.every(uc)},tT=(e)=>{if(e==="::1")return!0;let t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return hm(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},fm=(e)=>{if(!e)return!1;if(ZR.has(e))return!0;if(hm(e))return!0;if(eT(e))return!0;return tT(e)},rT={http:80,https:443,ws:80,wss:443,ftp:21},nT=(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]},iT=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,oT=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,sT=(e)=>{if(typeof e!=="string"||e.indexOf(":")===-1)return e;let t=e.match(iT);if(t)return t[1];let r=e.match(oT);if(r){let n=parseInt(r[1],16),i=parseInt(r[2],16);return`${n>>8}.${n&255}.${i>>8}.${i&255}`}return e},mm=(e)=>{if(!e)return e;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]")e=e.slice(1,-1);let t=e.replace(/\.+$/,""),r=QR(t);if(r!==t)return r;return sT(t)};function lc(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)||rT[t.protocol.split(":",1)[0]]||0,i=mm(t.hostname.toLowerCase());return r.split(/[\s,]+/).some((o)=>{if(!o)return!1;if(o==="*")return!0;let[s,a]=nT(o);if(s=mm(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||fm(i)&&fm(s)})}function aT(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 xm=aT;function cT(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=cT;var bt=(e,t,r=3)=>{let n=0,i=xm(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=d.asap)=>(...r)=>t(()=>e(...r));var gm=(e)=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,bm=(e,t,r)=>t+2<r&&gm(e.charCodeAt(t+1))&&gm(e.charCodeAt(t+2)),vm=(e)=>e<=57?e-48:(e&223)-55,pT=(e)=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,uT=(e)=>e===9||e===10||e===12||e===13||e===32,lT=(e)=>{let t=Math.floor(e/4),r=e%4;return t*3+(r===2?1:r===3?2:0)},wm=(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)},dT=(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&&bm(e,o,t))s=vm(e.charCodeAt(o+1))*16+vm(e.charCodeAt(o+2)),o+=2;if(uT(s))continue;if(s===61){n++;continue}if(!pT(s)||n>0){i=!0;continue}r++}if(i||n>2||n>0&&(r+n)%4!==0||r%4===1)return wm(e);return lT(r)},Em=(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&&bm(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 dc(e){let t=typeof e==="string"?e.indexOf("#"):-1;return Em(t===-1?e:e.slice(0,t),dT)}function Sm(e){return Em(e,wm)}var Am={flush:Fe.default.constants.Z_SYNC_FLUSH,finishFlush:Fe.default.constants.Z_SYNC_FLUSH},fT={flush:Fe.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Fe.default.constants.BROTLI_OPERATION_FLUSH},mT={flush:Fe.default.constants.ZSTD_e_flush,finishFlush:Fe.default.constants.ZSTD_e_flush},Dm=d.isFunction(Fe.default.createBrotliDecompress),Um=d.isFunction(Fe.default.createZstdDecompress),Fm="gzip, compress, deflate"+(Dm?", br":""),hT=Fm+(Um?", zstd":""),Rm=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):d.asap,{http:xT,https:yT}=Nm.default,yc=/https:?/,Tm=Symbol("axios.http.socketListener"),po=Symbol("axios.http.currentReq"),$m=Symbol("axios.http.installedTunnel"),gT=new Map,_m=new WeakMap,km={22:21,24:5};function vT(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 km[t]!=null&&r>=km[t]}function bT(e,t=process.versions&&process.versions.node){if(!vT(t))return!1;let r=e&&e.options;return Boolean(r&&d.hasOwnProp(r,"proxyEnv")&&r.proxyEnv!=null)}function wT(e,t,r){return yc.test(e.protocol)?r||xc.default.globalAgent:t||hc.default.globalAgent}function ET(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),n=t?_m.get(t)||_m.set(t,new Map).get(t):gT,i=n.get(r);if(i)return i;let o=t&&t.options?{...t.options,...e}:e;if(i=new mc.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[$m]=!0,n.set(r,i),i}var Om=z.protocols.map((e)=>e+":"),Cm=(e)=>{if(!d.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Pm=(e,[t,r])=>(e.on("end",r).on("error",r),t),ST=new lm;function AT(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 RT(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 Bm(e,t,r,n,i,o){let s=t,a=wT(e,o,i);if(!s&&s!==!1&&!bT(a)){let c=Rf(r);if(c){if(!lc(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[$m])e.agent=void 0;if(s){let c=s instanceof URL,p=(g)=>c||d.hasOwnProp(s,g)?s[g]:void 0,u=p("username"),l=p("password"),f=d.hasOwnProp(s,"auth")?s.auth:void 0;if(u)f=(u||"")+":"+(l||"");if(f){let g=typeof f==="object",x=g&&d.hasOwnProp(f,"username")?f.username:void 0,v=g&&d.hasOwnProp(f,"password")?f.password:void 0;if(Boolean(x||v))f=(x||"")+":"+(v||"");else if(g)throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:s})}if(yc.test(e.protocol)){if(!(i instanceof mc.default)){let g=p("hostname")||p("host"),x=p("port"),v=p("protocol"),h=v?v.includes(":")?v:`${v}:`:"http:",b=g&&g.includes(":")&&!g.startsWith("[")?`[${g}]`:g,E=new URL(`${h}//${b}${x?":"+x:""}`),A={protocol:E.protocol,hostname:E.hostname.replace(/^\[|\]$/g,""),port:E.port,auth:f&&typeof f==="string"?f:void 0};if(E.protocol==="https:")A.ALPNProtocols=["http/1.1"];let O=ET(A,i);if(e.agent=O,e.agents)e.agents.https=O}}else{if(f){let h=Buffer.from(f,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+h}let g=!1;for(let h of Object.keys(e.headers))if(h.toLowerCase()==="host"){g=!0;break}if(!g)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){Bm(p,t,p.href,!0,i,o)}}var _T=typeof process<"u"&&d.kindOf(process)==="process",kT=(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)}),OT=({address:e,family:t})=>{if(!d.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},Im=(e,t)=>OT(d.isObject(e)?e:{address:e,family:t}),CT={request(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||(e.protocol==="https:"?443:80)),{http2Options:n,headers:i}=e,o=ST.getSession(r,n),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:p}=jm.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 g=f[p];delete f[p],m.headers=f,m.statusCode=+g,t(m)}),l}},Km=_T&&function(t){return kT(async function(n,i,o){let s=(k)=>d.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 f=s("http2Options"),m=s("httpAgent"),g=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 yt=l===2;if(p){let k=dm(p,(R)=>d.isArray(R)?R:[R]);p=(R,B,ae)=>{k(R,B,(D,be,Oe)=>{if(D)return ae(D);let fe=d.isArray(be)?be.map((Sr)=>Im(Sr)):[Im(be,Oe)];B.all?ae(D,fe):ae(D,fe[0].address,fe[0].family)})}}let Qe=new qm.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||Om[0];if(se==="data:"){if(C>-1){let R=String(s("url")||Ni||"");if(Sm(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=sc(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=d.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(Om.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:gt}=t,Gt=t.maxRate,W=void 0,Ae=void 0;if(d.isSpecCompliantForm(c)){let k=de.getContentType(/boundary=([-_\w\d]{10,70})/i);c=im(c,(R)=>{de.set(R)},{tag:`axios-${vt}-boundary`,boundary:k&&k[1]||void 0})}else if(d.isFormData(c)&&d.isFunction(c.getHeaders)&&c.getHeaders!==Object.prototype.getHeaders){if(Vn(de,c.getHeaders(),s("formDataHeaderPolicy")),!de.hasContentLength())try{let k=await Lm.default.promisify(c.getLength).call(c);Number.isFinite(k)&&k>=0&&de.setContentLength(k)}catch(k){}}else if(d.isBlob(c)||d.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&&!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 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=d.toFiniteNumber(de.getContentLength());if(d.isArray(Gt))W=Gt[0],Ae=Gt[1];else W=Ae=Gt;if(c&&(ut||W)){if(!d.isStream(c))c=ze.default.Readable.from(c,{objectMode:!1});c=ze.default.pipeline([c,new cc({maxRate:d.toFiniteNumber(W)})],d.noop),ut&&c.on("progress",Pm(c,Fr(wr,bt($r(ut,Rm),!1,3))))}let lt=void 0,Sn=s("auth");if(Sn){let k=d.getSafeProp(Sn,"username")||"",R=d.getSafeProp(Sn,"password")||"";lt=k+":"+R}if(!lt&&(ne.username||ne.password)){let k=Cm(ne.username),R=Cm(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",d.hasOwnProp(a,"advertiseZstdAcceptEncoding")&&a.advertiseZstdAcceptEncoding===!0?hT:Fm,!1);let X=Object.assign(Object.create(null),{path:An,method:E,headers:kr(de),agents:{http:m,https:g},auth:lt,protocol:se,family:u,beforeRedirect:AT,beforeRedirects:Object.create(null),http2Options:f});if(!d.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=fc.resolve(b);if(!R.some((D)=>typeof D==="string"&&fc.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,Bm(X,x,se+"//"+ne.hostname+(ne.port?":"+ne.port:"")+X.path,!1,g,m);let kt,Er=!1,He=!1,L=yc.test(X.protocol);if(X.agent==null)X.agent=L?g:m;if(yt)kt=CT;else{let k=s("transport");if(k)kt=k;else if(A===0)kt=L?xc.default:hc.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(!d.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(!d.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(!TT(be,Oe))RT(be.headers,ae)}}kt=L?yT:xT}}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=d.toFiniteNumber(R.headers["content-length"]);if(gt||Ae){let fe=new cc({maxRate:d.toFiniteNumber(Ae)});gt&&fe.on("progress",Pm(fe,Fr(ae,bt($r(gt,Rm),!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(Am)),delete R.headers["content-encoding"];break;case"deflate":B.push(new am),B.push(Fe.default.createUnzip(Am)),delete R.headers["content-encoding"];break;case"br":if(Dm)B.push(Fe.default.createBrotliDecompress(fT)),delete R.headers["content-encoding"];break;case"zstd":if(Um)B.push(Fe.default.createZstdDecompress(mT)),delete R.headers["content-encoding"];break}}D=B.length>1?ze.default.pipeline(B,d.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 Fu of Sr){if(we+=Fu.length,we>fe)throw new w("maxContentLength size of "+fe+" exceeded",w.ERR_BAD_RESPONSE,t,be);yield Fu}}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=d.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[Tm])R.on("error",function(ae){let D=R[po];if(D&&!D.destroyed)D.destroy(ae)}),R[Tm]=!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(d.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)}})],d.noop),B.on("error",(be)=>{if(!I.destroyed)I.destroy(be)})}B.pipe(I)}else c&&I.write(c),I.end()})};var Hm=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 Jm=z.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 Wm=(e)=>e instanceof Z?{...e}:e,PT=(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,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,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,f)=>i(Wm(u),Wm(l),f,!0)};if(d.forEach(PT({...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,g=d.hasOwnProp(t,l)?t[l]:void 0,x=f(m,g,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 IT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function jT(e){let t=rt({},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=Z.from(a),t.url=Qt(er(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?IT(m):"")))}catch(g){throw w.from(g,w.ERR_BAD_OPTION_VALUE,e)}}if(d.isFormData(n)){if(z.hasStandardBrowserEnv||z.hasStandardBrowserWebWorkerEnv||d.isReactNative(n))a.setContentType(void 0);else if(d.isFunction(n.getHeaders))Vn(a,n.getHeaders(),r("formDataHeaderPolicy"))}if(z.hasStandardBrowserEnv){if(d.isFunction(i))i=i(t);if(i===!0||i==null&&Hm(t.url)){let m=o&&s&&Jm.read(s);if(m)a.set(o,m)}}return t}var uo=jT;var LT=typeof XMLHttpRequest<"u",zm=LT&&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,f,m,g;function x(){m&&m(),g&&g(),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)d.forEach(kr(s),function(A,O){v.setRequestHeader(O,A)});if(!d.isUndefined(i.withCredentials))v.withCredentials=!!i.withCredentials;if(a&&a!=="json")v.responseType=i.responseType;if(p)[f,g]=bt(p,!0),v.addEventListener("progress",f);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 NT=(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=()=>d.asap(s),a},Mm=NT;var qT=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},DT=async function*(e,t){for await(let r of UT(e))yield*qT(r,t)},UT=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()}},gc=(e,t,r,n)=>{let i=DT(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 Gm=65536,{isFunction:lo}=d,FT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),Vm=(e)=>{if(!d.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Xm=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},$T=(e)=>{let t=e.indexOf("://"),r=e;if(t!==-1)r=r.slice(t+3);return r.includes("@")||r.includes(":")},BT=(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?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())),f=c&&u&&Xm(()=>{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&&Xm(()=>d.isReadableStream(new s("").body)),g={stream:m&&((h)=>h.body)};a&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((h)=>{!g[h]&&(g[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(d.isBlob(h))return h.size;if(d.isSpecCompliantForm(h))return(await new o(z.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},v=async(h,b)=>{let E=d.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:yt="same-origin",fetchOptions:Qe,maxContentLength:V,maxBodyLength:et}=uo(h),zt=d.isNumber(V)&&V>-1,Mt=d.isNumber(et)&&et>-1,Ni=(W)=>d.hasOwnProp(h,W)?h[W]:void 0,qi=i||fetch;I=I?(I+"").toLowerCase():"text";let ne=Mm([O,C&&C.toAbortSignal()],K),se=null,de=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()}),ut,gt=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=d.getSafeProp(Ae,"username")||"",Re=d.getSafeProp(Ae,"password")||"";W={username:L,password:Re}}if($T(b)){let L=new URL(b,z.origin);if(!W&&(L.username||L.password)){let Re=Vm(L.username),k=Vm(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(FT((W.username||"")+":"+(W.password||""))));if(zt&&typeof b==="string"&&b.startsWith("data:")){if(dc(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&&(d.isReadableStream(A)||d.isStream(A)),lt=(L,Re,k)=>gc(L,Gm,(R)=>{if(Mt&&R>et)throw gt=Gt();Re&&Re(R)},k);if(f&&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(d.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&&!f&&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(!d.isString(yt))yt=yt?"include":"omit";let Sn=c&&"credentials"in o.prototype;if(d.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?yt: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=d.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=d.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(gc(X.body,Gm,ae,()=>{R&&R(),de&&de()}),L)}I=I||"text";let He=await g[d.findKey(g,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(gt)throw se&&!gt.request&&(gt.request=se),gt;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)}}},KT=new Map,vc=(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=KT;while(a--)c=o[a],p=u.get(c),p===void 0&&u.set(c,p=a?new Map:BT(t)),u=p;return p},GU=vc();var bc={http:Km,xhr:zm,fetch:{get:vc}};d.forEach(bc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(r){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Ym=(e)=>`- ${e}`,JT=(e)=>d.isFunction(e)||e===null||e===!1;function WT(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,!JT(n)){if(i=bc[(a=String(n)).toLowerCase()],i===void 0)throw new w(`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
32
|
`+s.map(Ym).join(`
|
|
33
|
-
`):" "+Ym(s[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+a,w.ERR_NOT_SUPPORT)}return i}var
|
|
33
|
+
`):" "+Ym(s[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+a,w.ERR_NOT_SUPPORT)}return i}var fo={getAdapter:WT,adapters:bc};function wc(e){if(e.cancelToken)e.cancelToken.throwIfRequested();if(e.signal&&e.signal.aborted)throw new Ue(null,e)}function Yn(e){if(wc(e),e.headers=Z.from(e.headers),e.data=Un.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1)e.headers.setContentType("application/x-www-form-urlencoded",!1);return fo.getAdapter(e.adapter||Lr.adapter,e)(e).then(function(n){wc(e),e.response=n;try{n.data=Un.call(e,e.transformResponse,n)}finally{delete e.response}return n.headers=Z.from(n.headers),n},function(n){if(!Fn(n)){if(wc(e),n&&n.response){e.response=n.response;try{n.response.data=Un.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=Z.from(n.response.headers)}}return Promise.reject(n)})}var mo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Zm={};mo.transitional=function(t,r,n){function i(o,s){return"[Axios v"+vt+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(t===!1)throw new w(i(s," has been removed"+(r?" in "+r:"")),w.ERR_DEPRECATED);if(r&&!Zm[s])Zm[s]=!0,console.warn(i(s," has been deprecated since v"+r+" and will be removed in the near future"));return t?t(o,s,a):!0}};mo.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function zT(e,t,r){if(typeof e!=="object"||e===null)throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;while(i-- >0){let o=n[i],s=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(s){let a=e[o],c=a===void 0||s(a,o,e);if(c!==!0)throw new w("option "+o+" must be "+c,w.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new w("Unknown option "+o,w.ERR_BAD_OPTION)}}var Zn={assertOptions:zT,validators:mo};var Ce=Zn.validators;class Qn{constructor(e){this.defaults=e||{},this.interceptors={request:new _a,response:new _a}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=Error();let i=(()=>{if(!n.stack)return"";let o=n.stack.indexOf(`
|
|
34
34
|
`);return o===-1?"":n.stack.slice(o+1)})();try{if(!r.stack)r.stack=i;else if(i){let o=i.indexOf(`
|
|
35
35
|
`),s=o===-1?-1:i.indexOf(`
|
|
36
36
|
`,o+1),a=s===-1?"":i.slice(s+1);if(!String(r.stack).endsWith(a))r.stack+=`
|
|
37
|
-
`+i}}catch(o){}}throw r}}_request(e,t){if(typeof e==="string")t=t||{},t.url=e;else t=e||{};t=rt(this.defaults,t);let{transitional:r,paramsSerializer:n,headers:i}=t;if(r!==void 0)
|
|
37
|
+
`+i}}catch(o){}}throw r}}_request(e,t){if(typeof e==="string")t=t||{},t.url=e;else t=e||{};t=rt(this.defaults,t);let{transitional:r,paramsSerializer:n,headers:i}=t;if(r!==void 0)Zn.assertOptions(r,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean),legacyInterceptorReqResOrdering:Ce.transitional(Ce.boolean),advertiseZstdAcceptEncoding:Ce.transitional(Ce.boolean),validateStatusUndefinedResolves:Ce.transitional(Ce.boolean)},!1);if(n!=null)if(d.isFunction(n))t.paramsSerializer={serialize:n};else Zn.assertOptions(n,{encode:Ce.function,serialize:Ce.function},!0);if(t.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else t.allowAbsoluteUrls=!0;Zn.assertOptions(t,{baseUrl:Ce.spelling("baseURL"),withXsrfToken:Ce.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&d.merge(i.common,i[t.method]);i&&d.forEach(["delete","get","head","post","put","patch","query","common"],(m)=>{delete i[m]}),t.headers=Z.concat(o,i);let s=[],a=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen==="function"&&g.runWhen(t)===!1)return;a=a&&g.synchronous;let x=t.transitional||Pt;if(x&&x.legacyInterceptorReqResOrdering)s.unshift(g.fulfilled,g.rejected);else s.push(g.fulfilled,g.rejected)});let c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let p,u=0,l;if(!a){let m=[Yn.bind(this),void 0];m.unshift(...s),m.push(...c),l=m.length,p=Promise.resolve(t);while(u<l)p=p.then(m[u++],m[u++]);return p}l=s.length;let f=t;while(u<l){let m=s[u++],g=s[u++];try{f=m?m(f):f}catch(x){if(!g){p=Promise.reject(x);break}try{let v=g.call(this,x);if(d.isThenable(v))p=Promise.resolve(v).then(()=>Yn.call(this,f))}catch(v){p=Promise.reject(v)}break}}if(!p)try{p=Yn.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=rt(this.defaults,e);let t=er(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Qt(t,e.params,e.paramsSerializer)}}d.forEach(["delete","get","head","options"],function(t){Qn.prototype[t]=function(r,n){return this.request(rt(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(rt(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}if(Qn.prototype[t]=r(),t!=="query")Qn.prototype[t+"Form"]=r(!0)});var ei=Qn;class Ec{constructor(e){if(typeof e!=="function")throw TypeError("executor must be a function.");let t;this.promise=new Promise(function(i){t=i});let r=this;this.promise.then((n)=>{if(!r._listeners)return;let i=r._listeners.length;while(i-- >0)r._listeners[i](n);r._listeners=null}),this.promise.then=(n)=>{let i,o=new Promise((s)=>{r.subscribe(s),i=s}).then(n);return o.cancel=function(){r.unsubscribe(i)},o},e(function(i,o,s){if(r.reason)return;r.reason=new Ue(i,o,s),t(r.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners)this._listeners.push(e);else this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);if(t!==-1)this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=(r)=>{e.abort(r)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Ec(function(n){e=n}),cancel:e}}}var Qm=Ec;function Sc(e){return function(r){return e.apply(null,r)}}function Ac(e){return d.isObject(e)&&e.isAxiosError===!0}var Rc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Rc).forEach(([e,t])=>{Rc[t]=e});var eh=Rc;function th(e){let t=new ei(e),r=_n(ei.prototype.request,t);return d.extend(r,ei.prototype,t,{allOwnKeys:!0}),d.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return th(rt(e,i))},r}var he=th(Lr);he.Axios=ei;he.CanceledError=Ue;he.CancelToken=Qm;he.isCancel=Fn;he.VERSION=vt;he.toFormData=Ct;he.AxiosError=w;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=Sc;he.isAxiosError=Ac;he.mergeConfig=rt;he.AxiosHeaders=Z;he.formToJSON=(e)=>eo(d.isHTMLForm(e)?new FormData(e):e);he.getAdapter=fo.getAdapter;he.HttpStatusCode=eh;he.default=he;var Tc=he;var MT=Tc.create({httpsAgent:new rh.Agent({keepAlive:!0})});async function nh(e,t,r,n){let i=0;while(!0){++i;try{return await MT.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")}}}var ih=`<!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 sh=require("node:fs"),
|
|
57
|
+
`;var sh=require("node:fs"),xo=pe(require("node:path")),ah=require("node:url");var VT=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function ho(e,t){let r=new VT,n=e.length;if(n<2)return r;let i=t?.decode||ZT,o=0;do{let s=YT(e,o,n);if(s===n)break;let a=XT(e,o,n);if(s>a){o=e.lastIndexOf(";",s-1)+1;continue}let c=oh(e,o,s);if(r[c]===void 0)r[c]=i(oh(e,s+1,a));o=a+1}while(o<n);return r}function XT(e,t,r){let n=e.indexOf(";",t);return n===-1?r:n}function YT(e,t,r){let n=e.indexOf("=",t);return n===-1?r:n}function oh(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 ZT(e){if(e.indexOf("%")===-1)return e;try{return decodeURIComponent(e)}catch(t){return e}}var Br={none:0,error:10,warn:20,info:30,debug:40};class _c{logLevel;constructor(e){this.logLevel=e}jsonify(e){return e.map((t)=>{if(typeof t==="object")try{return JSON.stringify(t)}catch{return t}return t})}info(...e){if(this.logLevel>=Br.info)console.log(...this.jsonify(e))}warn(...e){if(this.logLevel>=Br.warn)console.warn(...this.jsonify(e))}error(...e){if(this.logLevel>=Br.error)console.error(...this.jsonify(e))}debug(...e){if(this.logLevel>=Br.debug)console.trace(...this.jsonify(e))}}var QT=ah.fileURLToPath("file:///home/runner/work/cdk-cloudfront-auth/cdk-cloudfront-auth/src/handlers/util/config.ts"),e_=xo.dirname(QT);function kc(){let t=process.env.LAMBDA_TASK_ROOT||e_,r=xo.join(t,"config.json");console.log("Loading config from",r);let n=JSON.parse(sh.readFileSync(r,"utf-8")),o=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(n.userPoolId)[1]}.amazonaws.com/${n.userPoolId}`,s=`${o}/.well-known/jwks.json`;return{nonceMaxAge:Number.parseInt(ho(n.cookieSettings.nonce.toLowerCase())["max-age"]??"",10)||86400,...n,tokenIssuer:o,tokenJwksUri:s,logger:new _c(Br[n.logLevel])}}function t_(e){return Object.entries(e).reduce((t,[r,n])=>Object.assign(t,{[r.toLowerCase()]:[{key:r,value:n}]}),{})}function Oc(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 ch(e){return{body:r_(e),status:e.statusCode??"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}}function r_(e){let t={...e,region:process.env.AWS_REGION};return ih.replace(/\${([^}]*)}/g,(r,n)=>t[n]||"")}function ph(e,t){if(!t)throw Error("Expected response value");return{...t,headers:{...t.headers??{},...t_(e.httpHeaders)}}}function uh(e){let t;return async(r)=>{if(!t)t=kc();t.logger.debug("Handling event:",r);let n=ph(t,await e(t,r));return t.logger.debug("Returning response:",n),n}}function r$(e){let t;return async(r)=>{if(!t)t=kc();t.logger.debug("Handling event:",r);let n=ph(t,await e(t,r));return t.logger.debug("Returning response:",n),n}}var qu=pe(Bg(),1),vE=pe(gE(),1),Nu;function PN(e){return"rsaPublicKey"in e}async function IN(e,t){if(!Nu)Nu=vE.default({cache:!0,rateLimit:!0,jwksUri:e});let r=await Nu.getSigningKey(t);return PN(r)?r.rsaPublicKey:r.publicKey}async function WW(e,t,r,n){let i=qu.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 IN(t,o);if(s instanceof Error)return{validationError:s};let a={audience:n,issuer:r,ignoreExpiration:!1};return new Promise((c)=>qu.default.verify(e,s,a,(p)=>p?c({validationError:p}):c(void 0)))}function bE(e){let r=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(r,"base64").toString())}function jN(e){if(!e.cookie)return{};return e.cookie.reduce((r,n)=>({...r,...ho(n.value)}),{})}function br(e,t){if(t.toLowerCase().indexOf("domain")===-1)return`${t}; Domain=.${e}`;return t}function wE(e,t){let r=jN(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 Uu(e){let t=bE(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}; ${br(e.domainName,e.cookieSettings.idToken)}`,[o]:`${e.tokens.accessToken}; ${br(e.domainName,e.cookieSettings.accessToken)}`,[s]:`${e.tokens.refreshToken}; ${br(e.domainName,e.cookieSettings.refreshToken)}`,[a]:`${r}; ${br(e.domainName,e.cookieSettings.idToken)}`,[c]:`${p}; ${br(e.domainName,e.cookieSettings.accessToken)}`,[u]:`${encodeURIComponent(l)}; ${br(e.domainName,e.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${br(e.domainName,e.cookieSettings.accessToken)}`};if(e.event==="signOut")Object.keys(f).forEach((m)=>f[m]=Du(f[m]));else if(e.event==="refreshFailed")f[s]=Du(f[s]);return["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((m)=>{f[m]=Du(f[m])}),Object.entries(f).map(([m,g])=>`${m}=${g}`)}function Du(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 LN=uh(async(e,t)=>{let r=t.Records[0].cf.request,n=r.headers.host[0].value,i=`https://${n}`;function o(x){return ch({title:"Refresh issue",message:"We can't refresh your sign-in because of a technical problem.",details:x,linkHref:i,linkText:"Try again",statusCode:"400"})}let{requestedUri:s,nonce:a}=Object.fromEntries(new URLSearchParams(r.querystring).entries());i+=s??"";let{idToken:c,accessToken:p,refreshToken:u,nonce:l}=wE(r.headers,e.clientId);if(!c||!p||!u)return o("Some of idToken, accessToken and/or refreshToken was not found");try{NN(a,l,c,p,u)}catch(x){return o(`Failed to refresh tokens: ${x}`)}let f={"Content-Type":"application/x-www-form-urlencoded"};if(e.clientSecret!==""){let x=Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64");f.Authorization=`Basic ${x}`}let m;try{m=await nh(`https://${e.cognitoAuthDomain}/oauth2/token`,new URLSearchParams({grant_type:"refresh_token",client_id:e.clientId,refresh_token:u}).toString(),{headers:f},e.logger)}catch(x){return Oc(i,{cookies:Uu({event:"refreshFailed",tokens:{idToken:c,accessToken:p,refreshToken:u},domainName:n,...e})})}let g={idToken:m.data.id_token,accessToken:m.data.access_token,refreshToken:u};return Oc(i,{cookies:Uu({event:"newTokens",tokens:g,domainName:n,...e})})});function NN(e,t,r,n,i){if(!t)throw Error("Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF).");if(e!==t)throw Error("Nonce mismatch");Object.entries({idToken:r,accessToken:n,refreshToken:i}).forEach(([o,s])=>{if(!s)throw Error(`Missing ${o}`)})}
|