d&&(l=p.index,d=p[0].length);return d<0?f:f.substring(0,l)+"::"+f.substring(l+d)},u.prototype.toByteArray=function(){var l,d,p,m,f;for(l=[],f=this.parts,d=0,p=f.length;d>8),l.push(m&255);return l},u.prototype.toNormalizedString=function(){var l,d,p;return l=(function(){var m,f,h,g;for(h=this.parts,g=[],m=0,f=h.length;m>8,l&255,d>>8,d&255])},u.prototype.prefixLengthFromSubnetMask=function(){var l,d,p,m,f,h,g;for(g={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},l=0,f=!1,d=p=7;p>=0;d=p+=-1)if(m=this.parts[d],m in g){if(h=g[m],f&&h!==0)return null;h!==16&&(f=!0),l+=h}else return null;return 128-l},u})(),n="(?:[0-9a-f]+::?)+",c="%[0-9a-z]{1,}",s={zoneIndex:new RegExp(c,"i"),native:new RegExp("^(::)?("+n+")?([0-9a-f]+)?(::)?("+c+")?$","i"),transitional:new RegExp("^((?:"+n+")|(?:::)(?:"+n+")?)"+(r+"\\."+r+"\\."+r+"\\."+r)+("("+c+")?$"),"i")},t=function(u,l){var d,p,m,f,h,g;if(u.indexOf("::")!==u.lastIndexOf("::"))return null;for(g=(u.match(s.zoneIndex)||[])[0],g&&(g=g.substring(1),u=u.replace(/%.+$/,"")),d=0,p=-1;(p=u.indexOf(":",p+1))>=0;)d++;if(u.substr(0,2)==="::"&&d--,u.substr(-2,2)==="::"&&d--,d>l)return null;for(h=l-d,f=":";h--;)f+="0:";return u=u.replace("::",f),u[0]===":"&&(u=u.slice(1)),u[u.length-1]===":"&&(u=u.slice(0,-1)),l=(function(){var y,_,b,S;for(b=u.split(":"),S=[],y=0,_=b.length;y<_;y++)m=b[y],S.push(parseInt(m,16));return S})(),{parts:l,zoneId:g}},e.IPv6.parser=function(u){var l,d,p,m,f,h,g;if(s.native.test(u))return t(u,8);if((m=u.match(s.transitional))&&(g=m[6]||"",l=t(m[1].slice(0,-1)+g,6),l.parts)){for(h=[parseInt(m[2]),parseInt(m[3]),parseInt(m[4]),parseInt(m[5])],d=0,p=h.length;d=0&&l<=32))return p=[this.parse(d[1]),l],Object.defineProperty(p,"toString",{value:function(){return this.join("/")}}),p;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},e.IPv4.subnetMaskFromPrefixLength=function(u){var l,d,p;if(u=parseInt(u),u<0||u>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(p=[0,0,0,0],d=0,l=Math.floor(u/8);d=0&&l<=128))return p=[this.parse(d[1]),l],Object.defineProperty(p,"toString",{value:function(){return this.join("/")}}),p;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},e.isValid=function(u){return e.IPv6.isValid(u)||e.IPv4.isValid(u)},e.parse=function(u){if(e.IPv6.isValid(u))return e.IPv6.parse(u);if(e.IPv4.isValid(u))return e.IPv4.parse(u);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},e.parseCIDR=function(u){var l;try{return e.IPv6.parseCIDR(u)}catch(d){l=d;try{return e.IPv4.parseCIDR(u)}catch(p){throw l=p,new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},e.fromByteArray=function(u){var l;if(l=u.length,l===4)return new e.IPv4(u);if(l===16)return new e.IPv6(u);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},e.process=function(u){var l;return l=this.parse(u),l.kind()==="ipv6"&&l.isIPv4MappedAddress()?l.toIPv4Address():l}}).call(xW)});var sP=O((uHe,Pb)=>{"use strict";Pb.exports=Zye;Pb.exports.all=IW;Pb.exports.compile=OW;var Fye=wW(),TW=EW(),qye=/^[0-9]+$/,Rb=TW.isValid,Cb=TW.parse,kW={linklocal:["169.254.0.0/16","fe80::/10"],loopback:["127.0.0.1/8","::1/128"],uniquelocal:["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","fc00::/7"]};function IW(t,e){var r=Fye(t);if(!e)return r;typeof e!="function"&&(e=OW(e));for(var i=0;in)throw new TypeError("invalid range on address: "+t);return[i,s]}function Gye(t){var e=Cb(t),r=e.kind();return r==="ipv4"?e.prefixLengthFromSubnetMask():null}function Zye(t,e){if(!t)throw new TypeError("req argument is required");if(!e)throw new TypeError("trust argument is required");var r=IW(t,e),i=r[r.length-1];return i}function Vye(){return!1}function Kye(t){return function(r){if(!Rb(r))return!1;for(var i=Cb(r),n,s=i.kind(),o=0;o{"use strict";var{METHODS:Jye}=require("node:http"),RW=ab(),Xye=iP(),Qye=vl(),ebe=sP(),tbe=eP(),rbe=require("node:querystring"),{Buffer:CW}=require("node:buffer");ni.methods=Jye.map(t=>t.toLowerCase());ni.etag=PW({weak:!1});ni.wetag=PW({weak:!0});ni.normalizeType=function(t){return~t.indexOf("/")?nbe(t):{value:Qye.lookup(t)||"application/octet-stream",params:{}}};ni.normalizeTypes=function(t){return t.map(ni.normalizeType)};function nbe(t){for(var e=t.length,r=t.indexOf(";"),i=r===-1?e:r,n={value:t.slice(0,i).trim(),quality:1,params:{}};io){i=t.lastIndexOf(";",s-1)+1;continue}var a=t.slice(i,s).trim(),c=t.slice(s+1,o).trim();a==="q"?n.quality=parseFloat(c):n.params[a]=c,i=o+1}return n}ni.compileETag=function(t){var e;if(typeof t=="function")return t;switch(t){case!0:case"weak":e=ni.wetag;break;case!1:break;case"strong":e=ni.etag;break;default:throw new TypeError("unknown value for etag function: "+t)}return e};ni.compileQueryParser=function(e){var r;if(typeof e=="function")return e;switch(e){case!0:case"simple":r=rbe.parse;break;case!1:break;case"extended":r=ibe;break;default:throw new TypeError("unknown value for query parser function: "+e)}return r};ni.compileTrust=function(t){return typeof t=="function"?t:t===!0?function(){return!0}:typeof t=="number"?function(e,r){return r{NW.exports=AW;function AW(t,e){if(t&&e)return AW(t)(e);if(typeof t!="function")throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(i){r[i]=t[i]}),r;function r(){for(var i=new Array(arguments.length),n=0;n{var MW=$W();oP.exports=MW(Ab);oP.exports.strict=MW(DW);Ab.proto=Ab(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return Ab(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return DW(this)},configurable:!0})});function Ab(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function DW(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}});var cP=O((mHe,aP)=>{aP.exports=zW;aP.exports.default=zW;function zW(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}});var WW=O(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});os.PathError=os.TokenData=void 0;os.parse=pP;os.compile=cbe;os.match=lbe;os.pathToRegexp=qW;os.stringify=pbe;var lP="/",dP=t=>t,sbe=/^[$_\p{ID_Start}]$/u,LW=/^[$\u200c\u200d\p{ID_Continue}]$/u,obe=/^[$_\p{ID_Start}][$\u200c\u200d\p{ID_Continue}]*$/u;function abe(t){return t.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}function _o(t){return t.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}var Nb=class{constructor(e,r){this.tokens=e,this.originalPath=r}};os.TokenData=Nb;var qs=class extends TypeError{constructor(e,r){let i=e;r&&(i+=`: ${r}`),i+="; visit https://git.new/pathToRegexpError for info",super(i),this.originalPath=r}};os.PathError=qs;function pP(t,e={}){let{encodePath:r=dP}=e,i=[...t],n=0;function s(o){let a=[],c="";function u(){c&&(a.push({type:"text",value:r(c)}),c="")}for(;nube(n,e,r));return(n,s)=>{let o="";for(let a of i)o+=a(n,s);return o}}function ube(t,e,r){if(t.type==="text")return()=>t.value;if(t.type==="group"){let n=FW(t.tokens,e,r);return(s,o)=>{let a=o.length,c=n(s,o);return o.length===a?c:(o.length=a,"")}}let i=r||dP;return t.type==="wildcard"&&r!==!1?(n,s)=>{let o=n[t.name];if(o==null)return s.push(t.name),"";if(!Array.isArray(o)||o.length===0)throw new TypeError(`Expected "${t.name}" to be a non-empty array`);let a="";for(let c=0;c0&&(a+=e),a+=i(o[c])}return a}:(n,s)=>{let o=n[t.name];if(o==null)return s.push(t.name),"";if(typeof o!="string")throw new TypeError(`Expected "${t.name}" to be a string`);return i(o)}}function lbe(t,e={}){let{decode:r=decodeURIComponent,delimiter:i=lP}=e,{regexp:n,keys:s}=qW(t,e),o=s.map(a=>r===!1?dP:a.type==="param"?r:c=>c.split(i).map(r));return function(c){let u=n.exec(c);if(!u)return!1;let l=u[0],d=Object.create(null);for(let p=1;p{if(c>=256)throw new qs("Too many path combinations",p.originalPath);c>0&&(a+="|"),a+=dbe(m,r,o,p.originalPath),c++})}u(t);let l=`^(?:${a})`;return s&&(l+="(?:"+_o(r)+"$)?"),l+=i?"$":"(?="+_o(r)+"|$)",{regexp:new RegExp(l,n?"":"i"),keys:o}}function uP(t,e,r,i){for(;euP(t,e,o,i)),r.length=s;continue}r.push(n)}i(r)}function dbe(t,e,r,i){let n="",s="",o="",a=0,c=0,u=0;function l(p,m){for(;pt.length?ga(e,t):(t===e&&(e=""),e.length>1?`(?:(?!${_o(t)}|${_o(e)})[^])`:t.length>1?`(?:(?!${_o(t)})[^${_o(e)}])`:`[^${_o(t+e)}]`)}function HW(t,e){let r="";for(;e{"use strict";var GW=cP(),mbe=WW(),fbe=Pi()("router:layer"),ZW=xm()("router"),hbe=/\/+$/,gbe=/\((?:\?<(.*?)>)?(?!\?)/g;KW.exports=Ol;function Ol(t,e,r){if(!(this instanceof Ol))return new Ol(t,e,r);fbe("new %o",t);let i=e||{};this.handle=r,this.keys=[],this.name=r.name||"",this.params=void 0,this.path=void 0,this.slash=t==="/"&&i.end===!1;function n(s){if(s instanceof RegExp){let o=[],a=0,c;for(;c=gbe.exec(s.source);)o.push({name:c[1]||a++,offset:c.index});return function(l){let d=s.exec(l);if(!d)return!1;let p={};for(let m=1;m3)return i();try{let s=n(e,r,i);GW(s)&&(s instanceof Promise||ZW("handlers that are Promise-like are deprecated, use a native Promise instead"),s.then(null,function(o){i(o||new Error("Rejected promise"))}))}catch(s){i(s)}};Ol.prototype.match=function(e){let r;if(e!=null){if(this.slash)return this.params={},this.path="",!0;let i=0;for(;!r&&i{"use strict";var YW=Pi()("router:route"),JW=mP(),{METHODS:vbe}=require("node:http"),XW=Array.prototype.slice,QW=Array.prototype.flat,ybe=vbe.map(t=>t.toLowerCase());e3.exports=Rl;function Rl(t){YW("new %o",t),this.path=t,this.stack=[],this.methods=Object.create(null)}Rl.prototype._handlesMethod=function(e){if(this.methods._all)return!0;let r=typeof e=="string"?e.toLowerCase():e;return r==="head"&&!this.methods.head&&(r="get"),!!this.methods[r]};Rl.prototype._methods=function(){let e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push("head");for(let r=0;r=s.length)return i(u);if(++o>100)return setImmediate(c,u);let l,d;for(;d!==!0&&n{"use strict";var bbe=cP(),r3=mP(),{METHODS:_be}=require("node:http"),Sbe=Wm(),n3=t3(),$b=Pi()("router"),wbe=xm()("router"),i3=Array.prototype.slice,xbe=Array.prototype.flat,Ebe=_be.map(t=>t.toLowerCase());fP.exports=So;fP.exports.Route=n3;function So(t){if(!(this instanceof So))return new So(t);let e=t||{};function r(i,n,s){r.handle(i,n,s)}return Object.setPrototypeOf(r,this),r.caseSensitive=e.caseSensitive,r.mergeParams=e.mergeParams,r.params={},r.strict=e.strict,r.stack=[],r}So.prototype=function(){};So.prototype.param=function(e,r){if(!e)throw new TypeError("argument name is required");if(typeof e!="string")throw new TypeError("argument name must be a string");if(!r)throw new TypeError("argument fn is required");if(typeof r!="function")throw new TypeError("argument fn must be a function");let i=this.params[e];return i||(i=this.params[e]=[]),i.push(r),this};So.prototype.handle=function(e,r,i){if(!i)throw new TypeError("argument callback is required");$b("dispatching %s %s",e.method,e.url);let n=0,s,o=Ibe(e.url)||"",a="",c=this,u=!1,l=0,d={},p=this.stack,m=e.params,f=e.baseUrl||"",h=Pbe(i,e,"baseUrl","next","params");e.next=g,e.method==="OPTIONS"&&(s=[],h=$be(h,kbe(r,s))),e.baseUrl=f,e.originalUrl=e.originalUrl||e.url,g();function g(_){let b=_==="route"?null:_;if(u&&(e.url=e.url.slice(1),u=!1),a.length!==0&&(e.baseUrl=f,e.url=o+a+e.url.slice(o.length),a=""),b==="router"){setImmediate(h,null);return}if(n>=p.length){setImmediate(h,b);return}if(++l>100)return setImmediate(g,_);let S=Tbe(e);if(S==null)return h(b);let w,x,E;for(;x!==!0&&n");let a=new r3(i,{sensitive:this.caseSensitive,strict:!1,end:!1},o);a.route=void 0,this.stack.push(a)}return this};So.prototype.route=function(e){let r=new n3(e),i=new r3(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},n);function n(s,o,a){r.dispatch(s,o,a)}return i.route=r,this.stack.push(i),r};Ebe.concat("all").forEach(function(t){So.prototype[t]=function(e){let r=this.route(e);return r[t].apply(r,i3.call(arguments,1)),this}});function kbe(t,e){return function(i,n){if(n||e.length===0)return i(n);Nbe(t,e,i)}}function Tbe(t){try{return Sbe(t).pathname}catch{return}}function Ibe(t){if(typeof t!="string"||t.length===0||t[0]==="/")return;let e=t.indexOf("?"),r=e!==-1?e:t.length,i=t.substring(0,r).indexOf("://");return i!==-1?t.substring(0,t.indexOf("/",3+i)):void 0}function Obe(t,e){try{return t.match(e)}catch(r){return r}}function Rbe(t,e){if(typeof e!="object"||!e)return t;let r=Object.assign({},e);if(!(0 in t)||!(0 in e))return Object.assign(r,t);let i=0,n=0;for(;i in t;)i++;for(;n in e;)n++;for(i--;i>=0;i--)t[i+n]=t[i],i=o.length)return s();if(c=0,u=o[a++],l=i.params[u],d=t[u],p=r[u],l===void 0||!d)return m();if(p&&(p.match===l||p.error&&p.error!=="route"))return i.params[u]=p.value,m(p.error);r[u]=p={error:null,match:l,value:l},f()}function f(h){let g=d[c++];if(p.value=i.params[u],h){p.error=h,m(h);return}if(!g)return m();try{let y=g(i,n,f,l,u);bbe(y)&&(y instanceof Promise||wbe("parameters that are Promise-like are deprecated, use a native Promise instead"),y.then(null,function(_){f(_||new Error("Rejected promise"))}))}catch(y){f(y)}}m()}function Pbe(t,e){let r=new Array(arguments.length-2),i=new Array(arguments.length-2);for(let n=0;n{"use strict";var Mbe=pW(),yP=Pi()("express:application"),Dbe=vW(),jbe=require("node:http"),gP=ha().methods,zbe=ha().compileETag,Ube=ha().compileQueryParser,Lbe=ha().compileTrust,Fbe=require("node:path").resolve,qbe=jW(),Hbe=hP(),Mb=Array.prototype.slice,Wbe=Array.prototype.flat,Wr=s3=o3.exports={},vP="@@symbol:trust_proxy_default";Wr.init=function(){var e=null;this.cache=Object.create(null),this.engines=Object.create(null),this.settings=Object.create(null),this.defaultConfiguration(),Object.defineProperty(this,"router",{configurable:!0,enumerable:!0,get:function(){return e===null&&(e=new Hbe({caseSensitive:this.enabled("case sensitive routing"),strict:this.enabled("strict routing")})),e}})};Wr.defaultConfiguration=function(){var e=process.env.NODE_ENV||"development";this.enable("x-powered-by"),this.set("etag","weak"),this.set("env",e),this.set("query parser","simple"),this.set("subdomain offset",2),this.set("trust proxy",!1),Object.defineProperty(this.settings,vP,{configurable:!0,value:!0}),yP("booting in %s mode",e),this.on("mount",function(i){this.settings[vP]===!0&&typeof i.settings["trust proxy fn"]=="function"&&(delete this.settings["trust proxy"],delete this.settings["trust proxy fn"]),Object.setPrototypeOf(this.request,i.request),Object.setPrototypeOf(this.response,i.response),Object.setPrototypeOf(this.engines,i.engines),Object.setPrototypeOf(this.settings,i.settings)}),this.locals=Object.create(null),this.mountpath="/",this.locals.settings=this.settings,this.set("view",Dbe),this.set("views",Fbe("views")),this.set("jsonp callback name","callback"),e==="production"&&this.enable("view cache")};Wr.handle=function(e,r,i){var n=i||Mbe(e,r,{env:this.get("env"),onerror:Bbe.bind(this)});this.enabled("x-powered-by")&&r.setHeader("X-Powered-By","Express"),e.res=r,r.req=e,Object.setPrototypeOf(e,this.request),Object.setPrototypeOf(r,this.response),r.locals||(r.locals=Object.create(null)),this.router.handle(e,r,n)};Wr.use=function(e){var r=0,i="/";if(typeof e!="function"){for(var n=e;Array.isArray(n)&&n.length!==0;)n=n[0];typeof n!="function"&&(r=1,i=e)}var s=Wbe.call(Mb.call(arguments,r),1/0);if(s.length===0)throw new TypeError("app.use() requires a middleware function");var o=this.router;return s.forEach(function(a){if(!a||!a.handle||!a.set)return o.use(i,a);yP(".use app under %s",i),a.mountpath=i,a.parent=this,o.use(i,function(u,l,d){var p=u.app;a.handle(u,l,function(m){Object.setPrototypeOf(u,p.request),Object.setPrototypeOf(l,p.response),d(m)})}),a.emit("mount",this)},this),this};Wr.route=function(e){return this.router.route(e)};Wr.engine=function(e,r){if(typeof r!="function")throw new Error("callback function required");var i=e[0]!=="."?"."+e:e;return this.engines[i]=r,this};Wr.param=function(e,r){if(Array.isArray(e)){for(var i=0;i1?'directories "'+c.root.slice(0,-1).join('", "')+'" or "'+c.root[c.root.length-1]+'"':'directory "'+c.root+'"',p=new Error('Failed to lookup view "'+e+'" in views '+d);return p.view=c,s(p)}u.cache&&(n[e]=c)}Gbe(c,u,s)};Wr.listen=function(){var e=jbe.createServer(this),r=Mb.call(arguments);if(typeof r[r.length-1]=="function"){var i=r[r.length-1]=qbe(r[r.length-1]);e.once("error",i)}return e.listen.apply(e,r)};function Bbe(t){this.get("env")!=="test"&&console.error(t.stack||t.toString())}function Gbe(t,e,r){try{t.render(e,r)}catch(i){r(i)}}});var d3=O((yHe,bP)=>{"use strict";bP.exports=l3;bP.exports.preferredCharsets=l3;var Zbe=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function Vbe(t){for(var e=t.split(","),r=0,i=0;r0}});var h3=O((bHe,_P)=>{"use strict";_P.exports=f3;_P.exports.preferredEncodings=f3;var Qbe=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function e_e(t){for(var e=t.split(","),r=!1,i=1,n=0,s=0;n0}});var _3=O((_He,SP)=>{"use strict";SP.exports=b3;SP.exports.preferredLanguages=b3;var s_e=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function o_e(t){for(var e=t.split(","),r=0,i=0;r0}});var T3=O((SHe,wP)=>{"use strict";wP.exports=E3;wP.exports.preferredMediaTypes=E3;var l_e=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function d_e(t){for(var e=g_e(t),r=0,i=0;r0)if(s.every(function(o){return e.params[o]=="*"||(e.params[o]||"").toLowerCase()==(i.params[o]||"").toLowerCase()}))n|=1;else return null;return{i:r,o:e.i,q:e.q,s:n}}function E3(t,e){var r=d_e(t===void 0?"*/*":t||"");if(!e)return r.filter(w3).sort(S3).map(f_e);var i=e.map(function(s,o){return p_e(s,r,o)});return i.filter(w3).sort(S3).map(function(s){return e[i.indexOf(s)]})}function S3(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i||0}function f_e(t){return t.type+"/"+t.subtype}function w3(t){return t.q>0}function k3(t){for(var e=0,r=0;(r=t.indexOf('"',r))!==-1;)e++,r++;return e}function h_e(t){var e=t.indexOf("="),r,i;return e===-1?r=t:(r=t.slice(0,e),i=t.slice(e+1)),[r,i]}function g_e(t){for(var e=t.split(","),r=1,i=0;r{"use strict";var y_e=d3(),b_e=h3(),__e=_3(),S_e=T3();xP.exports=kt;xP.exports.Negotiator=kt;function kt(t){if(!(this instanceof kt))return new kt(t);this.request=t}kt.prototype.charset=function(e){var r=this.charsets(e);return r&&r[0]};kt.prototype.charsets=function(e){return y_e(this.request.headers["accept-charset"],e)};kt.prototype.encoding=function(e,r){var i=this.encodings(e,r);return i&&i[0]};kt.prototype.encodings=function(e,r){var i=r||{};return b_e(this.request.headers["accept-encoding"],e,i.preferred)};kt.prototype.language=function(e){var r=this.languages(e);return r&&r[0]};kt.prototype.languages=function(e){return __e(this.request.headers["accept-language"],e)};kt.prototype.mediaType=function(e){var r=this.mediaTypes(e);return r&&r[0]};kt.prototype.mediaTypes=function(e){return S_e(this.request.headers.accept,e)};kt.prototype.preferredCharset=kt.prototype.charset;kt.prototype.preferredCharsets=kt.prototype.charsets;kt.prototype.preferredEncoding=kt.prototype.encoding;kt.prototype.preferredEncodings=kt.prototype.encodings;kt.prototype.preferredLanguage=kt.prototype.language;kt.prototype.preferredLanguages=kt.prototype.languages;kt.prototype.preferredMediaType=kt.prototype.mediaType;kt.prototype.preferredMediaTypes=kt.prototype.mediaTypes});var R3=O((xHe,O3)=>{"use strict";var w_e=I3(),x_e=vl();O3.exports=ii;function ii(t){if(!(this instanceof ii))return new ii(t);this.headers=t.headers,this.negotiator=new w_e(t)}ii.prototype.type=ii.prototype.types=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r{"use strict";var T_e=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;P3.exports=I_e;function I_e(t,e){var r=t["if-modified-since"],i=t["if-none-match"];if(!r&&!i)return!1;var n=t["cache-control"];if(n&&T_e.test(n))return!1;if(i){if(i==="*")return!0;var s=e.etag;if(!s)return!1;for(var o=O_e(i),a=0;a{"use strict";A3.exports=R_e;function R_e(t,e,r){if(typeof e!="string")throw new TypeError("argument str must be a string");var i=e.indexOf("=");if(i===-1)return-2;var n=e.slice(i+1).split(","),s=[];s.type=e.slice(0,i);for(var o=0;ot-1&&(u=t-1),!(isNaN(c)||isNaN(u)||c>u||c<0)&&s.push({start:c,end:u})}return s.length<1?-1:r&&r.combine?C_e(s):s}function C_e(t){for(var e=t.map(P_e).sort($_e),r=0,i=1;is.end+1?e[++r]=n:n.end>s.end&&(s.end=n.end,s.index=Math.min(s.index,n.index))}e.length=r+1;var o=e.sort(N_e).map(A_e);return o.type=t.type,o}function P_e(t,e){return{start:t.start,end:t.end,index:e}}function A_e(t){return{start:t.start,end:t.end}}function N_e(t,e){return t.index-e.index}function $_e(t,e){return t.start-e.start}});var D3=O((THe,M3)=>{"use strict";var Db=R3(),M_e=require("node:net").isIP,D_e=ub(),j_e=require("node:http"),z_e=EP(),U_e=kP(),N3=Wm(),$3=sP(),ir=Object.create(j_e.IncomingMessage.prototype);M3.exports=ir;ir.get=ir.header=function(e){if(!e)throw new TypeError("name argument is required to req.get");if(typeof e!="string")throw new TypeError("name must be a string to req.get");var r=e.toLowerCase();switch(r){case"referer":case"referrer":return this.headers.referrer||this.headers.referer;default:return this.headers[r]}};ir.accepts=function(){var t=Db(this);return t.types.apply(t,arguments)};ir.acceptsEncodings=function(){var t=Db(this);return t.encodings.apply(t,arguments)};ir.acceptsCharsets=function(){var t=Db(this);return t.charsets.apply(t,arguments)};ir.acceptsLanguages=function(...t){return Db(this).languages(...t)};ir.range=function(e,r){var i=this.get("Range");if(i)return U_e(e,i,r)};Mi(ir,"query",function(){var e=this.app.get("query parser fn");if(!e)return Object.create(null);var r=N3(this).query;return e(r)});ir.is=function(e){var r=e;if(!Array.isArray(e)){r=new Array(arguments.length);for(var i=0;i=200&&r<300||r===304?z_e(this.headers,{etag:e.get("ETag"),"last-modified":e.get("Last-Modified")}):!1});Mi(ir,"stale",function(){return!this.fresh});Mi(ir,"xhr",function(){var e=this.get("X-Requested-With")||"";return e.toLowerCase()==="xmlhttprequest"});function Mi(t,e,r){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:r})}});var H3=O((IHe,TP)=>{"use strict";TP.exports=V_e;TP.exports.parse=X_e;var L_e=new TextDecoder("utf-8"),F_e=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,L3=/[^\x20-\x7e\xa0-\xff]/g,q_e=/\\([\u0000-\u007f])/g,H_e=/([\\"])/g,j3=/;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g,W_e=/^[\x20-\x7e\x80-\xff]+$/,B_e=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,G_e=/^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/,Z_e=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function V_e(t,e){var r=e||{},i=r.type||"attachment",n=K_e(t,r.fallback);return Y_e(new q3(i,n))}function K_e(t,e){if(t!==void 0){var r={};if(typeof t!="string")throw new TypeError("filename must be a string");if(e===void 0&&(e=!0),typeof e!="string"&&typeof e!="boolean")throw new TypeError("fallback must be a string or boolean");if(typeof e=="string"&&L3.test(e))throw new TypeError("fallback must be ISO-8859-1 string");var i=z3(t),n=W_e.test(i),s=typeof e!="string"?e&&F3(i):z3(e),o=typeof s=="string"&&s!==i;return(o||!n||rSe(i))&&(r["filename*"]=i),(n||o)&&(r.filename=o?s:i),r}}function Y_e(t){var e=t.parameters,r=t.type;if(!r||typeof r!="string"||!B_e.test(r))throw new TypeError("invalid type");var i=String(r).toLowerCase();if(e&&typeof e=="object")for(var n,s=Object.keys(e).sort(),o=0;o0&&e[r-1]==="/";)r--;if(r===0)return"";let i=r-1;for(;i>=0&&e[i]!=="/";)i--;return e.slice(i+1,r)}function jb(t){let e=t.charCodeAt(0);return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function rSe(t){let e=t.length-3,r=-1;for(;(r=t.indexOf("%",r+1))!==-1&&r<=e;)if(jb(t[r+1])&&jb(t[r+2]))return!0;return!1}function U3(t){let e=t.indexOf("%");if(e===-1)return t;let r=t.slice(0,e);for(let i=e;i{var W3=require("crypto");zb.sign=function(t,e){if(typeof t!="string")throw new TypeError("Cookie value must be provided as a string.");if(e==null)throw new TypeError("Secret key must be provided.");return t+"."+W3.createHmac("sha256",e).update(t).digest("base64").replace(/\=+$/,"")};zb.unsign=function(t,e){if(typeof t!="string")throw new TypeError("Signed cookie string must be provided.");if(e==null)throw new TypeError("Secret key must be provided.");var r=t.slice(0,t.lastIndexOf(".")),i=zb.sign(r,e),n=Buffer.from(i),s=Buffer.from(t);return n.length===s.length&&W3.timingSafeEqual(n,s)?r:!1}});var V3=O(IP=>{"use strict";IP.parse=uSe;IP.serialize=lSe;var nSe=Object.prototype.toString,iSe=Object.prototype.hasOwnProperty,sSe=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,oSe=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,aSe=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,cSe=/^[\u0020-\u003A\u003D-\u007E]*$/;function uSe(t,e){if(typeof t!="string")throw new TypeError("argument str must be a string");var r={},i=t.length;if(i<2)return r;var n=e&&e.decode||dSe,s=0,o=0,a=0;do{if(o=t.indexOf("=",s),o===-1)break;if(a=t.indexOf(";",s),a===-1)a=i;else if(o>a){s=t.lastIndexOf(";",o-1)+1;continue}var c=G3(t,s,o),u=Z3(t,o,c),l=t.slice(c,u);if(!iSe.call(r,l)){var d=G3(t,o+1,a),p=Z3(t,a,d);t.charCodeAt(d)===34&&t.charCodeAt(p-1)===34&&(d++,p--);var m=t.slice(d,p);r[l]=mSe(m,n)}s=a+1}while(sr;){var i=t.charCodeAt(--e);if(i!==32&&i!==9)return e+1}return r}function lSe(t,e,r){var i=r&&r.encode||encodeURIComponent;if(typeof i!="function")throw new TypeError("option encode is invalid");if(!sSe.test(t))throw new TypeError("argument name is invalid");var n=i(e);if(!oSe.test(n))throw new TypeError("argument val is invalid");var s=t+"="+n;if(!r)return s;if(r.maxAge!=null){var o=Math.floor(r.maxAge);if(!isFinite(o))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+o}if(r.domain){if(!aSe.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!cSe.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){var a=r.expires;if(!pSe(a)||isNaN(a.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+a.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.partitioned&&(s+="; Partitioned"),r.priority){var c=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(c){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var u=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(u){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function dSe(t){return t.indexOf("%")!==-1?decodeURIComponent(t):t}function pSe(t){return nSe.call(t)==="[object Date]"}function mSe(t,e){try{return e(t)}catch{return t}}});var CP=O((CHe,s5)=>{"use strict";var OP=ml(),Br=Pi()("send"),fSe=qm(),X3=Hm(),hSe=iP(),gSe=EP(),Lb=require("fs"),vSe=vl(),ySe=SR(),bSe=Im(),_Se=kP(),Zm=require("path"),SSe=Em(),Q3=require("stream"),wSe=require("util"),e5=Zm.extname,t5=Zm.join,RP=Zm.normalize,r5=Zm.resolve,Ub=Zm.sep,xSe=/^ *bytes=/,ESe=3600*24*365*1e3,K3=/(?:^|[\\/])\.\.(?:[\\/]|$)/;s5.exports=kSe;function kSe(t,e,r){return new sr(t,e,r)}function sr(t,e,r){Q3.call(this);var i=r||{};if(this.options=i,this.path=e,this.req=t,this._acceptRanges=i.acceptRanges!==void 0?!!i.acceptRanges:!0,this._cacheControl=i.cacheControl!==void 0?!!i.cacheControl:!0,this._etag=i.etag!==void 0?!!i.etag:!0,this._dotfiles=i.dotfiles!==void 0?i.dotfiles:"ignore",this._dotfiles!=="ignore"&&this._dotfiles!=="allow"&&this._dotfiles!=="deny")throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"');this._extensions=i.extensions!==void 0?J3(i.extensions,"extensions option"):[],this._immutable=i.immutable!==void 0?!!i.immutable:!1,this._index=i.index!==void 0?J3(i.index,"index option"):["index.html"],this._lastModified=i.lastModified!==void 0?!!i.lastModified:!0,this._maxage=i.maxAge||i.maxage,this._maxage=typeof this._maxage=="string"?ySe(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),ESe),this._root=i.root?r5(i.root):null}wSe.inherits(sr,Q3);sr.prototype.error=function(e,r){if(i5(this,"error"))return this.emit("error",RSe(e,r));var i=this.res,n=SSe.message[e]||String(e),s=n5("Error",X3(n));TSe(i),r&&r.headers&&ASe(i,r.headers),i.statusCode=e,i.setHeader("Content-Type","text/html; charset=UTF-8"),i.setHeader("Content-Length",Buffer.byteLength(s)),i.setHeader("Content-Security-Policy","default-src 'none'"),i.setHeader("X-Content-Type-Options","nosniff"),i.end(s)};sr.prototype.hasTrailingSlash=function(){return this.path[this.path.length-1]==="/"};sr.prototype.isConditionalGET=function(){return this.req.headers["if-match"]||this.req.headers["if-unmodified-since"]||this.req.headers["if-none-match"]||this.req.headers["if-modified-since"]};sr.prototype.isPreconditionFailure=function(){var e=this.req,r=this.res,i=e.headers["if-match"];if(i){var n=r.getHeader("ETag");return!n||i!=="*"&&PSe(i).every(function(a){return a!==n&&a!=="W/"+n&&"W/"+a!==n})}var s=Fb(e.headers["if-unmodified-since"]);if(!isNaN(s)){var o=Fb(r.getHeader("Last-Modified"));return isNaN(o)||o>s}return!1};sr.prototype.removeContentHeaderFields=function(){var e=this.res;e.removeHeader("Content-Encoding"),e.removeHeader("Content-Language"),e.removeHeader("Content-Length"),e.removeHeader("Content-Range"),e.removeHeader("Content-Type")};sr.prototype.notModified=function(){var e=this.res;Br("not modified"),this.removeContentHeaderFields(),e.statusCode=304,e.end()};sr.prototype.headersAlreadySent=function(){var e=new Error("Can't set headers after they are sent.");Br("headers already sent"),this.error(500,e)};sr.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||e===304};sr.prototype.onStatError=function(e){switch(e.code){case"ENAMETOOLONG":case"ENOENT":case"ENOTDIR":this.error(404,e);break;default:this.error(500,e);break}};sr.prototype.isFresh=function(){return gSe(this.req.headers,{etag:this.res.getHeader("ETag"),"last-modified":this.res.getHeader("Last-Modified")})};sr.prototype.isRangeFresh=function(){var e=this.req.headers["if-range"];if(!e)return!0;if(e.indexOf('"')!==-1){var r=this.res.getHeader("ETag");return!!(r&&e.indexOf(r)!==-1)}var i=this.res.getHeader("Last-Modified");return Fb(i)<=Fb(e)};sr.prototype.redirect=function(e){var r=this.res;if(i5(this,"directory")){this.emit("directory",r,e);return}if(this.hasTrailingSlash()){this.error(403);return}var i=fSe(ISe(this.path+"/")),n=n5("Redirecting","Redirecting to "+X3(i));r.statusCode=301,r.setHeader("Content-Type","text/html; charset=UTF-8"),r.setHeader("Content-Length",Buffer.byteLength(n)),r.setHeader("Content-Security-Policy","default-src 'none'"),r.setHeader("X-Content-Type-Options","nosniff"),r.setHeader("Location",i),r.end(n)};sr.prototype.pipe=function(e){var r=this._root;this.res=e;var i=CSe(this.path);if(i===-1)return this.error(400),e;if(~i.indexOf("\0"))return this.error(400),e;var n;if(r!==null){if(i&&(i=RP("."+Ub+i)),K3.test(i))return Br('malicious path "%s"',i),this.error(403),e;n=i.split(Ub),i=RP(t5(r,i))}else{if(K3.test(i))return Br('malicious path "%s"',i),this.error(403),e;n=RP(i).split(Ub),i=r5(i)}if(OSe(n))switch(Br('%s dotfile "%s"',this._dotfiles,i),this._dotfiles){case"allow":break;case"deny":return this.error(403),e;default:return this.error(404),e}return this._index.length&&this.hasTrailingSlash()?(this.sendIndex(i),e):(this.sendFile(i),e)};sr.prototype.send=function(e,r){var i=r.size,n=this.options,s={},o=this.res,a=this.req,c=a.headers.range,u=n.start||0;if(o.headersSent){this.headersAlreadySent();return}if(Br('pipe "%s"',e),this.setHeader(e,r),this.type(e),this.isConditionalGET()){if(this.isPreconditionFailure()){this.error(412);return}if(this.isCachable()&&this.isFresh()){this.notModified();return}}if(i=Math.max(0,i-u),n.end!==void 0){var l=n.end-u+1;i>l&&(i=l)}if(this._acceptRanges&&xSe.test(c)){if(c=_Se(i,c,{combine:!0}),this.isRangeFresh()||(Br("range stale"),c=-2),c===-1)return Br("range unsatisfiable"),o.setHeader("Content-Range",Y3("bytes",i)),this.error(416,{headers:{"Content-Range":o.getHeader("Content-Range")}});c!==-2&&c.length===1&&(Br("range %j",c),o.statusCode=206,o.setHeader("Content-Range",Y3("bytes",i,c[0])),u+=c[0].start,i=c[0].end-c[0].start+1)}for(var d in n)s[d]=n[d];if(s.start=u,s.end=Math.max(u,u+i-1),o.setHeader("Content-Length",i),a.method==="HEAD"){o.end();return}this.stream(e,s)};sr.prototype.sendFile=function(e){var r=0,i=this;Br('stat "%s"',e),Lb.stat(e,function(o,a){var c=e[e.length-1]===Ub;if(o&&o.code==="ENOENT"&&!e5(e)&&!c)return n(o);if(o)return i.onStatError(o);if(a.isDirectory())return i.redirect(e);if(c)return i.error(404);i.emit("file",e,a),i.send(e,a)});function n(s){if(i._extensions.length<=r)return s?i.onStatError(s):i.error(404);var o=e+"."+i._extensions[r++];Br('stat "%s"',o),Lb.stat(o,function(a,c){if(a)return n(a);if(c.isDirectory())return n();i.emit("file",o,c),i.send(o,c)})}};sr.prototype.sendIndex=function(e){var r=-1,i=this;function n(s){if(++r>=i._index.length)return s?i.onStatError(s):i.error(404);var o=t5(e,i._index[r]);Br('stat "%s"',o),Lb.stat(o,function(a,c){if(a)return n(a);if(c.isDirectory())return n();i.emit("file",o,c),i.send(o,c)})}n()};sr.prototype.stream=function(e,r){var i=this,n=this.res,s=Lb.createReadStream(e,r);this.emit("stream",s),s.pipe(n);function o(){s.destroy()}bSe(n,o),s.on("error",function(c){o(),i.onStatError(c)}),s.on("end",function(){i.emit("end")})};sr.prototype.type=function(e){var r=this.res;if(!r.getHeader("Content-Type")){var i=e5(e),n=vSe.contentType(i)||"application/octet-stream";Br("content-type %s",n),r.setHeader("Content-Type",n)}};sr.prototype.setHeader=function(e,r){var i=this.res;if(this.emit("headers",i,e,r),this._acceptRanges&&!i.getHeader("Accept-Ranges")&&(Br("accept ranges"),i.setHeader("Accept-Ranges","bytes")),this._cacheControl&&!i.getHeader("Cache-Control")){var n="public, max-age="+Math.floor(this._maxage/1e3);this._immutable&&(n+=", immutable"),Br("cache-control %s",n),i.setHeader("Cache-Control",n)}if(this._lastModified&&!i.getHeader("Last-Modified")){var s=r.mtime.toUTCString();Br("modified %s",s),i.setHeader("Last-Modified",s)}if(this._etag&&!i.getHeader("ETag")){var o=hSe(r);Br("etag %s",o),i.setHeader("ETag",o)}};function TSe(t){for(let e of t.getHeaderNames())t.removeHeader(e)}function ISe(t){for(var e=0;e1?"/"+t.substr(e):t}function OSe(t){for(var e=0;e1&&r[0]===".")return!0}return!1}function Y3(t,e,r){return t+" "+(r?r.start+"-"+r.end:"*")+"/"+e}function n5(t,e){return`
+`}Oq.exports=Xle;function Xle(t,e,r){var n=r||{},i=n.env||process.env.NODE_ENV||"development",s=n.onerror;return function(o){var a,c,u;if(!o&&$q(e)){EO("cannot 404 after headers sent");return}if(o?(u=tde(o),u===void 0?u=nde(e):a=Qle(o),c=ede(o,u,i)):(u=404,c="Cannot "+t.method+" "+Hle(rde(t))),EO("default %s",u),o&&s&&Kle(s,o,t,e),$q(e)){EO("cannot %d after headers sent",u),t.socket&&t.socket.destroy();return}ide(t,e,u,a,c)}}function Qle(t){if(!(!t.headers||typeof t.headers!="object")){for(var e=Object.create(null),r=Object.keys(t.headers),n=0;n=400&&t.status<600)return t.status;if(typeof t.statusCode=="number"&&t.statusCode>=400&&t.statusCode<600)return t.statusCode}function rde(t){try{return Zle.original(t).pathname}catch{return"resource"}}function nde(t){var e=t.statusCode;return(typeof e!="number"||e<400||e>599)&&(e=500),e}function $q(t){return typeof t.headersSent!="boolean"?!!t._header:t.headersSent}function ide(t,e,r,n,i){function s(){var o=Yle(i);if(e.statusCode=r,t.httpVersionMajor<2&&(e.statusMessage=Rq.message[r]),e.removeHeader("Content-Encoding"),e.removeHeader("Content-Language"),e.removeHeader("Content-Range"),sde(e,n),e.setHeader("Content-Security-Policy","default-src 'none'"),e.setHeader("X-Content-Type-Options","nosniff"),e.setHeader("Content-Type","text/html; charset=utf-8"),e.setHeader("Content-Length",Buffer.byteLength(o,"utf8")),t.method==="HEAD"){e.end();return}e.end(o,"utf8")}if(Jle(t)){s();return}Wle(t),Iq(t,s),t.resume()}function sde(t,e){if(e)for(var r=Object.keys(e),n=0;n{"use strict";Nq.exports=ode;function Pq(t,e,r){for(var n=0;n0&&Array.isArray(i)?Pq(i,e,r-1):e.push(i)}return e}function Aq(t,e){for(var r=0;r{jq.exports=Dq;var Mq=/\\.|\((?:\?<(.*?)>)?(?!\?)/g;function Dq(t,e,r){r=r||{},e=e||[];var n=r.strict,i=r.end!==!1,s=r.sensitive?"":"i",o=r.lookahead!==!1,a=0,c=e.length,u=0,l=0,d=0,p="",f;if(t instanceof RegExp){for(;f=Mq.exec(t.source);)f[0][0]!=="\\"&&e.push({name:f[1]||l++,optional:!1,offset:f.index});return t}if(Array.isArray(t))return t=t.map(function(m){return Dq(m,e,r).source}),new RegExp(t.join("|"),s);if(typeof t!="string")throw new TypeError("path must be a string, array of strings, or regular expression");for(t=t.replace(/\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g,function(m,g,v,y,b,_,S,x){if(m[0]==="\\")return p+=m,d+=2,m;if(m===".")return p+="\\.",a+=1,d+=1,"\\.";if(g||v?p="":p+=t.slice(d,x),d=x+m.length,m==="*")return a+=3,"(.*)";if(m==="/(")return p+="/",a+=2,"/(?:";g=g||"",v=v?"\\.":"",S=S||"",b=b?b.replace(/\\.|\*/,function(E){return E==="*"?"(.*)":E}):p?"((?:(?!/|"+p+").)+?)":"([^/"+v+"]+?)",e.push({name:y,optional:!!S,offset:x+a});var w="(?:"+v+g+b+(_?"((?:[/"+v+"].+?)?)":"")+")"+S;return a+=w.length-m.length,w});f=Mq.exec(t);)f[0][0]!=="\\"&&((c+u===e.length||e[c+u].offset>f.index)&&e.splice(c+u,0,{name:l++,optional:!1,offset:f.index}),u++);return t+=n?"":t[t.length-1]==="/"?"?":"/?",i?t+="$":t[t.length-1]!=="/"&&(t+=o?"(?=/|$)":"(?:/|$)"),new RegExp("^"+t,s)}});var kO=$((MLe,Uq)=>{"use strict";var ade=zq(),cde=_i()("express:router:layer"),ude=Object.prototype.hasOwnProperty;Uq.exports=Il;function Il(t,e,r){if(!(this instanceof Il))return new Il(t,e,r);cde("new %o",t);var n=e||{};this.handle=r,this.name=r.name||"",this.params=void 0,this.path=void 0,this.regexp=ade(t,this.keys=[],n),this.regexp.fast_star=t==="*",this.regexp.fast_slash=t==="/"&&n.end===!1}Il.prototype.handle_error=function(e,r,n,i){var s=this.handle;if(s.length!==4)return i(e);try{s(e,r,n,i)}catch(o){i(o)}};Il.prototype.handle_request=function(e,r,n){var i=this.handle;if(i.length>3)return n();try{i(e,r,n)}catch(s){n(s)}};Il.prototype.match=function(e){var r;if(e!=null){if(this.regexp.fast_slash)return this.params={},this.path="",!0;if(this.regexp.fast_star)return this.params={0:Lq(e)},this.path=e,!0;r=this.regexp.exec(e)}if(!r)return this.params=void 0,this.path=void 0,!1;this.params={},this.path=r[0];for(var n=this.keys,i=this.params,s=1;s{"use strict";var Fq=require("http");qq.exports=lde()||dde();function lde(){return Fq.METHODS&&Fq.METHODS.map(function(e){return e.toLowerCase()})}function dde(){return["get","post","put","head","delete","options","trace","copy","lock","mkcol","move","purge","propfind","proppatch","unlock","report","mkactivity","checkout","merge","m-search","notify","subscribe","unsubscribe","patch","search","connect"]}});var TO=$((jLe,Vq)=>{"use strict";var Hq=_i()("express:router:route"),Bq=Sm(),Zq=kO(),pde=cS(),Wq=Array.prototype.slice,Gq=Object.prototype.toString;Vq.exports=Rl;function Rl(t){this.path=t,this.stack=[],Hq("new %o",t),this.methods={}}Rl.prototype._handles_method=function(e){if(this.methods._all)return!0;var r=typeof e=="string"?e.toLowerCase():e;return r==="head"&&!this.methods.head&&(r="get"),!!this.methods[r]};Rl.prototype._options=function(){var e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push("head");for(var r=0;r100)return setImmediate(c,u);var l=s[i++];if(!l)return n(u);l.method&&l.method!==a?c(u):u?l.handle_error(u,e,r,c):l.handle_request(e,r,c),o=0}};Rl.prototype.all=function(){for(var e=Bq(Wq.call(arguments)),r=0;r{Kq=Jq.exports=function(t,e){if(t&&e)for(var r in e)t[r]=e[r];return t}});var IO=$((zLe,e9)=>{"use strict";var fde=TO(),Xq=kO(),mde=cS(),$O=xm(),uS=_i()("express:router"),Yq=xs()("express"),hde=Sm(),gde=$l(),vde=Vf(),yde=/^\[object (\S+)\]$/,Qq=Array.prototype.slice,_de=Object.prototype.toString,hc=e9.exports=function(t){var e=t||{};function r(n,i,s){r.handle(n,i,s)}return vde(r,hc),r.params={},r._params=[],r.caseSensitive=e.caseSensitive,r.mergeParams=e.mergeParams,r.strict=e.strict,r.stack=[],r};hc.param=function(e,r){if(typeof e=="function"){Yq("router.param(fn): Refactor to use path params"),this._params.push(e);return}var n=this._params,i=n.length,s;e[0]===":"&&(Yq("router.param("+JSON.stringify(e)+", fn): Use router.param("+JSON.stringify(e.slice(1))+", fn) instead"),e=e.slice(1));for(var o=0;o=p.length){setImmediate(g,_);return}if(++u>100)return setImmediate(v,b);var S=Sde(e);if(S==null)return g(_);for(var x,w,E;w!==!0&&s=a.length)return s();if(l=0,d=a[c++],u=d.name,p=n.params[u],f=o[u],m=r[u],p===void 0||!f)return g();if(m&&(m.match===p||m.error&&m.error!=="route"))return n.params[u]=m.value,g(m.error);r[u]=m={error:null,match:p,value:p},v()}function v(y){var b=f[l++];if(m.value=n.params[d.name],y){m.error=y,g(y);return}if(!b)return g();try{b(n,i,v,p,d.name)}catch(_){v(_)}}g()};hc.use=function(e){var r=0,n="/";if(typeof e!="function"){for(var i=e;Array.isArray(i)&&i.length!==0;)i=i[0];typeof i!="function"&&(r=1,n=e)}var s=hde(Qq.call(arguments,r));if(s.length===0)throw new TypeError("Router.use() requires a middleware function");for(var o=0;o");var a=new Xq(n,{sensitive:this.caseSensitive,strict:!1,end:!1},e);a.route=void 0,this.stack.push(a)}return this};hc.route=function(e){var r=new fde(e),n=new Xq(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},r.dispatch.bind(r));return n.route=r,this.stack.push(n),r};mde.concat("all").forEach(function(t){hc[t]=function(e){var r=this.route(e);return r[t].apply(r,Qq.call(arguments,1)),this}});function bde(t,e){for(var r=0;r=0;n--)t[n+i]=t[n],n{"use strict";var t9=Vf();r9.init=function(t){return function(r,n,i){t.enabled("x-powered-by")&&n.setHeader("X-Powered-By","Express"),r.res=n,n.req=r,r.next=i,t9(r,t.request),t9(n,t.response),n.locals=n.locals||Object.create(null),i()}}});var RO=$((ULe,i9)=>{"use strict";var Rde=xm(),Ode=$l(),Cde=iS();i9.exports=function(e){var r=Rde({},e),n=Cde.parse;return typeof e=="function"&&(n=e,r=void 0),r!==void 0&&r.allowPrototypes===void 0&&(r.allowPrototypes=!0),function(s,o,a){if(!s.query){var c=Ode(s).query;s.query=n(c,r)}a()}}});var u9=$((FLe,c9)=>{"use strict";var lS=_i()("express:view"),wm=require("path"),Pde=require("fs"),Ade=wm.dirname,a9=wm.basename,Nde=wm.extname,s9=wm.join,Mde=wm.resolve;c9.exports=dS;function dS(t,e){var r=e||{};if(this.defaultEngine=r.defaultEngine,this.ext=Nde(t),this.name=t,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");var n=t;if(this.ext||(this.ext=this.defaultEngine[0]!=="."?"."+this.defaultEngine:this.defaultEngine,n+=this.ext),!r.engines[this.ext]){var i=this.ext.slice(1);lS('require "%s"',i);var s=require(i).__express;if(typeof s!="function")throw new Error('Module "'+i+'" does not provide a view engine.');r.engines[this.ext]=s}this.engine=r.engines[this.ext],this.path=this.lookup(n)}dS.prototype.lookup=function(e){var r,n=[].concat(this.root);lS('lookup "%s"',e);for(var i=0;i{var pS=require("buffer"),Is=pS.Buffer;function l9(t,e){for(var r in t)e[r]=t[r]}Is.from&&Is.alloc&&Is.allocUnsafe&&Is.allocUnsafeSlow?d9.exports=pS:(l9(pS,OO),OO.Buffer=gc);function gc(t,e,r){return Is(t,e,r)}gc.prototype=Object.create(Is.prototype);l9(Is,gc);gc.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return Is(t,e,r)};gc.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=Is(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};gc.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Is(t)};gc.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return pS.SlowBuffer(t)}});var PO=$((qLe,CO)=>{"use strict";CO.exports=Wde;CO.exports.parse=Jde;var p9=require("path").basename,Dde=fS().Buffer,jde=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,zde=/%[0-9A-Fa-f]{2}/,Lde=/%([0-9A-Fa-f]{2})/g,m9=/[^\x20-\x7e\xa0-\xff]/g,Ude=/\\([\u0000-\u007f])/g,Fde=/([\\"])/g,f9=/;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g,qde=/^[\x20-\x7e\x80-\xff]+$/,Hde=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,Bde=/^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/,Zde=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function Wde(t,e){var r=e||{},n=r.type||"attachment",i=Gde(t,r.fallback);return Vde(new g9(n,i))}function Gde(t,e){if(t!==void 0){var r={};if(typeof t!="string")throw new TypeError("filename must be a string");if(e===void 0&&(e=!0),typeof e!="string"&&typeof e!="boolean")throw new TypeError("fallback must be a string or boolean");if(typeof e=="string"&&m9.test(e))throw new TypeError("fallback must be ISO-8859-1 string");var n=p9(t),i=qde.test(n),s=typeof e!="string"?e&&h9(n):p9(e),o=typeof s=="string"&&s!==n;return(o||!i||zde.test(n))&&(r["filename*"]=n),(i||o)&&(r.filename=o?s:n),r}}function Vde(t){var e=t.parameters,r=t.type;if(!r||typeof r!="string"||!Hde.test(r))throw new TypeError("invalid type");var n=String(r).toLowerCase();if(e&&typeof e=="object")for(var i,s=Object.keys(e).sort(),o=0;o{"use strict";_9.exports=npe;var tpe=require("crypto"),v9=require("fs").Stats,y9=Object.prototype.toString;function rpe(t){if(t.length===0)return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';var e=tpe.createHash("sha1").update(t,"utf8").digest("base64").substring(0,27),r=typeof t=="string"?Buffer.byteLength(t,"utf8"):t.length;return'"'+r.toString(16)+"-"+e+'"'}function npe(t,e){if(t==null)throw new TypeError("argument entity is required");var r=ipe(t),n=e&&typeof e.weak=="boolean"?e.weak:r;if(!r&&typeof t!="string"&&!Buffer.isBuffer(t))throw new TypeError("argument entity must be string, Buffer, or fs.Stats");var i=r?spe(t):rpe(t);return n?"W/"+i:i}function ipe(t){return typeof v9=="function"&&t instanceof v9?!0:t&&typeof t=="object"&&"ctime"in t&&y9.call(t.ctime)==="[object Date]"&&"mtime"in t&&y9.call(t.mtime)==="[object Date]"&&"ino"in t&&typeof t.ino=="number"&&"size"in t&&typeof t.size=="number"}function spe(t){var e=t.mtime.getTime().toString(16),r=t.size.toString(16);return'"'+r+"-"+e+'"'}});var NO=$((BLe,S9)=>{"use strict";var ope=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;S9.exports=ape;function ape(t,e){var r=t["if-modified-since"],n=t["if-none-match"];if(!r&&!n)return!1;var i=t["cache-control"];if(i&&ope.test(i))return!1;if(n&&n!=="*"){var s=e.etag;if(!s)return!1;for(var o=!0,a=cpe(n),c=0;c{upe.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":[],"application/font-woff2":[],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/prs.cww":["cww"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"audio/xm":["xm"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/ktx":["ktx"],"image/png":["png"],"image/prs.btif":["btif"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/webp":["webp"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/prs.lines.tag":["dsc"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/vtt":["vtt"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/webm":["webm"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}});var E9=$((GLe,w9)=>{var WLe=require("path"),lpe=require("fs");function Cl(){this.types=Object.create(null),this.extensions=Object.create(null)}Cl.prototype.define=function(t){for(var e in t){for(var r=t[e],n=0;n{var Pl=1e3,Al=Pl*60,Nl=Al*60,vc=Nl*24,dpe=vc*7,ppe=vc*365.25;k9.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return fpe(t);if(r==="number"&&isFinite(t))return e.long?hpe(t):mpe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function fpe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*ppe;case"weeks":case"week":case"w":return r*dpe;case"days":case"day":case"d":return r*vc;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Nl;case"minutes":case"minute":case"mins":case"min":case"m":return r*Al;case"seconds":case"second":case"secs":case"sec":case"s":return r*Pl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function mpe(t){var e=Math.abs(t);return e>=vc?Math.round(t/vc)+"d":e>=Nl?Math.round(t/Nl)+"h":e>=Al?Math.round(t/Al)+"m":e>=Pl?Math.round(t/Pl)+"s":t+"ms"}function hpe(t){var e=Math.abs(t);return e>=vc?mS(t,e,vc,"day"):e>=Nl?mS(t,e,Nl,"hour"):e>=Al?mS(t,e,Al,"minute"):e>=Pl?mS(t,e,Pl,"second"):t+" ms"}function mS(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var MO=$((KLe,$9)=>{"use strict";$9.exports=gpe;function gpe(t,e,r){if(typeof e!="string")throw new TypeError("argument str must be a string");var n=e.indexOf("=");if(n===-1)return-2;var i=e.slice(n+1).split(","),s=[];s.type=e.slice(0,n);for(var o=0;ot-1&&(u=t-1),!(isNaN(c)||isNaN(u)||c>u||c<0)&&s.push({start:c,end:u})}return s.length<1?-1:r&&r.combine?vpe(s):s}function vpe(t){for(var e=t.map(ype).sort(Spe),r=0,n=1;ns.end+1?e[++r]=i:i.end>s.end&&(s.end=i.end,s.index=Math.min(s.index,i.index))}e.length=r+1;var o=e.sort(bpe).map(_pe);return o.type=t.type,o}function ype(t,e){return{start:t.start,end:t.end,index:e}}function _pe(t){return{start:t.start,end:t.end}}function bpe(t,e){return t.index-e.index}function Spe(t,e){return t.start-e.start}});var yS=$((JLe,FO)=>{"use strict";var DO=sc(),Yt=_i()("send"),yc=xs()("send"),xpe=fR(),wpe=_m(),O9=bm(),Epe=AO(),kpe=NO(),gS=require("fs"),zO=E9(),C9=T9(),Tpe=im(),$pe=MO(),Em=require("path"),Ipe=Kf(),P9=require("stream"),Rpe=require("util"),Ope=Em.extname,A9=Em.join,jO=Em.normalize,UO=Em.resolve,hS=Em.sep,Cpe=/^ *bytes=/,N9=3600*24*365*1e3,I9=/(?:^|[\\/])\.\.(?:[\\/]|$)/;FO.exports=Ppe;FO.exports.mime=zO;function Ppe(t,e,r){return new St(t,e,r)}function St(t,e,r){P9.call(this);var n=r||{};if(this.options=n,this.path=e,this.req=t,this._acceptRanges=n.acceptRanges!==void 0?!!n.acceptRanges:!0,this._cacheControl=n.cacheControl!==void 0?!!n.cacheControl:!0,this._etag=n.etag!==void 0?!!n.etag:!0,this._dotfiles=n.dotfiles!==void 0?n.dotfiles:"ignore",this._dotfiles!=="ignore"&&this._dotfiles!=="allow"&&this._dotfiles!=="deny")throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"');this._hidden=!!n.hidden,n.hidden!==void 0&&yc("hidden: use dotfiles: '"+(this._hidden?"allow":"ignore")+"' instead"),n.dotfiles===void 0&&(this._dotfiles=void 0),this._extensions=n.extensions!==void 0?LO(n.extensions,"extensions option"):[],this._immutable=n.immutable!==void 0?!!n.immutable:!1,this._index=n.index!==void 0?LO(n.index,"index option"):["index.html"],this._lastModified=n.lastModified!==void 0?!!n.lastModified:!0,this._maxage=n.maxAge||n.maxage,this._maxage=typeof this._maxage=="string"?C9(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),N9),this._root=n.root?UO(n.root):null,!this._root&&n.from&&this.from(n.from)}Rpe.inherits(St,P9);St.prototype.etag=yc.function(function(e){return this._etag=!!e,Yt("etag %s",this._etag),this},"send.etag: pass etag as option");St.prototype.hidden=yc.function(function(e){return this._hidden=!!e,this._dotfiles=void 0,Yt("hidden %s",this._hidden),this},"send.hidden: use dotfiles option");St.prototype.index=yc.function(function(e){var r=e?LO(e,"paths argument"):[];return Yt("index %o",e),this._index=r,this},"send.index: pass index as option");St.prototype.root=function(e){return this._root=UO(String(e)),Yt("root %s",this._root),this};St.prototype.from=yc.function(St.prototype.root,"send.from: pass root as option");St.prototype.root=yc.function(St.prototype.root,"send.root: pass root as option");St.prototype.maxage=yc.function(function(e){return this._maxage=typeof e=="string"?C9(e):Number(e),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),N9),Yt("max-age %d",this._maxage),this},"send.maxage: pass maxAge as option");St.prototype.error=function(e,r){if(D9(this,"error"))return this.emit("error",Dpe(e,r));var n=this.res,i=Ipe.message[e]||String(e),s=M9("Error",O9(i));Ape(n),r&&r.headers&&Fpe(n,r.headers),n.statusCode=e,n.setHeader("Content-Type","text/html; charset=UTF-8"),n.setHeader("Content-Length",Buffer.byteLength(s)),n.setHeader("Content-Security-Policy","default-src 'none'"),n.setHeader("X-Content-Type-Options","nosniff"),n.end(s)};St.prototype.hasTrailingSlash=function(){return this.path[this.path.length-1]==="/"};St.prototype.isConditionalGET=function(){return this.req.headers["if-match"]||this.req.headers["if-unmodified-since"]||this.req.headers["if-none-match"]||this.req.headers["if-modified-since"]};St.prototype.isPreconditionFailure=function(){var e=this.req,r=this.res,n=e.headers["if-match"];if(n){var i=r.getHeader("ETag");return!i||n!=="*"&&Upe(n).every(function(a){return a!==i&&a!=="W/"+i&&"W/"+a!==i})}var s=vS(e.headers["if-unmodified-since"]);if(!isNaN(s)){var o=vS(r.getHeader("Last-Modified"));return isNaN(o)||o>s}return!1};St.prototype.removeContentHeaderFields=function(){var e=this.res;e.removeHeader("Content-Encoding"),e.removeHeader("Content-Language"),e.removeHeader("Content-Length"),e.removeHeader("Content-Range"),e.removeHeader("Content-Type")};St.prototype.notModified=function(){var e=this.res;Yt("not modified"),this.removeContentHeaderFields(),e.statusCode=304,e.end()};St.prototype.headersAlreadySent=function(){var e=new Error("Can't set headers after they are sent.");Yt("headers already sent"),this.error(500,e)};St.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||e===304};St.prototype.onStatError=function(e){switch(e.code){case"ENAMETOOLONG":case"ENOENT":case"ENOTDIR":this.error(404,e);break;default:this.error(500,e);break}};St.prototype.isFresh=function(){return kpe(this.req.headers,{etag:this.res.getHeader("ETag"),"last-modified":this.res.getHeader("Last-Modified")})};St.prototype.isRangeFresh=function(){var e=this.req.headers["if-range"];if(!e)return!0;if(e.indexOf('"')!==-1){var r=this.res.getHeader("ETag");return!!(r&&e.indexOf(r)!==-1)}var n=this.res.getHeader("Last-Modified");return vS(n)<=vS(e)};St.prototype.redirect=function(e){var r=this.res;if(D9(this,"directory")){this.emit("directory",r,e);return}if(this.hasTrailingSlash()){this.error(403);return}var n=wpe(Npe(this.path+"/")),i=M9("Redirecting","Redirecting to "+O9(n));r.statusCode=301,r.setHeader("Content-Type","text/html; charset=UTF-8"),r.setHeader("Content-Length",Buffer.byteLength(i)),r.setHeader("Content-Security-Policy","default-src 'none'"),r.setHeader("X-Content-Type-Options","nosniff"),r.setHeader("Location",n),r.end(i)};St.prototype.pipe=function(e){var r=this._root;this.res=e;var n=jpe(this.path);if(n===-1)return this.error(400),e;if(~n.indexOf("\0"))return this.error(400),e;var i;if(r!==null){if(n&&(n=jO("."+hS+n)),I9.test(n))return Yt('malicious path "%s"',n),this.error(403),e;i=n.split(hS),n=jO(A9(r,n))}else{if(I9.test(n))return Yt('malicious path "%s"',n),this.error(403),e;i=jO(n).split(hS),n=UO(n)}if(Mpe(i)){var s=this._dotfiles;switch(s===void 0&&(s=i[i.length-1][0]==="."?this._hidden?"allow":"ignore":"allow"),Yt('%s dotfile "%s"',s,n),s){case"allow":break;case"deny":return this.error(403),e;default:return this.error(404),e}}return this._index.length&&this.hasTrailingSlash()?(this.sendIndex(n),e):(this.sendFile(n),e)};St.prototype.send=function(e,r){var n=r.size,i=this.options,s={},o=this.res,a=this.req,c=a.headers.range,u=i.start||0;if(Lpe(o)){this.headersAlreadySent();return}if(Yt('pipe "%s"',e),this.setHeader(e,r),this.type(e),this.isConditionalGET()){if(this.isPreconditionFailure()){this.error(412);return}if(this.isCachable()&&this.isFresh()){this.notModified();return}}if(n=Math.max(0,n-u),i.end!==void 0){var l=i.end-u+1;n>l&&(n=l)}if(this._acceptRanges&&Cpe.test(c)){if(c=$pe(n,c,{combine:!0}),this.isRangeFresh()||(Yt("range stale"),c=-2),c===-1)return Yt("range unsatisfiable"),o.setHeader("Content-Range",R9("bytes",n)),this.error(416,{headers:{"Content-Range":o.getHeader("Content-Range")}});c!==-2&&c.length===1&&(Yt("range %j",c),o.statusCode=206,o.setHeader("Content-Range",R9("bytes",n,c[0])),u+=c[0].start,n=c[0].end-c[0].start+1)}for(var d in i)s[d]=i[d];if(s.start=u,s.end=Math.max(u,u+n-1),o.setHeader("Content-Length",n),a.method==="HEAD"){o.end();return}this.stream(e,s)};St.prototype.sendFile=function(e){var r=0,n=this;Yt('stat "%s"',e),gS.stat(e,function(o,a){if(o&&o.code==="ENOENT"&&!Ope(e)&&e[e.length-1]!==hS)return i(o);if(o)return n.onStatError(o);if(a.isDirectory())return n.redirect(e);n.emit("file",e,a),n.send(e,a)});function i(s){if(n._extensions.length<=r)return s?n.onStatError(s):n.error(404);var o=e+"."+n._extensions[r++];Yt('stat "%s"',o),gS.stat(o,function(a,c){if(a)return i(a);if(c.isDirectory())return i();n.emit("file",o,c),n.send(o,c)})}};St.prototype.sendIndex=function(e){var r=-1,n=this;function i(s){if(++r>=n._index.length)return s?n.onStatError(s):n.error(404);var o=A9(e,n._index[r]);Yt('stat "%s"',o),gS.stat(o,function(a,c){if(a)return i(a);if(c.isDirectory())return i();n.emit("file",o,c),n.send(o,c)})}i()};St.prototype.stream=function(e,r){var n=this,i=this.res,s=gS.createReadStream(e,r);this.emit("stream",s),s.pipe(i);function o(){xpe(s,!0)}Tpe(i,o),s.on("error",function(c){o(),n.onStatError(c)}),s.on("end",function(){n.emit("end")})};St.prototype.type=function(e){var r=this.res;if(!r.getHeader("Content-Type")){var n=zO.lookup(e);if(!n){Yt("no content-type");return}var i=zO.charsets.lookup(n);Yt("content-type %s",n),r.setHeader("Content-Type",n+(i?"; charset="+i:""))}};St.prototype.setHeader=function(e,r){var n=this.res;if(this.emit("headers",n,e,r),this._acceptRanges&&!n.getHeader("Accept-Ranges")&&(Yt("accept ranges"),n.setHeader("Accept-Ranges","bytes")),this._cacheControl&&!n.getHeader("Cache-Control")){var i="public, max-age="+Math.floor(this._maxage/1e3);this._immutable&&(i+=", immutable"),Yt("cache-control %s",i),n.setHeader("Cache-Control",i)}if(this._lastModified&&!n.getHeader("Last-Modified")){var s=r.mtime.toUTCString();Yt("modified %s",s),n.setHeader("Last-Modified",s)}if(this._etag&&!n.getHeader("ETag")){var o=Epe(r);Yt("etag %s",o),n.setHeader("ETag",o)}};function Ape(t){for(var e=zpe(t),r=0;r