directus-extension-texttoanything 1.4.2 → 1.5.1

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/api.js CHANGED
@@ -105,55 +105,55 @@ var Pg,qg,Fg,Lg,Bg,Ng,Ug=wg,Ig=Rg;function Dg(e,a){var i,n,t=a,o=function(e){if(
105
105
  * body-parser
106
106
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
107
107
  * MIT Licensed
108
- */function Gg(){if(Ng)return Bg;Ng=1;var e=Cv(),a=Rv,i=eb.exports("body-parser:text"),n=gg(),t=yg.exports;return Bg=function(o){var s=o||{},r=s.defaultCharset||"utf-8",c=!1!==s.inflate,p="number"!=typeof s.limit?e.parse(s.limit||"100kb"):s.limit,l=s.type||"text/plain",u=s.verify||!1;if(!1!==u&&"function"!=typeof u)throw new TypeError("option verify must be function");var d="function"!=typeof l?function(e){return function(a){return Boolean(t(a,e))}}(l):l;function m(e){return e}return function(e,o,s){if(e._body)return i("body already parsed"),void s();if(e.body=e.body||{},!t.hasBody(e))return i("skip empty body"),void s();if(i("content-type %j",e.headers["content-type"]),!d(e))return i("skip parsing"),void s();var l=function(e){try{return(a.parse(e).parameters.charset||"").toLowerCase()}catch(e){return}}(e)||r;n(e,o,s,m,i,{encoding:l,inflate:c,limit:p,verify:u})}},Bg}yg.exports=function(e,a){var i=a;if(!Mg(e))return null;if(arguments.length>2){i=new Array(arguments.length-1);for(var n=0;n<i.length;n++)i[n]=arguments[n+1]}var t=e.headers["content-type"];return Dg(t,i)},yg.exports.is=Dg,yg.exports.hasBody=Mg,yg.exports.normalize=$g,yg.exports.match=Hg;var Kg=TypeError,Jg=t.inspect,Zg="function"==typeof Map&&Map.prototype,Yg=Object.getOwnPropertyDescriptor&&Zg?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Xg=Zg&&Yg&&"function"==typeof Yg.get?Yg.get:null,Qg=Zg&&Map.prototype.forEach,ey="function"==typeof Set&&Set.prototype,ay=Object.getOwnPropertyDescriptor&&ey?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,iy=ey&&ay&&"function"==typeof ay.get?ay.get:null,ny=ey&&Set.prototype.forEach,ty="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,oy="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,sy="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ry=Boolean.prototype.valueOf,cy=Object.prototype.toString,py=Function.prototype.toString,ly=String.prototype.match,uy=String.prototype.slice,dy=String.prototype.replace,my=String.prototype.toUpperCase,fy=String.prototype.toLowerCase,hy=RegExp.prototype.test,xy=Array.prototype.concat,vy=Array.prototype.join,by=Array.prototype.slice,gy=Math.floor,yy="function"==typeof BigInt?BigInt.prototype.valueOf:null,wy=Object.getOwnPropertySymbols,ky="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,jy="function"==typeof Symbol&&"object"==typeof Symbol.iterator,_y="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===jy||"symbol")?Symbol.toStringTag:null,Sy=Object.prototype.propertyIsEnumerable,Ey=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Ty(e,a){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||hy.call(/e/,a))return a;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-gy(-e):gy(e);if(n!==e){var t=String(n),o=uy.call(a,t.length+1);return dy.call(t,i,"$&_")+"."+dy.call(dy.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return dy.call(a,i,"$&_")}var Oy=Jg,Ay=Oy.custom,Cy=Uy(Ay)?Ay:null,Ry={__proto__:null,double:'"',single:"'"},zy={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Py=function e(a,i,n,t){var o=i||{};if(Dy(o,"quoteStyle")&&!Dy(Ry,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Dy(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!Dy(o,"customInspect")||o.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Dy(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Dy(o,"numericSeparator")&&"boolean"!=typeof o.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var r=o.numericSeparator;if(void 0===a)return"undefined";if(null===a)return"null";if("boolean"==typeof a)return a?"true":"false";if("string"==typeof a)return Hy(a,o);if("number"==typeof a){if(0===a)return 1/0/a>0?"0":"-0";var c=String(a);return r?Ty(a,c):c}if("bigint"==typeof a){var p=String(a)+"n";return r?Ty(a,p):p}var l=void 0===o.depth?5:o.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof a)return By(a)?"[Array]":"[Object]";var u=function(e,a){var i;if("\t"===e.indent)i="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;i=vy.call(Array(e.indent+1)," ")}return{base:i,prev:vy.call(Array(a+1),i)}}(o,n);if(void 0===t)t=[];else if($y(t,a)>=0)return"[Circular]";function d(a,i,s){if(i&&(t=by.call(t)).push(i),s){var r={depth:o.depth};return Dy(o,"quoteStyle")&&(r.quoteStyle=o.quoteStyle),e(a,r,n+1,t)}return e(a,o,n+1,t)}if("function"==typeof a&&!Ny(a)){var m=function(e){if(e.name)return e.name;var a=ly.call(py.call(e),/^function\s*([\w$]+)/);if(a)return a[1];return null}(a),f=Zy(a,d);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(f.length>0?" { "+vy.call(f,", ")+" }":"")}if(Uy(a)){var h=jy?dy.call(String(a),/^(Symbol\(.*\))_[^)]*$/,"$1"):ky.call(a);return"object"!=typeof a||jy?h:Wy(h)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(a)){for(var x="<"+fy.call(String(a.nodeName)),v=a.attributes||[],g=0;g<v.length;g++)x+=" "+v[g].name+"="+qy(Fy(v[g].value),"double",o);return x+=">",a.childNodes&&a.childNodes.length&&(x+="..."),x+="</"+fy.call(String(a.nodeName))+">"}if(By(a)){if(0===a.length)return"[]";var y=Zy(a,d);return u&&!function(e){for(var a=0;a<e.length;a++)if($y(e[a],"\n")>=0)return!1;return!0}(y)?"["+Jy(y,u)+"]":"[ "+vy.call(y,", ")+" ]"}if(function(e){return"[object Error]"===My(e)&&Ly(e)}(a)){var w=Zy(a,d);return"cause"in Error.prototype||!("cause"in a)||Sy.call(a,"cause")?0===w.length?"["+String(a)+"]":"{ ["+String(a)+"] "+vy.call(w,", ")+" }":"{ ["+String(a)+"] "+vy.call(xy.call("[cause]: "+d(a.cause),w),", ")+" }"}if("object"==typeof a&&s){if(Cy&&"function"==typeof a[Cy]&&Oy)return Oy(a,{depth:l-n});if("symbol"!==s&&"function"==typeof a.inspect)return a.inspect()}if(function(e){if(!Xg||!e||"object"!=typeof e)return!1;try{Xg.call(e);try{iy.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(a)){var k=[];return Qg&&Qg.call(a,(function(e,i){k.push(d(i,a,!0)+" => "+d(e,a))})),Ky("Map",Xg.call(a),k,u)}if(function(e){if(!iy||!e||"object"!=typeof e)return!1;try{iy.call(e);try{Xg.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(a)){var j=[];return ny&&ny.call(a,(function(e){j.push(d(e,a))})),Ky("Set",iy.call(a),j,u)}if(function(e){if(!ty||!e||"object"!=typeof e)return!1;try{ty.call(e,ty);try{oy.call(e,oy)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(a))return Gy("WeakMap");if(function(e){if(!oy||!e||"object"!=typeof e)return!1;try{oy.call(e,oy);try{ty.call(e,ty)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(a))return Gy("WeakSet");if(function(e){if(!sy||!e||"object"!=typeof e)return!1;try{return sy.call(e),!0}catch(e){}return!1}(a))return Gy("WeakRef");if(function(e){return"[object Number]"===My(e)&&Ly(e)}(a))return Wy(d(Number(a)));if(function(e){if(!e||"object"!=typeof e||!yy)return!1;try{return yy.call(e),!0}catch(e){}return!1}(a))return Wy(d(yy.call(a)));if(function(e){return"[object Boolean]"===My(e)&&Ly(e)}(a))return Wy(ry.call(a));if(function(e){return"[object String]"===My(e)&&Ly(e)}(a))return Wy(d(String(a)));if("undefined"!=typeof window&&a===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&a===globalThis||void 0!==b&&a===b)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===My(e)&&Ly(e)}(a)&&!Ny(a)){var _=Zy(a,d),S=Ey?Ey(a)===Object.prototype:a instanceof Object||a.constructor===Object,E=a instanceof Object?"":"null prototype",T=!S&&_y&&Object(a)===a&&_y in a?uy.call(My(a),8,-1):E?"Object":"",O=(S||"function"!=typeof a.constructor?"":a.constructor.name?a.constructor.name+" ":"")+(T||E?"["+vy.call(xy.call([],T||[],E||[]),": ")+"] ":"");return 0===_.length?O+"{}":u?O+"{"+Jy(_,u)+"}":O+"{ "+vy.call(_,", ")+" }"}return String(a)};function qy(e,a,i){var n=i.quoteStyle||a,t=Ry[n];return t+e+t}function Fy(e){return dy.call(String(e),/"/g,"&quot;")}function Ly(e){return!_y||!("object"==typeof e&&(_y in e||void 0!==e[_y]))}function By(e){return"[object Array]"===My(e)&&Ly(e)}function Ny(e){return"[object RegExp]"===My(e)&&Ly(e)}function Uy(e){if(jy)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!ky)return!1;try{return ky.call(e),!0}catch(e){}return!1}var Iy=Object.prototype.hasOwnProperty||function(e){return e in this};function Dy(e,a){return Iy.call(e,a)}function My(e){return cy.call(e)}function $y(e,a){if(e.indexOf)return e.indexOf(a);for(var i=0,n=e.length;i<n;i++)if(e[i]===a)return i;return-1}function Hy(e,a){if(e.length>a.maxStringLength){var i=e.length-a.maxStringLength,n="... "+i+" more character"+(i>1?"s":"");return Hy(uy.call(e,0,a.maxStringLength),a)+n}var t=zy[a.quoteStyle||"single"];return t.lastIndex=0,qy(dy.call(dy.call(e,t,"\\$1"),/[\x00-\x1f]/g,Vy),"single",a)}function Vy(e){var a=e.charCodeAt(0),i={8:"b",9:"t",10:"n",12:"f",13:"r"}[a];return i?"\\"+i:"\\x"+(a<16?"0":"")+my.call(a.toString(16))}function Wy(e){return"Object("+e+")"}function Gy(e){return e+" { ? }"}function Ky(e,a,i,n){return e+" ("+a+") {"+(n?Jy(i,n):vy.call(i,", "))+"}"}function Jy(e,a){if(0===e.length)return"";var i="\n"+a.prev+a.base;return i+vy.call(e,","+i)+"\n"+a.prev}function Zy(e,a){var i=By(e),n=[];if(i){n.length=e.length;for(var t=0;t<e.length;t++)n[t]=Dy(e,t)?a(e[t],e):""}var o,s="function"==typeof wy?wy(e):[];if(jy){o={};for(var r=0;r<s.length;r++)o["$"+s[r]]=s[r]}for(var c in e)Dy(e,c)&&(i&&String(Number(c))===c&&c<e.length||jy&&o["$"+c]instanceof Symbol||(hy.call(/[^\w$]/,c)?n.push(a(c,e)+": "+a(e[c],e)):n.push(c+": "+a(e[c],e))));if("function"==typeof wy)for(var p=0;p<s.length;p++)Sy.call(e,s[p])&&n.push("["+a(s[p])+"]: "+a(e[s[p]],e));return n}var Yy=Py,Xy=Kg,Qy=function(e,a,i){for(var n,t=e;null!=(n=t.next);t=n)if(n.key===a)return t.next=n.next,i||(n.next=e.next,e.next=n),n},ew=Object,aw=Error,iw=EvalError,nw=RangeError,tw=ReferenceError,ow=SyntaxError,sw=URIError,rw=Math.abs,cw=Math.floor,pw=Math.max,lw=Math.min,uw=Math.pow,dw=Math.round,mw=Number.isNaN||function(e){return e!=e},fw=Object.getOwnPropertyDescriptor;if(fw)try{fw([],"length")}catch(e){fw=null}var hw=fw,xw=Object.defineProperty||!1;if(xw)try{xw({},"a",{value:1})}catch(e){xw=!1}var vw,bw,gw,yw,ww,kw,jw,_w,Sw,Ew,Tw,Ow,Aw=xw;function Cw(){return kw?ww:(kw=1,ww="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function Rw(){return _w?jw:(_w=1,jw=ew.getPrototypeOf||null)}function zw(){if(Ew)return Sw;Ew=1;var e=Object.prototype.toString,a=Math.max,i=function(e,a){for(var i=[],n=0;n<e.length;n+=1)i[n]=e[n];for(var t=0;t<a.length;t+=1)i[t+e.length]=a[t];return i};return Sw=function(n){var t=this;if("function"!=typeof t||"[object Function]"!==e.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var o,s=function(e,a){for(var i=[],n=a||0,t=0;n<e.length;n+=1,t+=1)i[t]=e[n];return i}(arguments,1),r=a(0,t.length-s.length),c=[],p=0;p<r;p++)c[p]="$"+p;if(o=Function("binder","return function ("+function(e,a){for(var i="",n=0;n<e.length;n+=1)i+=e[n],n+1<e.length&&(i+=a);return i}(c,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var e=t.apply(this,i(s,arguments));return Object(e)===e?e:this}return t.apply(n,i(s,arguments))})),t.prototype){var l=function(){};l.prototype=t.prototype,o.prototype=new l,l.prototype=null}return o},Sw}function Pw(){if(Ow)return Tw;Ow=1;var e=zw();return Tw=Function.prototype.bind||e}var qw,Fw,Lw=Function.prototype.call;function Bw(){return Fw?qw:(Fw=1,qw=Function.prototype.apply)}var Nw,Uw,Iw,Dw,Mw,$w,Hw,Vw="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,Ww=Pw(),Gw=Bw(),Kw=Lw,Jw=Vw||Ww.call(Kw,Gw),Zw=Pw(),Yw=Kg,Xw=Lw,Qw=Jw,ek=function(e){if(e.length<1||"function"!=typeof e[0])throw new Yw("a function is required");return Qw(Zw,Xw,e)};var ak=ew,ik=aw,nk=iw,tk=nw,ok=tw,sk=ow,rk=Kg,ck=sw,pk=rw,lk=cw,uk=pw,dk=lw,mk=uw,fk=dw,hk=function(e){return mw(e)||0===e?e:e<0?-1:1},xk=Function,vk=function(e){try{return xk('"use strict"; return ('+e+").constructor;")()}catch(e){}},bk=hw,gk=Aw,yk=function(){throw new rk},wk=bk?function(){try{return yk}catch(e){try{return bk(arguments,"callee").get}catch(e){return yk}}}():yk,kk=function(){if(yw)return gw;yw=1;var e="undefined"!=typeof Symbol&&Symbol,a=bw?vw:(bw=1,vw=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},a=Symbol("test"),i=Object(a);if("string"==typeof a)return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;if("[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(var n in e[a]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var t=Object.getOwnPropertySymbols(e);if(1!==t.length||t[0]!==a)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,a))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,a);if(42!==o.value||!0!==o.enumerable)return!1}return!0});return gw=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&a())))}}()(),jk=function(){if(Dw)return Iw;Dw=1;var e=Cw(),a=Rw(),i=function(){if(Uw)return Nw;Uw=1;var e,a=ek,i=hw;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&i&&i(Object.prototype,"__proto__"),t=Object,o=t.getPrototypeOf;return Nw=n&&"function"==typeof n.get?a([n.get]):"function"==typeof o&&function(e){return o(null==e?e:t(e))}}();return Iw=e?function(a){return e(a)}:a?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return a(e)}:i?function(e){return i(e)}:null}(),_k=Rw(),Sk=Cw(),Ek=Bw(),Tk=Lw,Ok={},Ak="undefined"!=typeof Uint8Array&&jk?jk(Uint8Array):Hw,Ck={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Hw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Hw:ArrayBuffer,"%ArrayIteratorPrototype%":kk&&jk?jk([][Symbol.iterator]()):Hw,"%AsyncFromSyncIteratorPrototype%":Hw,"%AsyncFunction%":Ok,"%AsyncGenerator%":Ok,"%AsyncGeneratorFunction%":Ok,"%AsyncIteratorPrototype%":Ok,"%Atomics%":"undefined"==typeof Atomics?Hw:Atomics,"%BigInt%":"undefined"==typeof BigInt?Hw:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Hw:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Hw:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Hw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ik,"%eval%":eval,"%EvalError%":nk,"%Float16Array%":"undefined"==typeof Float16Array?Hw:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?Hw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Hw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Hw:FinalizationRegistry,"%Function%":xk,"%GeneratorFunction%":Ok,"%Int8Array%":"undefined"==typeof Int8Array?Hw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Hw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Hw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":kk&&jk?jk(jk([][Symbol.iterator]())):Hw,"%JSON%":"object"==typeof JSON?JSON:Hw,"%Map%":"undefined"==typeof Map?Hw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&kk&&jk?jk((new Map)[Symbol.iterator]()):Hw,"%Math%":Math,"%Number%":Number,"%Object%":ak,"%Object.getOwnPropertyDescriptor%":bk,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Hw:Promise,"%Proxy%":"undefined"==typeof Proxy?Hw:Proxy,"%RangeError%":tk,"%ReferenceError%":ok,"%Reflect%":"undefined"==typeof Reflect?Hw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Hw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&kk&&jk?jk((new Set)[Symbol.iterator]()):Hw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Hw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":kk&&jk?jk(""[Symbol.iterator]()):Hw,"%Symbol%":kk?Symbol:Hw,"%SyntaxError%":sk,"%ThrowTypeError%":wk,"%TypedArray%":Ak,"%TypeError%":rk,"%Uint8Array%":"undefined"==typeof Uint8Array?Hw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Hw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Hw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Hw:Uint32Array,"%URIError%":ck,"%WeakMap%":"undefined"==typeof WeakMap?Hw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Hw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Hw:WeakSet,"%Function.prototype.call%":Tk,"%Function.prototype.apply%":Ek,"%Object.defineProperty%":gk,"%Object.getPrototypeOf%":_k,"%Math.abs%":pk,"%Math.floor%":lk,"%Math.max%":uk,"%Math.min%":dk,"%Math.pow%":mk,"%Math.round%":fk,"%Math.sign%":hk,"%Reflect.getPrototypeOf%":Sk};if(jk)try{null.error}catch(e){var Rk=jk(jk(e));Ck["%Error.prototype%"]=Rk}var zk,Pk,qk=function e(a){var i;if("%AsyncFunction%"===a)i=vk("async function () {}");else if("%GeneratorFunction%"===a)i=vk("function* () {}");else if("%AsyncGeneratorFunction%"===a)i=vk("async function* () {}");else if("%AsyncGenerator%"===a){var n=e("%AsyncGeneratorFunction%");n&&(i=n.prototype)}else if("%AsyncIteratorPrototype%"===a){var t=e("%AsyncGenerator%");t&&jk&&(i=jk(t.prototype))}return Ck[a]=i,i},Fk={__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"]},Lk=Pw(),Bk=function(){if($w)return Mw;$w=1;var e=Function.prototype.call,a=Object.prototype.hasOwnProperty,i=Pw();return Mw=i.call(e,a)}(),Nk=Lk.call(Tk,Array.prototype.concat),Uk=Lk.call(Ek,Array.prototype.splice),Ik=Lk.call(Tk,String.prototype.replace),Dk=Lk.call(Tk,String.prototype.slice),Mk=Lk.call(Tk,RegExp.prototype.exec),$k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Hk=/\\(\\)?/g,Vk=function(e,a){var i,n=e;if(Bk(Fk,n)&&(n="%"+(i=Fk[n])[0]+"%"),Bk(Ck,n)){var t=Ck[n];if(t===Ok&&(t=qk(n)),void 0===t&&!a)throw new rk("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:t}}throw new sk("intrinsic "+e+" does not exist!")},Wk=function(e,a){if("string"!=typeof e||0===e.length)throw new rk("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof a)throw new rk('"allowMissing" argument must be a boolean');if(null===Mk(/^%?[^%]*%?$/,e))throw new sk("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=function(e){var a=Dk(e,0,1),i=Dk(e,-1);if("%"===a&&"%"!==i)throw new sk("invalid intrinsic syntax, expected closing `%`");if("%"===i&&"%"!==a)throw new sk("invalid intrinsic syntax, expected opening `%`");var n=[];return Ik(e,$k,(function(e,a,i,t){n[n.length]=i?Ik(t,Hk,"$1"):a||e})),n}(e),n=i.length>0?i[0]:"",t=Vk("%"+n+"%",a),o=t.name,s=t.value,r=!1,c=t.alias;c&&(n=c[0],Uk(i,Nk([0,1],c)));for(var p=1,l=!0;p<i.length;p+=1){var u=i[p],d=Dk(u,0,1),m=Dk(u,-1);if(('"'===d||"'"===d||"`"===d||'"'===m||"'"===m||"`"===m)&&d!==m)throw new sk("property names with quotes must have matching quotes");if("constructor"!==u&&l||(r=!0),Bk(Ck,o="%"+(n+="."+u)+"%"))s=Ck[o];else if(null!=s){if(!(u in s)){if(!a)throw new rk("base intrinsic for "+e+" exists, but the property is not available.");return}if(bk&&p+1>=i.length){var f=bk(s,u);s=(l=!!f)&&"get"in f&&!("originalValue"in f.get)?f.get:s[u]}else l=Bk(s,u),s=s[u];l&&!r&&(Ck[o]=s)}}return s},Gk=Wk,Kk=ek,Jk=Kk([Gk("%String.prototype.indexOf%")]),Zk=function(e,a){var i=Gk(e,!!a);return"function"==typeof i&&Jk(e,".prototype.")>-1?Kk([i]):i},Yk=Zk,Xk=Py,Qk=Kg,ej=Wk("%Map%",!0),aj=Yk("Map.prototype.get",!0),ij=Yk("Map.prototype.set",!0),nj=Yk("Map.prototype.has",!0),tj=Yk("Map.prototype.delete",!0),oj=Yk("Map.prototype.size",!0),sj=!!ej&&function(){var e,a={assert:function(e){if(!a.has(e))throw new Qk("Side channel does not contain "+Xk(e))},delete:function(a){if(e){var i=tj(e,a);return 0===oj(e)&&(e=void 0),i}return!1},get:function(a){if(e)return aj(e,a)},has:function(a){return!!e&&nj(e,a)},set:function(a,i){e||(e=new ej),ij(e,a,i)}};return a},rj=Zk,cj=Py,pj=sj,lj=Kg,uj=Wk("%WeakMap%",!0),dj=rj("WeakMap.prototype.get",!0),mj=rj("WeakMap.prototype.set",!0),fj=rj("WeakMap.prototype.has",!0),hj=rj("WeakMap.prototype.delete",!0),xj=Kg,vj=Py,bj=function(){var e,a={assert:function(e){if(!a.has(e))throw new Xy("Side channel does not contain "+Yy(e))},delete:function(a){var i=e&&e.next,n=function(e,a){if(e)return Qy(e,a,!0)}(e,a);return n&&i&&i===n&&(e=void 0),!!n},get:function(a){return function(e,a){if(e){var i=Qy(e,a);return i&&i.value}}(e,a)},has:function(a){return function(e,a){return!!e&&!!Qy(e,a)}(e,a)},set:function(a,i){e||(e={next:void 0}),function(e,a,i){var n=Qy(e,a);n?n.value=i:e.next={key:a,next:e.next,value:i}}(e,a,i)}};return a},gj=(uj?function(){var e,a,i={assert:function(e){if(!i.has(e))throw new lj("Side channel does not contain "+cj(e))},delete:function(i){if(uj&&i&&("object"==typeof i||"function"==typeof i)){if(e)return hj(e,i)}else if(pj&&a)return a.delete(i);return!1},get:function(i){return uj&&i&&("object"==typeof i||"function"==typeof i)&&e?dj(e,i):a&&a.get(i)},has:function(i){return uj&&i&&("object"==typeof i||"function"==typeof i)&&e?fj(e,i):!!a&&a.has(i)},set:function(i,n){uj&&i&&("object"==typeof i||"function"==typeof i)?(e||(e=new uj),mj(e,i,n)):pj&&(a||(a=pj()),a.set(i,n))}};return i}:pj)||sj||bj,yj=String.prototype.replace,wj=/%20/g,kj="RFC3986",jj={default:kj,formatters:{RFC1738:function(e){return yj.call(e,wj,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:kj},_j=jj,Sj=Object.prototype.hasOwnProperty,Ej=Array.isArray,Tj=function(){for(var e=[],a=0;a<256;++a)e.push("%"+((a<16?"0":"")+a.toString(16)).toUpperCase());return e}(),Oj=function(e,a){for(var i=a&&a.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(i[n]=e[n]);return i},Aj={arrayToObject:Oj,assign:function(e,a){return Object.keys(a).reduce((function(e,i){return e[i]=a[i],e}),e)},combine:function(e,a){return[].concat(e,a)},compact:function(e){for(var a=[{obj:{o:e},prop:"o"}],i=[],n=0;n<a.length;++n)for(var t=a[n],o=t.obj[t.prop],s=Object.keys(o),r=0;r<s.length;++r){var c=s[r],p=o[c];"object"==typeof p&&null!==p&&-1===i.indexOf(p)&&(a.push({obj:o,prop:c}),i.push(p))}return function(e){for(;e.length>1;){var a=e.pop(),i=a.obj[a.prop];if(Ej(i)){for(var n=[],t=0;t<i.length;++t)void 0!==i[t]&&n.push(i[t]);a.obj[a.prop]=n}}}(a),e},decode:function(e,a,i){var n=e.replace(/\+/g," ");if("iso-8859-1"===i)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,a,i,n,t){if(0===e.length)return e;var o=e;if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===i)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",r=0;r<o.length;++r){var c=o.charCodeAt(r);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||t===_j.RFC1738&&(40===c||41===c)?s+=o.charAt(r):c<128?s+=Tj[c]:c<2048?s+=Tj[192|c>>6]+Tj[128|63&c]:c<55296||c>=57344?s+=Tj[224|c>>12]+Tj[128|c>>6&63]+Tj[128|63&c]:(r+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(r)),s+=Tj[240|c>>18]+Tj[128|c>>12&63]+Tj[128|c>>6&63]+Tj[128|63&c])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,a){if(Ej(e)){for(var i=[],n=0;n<e.length;n+=1)i.push(a(e[n]));return i}return a(e)},merge:function e(a,i,n){if(!i)return a;if("object"!=typeof i){if(Ej(a))a.push(i);else{if(!a||"object"!=typeof a)return[a,i];(n&&(n.plainObjects||n.allowPrototypes)||!Sj.call(Object.prototype,i))&&(a[i]=!0)}return a}if(!a||"object"!=typeof a)return[a].concat(i);var t=a;return Ej(a)&&!Ej(i)&&(t=Oj(a,n)),Ej(a)&&Ej(i)?(i.forEach((function(i,t){if(Sj.call(a,t)){var o=a[t];o&&"object"==typeof o&&i&&"object"==typeof i?a[t]=e(o,i,n):a.push(i)}else a[t]=i})),a):Object.keys(i).reduce((function(a,t){var o=i[t];return Sj.call(a,t)?a[t]=e(a[t],o,n):a[t]=o,a}),t)}},Cj=function(){var e,a={assert:function(e){if(!a.has(e))throw new xj("Side channel does not contain "+vj(e))},delete:function(a){return!!e&&e.delete(a)},get:function(a){return e&&e.get(a)},has:function(a){return!!e&&e.has(a)},set:function(a,i){e||(e=gj()),e.set(a,i)}};return a},Rj=Aj,zj=jj,Pj=Object.prototype.hasOwnProperty,qj={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,a){return e+"["+a+"]"},repeat:function(e){return e}},Fj=Array.isArray,Lj=String.prototype.split,Bj=Array.prototype.push,Nj=function(e,a){Bj.apply(e,Fj(a)?a:[a])},Uj=Date.prototype.toISOString,Ij=zj.default,Dj={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Rj.encode,encodeValuesOnly:!1,format:Ij,formatter:zj.formatters[Ij],indices:!1,serializeDate:function(e){return Uj.call(e)},skipNulls:!1,strictNullHandling:!1},Mj={},$j=function e(a,i,n,t,o,s,r,c,p,l,u,d,m,f,h,x){for(var v,b=a,g=x,y=0,w=!1;void 0!==(g=g.get(Mj))&&!w;){var k=g.get(a);if(y+=1,void 0!==k){if(k===y)throw new RangeError("Cyclic object value");w=!0}void 0===g.get(Mj)&&(y=0)}if("function"==typeof c?b=c(i,b):b instanceof Date?b=u(b):"comma"===n&&Fj(b)&&(b=Rj.maybeMap(b,(function(e){return e instanceof Date?u(e):e}))),null===b){if(o)return r&&!f?r(i,Dj.encoder,h,"key",d):i;b=""}if("string"==typeof(v=b)||"number"==typeof v||"boolean"==typeof v||"symbol"==typeof v||"bigint"==typeof v||Rj.isBuffer(b)){if(r){var j=f?i:r(i,Dj.encoder,h,"key",d);if("comma"===n&&f){for(var _=Lj.call(String(b),","),S="",E=0;E<_.length;++E)S+=(0===E?"":",")+m(r(_[E],Dj.encoder,h,"value",d));return[m(j)+(t&&Fj(b)&&1===_.length?"[]":"")+"="+S]}return[m(j)+"="+m(r(b,Dj.encoder,h,"value",d))]}return[m(i)+"="+m(String(b))]}var T,O=[];if(void 0===b)return O;if("comma"===n&&Fj(b))T=[{value:b.length>0?b.join(",")||null:void 0}];else if(Fj(c))T=c;else{var A=Object.keys(b);T=p?A.sort(p):A}for(var C=t&&Fj(b)&&1===b.length?i+"[]":i,R=0;R<T.length;++R){var z=T[R],P="object"==typeof z&&void 0!==z.value?z.value:b[z];if(!s||null!==P){var q=Fj(b)?"function"==typeof n?n(C,z):C:C+(l?"."+z:"["+z+"]");x.set(a,y);var F=Cj();F.set(Mj,x),Nj(O,e(P,q,n,t,o,s,r,c,p,l,u,d,m,f,h,F))}}return O},Hj=Aj,Vj=Object.prototype.hasOwnProperty,Wj=Array.isArray,Gj={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Hj.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Kj=function(e){return e.replace(/&#(\d+);/g,(function(e,a){return String.fromCharCode(parseInt(a,10))}))},Jj=function(e,a){return e&&"string"==typeof e&&a.comma&&e.indexOf(",")>-1?e.split(","):e},Zj=function(e,a,i,n){if(e){var t=i.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,s=i.depth>0&&/(\[[^[\]]*])/.exec(t),r=s?t.slice(0,s.index):t,c=[];if(r){if(!i.plainObjects&&Vj.call(Object.prototype,r)&&!i.allowPrototypes)return;c.push(r)}for(var p=0;i.depth>0&&null!==(s=o.exec(t))&&p<i.depth;){if(p+=1,!i.plainObjects&&Vj.call(Object.prototype,s[1].slice(1,-1))&&!i.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+t.slice(s.index)+"]"),function(e,a,i,n){for(var t=n?a:Jj(a,i),o=e.length-1;o>=0;--o){var s,r=e[o];if("[]"===r&&i.parseArrays)s=[].concat(t);else{s=i.plainObjects?Object.create(null):{};var c="["===r.charAt(0)&&"]"===r.charAt(r.length-1)?r.slice(1,-1):r,p=parseInt(c,10);i.parseArrays||""!==c?!isNaN(p)&&r!==c&&String(p)===c&&p>=0&&i.parseArrays&&p<=i.arrayLimit?(s=[])[p]=t:"__proto__"!==c&&(s[c]=t):s={0:t}}t=s}return t}(c,a,i,n)}},Yj=function(e,a){var i,n=e,t=function(e){if(!e)return Dj;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var a=e.charset||Dj.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var i=zj.default;if(void 0!==e.format){if(!Pj.call(zj.formatters,e.format))throw new TypeError("Unknown format option provided.");i=e.format}var n=zj.formatters[i],t=Dj.filter;return("function"==typeof e.filter||Fj(e.filter))&&(t=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:Dj.addQueryPrefix,allowDots:void 0===e.allowDots?Dj.allowDots:!!e.allowDots,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Dj.charsetSentinel,delimiter:void 0===e.delimiter?Dj.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:Dj.encode,encoder:"function"==typeof e.encoder?e.encoder:Dj.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:Dj.encodeValuesOnly,filter:t,format:i,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:Dj.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:Dj.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Dj.strictNullHandling}}(a);"function"==typeof t.filter?n=(0,t.filter)("",n):Fj(t.filter)&&(i=t.filter);var o,s=[];if("object"!=typeof n||null===n)return"";o=a&&a.arrayFormat in qj?a.arrayFormat:a&&"indices"in a?a.indices?"indices":"repeat":"indices";var r=qj[o];if(a&&"commaRoundTrip"in a&&"boolean"!=typeof a.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c="comma"===r&&a&&a.commaRoundTrip;i||(i=Object.keys(n)),t.sort&&i.sort(t.sort);for(var p=Cj(),l=0;l<i.length;++l){var u=i[l];t.skipNulls&&null===n[u]||Nj(s,$j(n[u],u,r,c,t.strictNullHandling,t.skipNulls,t.encode?t.encoder:null,t.filter,t.sort,t.allowDots,t.serializeDate,t.format,t.formatter,t.encodeValuesOnly,t.charset,p))}var d=s.join(t.delimiter),m=!0===t.addQueryPrefix?"?":"";return t.charsetSentinel&&("iso-8859-1"===t.charset?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),d.length>0?m+d:""},Xj=function(e,a){var i=function(e){if(!e)return Gj;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=void 0===e.charset?Gj.charset:e.charset;return{allowDots:void 0===e.allowDots?Gj.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:Gj.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:Gj.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:Gj.arrayLimit,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Gj.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:Gj.comma,decoder:"function"==typeof e.decoder?e.decoder:Gj.decoder,delimiter:"string"==typeof e.delimiter||Hj.isRegExp(e.delimiter)?e.delimiter:Gj.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:Gj.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:Gj.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:Gj.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:Gj.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Gj.strictNullHandling}}(a);if(""===e||null==e)return i.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,a){var i,n={},t=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=a.parameterLimit===1/0?void 0:a.parameterLimit,s=t.split(a.delimiter,o),r=-1,c=a.charset;if(a.charsetSentinel)for(i=0;i<s.length;++i)0===s[i].indexOf("utf8=")&&("utf8=%E2%9C%93"===s[i]?c="utf-8":"utf8=%26%2310003%3B"===s[i]&&(c="iso-8859-1"),r=i,i=s.length);for(i=0;i<s.length;++i)if(i!==r){var p,l,u=s[i],d=u.indexOf("]="),m=-1===d?u.indexOf("="):d+1;-1===m?(p=a.decoder(u,Gj.decoder,c,"key"),l=a.strictNullHandling?null:""):(p=a.decoder(u.slice(0,m),Gj.decoder,c,"key"),l=Hj.maybeMap(Jj(u.slice(m+1),a),(function(e){return a.decoder(e,Gj.decoder,c,"value")}))),l&&a.interpretNumericEntities&&"iso-8859-1"===c&&(l=Kj(l)),u.indexOf("[]=")>-1&&(l=Wj(l)?[l]:l),Vj.call(n,p)?n[p]=Hj.combine(n[p],l):n[p]=l}return n}(e,i):e,t=i.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s<o.length;++s){var r=o[s],c=Zj(r,n[r],i,"string"==typeof e);t=Hj.merge(t,c,i)}return!0===i.allowSparse?t:Hj.compact(t)},Qj={formats:jj,parse:Xj,stringify:Yj};function e_(){if(Pk)return zk;Pk=1;var e=Cv(),a=Rv,i=Iv.exports,n=eb.exports("body-parser:urlencoded"),t=mv("body-parser"),o=gg(),s=yg.exports;zk=function(r){var l=r||{};void 0===l.extended&&t("undefined extended: provide extended option");var u=!1!==l.extended,d=!1!==l.inflate,m="number"!=typeof l.limit?e.parse(l.limit||"100kb"):l.limit,f=l.type||"application/x-www-form-urlencoded",h=l.verify||!1;if(!1!==h&&"function"!=typeof h)throw new TypeError("option verify must be function");var x=u?function(e){var a=void 0!==e.parameterLimit?e.parameterLimit:1e3,t=p("qs");if(isNaN(a)||a<1)throw new TypeError("option parameterLimit must be a positive number");isFinite(a)&&(a|=0);return function(e){var o=c(e,a);if(void 0===o)throw n("too many parameters"),i(413,"too many parameters",{type:"parameters.too.many"});var s=Math.max(100,o);return n("parse extended urlencoding"),t(e,{allowPrototypes:!0,arrayLimit:s,depth:1/0,parameterLimit:a})}}(l):function(e){var a=void 0!==e.parameterLimit?e.parameterLimit:1e3,t=p("querystring");if(isNaN(a)||a<1)throw new TypeError("option parameterLimit must be a positive number");isFinite(a)&&(a|=0);return function(e){if(void 0===c(e,a))throw n("too many parameters"),i(413,"too many parameters",{type:"parameters.too.many"});return n("parse urlencoding"),t(e,void 0,void 0,{maxKeys:a})}}(l),v="function"!=typeof f?function(e){return function(a){return Boolean(s(a,e))}}(f):f;function b(e){return e.length?x(e):{}}return function(e,t,r){if(e._body)return n("body already parsed"),void r();if(e.body=e.body||{},!s.hasBody(e))return n("skip empty body"),void r();if(n("content-type %j",e.headers["content-type"]),!v(e))return n("skip parsing"),void r();var c=function(e){try{return(a.parse(e).parameters.charset||"").toLowerCase()}catch(e){return}}(e)||"utf-8";if("utf-8"!==c)return n("invalid charset"),void r(i(415,'unsupported charset "'+c.toUpperCase()+'"',{charset:c,type:"charset.unsupported"}));o(e,t,r,b,n,{debug:n,encoding:c,inflate:d,limit:m,verify:h})}};var r=Object.create(null);function c(e,a){for(var i=0,n=0;-1!==(n=e.indexOf("&",n));)if(n++,++i===a)return;return i}function p(e){var a=r[e];if(void 0!==a)return a.parse;switch(e){case"qs":a=Qj;break;case"querystring":a=v}return r[e]=a,a.parse}return zk}
108
+ */function Gg(){if(Ng)return Bg;Ng=1;var e=Cv(),a=Rv,i=eb.exports("body-parser:text"),n=gg(),t=yg.exports;return Bg=function(o){var s=o||{},r=s.defaultCharset||"utf-8",c=!1!==s.inflate,p="number"!=typeof s.limit?e.parse(s.limit||"100kb"):s.limit,l=s.type||"text/plain",u=s.verify||!1;if(!1!==u&&"function"!=typeof u)throw new TypeError("option verify must be function");var d="function"!=typeof l?function(e){return function(a){return Boolean(t(a,e))}}(l):l;function m(e){return e}return function(e,o,s){if(e._body)return i("body already parsed"),void s();if(e.body=e.body||{},!t.hasBody(e))return i("skip empty body"),void s();if(i("content-type %j",e.headers["content-type"]),!d(e))return i("skip parsing"),void s();var l=function(e){try{return(a.parse(e).parameters.charset||"").toLowerCase()}catch(e){return}}(e)||r;n(e,o,s,m,i,{encoding:l,inflate:c,limit:p,verify:u})}},Bg}yg.exports=function(e,a){var i=a;if(!Mg(e))return null;if(arguments.length>2){i=new Array(arguments.length-1);for(var n=0;n<i.length;n++)i[n]=arguments[n+1]}var t=e.headers["content-type"];return Dg(t,i)},yg.exports.is=Dg,yg.exports.hasBody=Mg,yg.exports.normalize=$g,yg.exports.match=Hg;var Kg=TypeError,Jg=t.inspect,Zg="function"==typeof Map&&Map.prototype,Yg=Object.getOwnPropertyDescriptor&&Zg?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Xg=Zg&&Yg&&"function"==typeof Yg.get?Yg.get:null,Qg=Zg&&Map.prototype.forEach,ey="function"==typeof Set&&Set.prototype,ay=Object.getOwnPropertyDescriptor&&ey?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,iy=ey&&ay&&"function"==typeof ay.get?ay.get:null,ny=ey&&Set.prototype.forEach,ty="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,oy="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,sy="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ry=Boolean.prototype.valueOf,cy=Object.prototype.toString,py=Function.prototype.toString,ly=String.prototype.match,uy=String.prototype.slice,dy=String.prototype.replace,my=String.prototype.toUpperCase,fy=String.prototype.toLowerCase,hy=RegExp.prototype.test,xy=Array.prototype.concat,vy=Array.prototype.join,by=Array.prototype.slice,gy=Math.floor,yy="function"==typeof BigInt?BigInt.prototype.valueOf:null,wy=Object.getOwnPropertySymbols,ky="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,jy="function"==typeof Symbol&&"object"==typeof Symbol.iterator,_y="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===jy||"symbol")?Symbol.toStringTag:null,Sy=Object.prototype.propertyIsEnumerable,Ey=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Ty(e,a){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||hy.call(/e/,a))return a;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-gy(-e):gy(e);if(n!==e){var t=String(n),o=uy.call(a,t.length+1);return dy.call(t,i,"$&_")+"."+dy.call(dy.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return dy.call(a,i,"$&_")}var Oy=Jg,Ay=Oy.custom,Cy=Uy(Ay)?Ay:null,Ry={__proto__:null,double:'"',single:"'"},zy={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Py=function e(a,i,n,t){var o=i||{};if(Dy(o,"quoteStyle")&&!Dy(Ry,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Dy(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!Dy(o,"customInspect")||o.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Dy(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Dy(o,"numericSeparator")&&"boolean"!=typeof o.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var r=o.numericSeparator;if(void 0===a)return"undefined";if(null===a)return"null";if("boolean"==typeof a)return a?"true":"false";if("string"==typeof a)return Hy(a,o);if("number"==typeof a){if(0===a)return 1/0/a>0?"0":"-0";var c=String(a);return r?Ty(a,c):c}if("bigint"==typeof a){var p=String(a)+"n";return r?Ty(a,p):p}var l=void 0===o.depth?5:o.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof a)return By(a)?"[Array]":"[Object]";var u=function(e,a){var i;if("\t"===e.indent)i="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;i=vy.call(Array(e.indent+1)," ")}return{base:i,prev:vy.call(Array(a+1),i)}}(o,n);if(void 0===t)t=[];else if($y(t,a)>=0)return"[Circular]";function d(a,i,s){if(i&&(t=by.call(t)).push(i),s){var r={depth:o.depth};return Dy(o,"quoteStyle")&&(r.quoteStyle=o.quoteStyle),e(a,r,n+1,t)}return e(a,o,n+1,t)}if("function"==typeof a&&!Ny(a)){var m=function(e){if(e.name)return e.name;var a=ly.call(py.call(e),/^function\s*([\w$]+)/);if(a)return a[1];return null}(a),f=Zy(a,d);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(f.length>0?" { "+vy.call(f,", ")+" }":"")}if(Uy(a)){var h=jy?dy.call(String(a),/^(Symbol\(.*\))_[^)]*$/,"$1"):ky.call(a);return"object"!=typeof a||jy?h:Wy(h)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(a)){for(var x="<"+fy.call(String(a.nodeName)),v=a.attributes||[],g=0;g<v.length;g++)x+=" "+v[g].name+"="+qy(Fy(v[g].value),"double",o);return x+=">",a.childNodes&&a.childNodes.length&&(x+="..."),x+="</"+fy.call(String(a.nodeName))+">"}if(By(a)){if(0===a.length)return"[]";var y=Zy(a,d);return u&&!function(e){for(var a=0;a<e.length;a++)if($y(e[a],"\n")>=0)return!1;return!0}(y)?"["+Jy(y,u)+"]":"[ "+vy.call(y,", ")+" ]"}if(function(e){return"[object Error]"===My(e)&&Ly(e)}(a)){var w=Zy(a,d);return"cause"in Error.prototype||!("cause"in a)||Sy.call(a,"cause")?0===w.length?"["+String(a)+"]":"{ ["+String(a)+"] "+vy.call(w,", ")+" }":"{ ["+String(a)+"] "+vy.call(xy.call("[cause]: "+d(a.cause),w),", ")+" }"}if("object"==typeof a&&s){if(Cy&&"function"==typeof a[Cy]&&Oy)return Oy(a,{depth:l-n});if("symbol"!==s&&"function"==typeof a.inspect)return a.inspect()}if(function(e){if(!Xg||!e||"object"!=typeof e)return!1;try{Xg.call(e);try{iy.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(a)){var k=[];return Qg&&Qg.call(a,(function(e,i){k.push(d(i,a,!0)+" => "+d(e,a))})),Ky("Map",Xg.call(a),k,u)}if(function(e){if(!iy||!e||"object"!=typeof e)return!1;try{iy.call(e);try{Xg.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(a)){var j=[];return ny&&ny.call(a,(function(e){j.push(d(e,a))})),Ky("Set",iy.call(a),j,u)}if(function(e){if(!ty||!e||"object"!=typeof e)return!1;try{ty.call(e,ty);try{oy.call(e,oy)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(a))return Gy("WeakMap");if(function(e){if(!oy||!e||"object"!=typeof e)return!1;try{oy.call(e,oy);try{ty.call(e,ty)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(a))return Gy("WeakSet");if(function(e){if(!sy||!e||"object"!=typeof e)return!1;try{return sy.call(e),!0}catch(e){}return!1}(a))return Gy("WeakRef");if(function(e){return"[object Number]"===My(e)&&Ly(e)}(a))return Wy(d(Number(a)));if(function(e){if(!e||"object"!=typeof e||!yy)return!1;try{return yy.call(e),!0}catch(e){}return!1}(a))return Wy(d(yy.call(a)));if(function(e){return"[object Boolean]"===My(e)&&Ly(e)}(a))return Wy(ry.call(a));if(function(e){return"[object String]"===My(e)&&Ly(e)}(a))return Wy(d(String(a)));if("undefined"!=typeof window&&a===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&a===globalThis||void 0!==b&&a===b)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===My(e)&&Ly(e)}(a)&&!Ny(a)){var _=Zy(a,d),S=Ey?Ey(a)===Object.prototype:a instanceof Object||a.constructor===Object,E=a instanceof Object?"":"null prototype",T=!S&&_y&&Object(a)===a&&_y in a?uy.call(My(a),8,-1):E?"Object":"",O=(S||"function"!=typeof a.constructor?"":a.constructor.name?a.constructor.name+" ":"")+(T||E?"["+vy.call(xy.call([],T||[],E||[]),": ")+"] ":"");return 0===_.length?O+"{}":u?O+"{"+Jy(_,u)+"}":O+"{ "+vy.call(_,", ")+" }"}return String(a)};function qy(e,a,i){var n=i.quoteStyle||a,t=Ry[n];return t+e+t}function Fy(e){return dy.call(String(e),/"/g,"&quot;")}function Ly(e){return!_y||!("object"==typeof e&&(_y in e||void 0!==e[_y]))}function By(e){return"[object Array]"===My(e)&&Ly(e)}function Ny(e){return"[object RegExp]"===My(e)&&Ly(e)}function Uy(e){if(jy)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!ky)return!1;try{return ky.call(e),!0}catch(e){}return!1}var Iy=Object.prototype.hasOwnProperty||function(e){return e in this};function Dy(e,a){return Iy.call(e,a)}function My(e){return cy.call(e)}function $y(e,a){if(e.indexOf)return e.indexOf(a);for(var i=0,n=e.length;i<n;i++)if(e[i]===a)return i;return-1}function Hy(e,a){if(e.length>a.maxStringLength){var i=e.length-a.maxStringLength,n="... "+i+" more character"+(i>1?"s":"");return Hy(uy.call(e,0,a.maxStringLength),a)+n}var t=zy[a.quoteStyle||"single"];return t.lastIndex=0,qy(dy.call(dy.call(e,t,"\\$1"),/[\x00-\x1f]/g,Vy),"single",a)}function Vy(e){var a=e.charCodeAt(0),i={8:"b",9:"t",10:"n",12:"f",13:"r"}[a];return i?"\\"+i:"\\x"+(a<16?"0":"")+my.call(a.toString(16))}function Wy(e){return"Object("+e+")"}function Gy(e){return e+" { ? }"}function Ky(e,a,i,n){return e+" ("+a+") {"+(n?Jy(i,n):vy.call(i,", "))+"}"}function Jy(e,a){if(0===e.length)return"";var i="\n"+a.prev+a.base;return i+vy.call(e,","+i)+"\n"+a.prev}function Zy(e,a){var i=By(e),n=[];if(i){n.length=e.length;for(var t=0;t<e.length;t++)n[t]=Dy(e,t)?a(e[t],e):""}var o,s="function"==typeof wy?wy(e):[];if(jy){o={};for(var r=0;r<s.length;r++)o["$"+s[r]]=s[r]}for(var c in e)Dy(e,c)&&(i&&String(Number(c))===c&&c<e.length||jy&&o["$"+c]instanceof Symbol||(hy.call(/[^\w$]/,c)?n.push(a(c,e)+": "+a(e[c],e)):n.push(c+": "+a(e[c],e))));if("function"==typeof wy)for(var p=0;p<s.length;p++)Sy.call(e,s[p])&&n.push("["+a(s[p])+"]: "+a(e[s[p]],e));return n}var Yy=Py,Xy=Kg,Qy=function(e,a,i){for(var n,t=e;null!=(n=t.next);t=n)if(n.key===a)return t.next=n.next,i||(n.next=e.next,e.next=n),n},ew=Object,aw=Error,iw=EvalError,nw=RangeError,tw=ReferenceError,ow=SyntaxError,sw=URIError,rw=Math.abs,cw=Math.floor,pw=Math.max,lw=Math.min,uw=Math.pow,dw=Math.round,mw=Number.isNaN||function(e){return e!=e},fw=Object.getOwnPropertyDescriptor;if(fw)try{fw([],"length")}catch(e){fw=null}var hw=fw,xw=Object.defineProperty||!1;if(xw)try{xw({},"a",{value:1})}catch(e){xw=!1}var vw,bw,gw,yw,ww,kw,jw,_w,Sw,Ew,Tw,Ow,Aw,Cw,Rw,zw,Pw=xw;function qw(){return kw?ww:(kw=1,ww="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function Fw(){return _w?jw:(_w=1,jw=ew.getPrototypeOf||null)}function Lw(){if(Ew)return Sw;Ew=1;var e=Object.prototype.toString,a=Math.max,i=function(e,a){for(var i=[],n=0;n<e.length;n+=1)i[n]=e[n];for(var t=0;t<a.length;t+=1)i[t+e.length]=a[t];return i};return Sw=function(n){var t=this;if("function"!=typeof t||"[object Function]"!==e.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var o,s=function(e,a){for(var i=[],n=a||0,t=0;n<e.length;n+=1,t+=1)i[t]=e[n];return i}(arguments,1),r=a(0,t.length-s.length),c=[],p=0;p<r;p++)c[p]="$"+p;if(o=Function("binder","return function ("+function(e,a){for(var i="",n=0;n<e.length;n+=1)i+=e[n],n+1<e.length&&(i+=a);return i}(c,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var e=t.apply(this,i(s,arguments));return Object(e)===e?e:this}return t.apply(n,i(s,arguments))})),t.prototype){var l=function(){};l.prototype=t.prototype,o.prototype=new l,l.prototype=null}return o},Sw}function Bw(){if(Ow)return Tw;Ow=1;var e=Lw();return Tw=Function.prototype.bind||e}function Nw(){return Cw?Aw:(Cw=1,Aw=Function.prototype.call)}function Uw(){return zw?Rw:(zw=1,Rw=Function.prototype.apply)}var Iw,Dw,Mw,$w,Hw,Vw,Ww,Gw="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,Kw=Bw(),Jw=Uw(),Zw=Nw(),Yw=Gw||Kw.call(Zw,Jw),Xw=Bw(),Qw=Kg,ek=Nw(),ak=Yw,ik=function(e){if(e.length<1||"function"!=typeof e[0])throw new Qw("a function is required");return ak(Xw,ek,e)};var nk=ew,tk=aw,ok=iw,sk=nw,rk=tw,ck=ow,pk=Kg,lk=sw,uk=rw,dk=cw,mk=pw,fk=lw,hk=uw,xk=dw,vk=function(e){return mw(e)||0===e?e:e<0?-1:1},bk=Function,gk=function(e){try{return bk('"use strict"; return ('+e+").constructor;")()}catch(e){}},yk=hw,wk=Pw,kk=function(){throw new pk},jk=yk?function(){try{return kk}catch(e){try{return yk(arguments,"callee").get}catch(e){return kk}}}():kk,_k=function(){if(yw)return gw;yw=1;var e="undefined"!=typeof Symbol&&Symbol,a=bw?vw:(bw=1,vw=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},a=Symbol("test"),i=Object(a);if("string"==typeof a)return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;if("[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(var n in e[a]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var t=Object.getOwnPropertySymbols(e);if(1!==t.length||t[0]!==a)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,a))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,a);if(42!==o.value||!0!==o.enumerable)return!1}return!0});return gw=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&a())))}}()(),Sk=function(){if($w)return Mw;$w=1;var e=qw(),a=Fw(),i=function(){if(Dw)return Iw;Dw=1;var e,a=ik,i=hw;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&i&&i(Object.prototype,"__proto__"),t=Object,o=t.getPrototypeOf;return Iw=n&&"function"==typeof n.get?a([n.get]):"function"==typeof o&&function(e){return o(null==e?e:t(e))}}();return Mw=e?function(a){return e(a)}:a?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return a(e)}:i?function(e){return i(e)}:null}(),Ek=Fw(),Tk=qw(),Ok=Uw(),Ak=Nw(),Ck={},Rk="undefined"!=typeof Uint8Array&&Sk?Sk(Uint8Array):Ww,zk={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Ww:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Ww:ArrayBuffer,"%ArrayIteratorPrototype%":_k&&Sk?Sk([][Symbol.iterator]()):Ww,"%AsyncFromSyncIteratorPrototype%":Ww,"%AsyncFunction%":Ck,"%AsyncGenerator%":Ck,"%AsyncGeneratorFunction%":Ck,"%AsyncIteratorPrototype%":Ck,"%Atomics%":"undefined"==typeof Atomics?Ww:Atomics,"%BigInt%":"undefined"==typeof BigInt?Ww:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Ww:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Ww:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Ww:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":tk,"%eval%":eval,"%EvalError%":ok,"%Float16Array%":"undefined"==typeof Float16Array?Ww:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?Ww:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Ww:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Ww:FinalizationRegistry,"%Function%":bk,"%GeneratorFunction%":Ck,"%Int8Array%":"undefined"==typeof Int8Array?Ww:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Ww:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Ww:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_k&&Sk?Sk(Sk([][Symbol.iterator]())):Ww,"%JSON%":"object"==typeof JSON?JSON:Ww,"%Map%":"undefined"==typeof Map?Ww:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&_k&&Sk?Sk((new Map)[Symbol.iterator]()):Ww,"%Math%":Math,"%Number%":Number,"%Object%":nk,"%Object.getOwnPropertyDescriptor%":yk,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Ww:Promise,"%Proxy%":"undefined"==typeof Proxy?Ww:Proxy,"%RangeError%":sk,"%ReferenceError%":rk,"%Reflect%":"undefined"==typeof Reflect?Ww:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Ww:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&_k&&Sk?Sk((new Set)[Symbol.iterator]()):Ww,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Ww:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_k&&Sk?Sk(""[Symbol.iterator]()):Ww,"%Symbol%":_k?Symbol:Ww,"%SyntaxError%":ck,"%ThrowTypeError%":jk,"%TypedArray%":Rk,"%TypeError%":pk,"%Uint8Array%":"undefined"==typeof Uint8Array?Ww:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Ww:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Ww:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Ww:Uint32Array,"%URIError%":lk,"%WeakMap%":"undefined"==typeof WeakMap?Ww:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Ww:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Ww:WeakSet,"%Function.prototype.call%":Ak,"%Function.prototype.apply%":Ok,"%Object.defineProperty%":wk,"%Object.getPrototypeOf%":Ek,"%Math.abs%":uk,"%Math.floor%":dk,"%Math.max%":mk,"%Math.min%":fk,"%Math.pow%":hk,"%Math.round%":xk,"%Math.sign%":vk,"%Reflect.getPrototypeOf%":Tk};if(Sk)try{null.error}catch(e){var Pk=Sk(Sk(e));zk["%Error.prototype%"]=Pk}var qk,Fk,Lk=function e(a){var i;if("%AsyncFunction%"===a)i=gk("async function () {}");else if("%GeneratorFunction%"===a)i=gk("function* () {}");else if("%AsyncGeneratorFunction%"===a)i=gk("async function* () {}");else if("%AsyncGenerator%"===a){var n=e("%AsyncGeneratorFunction%");n&&(i=n.prototype)}else if("%AsyncIteratorPrototype%"===a){var t=e("%AsyncGenerator%");t&&Sk&&(i=Sk(t.prototype))}return zk[a]=i,i},Bk={__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"]},Nk=Bw(),Uk=function(){if(Vw)return Hw;Vw=1;var e=Function.prototype.call,a=Object.prototype.hasOwnProperty,i=Bw();return Hw=i.call(e,a)}(),Ik=Nk.call(Ak,Array.prototype.concat),Dk=Nk.call(Ok,Array.prototype.splice),Mk=Nk.call(Ak,String.prototype.replace),$k=Nk.call(Ak,String.prototype.slice),Hk=Nk.call(Ak,RegExp.prototype.exec),Vk=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Wk=/\\(\\)?/g,Gk=function(e,a){var i,n=e;if(Uk(Bk,n)&&(n="%"+(i=Bk[n])[0]+"%"),Uk(zk,n)){var t=zk[n];if(t===Ck&&(t=Lk(n)),void 0===t&&!a)throw new pk("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:t}}throw new ck("intrinsic "+e+" does not exist!")},Kk=function(e,a){if("string"!=typeof e||0===e.length)throw new pk("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof a)throw new pk('"allowMissing" argument must be a boolean');if(null===Hk(/^%?[^%]*%?$/,e))throw new ck("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=function(e){var a=$k(e,0,1),i=$k(e,-1);if("%"===a&&"%"!==i)throw new ck("invalid intrinsic syntax, expected closing `%`");if("%"===i&&"%"!==a)throw new ck("invalid intrinsic syntax, expected opening `%`");var n=[];return Mk(e,Vk,(function(e,a,i,t){n[n.length]=i?Mk(t,Wk,"$1"):a||e})),n}(e),n=i.length>0?i[0]:"",t=Gk("%"+n+"%",a),o=t.name,s=t.value,r=!1,c=t.alias;c&&(n=c[0],Dk(i,Ik([0,1],c)));for(var p=1,l=!0;p<i.length;p+=1){var u=i[p],d=$k(u,0,1),m=$k(u,-1);if(('"'===d||"'"===d||"`"===d||'"'===m||"'"===m||"`"===m)&&d!==m)throw new ck("property names with quotes must have matching quotes");if("constructor"!==u&&l||(r=!0),Uk(zk,o="%"+(n+="."+u)+"%"))s=zk[o];else if(null!=s){if(!(u in s)){if(!a)throw new pk("base intrinsic for "+e+" exists, but the property is not available.");return}if(yk&&p+1>=i.length){var f=yk(s,u);s=(l=!!f)&&"get"in f&&!("originalValue"in f.get)?f.get:s[u]}else l=Uk(s,u),s=s[u];l&&!r&&(zk[o]=s)}}return s},Jk=Kk,Zk=ik,Yk=Zk([Jk("%String.prototype.indexOf%")]),Xk=function(e,a){var i=Jk(e,!!a);return"function"==typeof i&&Yk(e,".prototype.")>-1?Zk([i]):i},Qk=Xk,ej=Py,aj=Kg,ij=Kk("%Map%",!0),nj=Qk("Map.prototype.get",!0),tj=Qk("Map.prototype.set",!0),oj=Qk("Map.prototype.has",!0),sj=Qk("Map.prototype.delete",!0),rj=Qk("Map.prototype.size",!0),cj=!!ij&&function(){var e,a={assert:function(e){if(!a.has(e))throw new aj("Side channel does not contain "+ej(e))},delete:function(a){if(e){var i=sj(e,a);return 0===rj(e)&&(e=void 0),i}return!1},get:function(a){if(e)return nj(e,a)},has:function(a){return!!e&&oj(e,a)},set:function(a,i){e||(e=new ij),tj(e,a,i)}};return a},pj=Xk,lj=Py,uj=cj,dj=Kg,mj=Kk("%WeakMap%",!0),fj=pj("WeakMap.prototype.get",!0),hj=pj("WeakMap.prototype.set",!0),xj=pj("WeakMap.prototype.has",!0),vj=pj("WeakMap.prototype.delete",!0),bj=Kg,gj=Py,yj=function(){var e,a={assert:function(e){if(!a.has(e))throw new Xy("Side channel does not contain "+Yy(e))},delete:function(a){var i=e&&e.next,n=function(e,a){if(e)return Qy(e,a,!0)}(e,a);return n&&i&&i===n&&(e=void 0),!!n},get:function(a){return function(e,a){if(e){var i=Qy(e,a);return i&&i.value}}(e,a)},has:function(a){return function(e,a){return!!e&&!!Qy(e,a)}(e,a)},set:function(a,i){e||(e={next:void 0}),function(e,a,i){var n=Qy(e,a);n?n.value=i:e.next={key:a,next:e.next,value:i}}(e,a,i)}};return a},wj=(mj?function(){var e,a,i={assert:function(e){if(!i.has(e))throw new dj("Side channel does not contain "+lj(e))},delete:function(i){if(mj&&i&&("object"==typeof i||"function"==typeof i)){if(e)return vj(e,i)}else if(uj&&a)return a.delete(i);return!1},get:function(i){return mj&&i&&("object"==typeof i||"function"==typeof i)&&e?fj(e,i):a&&a.get(i)},has:function(i){return mj&&i&&("object"==typeof i||"function"==typeof i)&&e?xj(e,i):!!a&&a.has(i)},set:function(i,n){mj&&i&&("object"==typeof i||"function"==typeof i)?(e||(e=new mj),hj(e,i,n)):uj&&(a||(a=uj()),a.set(i,n))}};return i}:uj)||cj||yj,kj=String.prototype.replace,jj=/%20/g,_j="RFC3986",Sj={default:_j,formatters:{RFC1738:function(e){return kj.call(e,jj,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:_j},Ej=Sj,Tj=Object.prototype.hasOwnProperty,Oj=Array.isArray,Aj=function(){for(var e=[],a=0;a<256;++a)e.push("%"+((a<16?"0":"")+a.toString(16)).toUpperCase());return e}(),Cj=function(e,a){for(var i=a&&a.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(i[n]=e[n]);return i},Rj={arrayToObject:Cj,assign:function(e,a){return Object.keys(a).reduce((function(e,i){return e[i]=a[i],e}),e)},combine:function(e,a){return[].concat(e,a)},compact:function(e){for(var a=[{obj:{o:e},prop:"o"}],i=[],n=0;n<a.length;++n)for(var t=a[n],o=t.obj[t.prop],s=Object.keys(o),r=0;r<s.length;++r){var c=s[r],p=o[c];"object"==typeof p&&null!==p&&-1===i.indexOf(p)&&(a.push({obj:o,prop:c}),i.push(p))}return function(e){for(;e.length>1;){var a=e.pop(),i=a.obj[a.prop];if(Oj(i)){for(var n=[],t=0;t<i.length;++t)void 0!==i[t]&&n.push(i[t]);a.obj[a.prop]=n}}}(a),e},decode:function(e,a,i){var n=e.replace(/\+/g," ");if("iso-8859-1"===i)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,a,i,n,t){if(0===e.length)return e;var o=e;if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===i)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",r=0;r<o.length;++r){var c=o.charCodeAt(r);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||t===Ej.RFC1738&&(40===c||41===c)?s+=o.charAt(r):c<128?s+=Aj[c]:c<2048?s+=Aj[192|c>>6]+Aj[128|63&c]:c<55296||c>=57344?s+=Aj[224|c>>12]+Aj[128|c>>6&63]+Aj[128|63&c]:(r+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(r)),s+=Aj[240|c>>18]+Aj[128|c>>12&63]+Aj[128|c>>6&63]+Aj[128|63&c])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,a){if(Oj(e)){for(var i=[],n=0;n<e.length;n+=1)i.push(a(e[n]));return i}return a(e)},merge:function e(a,i,n){if(!i)return a;if("object"!=typeof i){if(Oj(a))a.push(i);else{if(!a||"object"!=typeof a)return[a,i];(n&&(n.plainObjects||n.allowPrototypes)||!Tj.call(Object.prototype,i))&&(a[i]=!0)}return a}if(!a||"object"!=typeof a)return[a].concat(i);var t=a;return Oj(a)&&!Oj(i)&&(t=Cj(a,n)),Oj(a)&&Oj(i)?(i.forEach((function(i,t){if(Tj.call(a,t)){var o=a[t];o&&"object"==typeof o&&i&&"object"==typeof i?a[t]=e(o,i,n):a.push(i)}else a[t]=i})),a):Object.keys(i).reduce((function(a,t){var o=i[t];return Tj.call(a,t)?a[t]=e(a[t],o,n):a[t]=o,a}),t)}},zj=function(){var e,a={assert:function(e){if(!a.has(e))throw new bj("Side channel does not contain "+gj(e))},delete:function(a){return!!e&&e.delete(a)},get:function(a){return e&&e.get(a)},has:function(a){return!!e&&e.has(a)},set:function(a,i){e||(e=wj()),e.set(a,i)}};return a},Pj=Rj,qj=Sj,Fj=Object.prototype.hasOwnProperty,Lj={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,a){return e+"["+a+"]"},repeat:function(e){return e}},Bj=Array.isArray,Nj=String.prototype.split,Uj=Array.prototype.push,Ij=function(e,a){Uj.apply(e,Bj(a)?a:[a])},Dj=Date.prototype.toISOString,Mj=qj.default,$j={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Pj.encode,encodeValuesOnly:!1,format:Mj,formatter:qj.formatters[Mj],indices:!1,serializeDate:function(e){return Dj.call(e)},skipNulls:!1,strictNullHandling:!1},Hj={},Vj=function e(a,i,n,t,o,s,r,c,p,l,u,d,m,f,h,x){for(var v,b=a,g=x,y=0,w=!1;void 0!==(g=g.get(Hj))&&!w;){var k=g.get(a);if(y+=1,void 0!==k){if(k===y)throw new RangeError("Cyclic object value");w=!0}void 0===g.get(Hj)&&(y=0)}if("function"==typeof c?b=c(i,b):b instanceof Date?b=u(b):"comma"===n&&Bj(b)&&(b=Pj.maybeMap(b,(function(e){return e instanceof Date?u(e):e}))),null===b){if(o)return r&&!f?r(i,$j.encoder,h,"key",d):i;b=""}if("string"==typeof(v=b)||"number"==typeof v||"boolean"==typeof v||"symbol"==typeof v||"bigint"==typeof v||Pj.isBuffer(b)){if(r){var j=f?i:r(i,$j.encoder,h,"key",d);if("comma"===n&&f){for(var _=Nj.call(String(b),","),S="",E=0;E<_.length;++E)S+=(0===E?"":",")+m(r(_[E],$j.encoder,h,"value",d));return[m(j)+(t&&Bj(b)&&1===_.length?"[]":"")+"="+S]}return[m(j)+"="+m(r(b,$j.encoder,h,"value",d))]}return[m(i)+"="+m(String(b))]}var T,O=[];if(void 0===b)return O;if("comma"===n&&Bj(b))T=[{value:b.length>0?b.join(",")||null:void 0}];else if(Bj(c))T=c;else{var A=Object.keys(b);T=p?A.sort(p):A}for(var C=t&&Bj(b)&&1===b.length?i+"[]":i,R=0;R<T.length;++R){var z=T[R],P="object"==typeof z&&void 0!==z.value?z.value:b[z];if(!s||null!==P){var q=Bj(b)?"function"==typeof n?n(C,z):C:C+(l?"."+z:"["+z+"]");x.set(a,y);var F=zj();F.set(Hj,x),Ij(O,e(P,q,n,t,o,s,r,c,p,l,u,d,m,f,h,F))}}return O},Wj=Rj,Gj=Object.prototype.hasOwnProperty,Kj=Array.isArray,Jj={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Wj.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Zj=function(e){return e.replace(/&#(\d+);/g,(function(e,a){return String.fromCharCode(parseInt(a,10))}))},Yj=function(e,a){return e&&"string"==typeof e&&a.comma&&e.indexOf(",")>-1?e.split(","):e},Xj=function(e,a,i,n){if(e){var t=i.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,s=i.depth>0&&/(\[[^[\]]*])/.exec(t),r=s?t.slice(0,s.index):t,c=[];if(r){if(!i.plainObjects&&Gj.call(Object.prototype,r)&&!i.allowPrototypes)return;c.push(r)}for(var p=0;i.depth>0&&null!==(s=o.exec(t))&&p<i.depth;){if(p+=1,!i.plainObjects&&Gj.call(Object.prototype,s[1].slice(1,-1))&&!i.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+t.slice(s.index)+"]"),function(e,a,i,n){for(var t=n?a:Yj(a,i),o=e.length-1;o>=0;--o){var s,r=e[o];if("[]"===r&&i.parseArrays)s=[].concat(t);else{s=i.plainObjects?Object.create(null):{};var c="["===r.charAt(0)&&"]"===r.charAt(r.length-1)?r.slice(1,-1):r,p=parseInt(c,10);i.parseArrays||""!==c?!isNaN(p)&&r!==c&&String(p)===c&&p>=0&&i.parseArrays&&p<=i.arrayLimit?(s=[])[p]=t:"__proto__"!==c&&(s[c]=t):s={0:t}}t=s}return t}(c,a,i,n)}},Qj=function(e,a){var i,n=e,t=function(e){if(!e)return $j;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var a=e.charset||$j.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var i=qj.default;if(void 0!==e.format){if(!Fj.call(qj.formatters,e.format))throw new TypeError("Unknown format option provided.");i=e.format}var n=qj.formatters[i],t=$j.filter;return("function"==typeof e.filter||Bj(e.filter))&&(t=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:$j.addQueryPrefix,allowDots:void 0===e.allowDots?$j.allowDots:!!e.allowDots,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:$j.charsetSentinel,delimiter:void 0===e.delimiter?$j.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:$j.encode,encoder:"function"==typeof e.encoder?e.encoder:$j.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:$j.encodeValuesOnly,filter:t,format:i,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:$j.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:$j.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:$j.strictNullHandling}}(a);"function"==typeof t.filter?n=(0,t.filter)("",n):Bj(t.filter)&&(i=t.filter);var o,s=[];if("object"!=typeof n||null===n)return"";o=a&&a.arrayFormat in Lj?a.arrayFormat:a&&"indices"in a?a.indices?"indices":"repeat":"indices";var r=Lj[o];if(a&&"commaRoundTrip"in a&&"boolean"!=typeof a.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c="comma"===r&&a&&a.commaRoundTrip;i||(i=Object.keys(n)),t.sort&&i.sort(t.sort);for(var p=zj(),l=0;l<i.length;++l){var u=i[l];t.skipNulls&&null===n[u]||Ij(s,Vj(n[u],u,r,c,t.strictNullHandling,t.skipNulls,t.encode?t.encoder:null,t.filter,t.sort,t.allowDots,t.serializeDate,t.format,t.formatter,t.encodeValuesOnly,t.charset,p))}var d=s.join(t.delimiter),m=!0===t.addQueryPrefix?"?":"";return t.charsetSentinel&&("iso-8859-1"===t.charset?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),d.length>0?m+d:""},e_=function(e,a){var i=function(e){if(!e)return Jj;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=void 0===e.charset?Jj.charset:e.charset;return{allowDots:void 0===e.allowDots?Jj.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:Jj.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:Jj.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:Jj.arrayLimit,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Jj.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:Jj.comma,decoder:"function"==typeof e.decoder?e.decoder:Jj.decoder,delimiter:"string"==typeof e.delimiter||Wj.isRegExp(e.delimiter)?e.delimiter:Jj.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:Jj.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:Jj.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:Jj.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:Jj.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Jj.strictNullHandling}}(a);if(""===e||null==e)return i.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,a){var i,n={},t=a.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=a.parameterLimit===1/0?void 0:a.parameterLimit,s=t.split(a.delimiter,o),r=-1,c=a.charset;if(a.charsetSentinel)for(i=0;i<s.length;++i)0===s[i].indexOf("utf8=")&&("utf8=%E2%9C%93"===s[i]?c="utf-8":"utf8=%26%2310003%3B"===s[i]&&(c="iso-8859-1"),r=i,i=s.length);for(i=0;i<s.length;++i)if(i!==r){var p,l,u=s[i],d=u.indexOf("]="),m=-1===d?u.indexOf("="):d+1;-1===m?(p=a.decoder(u,Jj.decoder,c,"key"),l=a.strictNullHandling?null:""):(p=a.decoder(u.slice(0,m),Jj.decoder,c,"key"),l=Wj.maybeMap(Yj(u.slice(m+1),a),(function(e){return a.decoder(e,Jj.decoder,c,"value")}))),l&&a.interpretNumericEntities&&"iso-8859-1"===c&&(l=Zj(l)),u.indexOf("[]=")>-1&&(l=Kj(l)?[l]:l),Gj.call(n,p)?n[p]=Wj.combine(n[p],l):n[p]=l}return n}(e,i):e,t=i.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s<o.length;++s){var r=o[s],c=Xj(r,n[r],i,"string"==typeof e);t=Wj.merge(t,c,i)}return!0===i.allowSparse?t:Wj.compact(t)},a_={formats:Sj,parse:e_,stringify:Qj};function i_(){if(Fk)return qk;Fk=1;var e=Cv(),a=Rv,i=Iv.exports,n=eb.exports("body-parser:urlencoded"),t=mv("body-parser"),o=gg(),s=yg.exports;qk=function(r){var l=r||{};void 0===l.extended&&t("undefined extended: provide extended option");var u=!1!==l.extended,d=!1!==l.inflate,m="number"!=typeof l.limit?e.parse(l.limit||"100kb"):l.limit,f=l.type||"application/x-www-form-urlencoded",h=l.verify||!1;if(!1!==h&&"function"!=typeof h)throw new TypeError("option verify must be function");var x=u?function(e){var a=void 0!==e.parameterLimit?e.parameterLimit:1e3,t=p("qs");if(isNaN(a)||a<1)throw new TypeError("option parameterLimit must be a positive number");isFinite(a)&&(a|=0);return function(e){var o=c(e,a);if(void 0===o)throw n("too many parameters"),i(413,"too many parameters",{type:"parameters.too.many"});var s=Math.max(100,o);return n("parse extended urlencoding"),t(e,{allowPrototypes:!0,arrayLimit:s,depth:1/0,parameterLimit:a})}}(l):function(e){var a=void 0!==e.parameterLimit?e.parameterLimit:1e3,t=p("querystring");if(isNaN(a)||a<1)throw new TypeError("option parameterLimit must be a positive number");isFinite(a)&&(a|=0);return function(e){if(void 0===c(e,a))throw n("too many parameters"),i(413,"too many parameters",{type:"parameters.too.many"});return n("parse urlencoding"),t(e,void 0,void 0,{maxKeys:a})}}(l),v="function"!=typeof f?function(e){return function(a){return Boolean(s(a,e))}}(f):f;function b(e){return e.length?x(e):{}}return function(e,t,r){if(e._body)return n("body already parsed"),void r();if(e.body=e.body||{},!s.hasBody(e))return n("skip empty body"),void r();if(n("content-type %j",e.headers["content-type"]),!v(e))return n("skip parsing"),void r();var c=function(e){try{return(a.parse(e).parameters.charset||"").toLowerCase()}catch(e){return}}(e)||"utf-8";if("utf-8"!==c)return n("invalid charset"),void r(i(415,'unsupported charset "'+c.toUpperCase()+'"',{charset:c,type:"charset.unsupported"}));o(e,t,r,b,n,{debug:n,encoding:c,inflate:d,limit:m,verify:h})}};var r=Object.create(null);function c(e,a){for(var i=0,n=0;-1!==(n=e.indexOf("&",n));)if(n++,++i===a)return;return i}function p(e){var a=r[e];if(void 0!==a)return a.parse;switch(e){case"qs":a=a_;break;case"querystring":a=v}return r[e]=a,a.parse}return qk}
109
109
  /*!
110
110
  * body-parser
111
111
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
112
112
  * MIT Licensed
113
- */!function(e,a){var i=mv("body-parser"),n=Object.create(null);function t(e){return function(){return function(e){var a=n[e];if(void 0!==a)return a;switch(e){case"json":a=Vg();break;case"raw":a=Wg();break;case"text":a=Gg();break;case"urlencoded":a=e_()}return n[e]=a}(e)}}a=e.exports=i.function((function(e){var i=Object.create(e||null,{type:{configurable:!0,enumerable:!0,value:void 0,writable:!0}}),n=a.urlencoded(i),t=a.json(i);return function(e,a,i){t(e,a,(function(t){if(t)return i(t);n(e,a,i)}))}}),"bodyParser: use individual json/urlencoded middlewares"),Object.defineProperty(a,"json",{configurable:!0,enumerable:!0,get:t("json")}),Object.defineProperty(a,"raw",{configurable:!0,enumerable:!0,get:t("raw")}),Object.defineProperty(a,"text",{configurable:!0,enumerable:!0,get:t("text")}),Object.defineProperty(a,"urlencoded",{configurable:!0,enumerable:!0,get:t("urlencoded")})}(uv,uv.exports);
113
+ */!function(e,a){var i=mv("body-parser"),n=Object.create(null);function t(e){return function(){return function(e){var a=n[e];if(void 0!==a)return a;switch(e){case"json":a=Vg();break;case"raw":a=Wg();break;case"text":a=Gg();break;case"urlencoded":a=i_()}return n[e]=a}(e)}}a=e.exports=i.function((function(e){var i=Object.create(e||null,{type:{configurable:!0,enumerable:!0,value:void 0,writable:!0}}),n=a.urlencoded(i),t=a.json(i);return function(e,a,i){t(e,a,(function(t){if(t)return i(t);n(e,a,i)}))}}),"bodyParser: use individual json/urlencoded middlewares"),Object.defineProperty(a,"json",{configurable:!0,enumerable:!0,get:t("json")}),Object.defineProperty(a,"raw",{configurable:!0,enumerable:!0,get:t("raw")}),Object.defineProperty(a,"text",{configurable:!0,enumerable:!0,get:t("text")}),Object.defineProperty(a,"urlencoded",{configurable:!0,enumerable:!0,get:t("urlencoded")})}(uv,uv.exports);
114
114
  /*!
115
115
  * merge-descriptors
116
116
  * Copyright(c) 2014 Jonathan Ong
117
117
  * Copyright(c) 2015 Douglas Christopher Wilson
118
118
  * MIT Licensed
119
119
  */
120
- var a_=function(e,a,i){if(!e)throw new TypeError("argument dest is required");if(!a)throw new TypeError("argument src is required");void 0===i&&(i=!0);return Object.getOwnPropertyNames(a).forEach((function(n){if(i||!i_.call(e,n)){var t=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(e,n,t)}})),e},i_=Object.prototype.hasOwnProperty;var n_={exports:{}},t_=function(e){return String(e).replace(s_,r_).replace(o_,encodeURI)}
120
+ var n_=function(e,a,i){if(!e)throw new TypeError("argument dest is required");if(!a)throw new TypeError("argument src is required");void 0===i&&(i=!0);return Object.getOwnPropertyNames(a).forEach((function(n){if(i||!t_.call(e,n)){var t=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(e,n,t)}})),e},t_=Object.prototype.hasOwnProperty;var o_={exports:{}},s_=function(e){return String(e).replace(c_,p_).replace(r_,encodeURI)}
121
121
  /*!
122
122
  * escape-html
123
123
  * Copyright(c) 2012-2013 TJ Holowaychuk
124
124
  * Copyright(c) 2015 Andreas Lubbe
125
125
  * Copyright(c) 2015 Tiancheng "Timothy" Gu
126
126
  * MIT Licensed
127
- */,o_=/(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g,s_=/(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g,r_="$1�$2";
127
+ */,r_=/(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g,c_=/(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g,p_="$1�$2";
128
128
  /*!
129
129
  * encodeurl
130
130
  * Copyright(c) 2016 Douglas Christopher Wilson
131
131
  * MIT Licensed
132
- */var c_=/["'&<>]/,p_=function(e){var a,i=""+e,n=c_.exec(i);if(!n)return i;var t="",o=0,s=0;for(o=n.index;o<i.length;o++){switch(i.charCodeAt(o)){case 34:a="&quot;";break;case 38:a="&amp;";break;case 39:a="&#39;";break;case 60:a="&lt;";break;case 62:a="&gt;";break;default:continue}s!==o&&(t+=i.substring(s,o)),s=o+1,t+=a}return s!==o?t+i.substring(s,o):t};var l_={exports:{}},u_=r,d_=u_.parse,m_=u_.Url;
132
+ */var l_=/["'&<>]/,u_=function(e){var a,i=""+e,n=l_.exec(i);if(!n)return i;var t="",o=0,s=0;for(o=n.index;o<i.length;o++){switch(i.charCodeAt(o)){case 34:a="&quot;";break;case 38:a="&amp;";break;case 39:a="&#39;";break;case 60:a="&lt;";break;case 62:a="&gt;";break;default:continue}s!==o&&(t+=i.substring(s,o)),s=o+1,t+=a}return s!==o?t+i.substring(s,o):t};var d_={exports:{}},m_=r,f_=m_.parse,h_=m_.Url;
133
133
  /*!
134
134
  * parseurl
135
135
  * Copyright(c) 2014 Jonathan Ong
136
136
  * Copyright(c) 2014-2017 Douglas Christopher Wilson
137
137
  * MIT Licensed
138
- */function f_(e){var a=e.url;if(void 0!==a){var i=e._parsedUrl;return x_(a,i)?i:((i=h_(a))._raw=a,e._parsedUrl=i)}}function h_(e){if("string"!=typeof e||47!==e.charCodeAt(0))return d_(e);for(var a=e,i=null,n=null,t=1;t<e.length;t++)switch(e.charCodeAt(t)){case 63:null===n&&(a=e.substring(0,t),i=e.substring(t+1),n=e.substring(t));break;case 9:case 10:case 12:case 13:case 32:case 35:case 160:case 65279:return d_(e)}var o=void 0!==m_?new m_:{};return o.path=e,o.href=e,o.pathname=a,null!==n&&(o.query=i,o.search=n),o}function x_(e,a){return"object"==typeof a&&null!==a&&(void 0===m_||a instanceof m_)&&a._raw===e}
138
+ */function x_(e){var a=e.url;if(void 0!==a){var i=e._parsedUrl;return b_(a,i)?i:((i=v_(a))._raw=a,e._parsedUrl=i)}}function v_(e){if("string"!=typeof e||47!==e.charCodeAt(0))return f_(e);for(var a=e,i=null,n=null,t=1;t<e.length;t++)switch(e.charCodeAt(t)){case 63:null===n&&(a=e.substring(0,t),i=e.substring(t+1),n=e.substring(t));break;case 9:case 10:case 12:case 13:case 32:case 35:case 160:case 65279:return f_(e)}var o=void 0!==h_?new h_:{};return o.path=e,o.href=e,o.pathname=a,null!==n&&(o.query=i,o.search=n),o}function b_(e,a){return"object"==typeof a&&null!==a&&(void 0===h_||a instanceof h_)&&a._raw===e}
139
139
  /*!
140
140
  * finalhandler
141
141
  * Copyright(c) 2014-2022 Douglas Christopher Wilson
142
142
  * MIT Licensed
143
- */l_.exports=f_,l_.exports.original=function(e){var a=e.originalUrl;if("string"!=typeof a)return f_(e);var i=e._parsedOriginalUrl;if(x_(a,i))return i;return i=h_(a),i._raw=a,e._parsedOriginalUrl=i};var v_=eb.exports("finalhandler"),b_=t_,g_=p_,y_=lg.exports,w_=l_.exports,k_=$v,j_=cg,__=/\x20{2}/g,S_=/\n/g,E_="function"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))},T_=y_.isFinished;var O_=function(e,a,i){var n=i||{},t=n.env||"production",o=n.onerror;return function(i){var n,s,r;if(i||!A_(a)){if(i?(r=function(e){if("number"==typeof e.status&&e.status>=400&&e.status<600)return e.status;if("number"==typeof e.statusCode&&e.statusCode>=400&&e.statusCode<600)return e.statusCode;return}(i),void 0===r?r=function(e){var a=e.statusCode;("number"!=typeof a||a<400||a>599)&&(a=500);return a}(a):n=function(e){if(!e.headers||"object"!=typeof e.headers)return;for(var a=Object.create(null),i=Object.keys(e.headers),n=0;n<i.length;n++){var t=i[n];a[t]=e.headers[t]}return a}(i),s=function(e,a,i){var n;"production"!==i&&((n=e.stack)||"function"!=typeof e.toString||(n=e.toString()));return n||k_.message[a]}(i,r,t)):(r=404,s="Cannot "+e.method+" "+b_(function(e){try{return w_.original(e).pathname}catch(e){return"resource"}}(e))),v_("default %s",r),i&&o&&E_(o,i,e,a),A_(a))return v_("cannot %d after headers sent",r),void e.socket.destroy();!function(e,a,i,n,t){function o(){var o=function(e){return'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Error</title>\n</head>\n<body>\n<pre>'+g_(e).replace(S_,"<br>").replace(__," &nbsp;")+"</pre>\n</body>\n</html>\n"}(t);a.statusCode=i,a.statusMessage=k_.message[i],a.removeHeader("Content-Encoding"),a.removeHeader("Content-Language"),a.removeHeader("Content-Range"),function(e,a){if(!a)return;for(var i=Object.keys(a),n=0;n<i.length;n++){var t=i[n];e.setHeader(t,a[t])}}(a,n),a.setHeader("Content-Security-Policy","default-src 'none'"),a.setHeader("X-Content-Type-Options","nosniff"),a.setHeader("Content-Type","text/html; charset=utf-8"),a.setHeader("Content-Length",Buffer.byteLength(o,"utf8")),"HEAD"!==e.method?a.end(o,"utf8"):a.end()}if(T_(e))return void o();j_(e),y_(e,o),e.resume()}(e,a,r,n,s)}else v_("cannot 404 after headers sent")}};function A_(e){return"boolean"!=typeof e.headersSent?Boolean(e._header):e.headersSent}var C_={exports:{}},R_=function(e,a){if(null==a)return P_(e,[]);return z_(e,[],a)};function z_(e,a,i){for(var n=0;n<e.length;n++){var t=e[n];i>0&&Array.isArray(t)?z_(t,a,i-1):a.push(t)}return a}function P_(e,a){for(var i=0;i<e.length;i++){var n=e[i];Array.isArray(n)?P_(n,a):a.push(n)}return a}var q_=function e(a,i,n){i=i||[];var t,o=(n=n||{}).strict,s=!1!==n.end,r=n.sensitive?"":"i",c=0,p=i.length,l=0,u=0;if(a instanceof RegExp){for(;t=F_.exec(a.source);)i.push({name:u++,optional:!1,offset:t.index});return a}if(Array.isArray(a))return a=a.map((function(a){return e(a,i,n).source})),new RegExp("(?:"+a.join("|")+")",r);a=("^"+a+(o?"":"/"===a[a.length-1]?"?":"/?")).replace(/\/\(/g,"/(?:").replace(/([\/\.])/g,"\\$1").replace(/(\\\/)?(\\\.)?:(\w+)(\(.*?\))?(\*)?(\?)?/g,(function(e,a,n,t,o,s,r,p){a=a||"",n=n||"",o=o||"([^\\/"+n+"]+?)",r=r||"",i.push({name:t,optional:!!r,offset:p+c});var l=(r?"":a)+"(?:"+n+(r?a:"")+o+(s?"((?:[\\/"+n+"].+?)?)":"")+")"+r;return c+=l.length-e.length,l})).replace(/\*/g,(function(e,a){for(var n=i.length;n-- >p&&i[n].offset>a;)i[n].offset+=3;return"(.*)"}));for(;t=F_.exec(a);){for(var d=0,m=t.index;"\\"===a.charAt(--m);)d++;d%2!=1&&((p+l===i.length||i[p+l].offset>t.index)&&i.splice(p+l,0,{name:u++,optional:!1,offset:t.index}),l++)}return a+=s?"$":"/"===a[a.length-1]?"":"(?=\\/|$)",new RegExp(a,r)}
143
+ */d_.exports=x_,d_.exports.original=function(e){var a=e.originalUrl;if("string"!=typeof a)return x_(e);var i=e._parsedOriginalUrl;if(b_(a,i))return i;return i=v_(a),i._raw=a,e._parsedOriginalUrl=i};var g_=eb.exports("finalhandler"),y_=s_,w_=u_,k_=lg.exports,j_=d_.exports,__=$v,S_=cg,E_=/\x20{2}/g,T_=/\n/g,O_="function"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))},A_=k_.isFinished;var C_=function(e,a,i){var n=i||{},t=n.env||"production",o=n.onerror;return function(i){var n,s,r;if(i||!R_(a)){if(i?(r=function(e){if("number"==typeof e.status&&e.status>=400&&e.status<600)return e.status;if("number"==typeof e.statusCode&&e.statusCode>=400&&e.statusCode<600)return e.statusCode;return}(i),void 0===r?r=function(e){var a=e.statusCode;("number"!=typeof a||a<400||a>599)&&(a=500);return a}(a):n=function(e){if(!e.headers||"object"!=typeof e.headers)return;for(var a=Object.create(null),i=Object.keys(e.headers),n=0;n<i.length;n++){var t=i[n];a[t]=e.headers[t]}return a}(i),s=function(e,a,i){var n;"production"!==i&&((n=e.stack)||"function"!=typeof e.toString||(n=e.toString()));return n||__.message[a]}(i,r,t)):(r=404,s="Cannot "+e.method+" "+y_(function(e){try{return j_.original(e).pathname}catch(e){return"resource"}}(e))),g_("default %s",r),i&&o&&O_(o,i,e,a),R_(a))return g_("cannot %d after headers sent",r),void e.socket.destroy();!function(e,a,i,n,t){function o(){var o=function(e){return'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Error</title>\n</head>\n<body>\n<pre>'+w_(e).replace(T_,"<br>").replace(E_," &nbsp;")+"</pre>\n</body>\n</html>\n"}(t);a.statusCode=i,a.statusMessage=__.message[i],a.removeHeader("Content-Encoding"),a.removeHeader("Content-Language"),a.removeHeader("Content-Range"),function(e,a){if(!a)return;for(var i=Object.keys(a),n=0;n<i.length;n++){var t=i[n];e.setHeader(t,a[t])}}(a,n),a.setHeader("Content-Security-Policy","default-src 'none'"),a.setHeader("X-Content-Type-Options","nosniff"),a.setHeader("Content-Type","text/html; charset=utf-8"),a.setHeader("Content-Length",Buffer.byteLength(o,"utf8")),"HEAD"!==e.method?a.end(o,"utf8"):a.end()}if(A_(e))return void o();S_(e),k_(e,o),e.resume()}(e,a,r,n,s)}else g_("cannot 404 after headers sent")}};function R_(e){return"boolean"!=typeof e.headersSent?Boolean(e._header):e.headersSent}var z_={exports:{}},P_=function(e,a){if(null==a)return F_(e,[]);return q_(e,[],a)};function q_(e,a,i){for(var n=0;n<e.length;n++){var t=e[n];i>0&&Array.isArray(t)?q_(t,a,i-1):a.push(t)}return a}function F_(e,a){for(var i=0;i<e.length;i++){var n=e[i];Array.isArray(n)?F_(n,a):a.push(n)}return a}var L_=function e(a,i,n){i=i||[];var t,o=(n=n||{}).strict,s=!1!==n.end,r=n.sensitive?"":"i",c=0,p=i.length,l=0,u=0;if(a instanceof RegExp){for(;t=B_.exec(a.source);)i.push({name:u++,optional:!1,offset:t.index});return a}if(Array.isArray(a))return a=a.map((function(a){return e(a,i,n).source})),new RegExp("(?:"+a.join("|")+")",r);a=("^"+a+(o?"":"/"===a[a.length-1]?"?":"/?")).replace(/\/\(/g,"/(?:").replace(/([\/\.])/g,"\\$1").replace(/(\\\/)?(\\\.)?:(\w+)(\(.*?\))?(\*)?(\?)?/g,(function(e,a,n,t,o,s,r,p){a=a||"",n=n||"",o=o||"([^\\/"+n+"]+?)",r=r||"",i.push({name:t,optional:!!r,offset:p+c});var l=(r?"":a)+"(?:"+n+(r?a:"")+o+(s?"((?:[\\/"+n+"].+?)?)":"")+")"+r;return c+=l.length-e.length,l})).replace(/\*/g,(function(e,a){for(var n=i.length;n-- >p&&i[n].offset>a;)i[n].offset+=3;return"(.*)"}));for(;t=B_.exec(a);){for(var d=0,m=t.index;"\\"===a.charAt(--m);)d++;d%2!=1&&((p+l===i.length||i[p+l].offset>t.index)&&i.splice(p+l,0,{name:u++,optional:!1,offset:t.index}),l++)}return a+=s?"$":"/"===a[a.length-1]?"":"(?=\\/|$)",new RegExp(a,r)}
144
144
  /*!
145
145
  * express
146
146
  * Copyright(c) 2009-2013 TJ Holowaychuk
147
147
  * Copyright(c) 2013 Roman Shtylman
148
148
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
149
149
  * MIT Licensed
150
- */,F_=/\((?!\?)/g;var L_=q_,B_=eb.exports("express:router:layer"),N_=Object.prototype.hasOwnProperty,U_=I_;function I_(e,a,i){if(!(this instanceof I_))return new I_(e,a,i);B_("new %o",e);var n=a||{};this.handle=i,this.name=i.name||"<anonymous>",this.params=void 0,this.path=void 0,this.regexp=L_(e,this.keys=[],n),this.regexp.fast_star="*"===e,this.regexp.fast_slash="/"===e&&!1===n.end}function D_(e){if("string"!=typeof e||0===e.length)return e;try{return decodeURIComponent(e)}catch(a){throw a instanceof URIError&&(a.message="Failed to decode param '"+e+"'",a.status=a.statusCode=400),a}}
150
+ */,B_=/\((?!\?)/g;var N_=L_,U_=eb.exports("express:router:layer"),I_=Object.prototype.hasOwnProperty,D_=M_;function M_(e,a,i){if(!(this instanceof M_))return new M_(e,a,i);U_("new %o",e);var n=a||{};this.handle=i,this.name=i.name||"<anonymous>",this.params=void 0,this.path=void 0,this.regexp=N_(e,this.keys=[],n),this.regexp.fast_star="*"===e,this.regexp.fast_slash="/"===e&&!1===n.end}function $_(e){if("string"!=typeof e||0===e.length)return e;try{return decodeURIComponent(e)}catch(a){throw a instanceof URIError&&(a.message="Failed to decode param '"+e+"'",a.status=a.statusCode=400),a}}
151
151
  /*!
152
152
  * methods
153
153
  * Copyright(c) 2013-2014 TJ Holowaychuk
154
154
  * Copyright(c) 2015-2016 Douglas Christopher Wilson
155
155
  * MIT Licensed
156
- */I_.prototype.handle_error=function(e,a,i,n){var t=this.handle;if(4!==t.length)return n(e);try{t(e,a,i,n)}catch(e){n(e)}},I_.prototype.handle_request=function(e,a,i){var n=this.handle;if(n.length>3)return i();try{n(e,a,i)}catch(e){i(e)}},I_.prototype.match=function(e){var a;if(null!=e){if(this.regexp.fast_slash)return this.params={},this.path="",!0;if(this.regexp.fast_star)return this.params={0:D_(e)},this.path=e,!0;a=this.regexp.exec(e)}if(!a)return this.params=void 0,this.path=void 0,!1;this.params={},this.path=a[0];for(var i=this.keys,n=this.params,t=1;t<a.length;t++){var o=i[t-1].name,s=D_(a[t]);void 0===s&&N_.call(n,o)||(n[o]=s)}return!0};var M_=o,$_=M_.METHODS&&M_.METHODS.map((function(e){return e.toLowerCase()}))||["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"];
156
+ */M_.prototype.handle_error=function(e,a,i,n){var t=this.handle;if(4!==t.length)return n(e);try{t(e,a,i,n)}catch(e){n(e)}},M_.prototype.handle_request=function(e,a,i){var n=this.handle;if(n.length>3)return i();try{n(e,a,i)}catch(e){i(e)}},M_.prototype.match=function(e){var a;if(null!=e){if(this.regexp.fast_slash)return this.params={},this.path="",!0;if(this.regexp.fast_star)return this.params={0:$_(e)},this.path=e,!0;a=this.regexp.exec(e)}if(!a)return this.params=void 0,this.path=void 0,!1;this.params={},this.path=a[0];for(var i=this.keys,n=this.params,t=1;t<a.length;t++){var o=i[t-1].name,s=$_(a[t]);void 0===s&&I_.call(n,o)||(n[o]=s)}return!0};var H_=o,V_=H_.METHODS&&H_.METHODS.map((function(e){return e.toLowerCase()}))||["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"];
157
157
  /*!
158
158
  * express
159
159
  * Copyright(c) 2009-2013 TJ Holowaychuk
@@ -161,14 +161,14 @@ var a_=function(e,a,i){if(!e)throw new TypeError("argument dest is required");if
161
161
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
162
162
  * MIT Licensed
163
163
  */
164
- var H_=eb.exports("express:router:route"),V_=R_,W_=U_,G_=$_,K_=Array.prototype.slice,J_=Object.prototype.toString,Z_=Y_;function Y_(e){this.path=e,this.stack=[],H_("new %o",e),this.methods={}}Y_.prototype._handles_method=function(e){if(this.methods._all)return!0;var a=e.toLowerCase();return"head"!==a||this.methods.head||(a="get"),Boolean(this.methods[a])},Y_.prototype._options=function(){var e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push("head");for(var a=0;a<e.length;a++)e[a]=e[a].toUpperCase();return e},Y_.prototype.dispatch=function(e,a,i){var n=0,t=this.stack,o=0;if(0===t.length)return i();var s=e.method.toLowerCase();"head"!==s||this.methods.head||(s="get"),e.route=this,function r(c){if(c&&"route"===c)return i();if(c&&"router"===c)return i(c);if(++o>100)return setImmediate(r,c);var p=t[n++];if(!p)return i(c);p.method&&p.method!==s?r(c):c?p.handle_error(c,e,a,r):p.handle_request(e,a,r);o=0}()},Y_.prototype.all=function(){for(var e=V_(K_.call(arguments)),a=0;a<e.length;a++){var i=e[a];if("function"!=typeof i){var n=J_.call(i);throw new TypeError("Route.all() requires a callback function but got a "+n)}var t=W_("/",{},i);t.method=void 0,this.methods._all=!0,this.stack.push(t)}return this},G_.forEach((function(e){Y_.prototype[e]=function(){for(var a=V_(K_.call(arguments)),i=0;i<a.length;i++){var n=a[i];if("function"!=typeof n){var t=J_.call(n);throw new Error("Route."+e+"() requires a callback function but got a "+t)}H_("%s %o",e,this.path);var o=W_("/",{},n);o.method=e,this.methods[e]=!0,this.stack.push(o)}return this}}));var X_={exports:{}},Q_=Z_,eS=U_,aS=$_,iS=X_.exports=function(e,a){if(e&&a)for(var i in a)e[i]=a[i];return e},nS=eb.exports("express:router"),tS=mv("express"),oS=R_,sS=l_.exports,rS=Dv,cS=/^\[object (\S+)\]$/,pS=Array.prototype.slice,lS=Object.prototype.toString,uS=C_.exports=function(e){var a=e||{};function i(e,a,n){i.handle(e,a,n)}return rS(i,uS),i.params={},i._params=[],i.caseSensitive=a.caseSensitive,i.mergeParams=a.mergeParams,i.strict=a.strict,i.stack=[],i};function dS(e,a){for(var i=0;i<a.length;i++){var n=a[i];-1===e.indexOf(n)&&e.push(n)}}function mS(e){var a=typeof e;return"object"!==a?a:lS.call(e).replace(cS,"$1")}function fS(e,a){try{return e.match(a)}catch(e){return e}}uS.param=function(e,a){if("function"==typeof e)return tS("router.param(fn): Refactor to use path params"),void this._params.push(e);var i,n=this._params,t=n.length;":"===e[0]&&(tS("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<t;++o)(i=n[o](e,a))&&(a=i);if("function"!=typeof a)throw new Error("invalid param() call for "+e+", got "+a);return(this.params[e]=this.params[e]||[]).push(a),this},uS.handle=function(e,a,i){var n=this;nS("dispatching %s %s",e.method,e.url);var t,o,s=0,r=function(e){if("string"!=typeof e||0===e.length||"/"===e[0])return;var a=e.indexOf("?"),i=-1!==a?a:e.length,n=e.slice(0,i).indexOf("://");return-1!==n?e.substring(0,e.indexOf("/",3+n)):void 0}(e.url)||"",c="",p=!1,l=0,u={},d=[],m=n.stack,f=e.params,h=e.baseUrl||"",x=function(e,a){for(var i=new Array(arguments.length-2),n=new Array(arguments.length-2),t=0;t<i.length;t++)i[t]=arguments[t+2],n[t]=a[i[t]];return function(){for(var t=0;t<i.length;t++)a[i[t]]=n[t];return e.apply(this,arguments)}}(i,e,"baseUrl","next","params");function v(i){var t="route"===i?null:i;if(p&&(e.url=e.url.slice(1),p=!1),0!==c.length&&(e.baseUrl=h,e.url=r+c+e.url.slice(r.length),c=""),"router"!==t)if(s>=m.length)setImmediate(x,t);else{if(++l>100)return setImmediate(v,i);var o,b,g,y=function(e){try{return sS(e).pathname}catch(e){return}}(e);if(null==y)return x(t);for(;!0!==b&&s<m.length;)if(b=fS(o=m[s++],y),g=o.route,"boolean"!=typeof b&&(t=t||b),!0===b&&g)if(t)b=!1;else{var w=e.method,k=g._handles_method(w);k||"OPTIONS"!==w||dS(d,g._options()),k||"HEAD"===w||(b=!1)}if(!0!==b)return x(t);g&&(e.route=g),e.params=n.mergeParams?function(e,a){if("object"!=typeof a||!a)return e;var i=iS({},a);if(!(0 in e)||!(0 in a))return iS(i,e);var n=0,t=0;for(;n in e;)n++;for(;t in a;)t++;for(n--;n>=0;n--)e[n+t]=e[n],n<t&&delete e[n];return iS(i,e)}(o.params,f):o.params;var j=o.path;n.process_params(o,u,e,a,(function(i){i?v(t||i):g?o.handle_request(e,a,v):function(i,n,t,o){if(0!==t.length){if(t!==o.slice(0,t.length))return void v(n);var s=o[t.length];if(s&&"/"!==s&&"."!==s)return v(n);nS("trim prefix (%s) from url %s",t,e.url),c=t,e.url=r+e.url.slice(r.length+c.length),r||"/"===e.url[0]||(e.url="/"+e.url,p=!0),e.baseUrl=h+("/"===c[c.length-1]?c.substring(0,c.length-1):c)}nS("%s %s : %s",i.name,t,e.originalUrl),n?i.handle_error(n,e,a,v):i.handle_request(e,a,v)}(o,t,j,y),l=0}))}else setImmediate(x,null)}e.next=v,"OPTIONS"===e.method&&(t=x,o=function(e,i){if(i||0===d.length)return e(i);!function(e,a,i){try{var n=a.join(",");e.set("Allow",n),e.send(n)}catch(e){i(e)}}(a,d,e)},x=function(){var e=new Array(arguments.length+1);e[0]=t;for(var a=0,i=arguments.length;a<i;a++)e[a+1]=arguments[a];o.apply(this,e)}),e.baseUrl=h,e.originalUrl=e.originalUrl||e.url,v()},uS.process_params=function(e,a,i,n,t){var o=this.params,s=e.keys;if(!s||0===s.length)return t();var r,c,p,l,u,d=0,m=0;function f(e){return e?t(e):d>=s.length?t():(m=0,c=s[d++],r=c.name,p=i.params[r],l=o[r],u=a[r],void 0!==p&&l?u&&(u.match===p||u.error&&"route"!==u.error)?(i.params[r]=u.value,f(u.error)):(a[r]=u={error:null,match:p,value:p},void h()):f())}function h(e){var a=l[m++];if(u.value=i.params[c.name],e)return u.error=e,void f(e);if(!a)return f();try{a(i,n,h,p,c.name)}catch(e){h(e)}}f()},uS.use=function(e){var a=0,i="/";if("function"!=typeof e){for(var n=e;Array.isArray(n)&&0!==n.length;)n=n[0];"function"!=typeof n&&(a=1,i=e)}var t=oS(pS.call(arguments,a));if(0===t.length)throw new TypeError("Router.use() requires a middleware function");for(var o=0;o<t.length;o++){if("function"!=typeof(e=t[o]))throw new TypeError("Router.use() requires a middleware function but got a "+mS(e));nS("use %o %s",i,e.name||"<anonymous>");var s=new eS(i,{sensitive:this.caseSensitive,strict:!1,end:!1},e);s.route=void 0,this.stack.push(s)}return this},uS.route=function(e){var a=new Q_(e),i=new eS(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},a.dispatch.bind(a));return i.route=a,this.stack.push(i),a},aS.concat("all").forEach((function(e){uS[e]=function(a){var i=this.route(a);return i[e].apply(i,pS.call(arguments,1)),this}}));var hS={},xS=Dv;
164
+ var W_=eb.exports("express:router:route"),G_=P_,K_=D_,J_=V_,Z_=Array.prototype.slice,Y_=Object.prototype.toString,X_=Q_;function Q_(e){this.path=e,this.stack=[],W_("new %o",e),this.methods={}}Q_.prototype._handles_method=function(e){if(this.methods._all)return!0;var a=e.toLowerCase();return"head"!==a||this.methods.head||(a="get"),Boolean(this.methods[a])},Q_.prototype._options=function(){var e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push("head");for(var a=0;a<e.length;a++)e[a]=e[a].toUpperCase();return e},Q_.prototype.dispatch=function(e,a,i){var n=0,t=this.stack,o=0;if(0===t.length)return i();var s=e.method.toLowerCase();"head"!==s||this.methods.head||(s="get"),e.route=this,function r(c){if(c&&"route"===c)return i();if(c&&"router"===c)return i(c);if(++o>100)return setImmediate(r,c);var p=t[n++];if(!p)return i(c);p.method&&p.method!==s?r(c):c?p.handle_error(c,e,a,r):p.handle_request(e,a,r);o=0}()},Q_.prototype.all=function(){for(var e=G_(Z_.call(arguments)),a=0;a<e.length;a++){var i=e[a];if("function"!=typeof i){var n=Y_.call(i);throw new TypeError("Route.all() requires a callback function but got a "+n)}var t=K_("/",{},i);t.method=void 0,this.methods._all=!0,this.stack.push(t)}return this},J_.forEach((function(e){Q_.prototype[e]=function(){for(var a=G_(Z_.call(arguments)),i=0;i<a.length;i++){var n=a[i];if("function"!=typeof n){var t=Y_.call(n);throw new Error("Route."+e+"() requires a callback function but got a "+t)}W_("%s %o",e,this.path);var o=K_("/",{},n);o.method=e,this.methods[e]=!0,this.stack.push(o)}return this}}));var eS={exports:{}},aS=X_,iS=D_,nS=V_,tS=eS.exports=function(e,a){if(e&&a)for(var i in a)e[i]=a[i];return e},oS=eb.exports("express:router"),sS=mv("express"),rS=P_,cS=d_.exports,pS=Dv,lS=/^\[object (\S+)\]$/,uS=Array.prototype.slice,dS=Object.prototype.toString,mS=z_.exports=function(e){var a=e||{};function i(e,a,n){i.handle(e,a,n)}return pS(i,mS),i.params={},i._params=[],i.caseSensitive=a.caseSensitive,i.mergeParams=a.mergeParams,i.strict=a.strict,i.stack=[],i};function fS(e,a){for(var i=0;i<a.length;i++){var n=a[i];-1===e.indexOf(n)&&e.push(n)}}function hS(e){var a=typeof e;return"object"!==a?a:dS.call(e).replace(lS,"$1")}function xS(e,a){try{return e.match(a)}catch(e){return e}}mS.param=function(e,a){if("function"==typeof e)return sS("router.param(fn): Refactor to use path params"),void this._params.push(e);var i,n=this._params,t=n.length;":"===e[0]&&(sS("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<t;++o)(i=n[o](e,a))&&(a=i);if("function"!=typeof a)throw new Error("invalid param() call for "+e+", got "+a);return(this.params[e]=this.params[e]||[]).push(a),this},mS.handle=function(e,a,i){var n=this;oS("dispatching %s %s",e.method,e.url);var t,o,s=0,r=function(e){if("string"!=typeof e||0===e.length||"/"===e[0])return;var a=e.indexOf("?"),i=-1!==a?a:e.length,n=e.slice(0,i).indexOf("://");return-1!==n?e.substring(0,e.indexOf("/",3+n)):void 0}(e.url)||"",c="",p=!1,l=0,u={},d=[],m=n.stack,f=e.params,h=e.baseUrl||"",x=function(e,a){for(var i=new Array(arguments.length-2),n=new Array(arguments.length-2),t=0;t<i.length;t++)i[t]=arguments[t+2],n[t]=a[i[t]];return function(){for(var t=0;t<i.length;t++)a[i[t]]=n[t];return e.apply(this,arguments)}}(i,e,"baseUrl","next","params");function v(i){var t="route"===i?null:i;if(p&&(e.url=e.url.slice(1),p=!1),0!==c.length&&(e.baseUrl=h,e.url=r+c+e.url.slice(r.length),c=""),"router"!==t)if(s>=m.length)setImmediate(x,t);else{if(++l>100)return setImmediate(v,i);var o,b,g,y=function(e){try{return cS(e).pathname}catch(e){return}}(e);if(null==y)return x(t);for(;!0!==b&&s<m.length;)if(b=xS(o=m[s++],y),g=o.route,"boolean"!=typeof b&&(t=t||b),!0===b&&g)if(t)b=!1;else{var w=e.method,k=g._handles_method(w);k||"OPTIONS"!==w||fS(d,g._options()),k||"HEAD"===w||(b=!1)}if(!0!==b)return x(t);g&&(e.route=g),e.params=n.mergeParams?function(e,a){if("object"!=typeof a||!a)return e;var i=tS({},a);if(!(0 in e)||!(0 in a))return tS(i,e);var n=0,t=0;for(;n in e;)n++;for(;t in a;)t++;for(n--;n>=0;n--)e[n+t]=e[n],n<t&&delete e[n];return tS(i,e)}(o.params,f):o.params;var j=o.path;n.process_params(o,u,e,a,(function(i){i?v(t||i):g?o.handle_request(e,a,v):function(i,n,t,o){if(0!==t.length){if(t!==o.slice(0,t.length))return void v(n);var s=o[t.length];if(s&&"/"!==s&&"."!==s)return v(n);oS("trim prefix (%s) from url %s",t,e.url),c=t,e.url=r+e.url.slice(r.length+c.length),r||"/"===e.url[0]||(e.url="/"+e.url,p=!0),e.baseUrl=h+("/"===c[c.length-1]?c.substring(0,c.length-1):c)}oS("%s %s : %s",i.name,t,e.originalUrl),n?i.handle_error(n,e,a,v):i.handle_request(e,a,v)}(o,t,j,y),l=0}))}else setImmediate(x,null)}e.next=v,"OPTIONS"===e.method&&(t=x,o=function(e,i){if(i||0===d.length)return e(i);!function(e,a,i){try{var n=a.join(",");e.set("Allow",n),e.send(n)}catch(e){i(e)}}(a,d,e)},x=function(){var e=new Array(arguments.length+1);e[0]=t;for(var a=0,i=arguments.length;a<i;a++)e[a+1]=arguments[a];o.apply(this,e)}),e.baseUrl=h,e.originalUrl=e.originalUrl||e.url,v()},mS.process_params=function(e,a,i,n,t){var o=this.params,s=e.keys;if(!s||0===s.length)return t();var r,c,p,l,u,d=0,m=0;function f(e){return e?t(e):d>=s.length?t():(m=0,c=s[d++],r=c.name,p=i.params[r],l=o[r],u=a[r],void 0!==p&&l?u&&(u.match===p||u.error&&"route"!==u.error)?(i.params[r]=u.value,f(u.error)):(a[r]=u={error:null,match:p,value:p},void h()):f())}function h(e){var a=l[m++];if(u.value=i.params[c.name],e)return u.error=e,void f(e);if(!a)return f();try{a(i,n,h,p,c.name)}catch(e){h(e)}}f()},mS.use=function(e){var a=0,i="/";if("function"!=typeof e){for(var n=e;Array.isArray(n)&&0!==n.length;)n=n[0];"function"!=typeof n&&(a=1,i=e)}var t=rS(uS.call(arguments,a));if(0===t.length)throw new TypeError("Router.use() requires a middleware function");for(var o=0;o<t.length;o++){if("function"!=typeof(e=t[o]))throw new TypeError("Router.use() requires a middleware function but got a "+hS(e));oS("use %o %s",i,e.name||"<anonymous>");var s=new iS(i,{sensitive:this.caseSensitive,strict:!1,end:!1},e);s.route=void 0,this.stack.push(s)}return this},mS.route=function(e){var a=new aS(e),i=new iS(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},a.dispatch.bind(a));return i.route=a,this.stack.push(i),a},nS.concat("all").forEach((function(e){mS[e]=function(a){var i=this.route(a);return i[e].apply(i,uS.call(arguments,1)),this}}));var vS={},bS=Dv;
165
165
  /*!
166
166
  * express
167
167
  * Copyright(c) 2009-2013 TJ Holowaychuk
168
168
  * Copyright(c) 2013 Roman Shtylman
169
169
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
170
170
  * MIT Licensed
171
- */hS.init=function(e){return function(a,i,n){e.enabled("x-powered-by")&&i.setHeader("X-Powered-By","Express"),a.res=i,i.req=a,a.next=n,xS(a,e.request),xS(i,e.response),i.locals=i.locals||Object.create(null),n()}};
171
+ */vS.init=function(e){return function(a,i,n){e.enabled("x-powered-by")&&i.setHeader("X-Powered-By","Express"),a.res=i,i.req=a,a.next=n,bS(a,e.request),bS(i,e.response),i.locals=i.locals||Object.create(null),n()}};
172
172
  /*!
173
173
  * express
174
174
  * Copyright(c) 2009-2013 TJ Holowaychuk
@@ -176,7 +176,7 @@ var H_=eb.exports("express:router:route"),V_=R_,W_=U_,G_=$_,K_=Array.prototype.s
176
176
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
177
177
  * MIT Licensed
178
178
  */
179
- var vS=X_.exports,bS=l_.exports,gS=Qj,yS=function(e){var a=vS({},e),i=gS.parse;return"function"==typeof e&&(i=e,a=void 0),void 0!==a&&void 0===a.allowPrototypes&&(a.allowPrototypes=!0),function(e,n,t){if(!e.query){var o=bS(e).query;e.query=i(o,a)}t()}};
179
+ var gS=eS.exports,yS=d_.exports,wS=a_,kS=function(e){var a=gS({},e),i=wS.parse;return"function"==typeof e&&(i=e,a=void 0),void 0!==a&&void 0===a.allowPrototypes&&(a.allowPrototypes=!0),function(e,n,t){if(!e.query){var o=yS(e).query;e.query=i(o,a)}t()}};
180
180
  /*!
181
181
  * express
182
182
  * Copyright(c) 2009-2013 TJ Holowaychuk
@@ -184,55 +184,55 @@ var vS=X_.exports,bS=l_.exports,gS=Qj,yS=function(e){var a=vS({},e),i=gS.parse;r
184
184
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
185
185
  * MIT Licensed
186
186
  */
187
- var wS=eb.exports("express:view"),kS=a,jS=i,_S=kS.dirname,SS=kS.basename,ES=kS.extname,TS=kS.join,OS=kS.resolve,AS=CS;function CS(e,a){var i=a||{};if(this.defaultEngine=i.defaultEngine,this.ext=ES(e),this.name=e,this.root=i.root,!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");var n=e;if(this.ext||(this.ext="."!==this.defaultEngine[0]?"."+this.defaultEngine:this.defaultEngine,n+=this.ext),!i.engines[this.ext]){var t=this.ext.slice(1);wS('require "%s"',t);var o=function(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(t).__express;if("function"!=typeof o)throw new Error('Module "'+t+'" does not provide a view engine.');i.engines[this.ext]=o}this.engine=i.engines[this.ext],this.path=this.lookup(n)}function RS(e){wS('stat "%s"',e);try{return jS.statSync(e)}catch(e){return}}CS.prototype.lookup=function(e){var a,i=[].concat(this.root);wS('lookup "%s"',e);for(var n=0;n<i.length&&!a;n++){var t=i[n],o=OS(t,e),s=_S(o),r=SS(o);a=this.resolve(s,r)}return a},CS.prototype.render=function(e,a){wS('render "%s"',this.path),this.engine(this.path,e,a)},CS.prototype.resolve=function(e,a){var i=this.ext,n=TS(e,a),t=RS(n);return t&&t.isFile()||(t=RS(n=TS(e,SS(a,i),"index"+i)))&&t.isFile()?n:void 0};var zS={},PS={exports:{}};
187
+ var jS=eb.exports("express:view"),_S=a,SS=i,ES=_S.dirname,TS=_S.basename,OS=_S.extname,AS=_S.join,CS=_S.resolve,RS=zS;function zS(e,a){var i=a||{};if(this.defaultEngine=i.defaultEngine,this.ext=OS(e),this.name=e,this.root=i.root,!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");var n=e;if(this.ext||(this.ext="."!==this.defaultEngine[0]?"."+this.defaultEngine:this.defaultEngine,n+=this.ext),!i.engines[this.ext]){var t=this.ext.slice(1);jS('require "%s"',t);var o=function(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(t).__express;if("function"!=typeof o)throw new Error('Module "'+t+'" does not provide a view engine.');i.engines[this.ext]=o}this.engine=i.engines[this.ext],this.path=this.lookup(n)}function PS(e){jS('stat "%s"',e);try{return SS.statSync(e)}catch(e){return}}zS.prototype.lookup=function(e){var a,i=[].concat(this.root);jS('lookup "%s"',e);for(var n=0;n<i.length&&!a;n++){var t=i[n],o=CS(t,e),s=ES(o),r=TS(o);a=this.resolve(s,r)}return a},zS.prototype.render=function(e,a){jS('render "%s"',this.path),this.engine(this.path,e,a)},zS.prototype.resolve=function(e,a){var i=this.ext,n=AS(e,a),t=PS(n);return t&&t.isFile()||(t=PS(n=AS(e,TS(a,i),"index"+i)))&&t.isFile()?n:void 0};var qS={},FS={exports:{}};
188
188
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
189
- !function(e,a){var i=h,n=i.Buffer;function t(e,a){for(var i in e)a[i]=e[i]}function o(e,a,i){return n(e,a,i)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=i:(t(i,a),a.Buffer=o),o.prototype=Object.create(n.prototype),t(n,o),o.from=function(e,a,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,a,i)},o.alloc=function(e,a,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var t=n(e);return void 0!==a?"string"==typeof i?t.fill(a,i):t.fill(a):t.fill(0),t},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}}(PS,PS.exports);var qS={exports:{}};
189
+ !function(e,a){var i=h,n=i.Buffer;function t(e,a){for(var i in e)a[i]=e[i]}function o(e,a,i){return n(e,a,i)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=i:(t(i,a),a.Buffer=o),o.prototype=Object.create(n.prototype),t(n,o),o.from=function(e,a,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,a,i)},o.alloc=function(e,a,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var t=n(e);return void 0!==a?"string"==typeof i?t.fill(a,i):t.fill(a):t.fill(0),t},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}}(FS,FS.exports);var LS={exports:{}};
190
190
  /*!
191
191
  * content-disposition
192
192
  * Copyright(c) 2014-2017 Douglas Christopher Wilson
193
193
  * MIT Licensed
194
- */qS.exports=function(e,a){var i=a||{},n=i.type||"attachment",t=function(e,a){if(void 0===e)return;var i={};if("string"!=typeof e)throw new TypeError("filename must be a string");void 0===a&&(a=!0);if("string"!=typeof a&&"boolean"!=typeof a)throw new TypeError("fallback must be a string or boolean");if("string"==typeof a&&IS.test(a))throw new TypeError("fallback must be ISO-8859-1 string");var n=FS(e),t=HS.test(n),o="string"!=typeof a?a&&JS(n):FS(a),s="string"==typeof o&&o!==n;(s||!t||NS.test(n))&&(i["filename*"]=n);(t||s)&&(i.filename=s?o:n);return i}(e,i.fallback);return function(e){var a=e.parameters,i=e.type;if(!i||"string"!=typeof i||!VS.test(i))throw new TypeError("invalid type");var n=String(i).toLowerCase();if(a&&"object"==typeof a)for(var t,o=Object.keys(a).sort(),s=0;s<o.length;s++){var r="*"===(t=o[s]).substr(-1)?QS(a[t]):XS(a[t]);n+="; "+t+"="+r}return n}(new eE(n,t))},qS.exports.parse=function(e){if(!e||"string"!=typeof e)throw new TypeError("argument string is required");var a=GS.exec(e);if(!a)throw new TypeError("invalid type format");var i,n,t=a[0].length,o=a[1].toLowerCase(),s=[],r={};t=$S.lastIndex=";"===a[0].substr(-1)?t-1:t;for(;a=$S.exec(e);){if(a.index!==t)throw new TypeError("invalid parameter format");if(t+=a[0].length,i=a[1].toLowerCase(),n=a[2],-1!==s.indexOf(i))throw new TypeError("invalid duplicate parameter");s.push(i),i.indexOf("*")+1!==i.length?"string"!=typeof r[i]&&('"'===n[0]&&(n=n.substr(1,n.length-2).replace(DS,"$1")),r[i]=n):(i=i.slice(0,-1),n=KS(n),r[i]=n)}if(-1!==t&&t!==e.length)throw new TypeError("invalid parameter format");return new eE(o,r)};var FS=a.basename,LS=PS.exports.Buffer,BS=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,NS=/%[0-9A-Fa-f]{2}/,US=/%([0-9A-Fa-f]{2})/g,IS=/[^\x20-\x7e\xa0-\xff]/g,DS=/\\([\u0000-\u007f])/g,MS=/([\\"])/g,$S=/;[\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,HS=/^[\x20-\x7e\x80-\xff]+$/,VS=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,WS=/^([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!#$&+.^_`|~-])+)$/,GS=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function KS(e){var a=WS.exec(e);if(!a)throw new TypeError("invalid extended field value");var i,n=a[1].toLowerCase(),t=a[2].replace(US,ZS);switch(n){case"iso-8859-1":i=JS(t);break;case"utf-8":i=LS.from(t,"binary").toString("utf8");break;default:throw new TypeError("unsupported charset in extended field")}return i}function JS(e){return String(e).replace(IS,"?")}function ZS(e,a){return String.fromCharCode(parseInt(a,16))}function YS(e){return"%"+String(e).charCodeAt(0).toString(16).toUpperCase()}function XS(e){return'"'+String(e).replace(MS,"\\$1")+'"'}function QS(e){var a=String(e);return"UTF-8''"+encodeURIComponent(a).replace(BS,YS)}function eE(e,a){this.type=e,this.parameters=a}var aE={exports:{}},iE=function(e,a){if(null==e)throw new TypeError("argument entity is required");var i=function(e){if("function"==typeof tE&&e instanceof tE)return!0;return e&&"object"==typeof e&&"ctime"in e&&"[object Date]"===oE.call(e.ctime)&&"mtime"in e&&"[object Date]"===oE.call(e.mtime)&&"ino"in e&&"number"==typeof e.ino&&"size"in e&&"number"==typeof e.size}(e),n=a&&"boolean"==typeof a.weak?a.weak:i;if(!i&&"string"!=typeof e&&!Buffer.isBuffer(e))throw new TypeError("argument entity must be string, Buffer, or fs.Stats");var t=i?function(e){var a=e.mtime.getTime().toString(16),i=e.size.toString(16);return'"'+i+"-"+a+'"'}
194
+ */LS.exports=function(e,a){var i=a||{},n=i.type||"attachment",t=function(e,a){if(void 0===e)return;var i={};if("string"!=typeof e)throw new TypeError("filename must be a string");void 0===a&&(a=!0);if("string"!=typeof a&&"boolean"!=typeof a)throw new TypeError("fallback must be a string or boolean");if("string"==typeof a&&MS.test(a))throw new TypeError("fallback must be ISO-8859-1 string");var n=BS(e),t=WS.test(n),o="string"!=typeof a?a&&YS(n):BS(a),s="string"==typeof o&&o!==n;(s||!t||IS.test(n))&&(i["filename*"]=n);(t||s)&&(i.filename=s?o:n);return i}(e,i.fallback);return function(e){var a=e.parameters,i=e.type;if(!i||"string"!=typeof i||!GS.test(i))throw new TypeError("invalid type");var n=String(i).toLowerCase();if(a&&"object"==typeof a)for(var t,o=Object.keys(a).sort(),s=0;s<o.length;s++){var r="*"===(t=o[s]).substr(-1)?aE(a[t]):eE(a[t]);n+="; "+t+"="+r}return n}(new iE(n,t))},LS.exports.parse=function(e){if(!e||"string"!=typeof e)throw new TypeError("argument string is required");var a=JS.exec(e);if(!a)throw new TypeError("invalid type format");var i,n,t=a[0].length,o=a[1].toLowerCase(),s=[],r={};t=VS.lastIndex=";"===a[0].substr(-1)?t-1:t;for(;a=VS.exec(e);){if(a.index!==t)throw new TypeError("invalid parameter format");if(t+=a[0].length,i=a[1].toLowerCase(),n=a[2],-1!==s.indexOf(i))throw new TypeError("invalid duplicate parameter");s.push(i),i.indexOf("*")+1!==i.length?"string"!=typeof r[i]&&('"'===n[0]&&(n=n.substr(1,n.length-2).replace($S,"$1")),r[i]=n):(i=i.slice(0,-1),n=ZS(n),r[i]=n)}if(-1!==t&&t!==e.length)throw new TypeError("invalid parameter format");return new iE(o,r)};var BS=a.basename,NS=FS.exports.Buffer,US=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,IS=/%[0-9A-Fa-f]{2}/,DS=/%([0-9A-Fa-f]{2})/g,MS=/[^\x20-\x7e\xa0-\xff]/g,$S=/\\([\u0000-\u007f])/g,HS=/([\\"])/g,VS=/;[\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,WS=/^[\x20-\x7e\x80-\xff]+$/,GS=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,KS=/^([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!#$&+.^_`|~-])+)$/,JS=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function ZS(e){var a=KS.exec(e);if(!a)throw new TypeError("invalid extended field value");var i,n=a[1].toLowerCase(),t=a[2].replace(DS,XS);switch(n){case"iso-8859-1":i=YS(t);break;case"utf-8":i=NS.from(t,"binary").toString("utf8");break;default:throw new TypeError("unsupported charset in extended field")}return i}function YS(e){return String(e).replace(MS,"?")}function XS(e,a){return String.fromCharCode(parseInt(a,16))}function QS(e){return"%"+String(e).charCodeAt(0).toString(16).toUpperCase()}function eE(e){return'"'+String(e).replace(HS,"\\$1")+'"'}function aE(e){var a=String(e);return"UTF-8''"+encodeURIComponent(a).replace(US,QS)}function iE(e,a){this.type=e,this.parameters=a}var nE={exports:{}},tE=function(e,a){if(null==e)throw new TypeError("argument entity is required");var i=function(e){if("function"==typeof sE&&e instanceof sE)return!0;return e&&"object"==typeof e&&"ctime"in e&&"[object Date]"===rE.call(e.ctime)&&"mtime"in e&&"[object Date]"===rE.call(e.mtime)&&"ino"in e&&"number"==typeof e.ino&&"size"in e&&"number"==typeof e.size}(e),n=a&&"boolean"==typeof a.weak?a.weak:i;if(!i&&"string"!=typeof e&&!Buffer.isBuffer(e))throw new TypeError("argument entity must be string, Buffer, or fs.Stats");var t=i?function(e){var a=e.mtime.getTime().toString(16),i=e.size.toString(16);return'"'+i+"-"+a+'"'}
195
195
  /*!
196
196
  * fresh
197
197
  * Copyright(c) 2012 TJ Holowaychuk
198
198
  * Copyright(c) 2016-2017 Douglas Christopher Wilson
199
199
  * MIT Licensed
200
- */(e):function(e){if(0===e.length)return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';var a=nE.createHash("sha1").update(e,"utf8").digest("base64").substring(0,27),i="string"==typeof e?Buffer.byteLength(e,"utf8"):e.length;return'"'+i.toString(16)+"-"+a+'"'}(e);return n?"W/"+t:t},nE=c,tE=i.Stats,oE=Object.prototype.toString;
200
+ */(e):function(e){if(0===e.length)return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';var a=oE.createHash("sha1").update(e,"utf8").digest("base64").substring(0,27),i="string"==typeof e?Buffer.byteLength(e,"utf8"):e.length;return'"'+i.toString(16)+"-"+a+'"'}(e);return n?"W/"+t:t},oE=c,sE=i.Stats,rE=Object.prototype.toString;
201
201
  /*!
202
202
  * etag
203
203
  * Copyright(c) 2014-2016 Douglas Christopher Wilson
204
204
  * MIT Licensed
205
- */var sE=/(?:^|,)\s*?no-cache\s*?(?:,|$)/,rE=function(e,a){var i=e["if-modified-since"],n=e["if-none-match"];if(!i&&!n)return!1;var t=e["cache-control"];if(t&&sE.test(t))return!1;if(n&&"*"!==n){var o=a.etag;if(!o)return!1;for(var s=!0,r=function(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}return i.push(e.substring(n,a)),i}(n),c=0;c<r.length;c++){var p=r[c];if(p===o||p==="W/"+o||"W/"+p===o){s=!1;break}}if(s)return!1}if(i){var l=a["last-modified"];if(!(l&&cE(l)<=cE(i)))return!1}return!0};function cE(e){var a=e&&Date.parse(e);return"number"==typeof a?a:NaN}var pE=i;function lE(){this.types=Object.create(null),this.extensions=Object.create(null)}lE.prototype.define=function(e){for(var a in e){for(var i=e[a],n=0;n<i.length;n++)process.env.DEBUG_MIME&&this.types[i[n]]&&console.warn((this._loading||"define()").replace(/.*\//,""),'changes "'+i[n]+'" extension type from '+this.types[i[n]]+" to "+a),this.types[i[n]]=a;this.extensions[a]||(this.extensions[a]=i[0])}},lE.prototype.load=function(e){this._loading=e;var a={};pE.readFileSync(e,"ascii").split(/[\r\n]+/).forEach((function(e){var i=e.replace(/\s*#.*|^\s*|\s*$/g,"").split(/\s+/);a[i.shift()]=i})),this.define(a),this._loading=null},lE.prototype.lookup=function(e,a){var i=e.replace(/^.*[\.\/\\]/,"").toLowerCase();return this.types[i]||a||this.default_type},lE.prototype.extension=function(e){var a=e.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase();return this.extensions[a]};var uE=new lE;uE.define({"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"]}),uE.default_type=uE.lookup("bin"),uE.Mime=lE,uE.charsets={lookup:function(e,a){return/^text\/|^application\/(javascript|json)/.test(e)?"UTF-8":a}};var dE=uE,mE=1e3,fE=60*mE,hE=60*fE,xE=24*hE,vE=7*xE,bE=365.25*xE;function gE(e,a,i,n){var t=a>=1.5*i;return Math.round(e/i)+" "+n+(t?"s":"")}
205
+ */var cE=/(?:^|,)\s*?no-cache\s*?(?:,|$)/,pE=function(e,a){var i=e["if-modified-since"],n=e["if-none-match"];if(!i&&!n)return!1;var t=e["cache-control"];if(t&&cE.test(t))return!1;if(n&&"*"!==n){var o=a.etag;if(!o)return!1;for(var s=!0,r=function(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}return i.push(e.substring(n,a)),i}(n),c=0;c<r.length;c++){var p=r[c];if(p===o||p==="W/"+o||"W/"+p===o){s=!1;break}}if(s)return!1}if(i){var l=a["last-modified"];if(!(l&&lE(l)<=lE(i)))return!1}return!0};function lE(e){var a=e&&Date.parse(e);return"number"==typeof a?a:NaN}var uE=i;function dE(){this.types=Object.create(null),this.extensions=Object.create(null)}dE.prototype.define=function(e){for(var a in e){for(var i=e[a],n=0;n<i.length;n++)process.env.DEBUG_MIME&&this.types[i[n]]&&console.warn((this._loading||"define()").replace(/.*\//,""),'changes "'+i[n]+'" extension type from '+this.types[i[n]]+" to "+a),this.types[i[n]]=a;this.extensions[a]||(this.extensions[a]=i[0])}},dE.prototype.load=function(e){this._loading=e;var a={};uE.readFileSync(e,"ascii").split(/[\r\n]+/).forEach((function(e){var i=e.replace(/\s*#.*|^\s*|\s*$/g,"").split(/\s+/);a[i.shift()]=i})),this.define(a),this._loading=null},dE.prototype.lookup=function(e,a){var i=e.replace(/^.*[\.\/\\]/,"").toLowerCase();return this.types[i]||a||this.default_type},dE.prototype.extension=function(e){var a=e.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase();return this.extensions[a]};var mE=new dE;mE.define({"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"]}),mE.default_type=mE.lookup("bin"),mE.Mime=dE,mE.charsets={lookup:function(e,a){return/^text\/|^application\/(javascript|json)/.test(e)?"UTF-8":a}};var fE=mE,hE=1e3,xE=60*hE,vE=60*xE,bE=24*vE,gE=7*bE,yE=365.25*bE;function wE(e,a,i,n){var t=a>=1.5*i;return Math.round(e/i)+" "+n+(t?"s":"")}
206
206
  /*!
207
207
  * range-parser
208
208
  * Copyright(c) 2012-2014 TJ Holowaychuk
209
209
  * Copyright(c) 2015-2016 Douglas Christopher Wilson
210
210
  * MIT Licensed
211
- */var yE=function(e,a,i){if("string"!=typeof a)throw new TypeError("argument str must be a string");var n=a.indexOf("=");if(-1===n)return-2;var t=a.slice(n+1).split(","),o=[];o.type=a.slice(0,n);for(var s=0;s<t.length;s++){var r=t[s].split("-"),c=parseInt(r[0],10),p=parseInt(r[1],10);isNaN(c)?(c=e-p,p=e-1):isNaN(p)&&(p=e-1),p>e-1&&(p=e-1),isNaN(c)||isNaN(p)||c>p||c<0||o.push({start:c,end:p})}if(o.length<1)return-1;return i&&i.combine?function(e){for(var a=e.map(wE).sort(_E),i=0,n=1;n<a.length;n++){var t=a[n],o=a[i];t.start>o.end+1?a[++i]=t:t.end>o.end&&(o.end=t.end,o.index=Math.min(o.index,t.index))}a.length=i+1;var s=a.sort(jE).map(kE);return s.type=e.type,s}(o):o};function wE(e,a){return{start:e.start,end:e.end,index:a}}function kE(e){return{start:e.start,end:e.end}}function jE(e,a){return e.index-a.index}function _E(e,a){return e.start-a.start}
211
+ */var kE=function(e,a,i){if("string"!=typeof a)throw new TypeError("argument str must be a string");var n=a.indexOf("=");if(-1===n)return-2;var t=a.slice(n+1).split(","),o=[];o.type=a.slice(0,n);for(var s=0;s<t.length;s++){var r=t[s].split("-"),c=parseInt(r[0],10),p=parseInt(r[1],10);isNaN(c)?(c=e-p,p=e-1):isNaN(p)&&(p=e-1),p>e-1&&(p=e-1),isNaN(c)||isNaN(p)||c>p||c<0||o.push({start:c,end:p})}if(o.length<1)return-1;return i&&i.combine?function(e){for(var a=e.map(jE).sort(EE),i=0,n=1;n<a.length;n++){var t=a[n],o=a[i];t.start>o.end+1?a[++i]=t:t.end>o.end&&(o.end=t.end,o.index=Math.min(o.index,t.index))}a.length=i+1;var s=a.sort(SE).map(_E);return s.type=e.type,s}(o):o};function jE(e,a){return{start:e.start,end:e.end,index:a}}function _E(e){return{start:e.start,end:e.end}}function SE(e,a){return e.index-a.index}function EE(e,a){return e.start-a.start}
212
212
  /*!
213
213
  * send
214
214
  * Copyright(c) 2012 TJ Holowaychuk
215
215
  * Copyright(c) 2014-2022 Douglas Christopher Wilson
216
216
  * MIT Licensed
217
- */var SE=Iv.exports,EE=eb.exports("send"),TE=mv("send"),OE=db,AE=t_,CE=p_,RE=iE,zE=rE,PE=i,qE=dE,FE=function(e,a){a=a||{};var i=typeof e;if("string"===i&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var i=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*bE;case"weeks":case"week":case"w":return i*vE;case"days":case"day":case"d":return i*xE;case"hours":case"hour":case"hrs":case"hr":case"h":return i*hE;case"minutes":case"minute":case"mins":case"min":case"m":return i*fE;case"seconds":case"second":case"secs":case"sec":case"s":return i*mE;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===i&&isFinite(e))return a.long?function(e){var a=Math.abs(e);if(a>=xE)return gE(e,a,xE,"day");if(a>=hE)return gE(e,a,hE,"hour");if(a>=fE)return gE(e,a,fE,"minute");if(a>=mE)return gE(e,a,mE,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=xE)return Math.round(e/xE)+"d";if(a>=hE)return Math.round(e/hE)+"h";if(a>=fE)return Math.round(e/fE)+"m";if(a>=mE)return Math.round(e/mE)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},LE=lg.exports,BE=yE,NE=a,UE=$v,IE=e,DE=t,ME=NE.extname,$E=NE.join,HE=NE.normalize,VE=NE.resolve,WE=NE.sep,GE=/^ *bytes=/,KE=31536e6,JE=/(?:^|[\\/])\.\.(?:[\\/]|$)/;function ZE(e,a,i){IE.call(this);var n=i||{};if(this.options=n,this.path=a,this.req=e,this._acceptRanges=void 0===n.acceptRanges||Boolean(n.acceptRanges),this._cacheControl=void 0===n.cacheControl||Boolean(n.cacheControl),this._etag=void 0===n.etag||Boolean(n.etag),this._dotfiles=void 0!==n.dotfiles?n.dotfiles:"ignore","ignore"!==this._dotfiles&&"allow"!==this._dotfiles&&"deny"!==this._dotfiles)throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"');this._hidden=Boolean(n.hidden),void 0!==n.hidden&&TE("hidden: use dotfiles: '"+(this._hidden?"allow":"ignore")+"' instead"),void 0===n.dotfiles&&(this._dotfiles=void 0),this._extensions=void 0!==n.extensions?eT(n.extensions,"extensions option"):[],this._immutable=void 0!==n.immutable&&Boolean(n.immutable),this._index=void 0!==n.index?eT(n.index,"index option"):["index.html"],this._lastModified=void 0===n.lastModified||Boolean(n.lastModified),this._maxage=n.maxAge||n.maxage,this._maxage="string"==typeof this._maxage?FE(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),KE),this._root=n.root?VE(n.root):null,!this._root&&n.from&&this.from(n.from)}function YE(e,a,i){return e+" "+(i?i.start+"-"+i.end:"*")+"/"+a}function XE(e,a){return'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>'+e+"</title>\n</head>\n<body>\n<pre>"+a+"</pre>\n</body>\n</html>\n"}function QE(e,a){return("function"!=typeof e.listenerCount?e.listeners(a).length:e.listenerCount(a))>0}function eT(e,a){for(var i=[].concat(e||[]),n=0;n<i.length;n++)if("string"!=typeof i[n])throw new TypeError(a+" must be array of strings or false");return i}function aT(e){var a=e&&Date.parse(e);return"number"==typeof a?a:NaN}aE.exports=function(e,a,i){return new ZE(e,a,i)},aE.exports.mime=qE,DE.inherits(ZE,IE),ZE.prototype.etag=TE.function((function(e){return this._etag=Boolean(e),EE("etag %s",this._etag),this}),"send.etag: pass etag as option"),ZE.prototype.hidden=TE.function((function(e){return this._hidden=Boolean(e),this._dotfiles=void 0,EE("hidden %s",this._hidden),this}),"send.hidden: use dotfiles option"),ZE.prototype.index=TE.function((function(e){var a=e?eT(e,"paths argument"):[];return EE("index %o",e),this._index=a,this}),"send.index: pass index as option"),ZE.prototype.root=function(e){return this._root=VE(String(e)),EE("root %s",this._root),this},ZE.prototype.from=TE.function(ZE.prototype.root,"send.from: pass root as option"),ZE.prototype.root=TE.function(ZE.prototype.root,"send.root: pass root as option"),ZE.prototype.maxage=TE.function((function(e){return this._maxage="string"==typeof e?FE(e):Number(e),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),KE),EE("max-age %d",this._maxage),this}),"send.maxage: pass maxAge as option"),ZE.prototype.error=function(e,a){if(QE(this,"error"))return this.emit("error",function(e,a){if(!a)return SE(e);return a instanceof Error?SE(e,a,{expose:!1}):SE(e,a)}(e,a));var i=this.res,n=UE.message[e]||String(e),t=XE("Error",CE(n));!function(e){for(var a=function(e){return"function"!=typeof e.getHeaderNames?Object.keys(e._headers||{}):e.getHeaderNames()}(e),i=0;i<a.length;i++)e.removeHeader(a[i])}(i),a&&a.headers&&function(e,a){for(var i=Object.keys(a),n=0;n<i.length;n++){var t=i[n];e.setHeader(t,a[t])}}(i,a.headers),i.statusCode=e,i.setHeader("Content-Type","text/html; charset=UTF-8"),i.setHeader("Content-Length",Buffer.byteLength(t)),i.setHeader("Content-Security-Policy","default-src 'none'"),i.setHeader("X-Content-Type-Options","nosniff"),i.end(t)},ZE.prototype.hasTrailingSlash=function(){return"/"===this.path[this.path.length-1]},ZE.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"]},ZE.prototype.isPreconditionFailure=function(){var e=this.req,a=this.res,i=e.headers["if-match"];if(i){var n=a.getHeader("ETag");return!n||"*"!==i&&function(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:n!==a&&i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}n!==a&&i.push(e.substring(n,a));return i}(i).every((function(e){return e!==n&&e!=="W/"+n&&"W/"+e!==n}))}var t=aT(e.headers["if-unmodified-since"]);if(!isNaN(t)){var o=aT(a.getHeader("Last-Modified"));return isNaN(o)||o>t}return!1},ZE.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")},ZE.prototype.notModified=function(){var e=this.res;EE("not modified"),this.removeContentHeaderFields(),e.statusCode=304,e.end()},ZE.prototype.headersAlreadySent=function(){var e=new Error("Can't set headers after they are sent.");EE("headers already sent"),this.error(500,e)},ZE.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||304===e},ZE.prototype.onStatError=function(e){switch(e.code){case"ENAMETOOLONG":case"ENOENT":case"ENOTDIR":this.error(404,e);break;default:this.error(500,e)}},ZE.prototype.isFresh=function(){return zE(this.req.headers,{etag:this.res.getHeader("ETag"),"last-modified":this.res.getHeader("Last-Modified")})},ZE.prototype.isRangeFresh=function(){var e=this.req.headers["if-range"];if(!e)return!0;if(-1!==e.indexOf('"')){var a=this.res.getHeader("ETag");return Boolean(a&&-1!==e.indexOf(a))}return aT(this.res.getHeader("Last-Modified"))<=aT(e)},ZE.prototype.redirect=function(e){var a=this.res;if(QE(this,"directory"))this.emit("directory",a,e);else if(this.hasTrailingSlash())this.error(403);else{var i=AE(function(e){for(var a=0;a<e.length&&"/"===e[a];a++);return a>1?"/"+e.substr(a):e}(this.path+"/")),n=XE("Redirecting",'Redirecting to <a href="'+CE(i)+'">'+CE(i)+"</a>");a.statusCode=301,a.setHeader("Content-Type","text/html; charset=UTF-8"),a.setHeader("Content-Length",Buffer.byteLength(n)),a.setHeader("Content-Security-Policy","default-src 'none'"),a.setHeader("X-Content-Type-Options","nosniff"),a.setHeader("Location",i),a.end(n)}},ZE.prototype.pipe=function(e){var a=this._root;this.res=e;var i,n=function(e){try{return decodeURIComponent(e)}catch(e){return-1}}(this.path);if(-1===n)return this.error(400),e;if(~n.indexOf("\0"))return this.error(400),e;if(null!==a){if(n&&(n=HE("."+WE+n)),JE.test(n))return EE('malicious path "%s"',n),this.error(403),e;i=n.split(WE),n=HE($E(a,n))}else{if(JE.test(n))return EE('malicious path "%s"',n),this.error(403),e;i=HE(n).split(WE),n=VE(n)}if(function(e){for(var a=0;a<e.length;a++){var i=e[a];if(i.length>1&&"."===i[0])return!0}return!1}(i)){var t=this._dotfiles;switch(void 0===t&&(t="."===i[i.length-1][0]?this._hidden?"allow":"ignore":"allow"),EE('%s dotfile "%s"',t,n),t){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)},ZE.prototype.send=function(e,a){var i=a.size,n=this.options,t={},o=this.res,s=this.req,r=s.headers.range,c=n.start||0;if(function(e){return"boolean"!=typeof e.headersSent?Boolean(e._header):e.headersSent}(o))this.headersAlreadySent();else{if(EE('pipe "%s"',e),this.setHeader(e,a),this.type(e),this.isConditionalGET()){if(this.isPreconditionFailure())return void this.error(412);if(this.isCachable()&&this.isFresh())return void this.notModified()}if(i=Math.max(0,i-c),void 0!==n.end){var p=n.end-c+1;i>p&&(i=p)}if(this._acceptRanges&&GE.test(r)){if(r=BE(i,r,{combine:!0}),this.isRangeFresh()||(EE("range stale"),r=-2),-1===r)return EE("range unsatisfiable"),o.setHeader("Content-Range",YE("bytes",i)),this.error(416,{headers:{"Content-Range":o.getHeader("Content-Range")}});-2!==r&&1===r.length&&(EE("range %j",r),o.statusCode=206,o.setHeader("Content-Range",YE("bytes",i,r[0])),c+=r[0].start,i=r[0].end-r[0].start+1)}for(var l in n)t[l]=n[l];t.start=c,t.end=Math.max(c,c+i-1),o.setHeader("Content-Length",i),"HEAD"!==s.method?this.stream(e,t):o.end()}},ZE.prototype.sendFile=function(e){var a=0,i=this;function n(t){if(i._extensions.length<=a)return t?i.onStatError(t):i.error(404);var o=e+"."+i._extensions[a++];EE('stat "%s"',o),PE.stat(o,(function(e,a){return e?n(e):a.isDirectory()?n():(i.emit("file",o,a),void i.send(o,a))}))}EE('stat "%s"',e),PE.stat(e,(function(a,t){return a&&"ENOENT"===a.code&&!ME(e)&&e[e.length-1]!==WE?n(a):a?i.onStatError(a):t.isDirectory()?i.redirect(e):(i.emit("file",e,t),void i.send(e,t))}))},ZE.prototype.sendIndex=function(e){var a=-1,i=this;!function n(t){if(++a>=i._index.length)return t?i.onStatError(t):i.error(404);var o=$E(e,i._index[a]);EE('stat "%s"',o),PE.stat(o,(function(e,a){return e?n(e):a.isDirectory()?n():(i.emit("file",o,a),void i.send(o,a))}))}()},ZE.prototype.stream=function(e,a){var i=this,n=this.res,t=PE.createReadStream(e,a);function o(){OE(t,!0)}this.emit("stream",t),t.pipe(n),LE(n,o),t.on("error",(function(e){o(),i.onStatError(e)})),t.on("end",(function(){i.emit("end")}))},ZE.prototype.type=function(e){var a=this.res;if(!a.getHeader("Content-Type")){var i=qE.lookup(e);if(i){var n=qE.charsets.lookup(i);EE("content-type %s",i),a.setHeader("Content-Type",i+(n?"; charset="+n:""))}else EE("no content-type")}},ZE.prototype.setHeader=function(e,a){var i=this.res;if(this.emit("headers",i,e,a),this._acceptRanges&&!i.getHeader("Accept-Ranges")&&(EE("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"),EE("cache-control %s",n),i.setHeader("Cache-Control",n)}if(this._lastModified&&!i.getHeader("Last-Modified")){var t=a.mtime.toUTCString();EE("modified %s",t),i.setHeader("Last-Modified",t)}if(this._etag&&!i.getHeader("ETag")){var o=RE(a);EE("etag %s",o),i.setHeader("ETag",o)}};var iT={exports:{}},nT=function(e){if(!e)throw new TypeError("argument req is required");var a=function(e){for(var a=e.length,i=[],n=e.length,t=e.length-1;t>=0;t--)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t);break;case 44:n!==a&&i.push(e.substring(n,a)),n=a=t;break;default:n=t}n!==a&&i.push(e.substring(n,a));return i}(e.headers["x-forwarded-for"]||""),i=function(e){return e.socket?e.socket.remoteAddress:e.connection.remoteAddress}(e);return[i].concat(a)};
217
+ */var TE=Iv.exports,OE=eb.exports("send"),AE=mv("send"),CE=db,RE=s_,zE=u_,PE=tE,qE=pE,FE=i,LE=fE,BE=function(e,a){a=a||{};var i=typeof e;if("string"===i&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var i=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*yE;case"weeks":case"week":case"w":return i*gE;case"days":case"day":case"d":return i*bE;case"hours":case"hour":case"hrs":case"hr":case"h":return i*vE;case"minutes":case"minute":case"mins":case"min":case"m":return i*xE;case"seconds":case"second":case"secs":case"sec":case"s":return i*hE;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===i&&isFinite(e))return a.long?function(e){var a=Math.abs(e);if(a>=bE)return wE(e,a,bE,"day");if(a>=vE)return wE(e,a,vE,"hour");if(a>=xE)return wE(e,a,xE,"minute");if(a>=hE)return wE(e,a,hE,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=bE)return Math.round(e/bE)+"d";if(a>=vE)return Math.round(e/vE)+"h";if(a>=xE)return Math.round(e/xE)+"m";if(a>=hE)return Math.round(e/hE)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},NE=lg.exports,UE=kE,IE=a,DE=$v,ME=e,$E=t,HE=IE.extname,VE=IE.join,WE=IE.normalize,GE=IE.resolve,KE=IE.sep,JE=/^ *bytes=/,ZE=31536e6,YE=/(?:^|[\\/])\.\.(?:[\\/]|$)/;function XE(e,a,i){ME.call(this);var n=i||{};if(this.options=n,this.path=a,this.req=e,this._acceptRanges=void 0===n.acceptRanges||Boolean(n.acceptRanges),this._cacheControl=void 0===n.cacheControl||Boolean(n.cacheControl),this._etag=void 0===n.etag||Boolean(n.etag),this._dotfiles=void 0!==n.dotfiles?n.dotfiles:"ignore","ignore"!==this._dotfiles&&"allow"!==this._dotfiles&&"deny"!==this._dotfiles)throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"');this._hidden=Boolean(n.hidden),void 0!==n.hidden&&AE("hidden: use dotfiles: '"+(this._hidden?"allow":"ignore")+"' instead"),void 0===n.dotfiles&&(this._dotfiles=void 0),this._extensions=void 0!==n.extensions?iT(n.extensions,"extensions option"):[],this._immutable=void 0!==n.immutable&&Boolean(n.immutable),this._index=void 0!==n.index?iT(n.index,"index option"):["index.html"],this._lastModified=void 0===n.lastModified||Boolean(n.lastModified),this._maxage=n.maxAge||n.maxage,this._maxage="string"==typeof this._maxage?BE(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),ZE),this._root=n.root?GE(n.root):null,!this._root&&n.from&&this.from(n.from)}function QE(e,a,i){return e+" "+(i?i.start+"-"+i.end:"*")+"/"+a}function eT(e,a){return'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>'+e+"</title>\n</head>\n<body>\n<pre>"+a+"</pre>\n</body>\n</html>\n"}function aT(e,a){return("function"!=typeof e.listenerCount?e.listeners(a).length:e.listenerCount(a))>0}function iT(e,a){for(var i=[].concat(e||[]),n=0;n<i.length;n++)if("string"!=typeof i[n])throw new TypeError(a+" must be array of strings or false");return i}function nT(e){var a=e&&Date.parse(e);return"number"==typeof a?a:NaN}nE.exports=function(e,a,i){return new XE(e,a,i)},nE.exports.mime=LE,$E.inherits(XE,ME),XE.prototype.etag=AE.function((function(e){return this._etag=Boolean(e),OE("etag %s",this._etag),this}),"send.etag: pass etag as option"),XE.prototype.hidden=AE.function((function(e){return this._hidden=Boolean(e),this._dotfiles=void 0,OE("hidden %s",this._hidden),this}),"send.hidden: use dotfiles option"),XE.prototype.index=AE.function((function(e){var a=e?iT(e,"paths argument"):[];return OE("index %o",e),this._index=a,this}),"send.index: pass index as option"),XE.prototype.root=function(e){return this._root=GE(String(e)),OE("root %s",this._root),this},XE.prototype.from=AE.function(XE.prototype.root,"send.from: pass root as option"),XE.prototype.root=AE.function(XE.prototype.root,"send.root: pass root as option"),XE.prototype.maxage=AE.function((function(e){return this._maxage="string"==typeof e?BE(e):Number(e),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),ZE),OE("max-age %d",this._maxage),this}),"send.maxage: pass maxAge as option"),XE.prototype.error=function(e,a){if(aT(this,"error"))return this.emit("error",function(e,a){if(!a)return TE(e);return a instanceof Error?TE(e,a,{expose:!1}):TE(e,a)}(e,a));var i=this.res,n=DE.message[e]||String(e),t=eT("Error",zE(n));!function(e){for(var a=function(e){return"function"!=typeof e.getHeaderNames?Object.keys(e._headers||{}):e.getHeaderNames()}(e),i=0;i<a.length;i++)e.removeHeader(a[i])}(i),a&&a.headers&&function(e,a){for(var i=Object.keys(a),n=0;n<i.length;n++){var t=i[n];e.setHeader(t,a[t])}}(i,a.headers),i.statusCode=e,i.setHeader("Content-Type","text/html; charset=UTF-8"),i.setHeader("Content-Length",Buffer.byteLength(t)),i.setHeader("Content-Security-Policy","default-src 'none'"),i.setHeader("X-Content-Type-Options","nosniff"),i.end(t)},XE.prototype.hasTrailingSlash=function(){return"/"===this.path[this.path.length-1]},XE.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"]},XE.prototype.isPreconditionFailure=function(){var e=this.req,a=this.res,i=e.headers["if-match"];if(i){var n=a.getHeader("ETag");return!n||"*"!==i&&function(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:n!==a&&i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}n!==a&&i.push(e.substring(n,a));return i}(i).every((function(e){return e!==n&&e!=="W/"+n&&"W/"+e!==n}))}var t=nT(e.headers["if-unmodified-since"]);if(!isNaN(t)){var o=nT(a.getHeader("Last-Modified"));return isNaN(o)||o>t}return!1},XE.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")},XE.prototype.notModified=function(){var e=this.res;OE("not modified"),this.removeContentHeaderFields(),e.statusCode=304,e.end()},XE.prototype.headersAlreadySent=function(){var e=new Error("Can't set headers after they are sent.");OE("headers already sent"),this.error(500,e)},XE.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||304===e},XE.prototype.onStatError=function(e){switch(e.code){case"ENAMETOOLONG":case"ENOENT":case"ENOTDIR":this.error(404,e);break;default:this.error(500,e)}},XE.prototype.isFresh=function(){return qE(this.req.headers,{etag:this.res.getHeader("ETag"),"last-modified":this.res.getHeader("Last-Modified")})},XE.prototype.isRangeFresh=function(){var e=this.req.headers["if-range"];if(!e)return!0;if(-1!==e.indexOf('"')){var a=this.res.getHeader("ETag");return Boolean(a&&-1!==e.indexOf(a))}return nT(this.res.getHeader("Last-Modified"))<=nT(e)},XE.prototype.redirect=function(e){var a=this.res;if(aT(this,"directory"))this.emit("directory",a,e);else if(this.hasTrailingSlash())this.error(403);else{var i=RE(function(e){for(var a=0;a<e.length&&"/"===e[a];a++);return a>1?"/"+e.substr(a):e}(this.path+"/")),n=eT("Redirecting",'Redirecting to <a href="'+zE(i)+'">'+zE(i)+"</a>");a.statusCode=301,a.setHeader("Content-Type","text/html; charset=UTF-8"),a.setHeader("Content-Length",Buffer.byteLength(n)),a.setHeader("Content-Security-Policy","default-src 'none'"),a.setHeader("X-Content-Type-Options","nosniff"),a.setHeader("Location",i),a.end(n)}},XE.prototype.pipe=function(e){var a=this._root;this.res=e;var i,n=function(e){try{return decodeURIComponent(e)}catch(e){return-1}}(this.path);if(-1===n)return this.error(400),e;if(~n.indexOf("\0"))return this.error(400),e;if(null!==a){if(n&&(n=WE("."+KE+n)),YE.test(n))return OE('malicious path "%s"',n),this.error(403),e;i=n.split(KE),n=WE(VE(a,n))}else{if(YE.test(n))return OE('malicious path "%s"',n),this.error(403),e;i=WE(n).split(KE),n=GE(n)}if(function(e){for(var a=0;a<e.length;a++){var i=e[a];if(i.length>1&&"."===i[0])return!0}return!1}(i)){var t=this._dotfiles;switch(void 0===t&&(t="."===i[i.length-1][0]?this._hidden?"allow":"ignore":"allow"),OE('%s dotfile "%s"',t,n),t){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)},XE.prototype.send=function(e,a){var i=a.size,n=this.options,t={},o=this.res,s=this.req,r=s.headers.range,c=n.start||0;if(function(e){return"boolean"!=typeof e.headersSent?Boolean(e._header):e.headersSent}(o))this.headersAlreadySent();else{if(OE('pipe "%s"',e),this.setHeader(e,a),this.type(e),this.isConditionalGET()){if(this.isPreconditionFailure())return void this.error(412);if(this.isCachable()&&this.isFresh())return void this.notModified()}if(i=Math.max(0,i-c),void 0!==n.end){var p=n.end-c+1;i>p&&(i=p)}if(this._acceptRanges&&JE.test(r)){if(r=UE(i,r,{combine:!0}),this.isRangeFresh()||(OE("range stale"),r=-2),-1===r)return OE("range unsatisfiable"),o.setHeader("Content-Range",QE("bytes",i)),this.error(416,{headers:{"Content-Range":o.getHeader("Content-Range")}});-2!==r&&1===r.length&&(OE("range %j",r),o.statusCode=206,o.setHeader("Content-Range",QE("bytes",i,r[0])),c+=r[0].start,i=r[0].end-r[0].start+1)}for(var l in n)t[l]=n[l];t.start=c,t.end=Math.max(c,c+i-1),o.setHeader("Content-Length",i),"HEAD"!==s.method?this.stream(e,t):o.end()}},XE.prototype.sendFile=function(e){var a=0,i=this;function n(t){if(i._extensions.length<=a)return t?i.onStatError(t):i.error(404);var o=e+"."+i._extensions[a++];OE('stat "%s"',o),FE.stat(o,(function(e,a){return e?n(e):a.isDirectory()?n():(i.emit("file",o,a),void i.send(o,a))}))}OE('stat "%s"',e),FE.stat(e,(function(a,t){return a&&"ENOENT"===a.code&&!HE(e)&&e[e.length-1]!==KE?n(a):a?i.onStatError(a):t.isDirectory()?i.redirect(e):(i.emit("file",e,t),void i.send(e,t))}))},XE.prototype.sendIndex=function(e){var a=-1,i=this;!function n(t){if(++a>=i._index.length)return t?i.onStatError(t):i.error(404);var o=VE(e,i._index[a]);OE('stat "%s"',o),FE.stat(o,(function(e,a){return e?n(e):a.isDirectory()?n():(i.emit("file",o,a),void i.send(o,a))}))}()},XE.prototype.stream=function(e,a){var i=this,n=this.res,t=FE.createReadStream(e,a);function o(){CE(t,!0)}this.emit("stream",t),t.pipe(n),NE(n,o),t.on("error",(function(e){o(),i.onStatError(e)})),t.on("end",(function(){i.emit("end")}))},XE.prototype.type=function(e){var a=this.res;if(!a.getHeader("Content-Type")){var i=LE.lookup(e);if(i){var n=LE.charsets.lookup(i);OE("content-type %s",i),a.setHeader("Content-Type",i+(n?"; charset="+n:""))}else OE("no content-type")}},XE.prototype.setHeader=function(e,a){var i=this.res;if(this.emit("headers",i,e,a),this._acceptRanges&&!i.getHeader("Accept-Ranges")&&(OE("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"),OE("cache-control %s",n),i.setHeader("Cache-Control",n)}if(this._lastModified&&!i.getHeader("Last-Modified")){var t=a.mtime.toUTCString();OE("modified %s",t),i.setHeader("Last-Modified",t)}if(this._etag&&!i.getHeader("ETag")){var o=PE(a);OE("etag %s",o),i.setHeader("ETag",o)}};var tT={exports:{}},oT=function(e){if(!e)throw new TypeError("argument req is required");var a=function(e){for(var a=e.length,i=[],n=e.length,t=e.length-1;t>=0;t--)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t);break;case 44:n!==a&&i.push(e.substring(n,a)),n=a=t;break;default:n=t}n!==a&&i.push(e.substring(n,a));return i}(e.headers["x-forwarded-for"]||""),i=function(e){return e.socket?e.socket.remoteAddress:e.connection.remoteAddress}(e);return[i].concat(a)};
218
218
  /*!
219
219
  * forwarded
220
220
  * Copyright(c) 2014-2017 Douglas Christopher Wilson
221
221
  * MIT Licensed
222
- */var tT={exports:{}};!function(e){(function(){var a,i,n,t,o,s,r,c;i={},null!==e&&e.exports?e.exports=i:this.ipaddr=i,r=function(e,a,i,n){var t,o;if(e.length!==a.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(t=0;n>0;){if((o=i-n)<0&&(o=0),e[t]>>o!=a[t]>>o)return!1;n-=i,t+=1}return!0},i.subnetMatch=function(e,a,i){var n,t,o,s,r;for(o in null==i&&(i="unicast"),a)for(!(s=a[o])[0]||s[0]instanceof Array||(s=[s]),n=0,t=s.length;n<t;n++)if(r=s[n],e.kind()===r[0].kind()&&e.match.apply(e,r))return o;return i},i.IPv4=function(){function e(e){var a,i,n;if(4!==e.length)throw new Error("ipaddr: ipv4 octet count should be 4");for(a=0,i=e.length;a<i;a++)if(!(0<=(n=e[a])&&n<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}return e.prototype.kind=function(){return"ipv4"},e.prototype.toString=function(){return this.octets.join(".")},e.prototype.toNormalizedString=function(){return this.toString()},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,a){var i;if(void 0===a&&(e=(i=e)[0],a=i[1]),"ipv4"!==e.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return r(this.octets,e.octets,8,a)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return i.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return i.IPv6.parse("::ffff:"+this.toString())},e.prototype.prefixLengthFromSubnetMask=function(){var e,a,i,n,t,o,s;for(s={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},e=0,t=!1,a=i=3;i>=0;a=i+=-1){if(!((n=this.octets[a])in s))return null;if(o=s[n],t&&0!==o)return null;8!==o&&(t=!0),e+=o}return 32-e},e}(),n="(0?\\d+|0x[a-f0-9]+)",t={fourOctet:new RegExp("^"+n+"\\."+n+"\\."+n+"\\."+n+"$","i"),longValue:new RegExp("^"+n+"$","i")},i.IPv4.parser=function(e){var a,i,n,o,s;if(i=function(e){return"0"===e[0]&&"x"!==e[1]?parseInt(e,8):parseInt(e)},a=e.match(t.fourOctet))return function(){var e,t,o,s;for(s=[],e=0,t=(o=a.slice(1,6)).length;e<t;e++)n=o[e],s.push(i(n));return s}();if(a=e.match(t.longValue)){if((s=i(a[1]))>4294967295||s<0)throw new Error("ipaddr: address outside defined range");return function(){var e,a;for(a=[],o=e=0;e<=24;o=e+=8)a.push(s>>o&255);return a}().reverse()}return null},i.IPv6=function(){function e(e,a){var i,n,t,o,s,r;if(16===e.length)for(this.parts=[],i=n=0;n<=14;i=n+=2)this.parts.push(e[i]<<8|e[i+1]);else{if(8!==e.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(t=0,o=(r=this.parts).length;t<o;t++)if(!(0<=(s=r[t])&&s<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");a&&(this.zoneId=a)}return e.prototype.kind=function(){return"ipv6"},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},e.prototype.toRFC5952String=function(){var e,a,i,n,t;for(n=/((^|:)(0(:|$)){2,})/g,t=this.toNormalizedString(),e=0,a=-1;i=n.exec(t);)i[0].length>a&&(e=i.index,a=i[0].length);return a<0?t:t.substring(0,e)+"::"+t.substring(e+a)},e.prototype.toByteArray=function(){var e,a,i,n,t;for(e=[],a=0,i=(t=this.parts).length;a<i;a++)n=t[a],e.push(n>>8),e.push(255&n);return e},e.prototype.toNormalizedString=function(){var e,a,i;return e=function(){var e,i,n,t;for(t=[],e=0,i=(n=this.parts).length;e<i;e++)a=n[e],t.push(a.toString(16));return t}.call(this).join(":"),i="",this.zoneId&&(i="%"+this.zoneId),e+i},e.prototype.toFixedLengthString=function(){var e,a,i;return e=function(){var e,i,n,t;for(t=[],e=0,i=(n=this.parts).length;e<i;e++)a=n[e],t.push(a.toString(16).padStart(4,"0"));return t}.call(this).join(":"),i="",this.zoneId&&(i="%"+this.zoneId),e+i},e.prototype.match=function(e,a){var i;if(void 0===a&&(e=(i=e)[0],a=i[1]),"ipv6"!==e.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return r(this.parts,e.parts,16,a)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return i.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},e.prototype.toIPv4Address=function(){var e,a,n;if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return e=(n=this.parts.slice(-2))[0],a=n[1],new i.IPv4([e>>8,255&e,a>>8,255&a])},e.prototype.prefixLengthFromSubnetMask=function(){var e,a,i,n,t,o,s;for(s={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},e=0,t=!1,a=i=7;i>=0;a=i+=-1){if(!((n=this.parts[a])in s))return null;if(o=s[n],t&&0!==o)return null;16!==o&&(t=!0),e+=o}return 128-e},e}(),o="(?:[0-9a-f]+::?)+",c="%[0-9a-z]{1,}",s={zoneIndex:new RegExp(c,"i"),native:new RegExp("^(::)?("+o+")?([0-9a-f]+)?(::)?("+c+")?$","i"),transitional:new RegExp("^((?:"+o+")|(?:::)(?:"+o+")?)"+n+"\\."+n+"\\."+n+"\\."+n+"("+c+")?$","i")},a=function(e,a){var i,n,t,o,r,c;if(e.indexOf("::")!==e.lastIndexOf("::"))return null;for((c=(e.match(s.zoneIndex)||[])[0])&&(c=c.substring(1),e=e.replace(/%.+$/,"")),i=0,n=-1;(n=e.indexOf(":",n+1))>=0;)i++;if("::"===e.substr(0,2)&&i--,"::"===e.substr(-2,2)&&i--,i>a)return null;for(r=a-i,o=":";r--;)o+="0:";return":"===(e=e.replace("::",o))[0]&&(e=e.slice(1)),":"===e[e.length-1]&&(e=e.slice(0,-1)),a=function(){var a,i,n,o;for(o=[],a=0,i=(n=e.split(":")).length;a<i;a++)t=n[a],o.push(parseInt(t,16));return o}(),{parts:a,zoneId:c}},i.IPv6.parser=function(e){var i,n,t,o,r,c,p;if(s.native.test(e))return a(e,8);if((o=e.match(s.transitional))&&(p=o[6]||"",(i=a(o[1].slice(0,-1)+p,6)).parts)){for(n=0,t=(c=[parseInt(o[2]),parseInt(o[3]),parseInt(o[4]),parseInt(o[5])]).length;n<t;n++)if(!(0<=(r=c[n])&&r<=255))return null;return i.parts.push(c[0]<<8|c[1]),i.parts.push(c[2]<<8|c[3]),{parts:i.parts,zoneId:i.zoneId}}return null},i.IPv4.isIPv4=i.IPv6.isIPv6=function(e){return null!==this.parser(e)},i.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch(e){return!1}},i.IPv4.isValidFourPartDecimal=function(e){return!(!i.IPv4.isValid(e)||!e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},i.IPv6.isValid=function(e){var a;if("string"==typeof e&&-1===e.indexOf(":"))return!1;try{return new this((a=this.parser(e)).parts,a.zoneId),!0}catch(e){return!1}},i.IPv4.parse=function(e){var a;if(null===(a=this.parser(e)))throw new Error("ipaddr: string is not formatted like ip address");return new this(a)},i.IPv6.parse=function(e){var a;if(null===(a=this.parser(e)).parts)throw new Error("ipaddr: string is not formatted like ip address");return new this(a.parts,a.zoneId)},i.IPv4.parseCIDR=function(e){var a,i,n;if((i=e.match(/^(.+)\/(\d+)$/))&&(a=parseInt(i[2]))>=0&&a<=32)return n=[this.parse(i[1]),a],Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},i.IPv4.subnetMaskFromPrefixLength=function(e){var a,i,n;if((e=parseInt(e))<0||e>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(n=[0,0,0,0],i=0,a=Math.floor(e/8);i<a;)n[i]=255,i++;return a<4&&(n[a]=Math.pow(2,e%8)-1<<8-e%8),new this(n)},i.IPv4.broadcastAddressFromCIDR=function(e){var a,i,n,t,o;try{for(n=(a=this.parseCIDR(e))[0].toByteArray(),o=this.subnetMaskFromPrefixLength(a[1]).toByteArray(),t=[],i=0;i<4;)t.push(parseInt(n[i],10)|255^parseInt(o[i],10)),i++;return new this(t)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},i.IPv4.networkAddressFromCIDR=function(e){var a,i,n,t,o;try{for(n=(a=this.parseCIDR(e))[0].toByteArray(),o=this.subnetMaskFromPrefixLength(a[1]).toByteArray(),t=[],i=0;i<4;)t.push(parseInt(n[i],10)&parseInt(o[i],10)),i++;return new this(t)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},i.IPv6.parseCIDR=function(e){var a,i,n;if((i=e.match(/^(.+)\/(\d+)$/))&&(a=parseInt(i[2]))>=0&&a<=128)return n=[this.parse(i[1]),a],Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},i.isValid=function(e){return i.IPv6.isValid(e)||i.IPv4.isValid(e)},i.parse=function(e){if(i.IPv6.isValid(e))return i.IPv6.parse(e);if(i.IPv4.isValid(e))return i.IPv4.parse(e);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},i.parseCIDR=function(e){try{return i.IPv6.parseCIDR(e)}catch(a){try{return i.IPv4.parseCIDR(e)}catch(e){throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},i.fromByteArray=function(e){var a;if(4===(a=e.length))return new i.IPv4(e);if(16===a)return new i.IPv6(e);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},i.process=function(e){var a;return"ipv6"===(a=this.parse(e)).kind()&&a.isIPv4MappedAddress()?a.toIPv4Address():a}}).call(b)}(tT),
222
+ */var sT={exports:{}};!function(e){(function(){var a,i,n,t,o,s,r,c;i={},null!==e&&e.exports?e.exports=i:this.ipaddr=i,r=function(e,a,i,n){var t,o;if(e.length!==a.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(t=0;n>0;){if((o=i-n)<0&&(o=0),e[t]>>o!=a[t]>>o)return!1;n-=i,t+=1}return!0},i.subnetMatch=function(e,a,i){var n,t,o,s,r;for(o in null==i&&(i="unicast"),a)for(!(s=a[o])[0]||s[0]instanceof Array||(s=[s]),n=0,t=s.length;n<t;n++)if(r=s[n],e.kind()===r[0].kind()&&e.match.apply(e,r))return o;return i},i.IPv4=function(){function e(e){var a,i,n;if(4!==e.length)throw new Error("ipaddr: ipv4 octet count should be 4");for(a=0,i=e.length;a<i;a++)if(!(0<=(n=e[a])&&n<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}return e.prototype.kind=function(){return"ipv4"},e.prototype.toString=function(){return this.octets.join(".")},e.prototype.toNormalizedString=function(){return this.toString()},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,a){var i;if(void 0===a&&(e=(i=e)[0],a=i[1]),"ipv4"!==e.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return r(this.octets,e.octets,8,a)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return i.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return i.IPv6.parse("::ffff:"+this.toString())},e.prototype.prefixLengthFromSubnetMask=function(){var e,a,i,n,t,o,s;for(s={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},e=0,t=!1,a=i=3;i>=0;a=i+=-1){if(!((n=this.octets[a])in s))return null;if(o=s[n],t&&0!==o)return null;8!==o&&(t=!0),e+=o}return 32-e},e}(),n="(0?\\d+|0x[a-f0-9]+)",t={fourOctet:new RegExp("^"+n+"\\."+n+"\\."+n+"\\."+n+"$","i"),longValue:new RegExp("^"+n+"$","i")},i.IPv4.parser=function(e){var a,i,n,o,s;if(i=function(e){return"0"===e[0]&&"x"!==e[1]?parseInt(e,8):parseInt(e)},a=e.match(t.fourOctet))return function(){var e,t,o,s;for(s=[],e=0,t=(o=a.slice(1,6)).length;e<t;e++)n=o[e],s.push(i(n));return s}();if(a=e.match(t.longValue)){if((s=i(a[1]))>4294967295||s<0)throw new Error("ipaddr: address outside defined range");return function(){var e,a;for(a=[],o=e=0;e<=24;o=e+=8)a.push(s>>o&255);return a}().reverse()}return null},i.IPv6=function(){function e(e,a){var i,n,t,o,s,r;if(16===e.length)for(this.parts=[],i=n=0;n<=14;i=n+=2)this.parts.push(e[i]<<8|e[i+1]);else{if(8!==e.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(t=0,o=(r=this.parts).length;t<o;t++)if(!(0<=(s=r[t])&&s<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");a&&(this.zoneId=a)}return e.prototype.kind=function(){return"ipv6"},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},e.prototype.toRFC5952String=function(){var e,a,i,n,t;for(n=/((^|:)(0(:|$)){2,})/g,t=this.toNormalizedString(),e=0,a=-1;i=n.exec(t);)i[0].length>a&&(e=i.index,a=i[0].length);return a<0?t:t.substring(0,e)+"::"+t.substring(e+a)},e.prototype.toByteArray=function(){var e,a,i,n,t;for(e=[],a=0,i=(t=this.parts).length;a<i;a++)n=t[a],e.push(n>>8),e.push(255&n);return e},e.prototype.toNormalizedString=function(){var e,a,i;return e=function(){var e,i,n,t;for(t=[],e=0,i=(n=this.parts).length;e<i;e++)a=n[e],t.push(a.toString(16));return t}.call(this).join(":"),i="",this.zoneId&&(i="%"+this.zoneId),e+i},e.prototype.toFixedLengthString=function(){var e,a,i;return e=function(){var e,i,n,t;for(t=[],e=0,i=(n=this.parts).length;e<i;e++)a=n[e],t.push(a.toString(16).padStart(4,"0"));return t}.call(this).join(":"),i="",this.zoneId&&(i="%"+this.zoneId),e+i},e.prototype.match=function(e,a){var i;if(void 0===a&&(e=(i=e)[0],a=i[1]),"ipv6"!==e.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return r(this.parts,e.parts,16,a)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return i.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},e.prototype.toIPv4Address=function(){var e,a,n;if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return e=(n=this.parts.slice(-2))[0],a=n[1],new i.IPv4([e>>8,255&e,a>>8,255&a])},e.prototype.prefixLengthFromSubnetMask=function(){var e,a,i,n,t,o,s;for(s={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},e=0,t=!1,a=i=7;i>=0;a=i+=-1){if(!((n=this.parts[a])in s))return null;if(o=s[n],t&&0!==o)return null;16!==o&&(t=!0),e+=o}return 128-e},e}(),o="(?:[0-9a-f]+::?)+",c="%[0-9a-z]{1,}",s={zoneIndex:new RegExp(c,"i"),native:new RegExp("^(::)?("+o+")?([0-9a-f]+)?(::)?("+c+")?$","i"),transitional:new RegExp("^((?:"+o+")|(?:::)(?:"+o+")?)"+n+"\\."+n+"\\."+n+"\\."+n+"("+c+")?$","i")},a=function(e,a){var i,n,t,o,r,c;if(e.indexOf("::")!==e.lastIndexOf("::"))return null;for((c=(e.match(s.zoneIndex)||[])[0])&&(c=c.substring(1),e=e.replace(/%.+$/,"")),i=0,n=-1;(n=e.indexOf(":",n+1))>=0;)i++;if("::"===e.substr(0,2)&&i--,"::"===e.substr(-2,2)&&i--,i>a)return null;for(r=a-i,o=":";r--;)o+="0:";return":"===(e=e.replace("::",o))[0]&&(e=e.slice(1)),":"===e[e.length-1]&&(e=e.slice(0,-1)),a=function(){var a,i,n,o;for(o=[],a=0,i=(n=e.split(":")).length;a<i;a++)t=n[a],o.push(parseInt(t,16));return o}(),{parts:a,zoneId:c}},i.IPv6.parser=function(e){var i,n,t,o,r,c,p;if(s.native.test(e))return a(e,8);if((o=e.match(s.transitional))&&(p=o[6]||"",(i=a(o[1].slice(0,-1)+p,6)).parts)){for(n=0,t=(c=[parseInt(o[2]),parseInt(o[3]),parseInt(o[4]),parseInt(o[5])]).length;n<t;n++)if(!(0<=(r=c[n])&&r<=255))return null;return i.parts.push(c[0]<<8|c[1]),i.parts.push(c[2]<<8|c[3]),{parts:i.parts,zoneId:i.zoneId}}return null},i.IPv4.isIPv4=i.IPv6.isIPv6=function(e){return null!==this.parser(e)},i.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch(e){return!1}},i.IPv4.isValidFourPartDecimal=function(e){return!(!i.IPv4.isValid(e)||!e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},i.IPv6.isValid=function(e){var a;if("string"==typeof e&&-1===e.indexOf(":"))return!1;try{return new this((a=this.parser(e)).parts,a.zoneId),!0}catch(e){return!1}},i.IPv4.parse=function(e){var a;if(null===(a=this.parser(e)))throw new Error("ipaddr: string is not formatted like ip address");return new this(a)},i.IPv6.parse=function(e){var a;if(null===(a=this.parser(e)).parts)throw new Error("ipaddr: string is not formatted like ip address");return new this(a.parts,a.zoneId)},i.IPv4.parseCIDR=function(e){var a,i,n;if((i=e.match(/^(.+)\/(\d+)$/))&&(a=parseInt(i[2]))>=0&&a<=32)return n=[this.parse(i[1]),a],Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},i.IPv4.subnetMaskFromPrefixLength=function(e){var a,i,n;if((e=parseInt(e))<0||e>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(n=[0,0,0,0],i=0,a=Math.floor(e/8);i<a;)n[i]=255,i++;return a<4&&(n[a]=Math.pow(2,e%8)-1<<8-e%8),new this(n)},i.IPv4.broadcastAddressFromCIDR=function(e){var a,i,n,t,o;try{for(n=(a=this.parseCIDR(e))[0].toByteArray(),o=this.subnetMaskFromPrefixLength(a[1]).toByteArray(),t=[],i=0;i<4;)t.push(parseInt(n[i],10)|255^parseInt(o[i],10)),i++;return new this(t)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},i.IPv4.networkAddressFromCIDR=function(e){var a,i,n,t,o;try{for(n=(a=this.parseCIDR(e))[0].toByteArray(),o=this.subnetMaskFromPrefixLength(a[1]).toByteArray(),t=[],i=0;i<4;)t.push(parseInt(n[i],10)&parseInt(o[i],10)),i++;return new this(t)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},i.IPv6.parseCIDR=function(e){var a,i,n;if((i=e.match(/^(.+)\/(\d+)$/))&&(a=parseInt(i[2]))>=0&&a<=128)return n=[this.parse(i[1]),a],Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},i.isValid=function(e){return i.IPv6.isValid(e)||i.IPv4.isValid(e)},i.parse=function(e){if(i.IPv6.isValid(e))return i.IPv6.parse(e);if(i.IPv4.isValid(e))return i.IPv4.parse(e);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},i.parseCIDR=function(e){try{return i.IPv6.parseCIDR(e)}catch(a){try{return i.IPv4.parseCIDR(e)}catch(e){throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},i.fromByteArray=function(e){var a;if(4===(a=e.length))return new i.IPv4(e);if(16===a)return new i.IPv6(e);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},i.process=function(e){var a;return"ipv6"===(a=this.parse(e)).kind()&&a.isIPv4MappedAddress()?a.toIPv4Address():a}}).call(b)}(sT),
223
223
  /*!
224
224
  * proxy-addr
225
225
  * Copyright(c) 2014-2016 Douglas Christopher Wilson
226
226
  * MIT Licensed
227
227
  */
228
- iT.exports=function(e,a){if(!e)throw new TypeError("req argument is required");if(!a)throw new TypeError("trust argument is required");var i=uT(e,a);return i[i.length-1]},iT.exports.all=uT,iT.exports.compile=dT;var oT=nT,sT=tT.exports,rT=/^[0-9]+$/,cT=sT.isValid,pT=sT.parse,lT={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 uT(e,a){var i=oT(e);if(!a)return i;"function"!=typeof a&&(a=dT(a));for(var n=0;n<i.length-1;n++)a(i[n],n)||(i.length=n+1);return i}function dT(e){if(!e)throw new TypeError("argument is required");var a,i,n,t,o,s,r,c,p;if("string"==typeof e)a=[e];else{if(!Array.isArray(e))throw new TypeError("unsupported trust argument");a=e.slice()}for(var l=0;l<a.length;l++)e=a[l],Object.prototype.hasOwnProperty.call(lT,e)&&(e=lT[e],a.splice.apply(a,[l,1].concat(e)),l+=e.length-1);return i=function(e){for(var a=new Array(e.length),i=0;i<e.length;i++)a[i]=mT(e[i]);return a}(a),0===(n=i.length)?fT:1===n?(o=i[0],s=o[0],r=s.kind(),c="ipv4"===r,p=o[1],function(e){if(!cT(e))return!1;var a=pT(e);if(a.kind()!==r){if(c&&!a.isIPv4MappedAddress())return!1;a=c?a.toIPv4Address():a.toIPv4MappedAddress()}return a.match(s,p)}):(t=i,function(e){if(!cT(e))return!1;for(var a,i=pT(e),n=i.kind(),o=0;o<t.length;o++){var s=t[o],r=s[0],c=r.kind(),p=s[1],l=i;if(n!==c){if("ipv4"===c&&!i.isIPv4MappedAddress())continue;a||(a="ipv4"===c?i.toIPv4Address():i.toIPv4MappedAddress()),l=a}if(l.match(r,p))return!0}return!1})}function mT(e){var a=e.lastIndexOf("/"),i=-1!==a?e.substring(0,a):e;if(!cT(i))throw new TypeError("invalid IP address: "+i);var n=pT(i);-1===a&&"ipv6"===n.kind()&&n.isIPv4MappedAddress()&&(n=n.toIPv4Address());var t="ipv6"===n.kind()?128:32,o=-1!==a?e.substring(a+1,e.length):null;if((o=null===o?t:rT.test(o)?parseInt(o,10):"ipv4"===n.kind()&&cT(o)?function(e){var a=pT(e),i=a.kind();return"ipv4"===i?a.prefixLengthFromSubnetMask():null}(o):null)<=0||o>t)throw new TypeError("invalid range on address: "+e);return[n,o]}function fT(){return!1}
228
+ tT.exports=function(e,a){if(!e)throw new TypeError("req argument is required");if(!a)throw new TypeError("trust argument is required");var i=mT(e,a);return i[i.length-1]},tT.exports.all=mT,tT.exports.compile=fT;var rT=oT,cT=sT.exports,pT=/^[0-9]+$/,lT=cT.isValid,uT=cT.parse,dT={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 mT(e,a){var i=rT(e);if(!a)return i;"function"!=typeof a&&(a=fT(a));for(var n=0;n<i.length-1;n++)a(i[n],n)||(i.length=n+1);return i}function fT(e){if(!e)throw new TypeError("argument is required");var a,i,n,t,o,s,r,c,p;if("string"==typeof e)a=[e];else{if(!Array.isArray(e))throw new TypeError("unsupported trust argument");a=e.slice()}for(var l=0;l<a.length;l++)e=a[l],Object.prototype.hasOwnProperty.call(dT,e)&&(e=dT[e],a.splice.apply(a,[l,1].concat(e)),l+=e.length-1);return i=function(e){for(var a=new Array(e.length),i=0;i<e.length;i++)a[i]=hT(e[i]);return a}(a),0===(n=i.length)?xT:1===n?(o=i[0],s=o[0],r=s.kind(),c="ipv4"===r,p=o[1],function(e){if(!lT(e))return!1;var a=uT(e);if(a.kind()!==r){if(c&&!a.isIPv4MappedAddress())return!1;a=c?a.toIPv4Address():a.toIPv4MappedAddress()}return a.match(s,p)}):(t=i,function(e){if(!lT(e))return!1;for(var a,i=uT(e),n=i.kind(),o=0;o<t.length;o++){var s=t[o],r=s[0],c=r.kind(),p=s[1],l=i;if(n!==c){if("ipv4"===c&&!i.isIPv4MappedAddress())continue;a||(a="ipv4"===c?i.toIPv4Address():i.toIPv4MappedAddress()),l=a}if(l.match(r,p))return!0}return!1})}function hT(e){var a=e.lastIndexOf("/"),i=-1!==a?e.substring(0,a):e;if(!lT(i))throw new TypeError("invalid IP address: "+i);var n=uT(i);-1===a&&"ipv6"===n.kind()&&n.isIPv4MappedAddress()&&(n=n.toIPv4Address());var t="ipv6"===n.kind()?128:32,o=-1!==a?e.substring(a+1,e.length):null;if((o=null===o?t:pT.test(o)?parseInt(o,10):"ipv4"===n.kind()&&lT(o)?function(e){var a=uT(e),i=a.kind();return"ipv4"===i?a.prefixLengthFromSubnetMask():null}(o):null)<=0||o>t)throw new TypeError("invalid range on address: "+e);return[n,o]}function xT(){return!1}
229
229
  /*!
230
230
  * express
231
231
  * Copyright(c) 2009-2013 TJ Holowaychuk
232
232
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
233
233
  * MIT Licensed
234
234
  */
235
- !function(e){var a=PS.exports.Buffer,i=qS.exports,n=Rv,t=mv("express"),o=R_,s=aE.exports.mime,r=iE,c=iT.exports,p=Qj,l=v;function u(e){return function(i,n){var t=a.isBuffer(i)?i:a.from(i,n);return r(t,e)}}function d(e){return p.parse(e,{allowPrototypes:!0})}function m(){return{}}e.etag=u({weak:!1}),e.wetag=u({weak:!0}),e.isAbsolute=function(e){return"/"===e[0]||(":"===e[1]&&("\\"===e[2]||"/"===e[2])||("\\\\"===e.substring(0,2)||void 0))},e.flatten=t.function(o,"utils.flatten: use array-flatten npm module instead"),e.normalizeType=function(e){return~e.indexOf("/")?function(e,a){for(var i=e.split(/ *; */),n={value:i[0],quality:1,params:{},originalIndex:a},t=1;t<i.length;++t){var o=i[t].split(/ *= */);"q"===o[0]?n.quality=parseFloat(o[1]):n.params[o[0]]=o[1]}return n}(e):{value:s.lookup(e),params:{}}},e.normalizeTypes=function(a){for(var i=[],n=0;n<a.length;++n)i.push(e.normalizeType(a[n]));return i},e.contentDisposition=t.function(i,"utils.contentDisposition: use content-disposition npm module instead"),e.compileETag=function(a){var i;if("function"==typeof a)return a;switch(a){case!0:case"weak":i=e.wetag;break;case!1:break;case"strong":i=e.etag;break;default:throw new TypeError("unknown value for etag function: "+a)}return i},e.compileQueryParser=function(e){var a;if("function"==typeof e)return e;switch(e){case!0:case"simple":a=l.parse;break;case!1:a=m;break;case"extended":a=d;break;default:throw new TypeError("unknown value for query parser function: "+e)}return a},e.compileTrust=function(e){return"function"==typeof e?e:!0===e?function(){return!0}:"number"==typeof e?function(a,i){return i<e}:("string"==typeof e&&(e=e.split(",").map((function(e){return e.trim()}))),c.compile(e||[]))},e.setCharset=function(e,a){if(!e||!a)return e;var i=n.parse(e);return i.parameters.charset=a,n.format(i)}}(zS),
235
+ !function(e){var a=FS.exports.Buffer,i=LS.exports,n=Rv,t=mv("express"),o=P_,s=nE.exports.mime,r=tE,c=tT.exports,p=a_,l=v;function u(e){return function(i,n){var t=a.isBuffer(i)?i:a.from(i,n);return r(t,e)}}function d(e){return p.parse(e,{allowPrototypes:!0})}function m(){return{}}e.etag=u({weak:!1}),e.wetag=u({weak:!0}),e.isAbsolute=function(e){return"/"===e[0]||(":"===e[1]&&("\\"===e[2]||"/"===e[2])||("\\\\"===e.substring(0,2)||void 0))},e.flatten=t.function(o,"utils.flatten: use array-flatten npm module instead"),e.normalizeType=function(e){return~e.indexOf("/")?function(e,a){for(var i=e.split(/ *; */),n={value:i[0],quality:1,params:{},originalIndex:a},t=1;t<i.length;++t){var o=i[t].split(/ *= */);"q"===o[0]?n.quality=parseFloat(o[1]):n.params[o[0]]=o[1]}return n}(e):{value:s.lookup(e),params:{}}},e.normalizeTypes=function(a){for(var i=[],n=0;n<a.length;++n)i.push(e.normalizeType(a[n]));return i},e.contentDisposition=t.function(i,"utils.contentDisposition: use content-disposition npm module instead"),e.compileETag=function(a){var i;if("function"==typeof a)return a;switch(a){case!0:case"weak":i=e.wetag;break;case!1:break;case"strong":i=e.etag;break;default:throw new TypeError("unknown value for etag function: "+a)}return i},e.compileQueryParser=function(e){var a;if("function"==typeof e)return e;switch(e){case!0:case"simple":a=l.parse;break;case!1:a=m;break;case"extended":a=d;break;default:throw new TypeError("unknown value for query parser function: "+e)}return a},e.compileTrust=function(e){return"function"==typeof e?e:!0===e?function(){return!0}:"number"==typeof e?function(a,i){return i<e}:("string"==typeof e&&(e=e.split(",").map((function(e){return e.trim()}))),c.compile(e||[]))},e.setCharset=function(e,a){if(!e||!a)return e;var i=n.parse(e);return i.parameters.charset=a,n.format(i)}}(qS),
236
236
  /*!
237
237
  * express
238
238
  * Copyright(c) 2009-2013 TJ Holowaychuk
@@ -240,57 +240,57 @@ iT.exports=function(e,a){if(!e)throw new TypeError("req argument is required");i
240
240
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
241
241
  * MIT Licensed
242
242
  */
243
- function(e){var i=O_,n=C_.exports,t=$_,s=hS,r=yS,c=eb.exports("express:application"),p=AS,l=o,u=zS.compileETag,d=zS.compileQueryParser,m=zS.compileTrust,f=mv("express"),h=R_,x=X_.exports,v=a.resolve,b=Dv,g=Object.prototype.hasOwnProperty,y=Array.prototype.slice,w=e.exports={},k="@@symbol:trust_proxy_default";function j(e){"test"!==this.get("env")&&console.error(e.stack||e.toString())}w.init=function(){this.cache={},this.engines={},this.settings={},this.defaultConfiguration()},w.defaultConfiguration=function(){var e="production";this.enable("x-powered-by"),this.set("etag","weak"),this.set("env",e),this.set("query parser","extended"),this.set("subdomain offset",2),this.set("trust proxy",!1),Object.defineProperty(this.settings,k,{configurable:!0,value:!0}),c("booting in %s mode",e),this.on("mount",(function(e){!0===this.settings[k]&&"function"==typeof e.settings["trust proxy fn"]&&(delete this.settings["trust proxy"],delete this.settings["trust proxy fn"]),b(this.request,e.request),b(this.response,e.response),b(this.engines,e.engines),b(this.settings,e.settings)})),this.locals=Object.create(null),this.mountpath="/",this.locals.settings=this.settings,this.set("view",p),this.set("views",v("views")),this.set("jsonp callback name","callback"),this.enable("view cache"),Object.defineProperty(this,"router",{get:function(){throw new Error("'app.router' is deprecated!\nPlease see the 3.x to 4.x migration guide for details on how to update your app.")}})},w.lazyrouter=function(){this._router||(this._router=new n({caseSensitive:this.enabled("case sensitive routing"),strict:this.enabled("strict routing")}),this._router.use(r(this.get("query parser fn"))),this._router.use(s.init(this)))},w.handle=function(e,a,n){var t=this._router,o=n||i(e,a,{env:this.get("env"),onerror:j.bind(this)});if(!t)return c("no routes defined on app"),void o();t.handle(e,a,o)},w.use=function(e){var a=0,i="/";if("function"!=typeof e){for(var n=e;Array.isArray(n)&&0!==n.length;)n=n[0];"function"!=typeof n&&(a=1,i=e)}var t=h(y.call(arguments,a));if(0===t.length)throw new TypeError("app.use() requires a middleware function");this.lazyrouter();var o=this._router;return t.forEach((function(e){if(!e||!e.handle||!e.set)return o.use(i,e);c(".use app under %s",i),e.mountpath=i,e.parent=this,o.use(i,(function(a,i,n){var t=a.app;e.handle(a,i,(function(e){b(a,t.request),b(i,t.response),n(e)}))})),e.emit("mount",this)}),this),this},w.route=function(e){return this.lazyrouter(),this._router.route(e)},w.engine=function(e,a){if("function"!=typeof a)throw new Error("callback function required");var i="."!==e[0]?"."+e:e;return this.engines[i]=a,this},w.param=function(e,a){if(this.lazyrouter(),Array.isArray(e)){for(var i=0;i<e.length;i++)this.param(e[i],a);return this}return this._router.param(e,a),this},w.set=function(e,a){if(1!==arguments.length){switch(c('set "%s" to %o',e,a),this.settings[e]=a,e){case"etag":this.set("etag fn",u(a));break;case"query parser":this.set("query parser fn",d(a));break;case"trust proxy":this.set("trust proxy fn",m(a)),Object.defineProperty(this.settings,k,{configurable:!0,value:!1})}return this}for(var i=this.settings;i&&i!==Object.prototype;){if(g.call(i,e))return i[e];i=Object.getPrototypeOf(i)}},w.path=function(){return this.parent?this.parent.path()+this.mountpath:""},w.enabled=function(e){return Boolean(this.set(e))},w.disabled=function(e){return!this.set(e)},w.enable=function(e){return this.set(e,!0)},w.disable=function(e){return this.set(e,!1)},t.forEach((function(e){w[e]=function(a){if("get"===e&&1===arguments.length)return this.set(a);this.lazyrouter();var i=this._router.route(a);return i[e].apply(i,y.call(arguments,1)),this}})),w.all=function(e){this.lazyrouter();for(var a=this._router.route(e),i=y.call(arguments,1),n=0;n<t.length;n++)a[t[n]].apply(a,i);return this},w.del=f.function(w.delete,"app.del: Use app.delete instead"),w.render=function(e,a,i){var n,t=this.cache,o=i,s=this.engines,r=a,c={};if("function"==typeof a&&(o=a,r={}),x(c,this.locals),r._locals&&x(c,r._locals),x(c,r),null==c.cache&&(c.cache=this.enabled("view cache")),c.cache&&(n=t[e]),!n){if(!(n=new(this.get("view"))(e,{defaultEngine:this.get("view engine"),root:this.get("views"),engines:s})).path){var p=Array.isArray(n.root)&&n.root.length>1?'directories "'+n.root.slice(0,-1).join('", "')+'" or "'+n.root[n.root.length-1]+'"':'directory "'+n.root+'"',l=new Error('Failed to lookup view "'+e+'" in views '+p);return l.view=n,o(l)}c.cache&&(t[e]=n)}!function(e,a,i){try{e.render(a,i)}catch(e){i(e)}}(n,c,o)},w.listen=function(){var e=l.createServer(this);return e.listen.apply(e,arguments)}}(n_);var hT={exports:{}},xT={exports:{}};xT.exports=yT,xT.exports.preferredCharsets=yT;var vT=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function bT(e,a){var i=vT.exec(e);if(!i)return null;var n=i[1],t=1;if(i[2])for(var o=i[2].split(";"),s=0;s<o.length;s++){var r=o[s].trim().split("=");if("q"===r[0]){t=parseFloat(r[1]);break}}return{charset:n,q:t,i:a}}function gT(e,a,i){var n=0;if(a.charset.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==a.charset)return null;return{i:i,o:a.i,q:a.q,s:n}}function yT(e,a){var i=function(e){for(var a=e.split(","),i=0,n=0;i<a.length;i++){var t=bT(a[i].trim(),i);t&&(a[n++]=t)}return a.length=n,a}(void 0===e?"*":e||"");if(!a)return i.filter(jT).sort(wT).map(kT);var n=a.map((function(e,a){return function(e,a,i){for(var n={o:-1,q:0,s:0},t=0;t<a.length;t++){var o=gT(e,a[t],i);o&&(n.s-o.s||n.q-o.q||n.o-o.o)<0&&(n=o)}return n}(e,i,a)}));return n.filter(jT).sort(wT).map((function(e){return a[n.indexOf(e)]}))}function wT(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function kT(e){return e.charset}function jT(e){return e.q>0}var _T={exports:{}};_T.exports=OT,_T.exports.preferredEncodings=OT;var ST=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function ET(e,a){var i=ST.exec(e);if(!i)return null;var n=i[1],t=1;if(i[2])for(var o=i[2].split(";"),s=0;s<o.length;s++){var r=o[s].trim().split("=");if("q"===r[0]){t=parseFloat(r[1]);break}}return{encoding:n,q:t,i:a}}function TT(e,a,i){var n=0;if(a.encoding.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==a.encoding)return null;return{i:i,o:a.i,q:a.q,s:n}}function OT(e,a){var i=function(e){for(var a=e.split(","),i=!1,n=1,t=0,o=0;t<a.length;t++){var s=ET(a[t].trim(),t);s&&(a[o++]=s,i=i||TT("identity",s),n=Math.min(n,s.q||1))}return i||(a[o++]={encoding:"identity",q:n,i:t}),a.length=o,a}(e||"");if(!a)return i.filter(RT).sort(AT).map(CT);var n=a.map((function(e,a){return function(e,a,i){for(var n={o:-1,q:0,s:0},t=0;t<a.length;t++){var o=TT(e,a[t],i);o&&(n.s-o.s||n.q-o.q||n.o-o.o)<0&&(n=o)}return n}(e,i,a)}));return n.filter(RT).sort(AT).map((function(e){return a[n.indexOf(e)]}))}function AT(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function CT(e){return e.encoding}function RT(e){return e.q>0}var zT={exports:{}};zT.exports=LT,zT.exports.preferredLanguages=LT;var PT=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function qT(e,a){var i=PT.exec(e);if(!i)return null;var n=i[1],t=i[2],o=n;t&&(o+="-"+t);var s=1;if(i[3])for(var r=i[3].split(";"),c=0;c<r.length;c++){var p=r[c].split("=");"q"===p[0]&&(s=parseFloat(p[1]))}return{prefix:n,suffix:t,q:s,i:a,full:o}}function FT(e,a,i){var n=qT(e);if(!n)return null;var t=0;if(a.full.toLowerCase()===n.full.toLowerCase())t|=4;else if(a.prefix.toLowerCase()===n.full.toLowerCase())t|=2;else if(a.full.toLowerCase()===n.prefix.toLowerCase())t|=1;else if("*"!==a.full)return null;return{i:i,o:a.i,q:a.q,s:t}}function LT(e,a){var i=function(e){for(var a=e.split(","),i=0,n=0;i<a.length;i++){var t=qT(a[i].trim(),i);t&&(a[n++]=t)}return a.length=n,a}(void 0===e?"*":e||"");if(!a)return i.filter(UT).sort(BT).map(NT);var n=a.map((function(e,a){return function(e,a,i){for(var n={o:-1,q:0,s:0},t=0;t<a.length;t++){var o=FT(e,a[t],i);o&&(n.s-o.s||n.q-o.q||n.o-o.o)<0&&(n=o)}return n}(e,i,a)}));return n.filter(UT).sort(BT).map((function(e){return a[n.indexOf(e)]}))}function BT(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function NT(e){return e.full}function UT(e){return e.q>0}var IT={exports:{}};IT.exports=VT,IT.exports.preferredMediaTypes=VT;var DT=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function MT(e){for(var a=function(e){for(var a=e.split(","),i=1,n=0;i<a.length;i++)JT(a[n])%2==0?a[++n]=a[i]:a[n]+=","+a[i];return a.length=n+1,a}(e),i=0,n=0;i<a.length;i++){var t=$T(a[i].trim(),i);t&&(a[n++]=t)}return a.length=n,a}function $T(e,a){var i=DT.exec(e);if(!i)return null;var n=Object.create(null),t=1,o=i[2],s=i[1];if(i[3])for(var r=function(e){for(var a=e.split(";"),i=1,n=0;i<a.length;i++)JT(a[n])%2==0?a[++n]=a[i]:a[n]+=";"+a[i];a.length=n+1;for(i=0;i<a.length;i++)a[i]=a[i].trim();return a}
243
+ function(e){var i=C_,n=z_.exports,t=V_,s=vS,r=kS,c=eb.exports("express:application"),p=RS,l=o,u=qS.compileETag,d=qS.compileQueryParser,m=qS.compileTrust,f=mv("express"),h=P_,x=eS.exports,v=a.resolve,b=Dv,g=Object.prototype.hasOwnProperty,y=Array.prototype.slice,w=e.exports={},k="@@symbol:trust_proxy_default";function j(e){"test"!==this.get("env")&&console.error(e.stack||e.toString())}w.init=function(){this.cache={},this.engines={},this.settings={},this.defaultConfiguration()},w.defaultConfiguration=function(){var e="production";this.enable("x-powered-by"),this.set("etag","weak"),this.set("env",e),this.set("query parser","extended"),this.set("subdomain offset",2),this.set("trust proxy",!1),Object.defineProperty(this.settings,k,{configurable:!0,value:!0}),c("booting in %s mode",e),this.on("mount",(function(e){!0===this.settings[k]&&"function"==typeof e.settings["trust proxy fn"]&&(delete this.settings["trust proxy"],delete this.settings["trust proxy fn"]),b(this.request,e.request),b(this.response,e.response),b(this.engines,e.engines),b(this.settings,e.settings)})),this.locals=Object.create(null),this.mountpath="/",this.locals.settings=this.settings,this.set("view",p),this.set("views",v("views")),this.set("jsonp callback name","callback"),this.enable("view cache"),Object.defineProperty(this,"router",{get:function(){throw new Error("'app.router' is deprecated!\nPlease see the 3.x to 4.x migration guide for details on how to update your app.")}})},w.lazyrouter=function(){this._router||(this._router=new n({caseSensitive:this.enabled("case sensitive routing"),strict:this.enabled("strict routing")}),this._router.use(r(this.get("query parser fn"))),this._router.use(s.init(this)))},w.handle=function(e,a,n){var t=this._router,o=n||i(e,a,{env:this.get("env"),onerror:j.bind(this)});if(!t)return c("no routes defined on app"),void o();t.handle(e,a,o)},w.use=function(e){var a=0,i="/";if("function"!=typeof e){for(var n=e;Array.isArray(n)&&0!==n.length;)n=n[0];"function"!=typeof n&&(a=1,i=e)}var t=h(y.call(arguments,a));if(0===t.length)throw new TypeError("app.use() requires a middleware function");this.lazyrouter();var o=this._router;return t.forEach((function(e){if(!e||!e.handle||!e.set)return o.use(i,e);c(".use app under %s",i),e.mountpath=i,e.parent=this,o.use(i,(function(a,i,n){var t=a.app;e.handle(a,i,(function(e){b(a,t.request),b(i,t.response),n(e)}))})),e.emit("mount",this)}),this),this},w.route=function(e){return this.lazyrouter(),this._router.route(e)},w.engine=function(e,a){if("function"!=typeof a)throw new Error("callback function required");var i="."!==e[0]?"."+e:e;return this.engines[i]=a,this},w.param=function(e,a){if(this.lazyrouter(),Array.isArray(e)){for(var i=0;i<e.length;i++)this.param(e[i],a);return this}return this._router.param(e,a),this},w.set=function(e,a){if(1!==arguments.length){switch(c('set "%s" to %o',e,a),this.settings[e]=a,e){case"etag":this.set("etag fn",u(a));break;case"query parser":this.set("query parser fn",d(a));break;case"trust proxy":this.set("trust proxy fn",m(a)),Object.defineProperty(this.settings,k,{configurable:!0,value:!1})}return this}for(var i=this.settings;i&&i!==Object.prototype;){if(g.call(i,e))return i[e];i=Object.getPrototypeOf(i)}},w.path=function(){return this.parent?this.parent.path()+this.mountpath:""},w.enabled=function(e){return Boolean(this.set(e))},w.disabled=function(e){return!this.set(e)},w.enable=function(e){return this.set(e,!0)},w.disable=function(e){return this.set(e,!1)},t.forEach((function(e){w[e]=function(a){if("get"===e&&1===arguments.length)return this.set(a);this.lazyrouter();var i=this._router.route(a);return i[e].apply(i,y.call(arguments,1)),this}})),w.all=function(e){this.lazyrouter();for(var a=this._router.route(e),i=y.call(arguments,1),n=0;n<t.length;n++)a[t[n]].apply(a,i);return this},w.del=f.function(w.delete,"app.del: Use app.delete instead"),w.render=function(e,a,i){var n,t=this.cache,o=i,s=this.engines,r=a,c={};if("function"==typeof a&&(o=a,r={}),x(c,this.locals),r._locals&&x(c,r._locals),x(c,r),null==c.cache&&(c.cache=this.enabled("view cache")),c.cache&&(n=t[e]),!n){if(!(n=new(this.get("view"))(e,{defaultEngine:this.get("view engine"),root:this.get("views"),engines:s})).path){var p=Array.isArray(n.root)&&n.root.length>1?'directories "'+n.root.slice(0,-1).join('", "')+'" or "'+n.root[n.root.length-1]+'"':'directory "'+n.root+'"',l=new Error('Failed to lookup view "'+e+'" in views '+p);return l.view=n,o(l)}c.cache&&(t[e]=n)}!function(e,a,i){try{e.render(a,i)}catch(e){i(e)}}(n,c,o)},w.listen=function(){var e=l.createServer(this);return e.listen.apply(e,arguments)}}(o_);var vT={exports:{}},bT={exports:{}};bT.exports=kT,bT.exports.preferredCharsets=kT;var gT=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function yT(e,a){var i=gT.exec(e);if(!i)return null;var n=i[1],t=1;if(i[2])for(var o=i[2].split(";"),s=0;s<o.length;s++){var r=o[s].trim().split("=");if("q"===r[0]){t=parseFloat(r[1]);break}}return{charset:n,q:t,i:a}}function wT(e,a,i){var n=0;if(a.charset.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==a.charset)return null;return{i:i,o:a.i,q:a.q,s:n}}function kT(e,a){var i=function(e){for(var a=e.split(","),i=0,n=0;i<a.length;i++){var t=yT(a[i].trim(),i);t&&(a[n++]=t)}return a.length=n,a}(void 0===e?"*":e||"");if(!a)return i.filter(ST).sort(jT).map(_T);var n=a.map((function(e,a){return function(e,a,i){for(var n={o:-1,q:0,s:0},t=0;t<a.length;t++){var o=wT(e,a[t],i);o&&(n.s-o.s||n.q-o.q||n.o-o.o)<0&&(n=o)}return n}(e,i,a)}));return n.filter(ST).sort(jT).map((function(e){return a[n.indexOf(e)]}))}function jT(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function _T(e){return e.charset}function ST(e){return e.q>0}var ET={exports:{}};ET.exports=CT,ET.exports.preferredEncodings=CT;var TT=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function OT(e,a){var i=TT.exec(e);if(!i)return null;var n=i[1],t=1;if(i[2])for(var o=i[2].split(";"),s=0;s<o.length;s++){var r=o[s].trim().split("=");if("q"===r[0]){t=parseFloat(r[1]);break}}return{encoding:n,q:t,i:a}}function AT(e,a,i){var n=0;if(a.encoding.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==a.encoding)return null;return{i:i,o:a.i,q:a.q,s:n}}function CT(e,a){var i=function(e){for(var a=e.split(","),i=!1,n=1,t=0,o=0;t<a.length;t++){var s=OT(a[t].trim(),t);s&&(a[o++]=s,i=i||AT("identity",s),n=Math.min(n,s.q||1))}return i||(a[o++]={encoding:"identity",q:n,i:t}),a.length=o,a}(e||"");if(!a)return i.filter(PT).sort(RT).map(zT);var n=a.map((function(e,a){return function(e,a,i){for(var n={o:-1,q:0,s:0},t=0;t<a.length;t++){var o=AT(e,a[t],i);o&&(n.s-o.s||n.q-o.q||n.o-o.o)<0&&(n=o)}return n}(e,i,a)}));return n.filter(PT).sort(RT).map((function(e){return a[n.indexOf(e)]}))}function RT(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function zT(e){return e.encoding}function PT(e){return e.q>0}var qT={exports:{}};qT.exports=NT,qT.exports.preferredLanguages=NT;var FT=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function LT(e,a){var i=FT.exec(e);if(!i)return null;var n=i[1],t=i[2],o=n;t&&(o+="-"+t);var s=1;if(i[3])for(var r=i[3].split(";"),c=0;c<r.length;c++){var p=r[c].split("=");"q"===p[0]&&(s=parseFloat(p[1]))}return{prefix:n,suffix:t,q:s,i:a,full:o}}function BT(e,a,i){var n=LT(e);if(!n)return null;var t=0;if(a.full.toLowerCase()===n.full.toLowerCase())t|=4;else if(a.prefix.toLowerCase()===n.full.toLowerCase())t|=2;else if(a.full.toLowerCase()===n.prefix.toLowerCase())t|=1;else if("*"!==a.full)return null;return{i:i,o:a.i,q:a.q,s:t}}function NT(e,a){var i=function(e){for(var a=e.split(","),i=0,n=0;i<a.length;i++){var t=LT(a[i].trim(),i);t&&(a[n++]=t)}return a.length=n,a}(void 0===e?"*":e||"");if(!a)return i.filter(DT).sort(UT).map(IT);var n=a.map((function(e,a){return function(e,a,i){for(var n={o:-1,q:0,s:0},t=0;t<a.length;t++){var o=BT(e,a[t],i);o&&(n.s-o.s||n.q-o.q||n.o-o.o)<0&&(n=o)}return n}(e,i,a)}));return n.filter(DT).sort(UT).map((function(e){return a[n.indexOf(e)]}))}function UT(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function IT(e){return e.full}function DT(e){return e.q>0}var MT={exports:{}};MT.exports=GT,MT.exports.preferredMediaTypes=GT;var $T=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function HT(e){for(var a=function(e){for(var a=e.split(","),i=1,n=0;i<a.length;i++)YT(a[n])%2==0?a[++n]=a[i]:a[n]+=","+a[i];return a.length=n+1,a}(e),i=0,n=0;i<a.length;i++){var t=VT(a[i].trim(),i);t&&(a[n++]=t)}return a.length=n,a}function VT(e,a){var i=$T.exec(e);if(!i)return null;var n=Object.create(null),t=1,o=i[2],s=i[1];if(i[3])for(var r=function(e){for(var a=e.split(";"),i=1,n=0;i<a.length;i++)YT(a[n])%2==0?a[++n]=a[i]:a[n]+=";"+a[i];a.length=n+1;for(i=0;i<a.length;i++)a[i]=a[i].trim();return a}
244
244
  /*!
245
245
  * negotiator
246
246
  * Copyright(c) 2012 Federico Romero
247
247
  * Copyright(c) 2012-2014 Isaac Z. Schlueter
248
248
  * Copyright(c) 2015 Douglas Christopher Wilson
249
249
  * MIT Licensed
250
- */(i[3]).map(ZT),c=0;c<r.length;c++){var p=r[c],l=p[0].toLowerCase(),u=p[1],d=u&&'"'===u[0]&&'"'===u[u.length-1]?u.substr(1,u.length-2):u;if("q"===l){t=parseFloat(d);break}n[l]=d}return{type:s,subtype:o,params:n,q:t,i:a}}function HT(e,a,i){var n=$T(e),t=0;if(!n)return null;if(a.type.toLowerCase()==n.type.toLowerCase())t|=4;else if("*"!=a.type)return null;if(a.subtype.toLowerCase()==n.subtype.toLowerCase())t|=2;else if("*"!=a.subtype)return null;var o=Object.keys(a.params);if(o.length>0){if(!o.every((function(e){return"*"==a.params[e]||(a.params[e]||"").toLowerCase()==(n.params[e]||"").toLowerCase()})))return null;t|=1}return{i:i,o:a.i,q:a.q,s:t}}function VT(e,a){var i=MT(void 0===e?"*/*":e||"");if(!a)return i.filter(KT).sort(WT).map(GT);var n=a.map((function(e,a){return function(e,a,i){for(var n={o:-1,q:0,s:0},t=0;t<a.length;t++){var o=HT(e,a[t],i);o&&(n.s-o.s||n.q-o.q||n.o-o.o)<0&&(n=o)}return n}(e,i,a)}));return n.filter(KT).sort(WT).map((function(e){return a[n.indexOf(e)]}))}function WT(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function GT(e){return e.type+"/"+e.subtype}function KT(e){return e.q>0}function JT(e){for(var a=0,i=0;-1!==(i=e.indexOf('"',i));)a++,i++;return a}function ZT(e){var a,i,n=e.indexOf("=");return-1===n?a=e:(a=e.substr(0,n),i=e.substr(n+1)),[a,i]}var YT=xT.exports,XT=_T.exports,QT=zT.exports,eO=IT.exports;function aO(e){if(!(this instanceof aO))return new aO(e);this.request=e}hT.exports=aO,hT.exports.Negotiator=aO,aO.prototype.charset=function(e){var a=this.charsets(e);return a&&a[0]},aO.prototype.charsets=function(e){return YT(this.request.headers["accept-charset"],e)},aO.prototype.encoding=function(e){var a=this.encodings(e);return a&&a[0]},aO.prototype.encodings=function(e){return XT(this.request.headers["accept-encoding"],e)},aO.prototype.language=function(e){var a=this.languages(e);return a&&a[0]},aO.prototype.languages=function(e){return QT(this.request.headers["accept-language"],e)},aO.prototype.mediaType=function(e){var a=this.mediaTypes(e);return a&&a[0]},aO.prototype.mediaTypes=function(e){return eO(this.request.headers.accept,e)},aO.prototype.preferredCharset=aO.prototype.charset,aO.prototype.preferredCharsets=aO.prototype.charsets,aO.prototype.preferredEncoding=aO.prototype.encoding,aO.prototype.preferredEncodings=aO.prototype.encodings,aO.prototype.preferredLanguage=aO.prototype.language,aO.prototype.preferredLanguages=aO.prototype.languages,aO.prototype.preferredMediaType=aO.prototype.mediaType,aO.prototype.preferredMediaTypes=aO.prototype.mediaTypes;
250
+ */(i[3]).map(XT),c=0;c<r.length;c++){var p=r[c],l=p[0].toLowerCase(),u=p[1],d=u&&'"'===u[0]&&'"'===u[u.length-1]?u.substr(1,u.length-2):u;if("q"===l){t=parseFloat(d);break}n[l]=d}return{type:s,subtype:o,params:n,q:t,i:a}}function WT(e,a,i){var n=VT(e),t=0;if(!n)return null;if(a.type.toLowerCase()==n.type.toLowerCase())t|=4;else if("*"!=a.type)return null;if(a.subtype.toLowerCase()==n.subtype.toLowerCase())t|=2;else if("*"!=a.subtype)return null;var o=Object.keys(a.params);if(o.length>0){if(!o.every((function(e){return"*"==a.params[e]||(a.params[e]||"").toLowerCase()==(n.params[e]||"").toLowerCase()})))return null;t|=1}return{i:i,o:a.i,q:a.q,s:t}}function GT(e,a){var i=HT(void 0===e?"*/*":e||"");if(!a)return i.filter(ZT).sort(KT).map(JT);var n=a.map((function(e,a){return function(e,a,i){for(var n={o:-1,q:0,s:0},t=0;t<a.length;t++){var o=WT(e,a[t],i);o&&(n.s-o.s||n.q-o.q||n.o-o.o)<0&&(n=o)}return n}(e,i,a)}));return n.filter(ZT).sort(KT).map((function(e){return a[n.indexOf(e)]}))}function KT(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function JT(e){return e.type+"/"+e.subtype}function ZT(e){return e.q>0}function YT(e){for(var a=0,i=0;-1!==(i=e.indexOf('"',i));)a++,i++;return a}function XT(e){var a,i,n=e.indexOf("=");return-1===n?a=e:(a=e.substr(0,n),i=e.substr(n+1)),[a,i]}var QT=bT.exports,eO=ET.exports,aO=qT.exports,iO=MT.exports;function nO(e){if(!(this instanceof nO))return new nO(e);this.request=e}vT.exports=nO,vT.exports.Negotiator=nO,nO.prototype.charset=function(e){var a=this.charsets(e);return a&&a[0]},nO.prototype.charsets=function(e){return QT(this.request.headers["accept-charset"],e)},nO.prototype.encoding=function(e){var a=this.encodings(e);return a&&a[0]},nO.prototype.encodings=function(e){return eO(this.request.headers["accept-encoding"],e)},nO.prototype.language=function(e){var a=this.languages(e);return a&&a[0]},nO.prototype.languages=function(e){return aO(this.request.headers["accept-language"],e)},nO.prototype.mediaType=function(e){var a=this.mediaTypes(e);return a&&a[0]},nO.prototype.mediaTypes=function(e){return iO(this.request.headers.accept,e)},nO.prototype.preferredCharset=nO.prototype.charset,nO.prototype.preferredCharsets=nO.prototype.charsets,nO.prototype.preferredEncoding=nO.prototype.encoding,nO.prototype.preferredEncodings=nO.prototype.encodings,nO.prototype.preferredLanguage=nO.prototype.language,nO.prototype.preferredLanguages=nO.prototype.languages,nO.prototype.preferredMediaType=nO.prototype.mediaType,nO.prototype.preferredMediaTypes=nO.prototype.mediaTypes;
251
251
  /*!
252
252
  * accepts
253
253
  * Copyright(c) 2014 Jonathan Ong
254
254
  * Copyright(c) 2015 Douglas Christopher Wilson
255
255
  * MIT Licensed
256
256
  */
257
- var iO=hT.exports,nO=Rg,tO=oO;function oO(e){if(!(this instanceof oO))return new oO(e);this.headers=e.headers,this.negotiator=new iO(e)}function sO(e){return-1===e.indexOf("/")?nO.lookup(e):e}function rO(e){return"string"==typeof e}
257
+ var tO=vT.exports,oO=Rg,sO=rO;function rO(e){if(!(this instanceof rO))return new rO(e);this.headers=e.headers,this.negotiator=new tO(e)}function cO(e){return-1===e.indexOf("/")?oO.lookup(e):e}function pO(e){return"string"==typeof e}
258
258
  /*!
259
259
  * express
260
260
  * Copyright(c) 2009-2013 TJ Holowaychuk
261
261
  * Copyright(c) 2013 Roman Shtylman
262
262
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
263
263
  * MIT Licensed
264
- */oO.prototype.type=oO.prototype.types=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}if(!a||0===a.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return a[0];var n=a.map(sO),t=this.negotiator.mediaTypes(n.filter(rO))[0];return!!t&&a[n.indexOf(t)]},oO.prototype.encoding=oO.prototype.encodings=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.encodings(a)[0]||!1:this.negotiator.encodings()},oO.prototype.charset=oO.prototype.charsets=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.charsets(a)[0]||!1:this.negotiator.charsets()},oO.prototype.lang=oO.prototype.langs=oO.prototype.language=oO.prototype.languages=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.languages(a)[0]||!1:this.negotiator.languages()};var cO=tO,pO=mv("express"),lO=u.isIP,uO=yg.exports,dO=o,mO=rE,fO=yE,hO=l_.exports,xO=iT.exports,vO=Object.create(dO.IncomingMessage.prototype),bO=vO;function gO(e,a,i){Object.defineProperty(e,a,{configurable:!0,enumerable:!0,get:i})}vO.get=vO.header=function(e){if(!e)throw new TypeError("name argument is required to req.get");if("string"!=typeof e)throw new TypeError("name must be a string to req.get");var a=e.toLowerCase();switch(a){case"referer":case"referrer":return this.headers.referrer||this.headers.referer;default:return this.headers[a]}},vO.accepts=function(){var e=cO(this);return e.types.apply(e,arguments)},vO.acceptsEncodings=function(){var e=cO(this);return e.encodings.apply(e,arguments)},vO.acceptsEncoding=pO.function(vO.acceptsEncodings,"req.acceptsEncoding: Use acceptsEncodings instead"),vO.acceptsCharsets=function(){var e=cO(this);return e.charsets.apply(e,arguments)},vO.acceptsCharset=pO.function(vO.acceptsCharsets,"req.acceptsCharset: Use acceptsCharsets instead"),vO.acceptsLanguages=function(){var e=cO(this);return e.languages.apply(e,arguments)},vO.acceptsLanguage=pO.function(vO.acceptsLanguages,"req.acceptsLanguage: Use acceptsLanguages instead"),vO.range=function(e,a){var i=this.get("Range");if(i)return fO(e,i,a)},vO.param=function(e,a){var i=this.params||{},n=this.body||{},t=this.query||{};return pO("req.param("+(1===arguments.length?"name":"name, default")+"): Use req.params, req.body, or req.query instead"),null!=i[e]&&i.hasOwnProperty(e)?i[e]:null!=n[e]?n[e]:null!=t[e]?t[e]:a},vO.is=function(e){var a=e;if(!Array.isArray(e)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return uO(this,a)},gO(vO,"protocol",(function(){var e=this.connection.encrypted?"https":"http";if(!this.app.get("trust proxy fn")(this.connection.remoteAddress,0))return e;var a=this.get("X-Forwarded-Proto")||e,i=a.indexOf(",");return-1!==i?a.substring(0,i).trim():a.trim()})),gO(vO,"secure",(function(){return"https"===this.protocol})),gO(vO,"ip",(function(){var e=this.app.get("trust proxy fn");return xO(this,e)})),gO(vO,"ips",(function(){var e=this.app.get("trust proxy fn"),a=xO.all(this,e);return a.reverse().pop(),a})),gO(vO,"subdomains",(function(){var e=this.hostname;if(!e)return[];var a=this.app.get("subdomain offset"),i=lO(e)?[e]:e.split(".").reverse();return i.slice(a)})),gO(vO,"path",(function(){return hO(this).pathname})),gO(vO,"hostname",(function(){var e=this.app.get("trust proxy fn"),a=this.get("X-Forwarded-Host");if(a&&e(this.connection.remoteAddress,0)?-1!==a.indexOf(",")&&(a=a.substring(0,a.indexOf(",")).trimRight()):a=this.get("Host"),a){var i="["===a[0]?a.indexOf("]")+1:0,n=a.indexOf(":",i);return-1!==n?a.substring(0,n):a}})),gO(vO,"host",pO.function((function(){return this.hostname}),"req.host: Use req.hostname instead")),gO(vO,"fresh",(function(){var e=this.method,a=this.res,i=a.statusCode;return("GET"===e||"HEAD"===e)&&((i>=200&&i<300||304===i)&&mO(this.headers,{etag:a.get("ETag"),"last-modified":a.get("Last-Modified")}))})),gO(vO,"stale",(function(){return!this.fresh})),gO(vO,"xhr",(function(){return"xmlhttprequest"===(this.get("X-Requested-With")||"").toLowerCase()}));var yO={};!function(e){var a=c;function i(e){return a.createHash("sha1").update(e).digest("hex")}e.sign=function(e,i){if("string"!=typeof e)throw new TypeError("Cookie value must be provided as a string.");if("string"!=typeof i)throw new TypeError("Secret string must be provided.");return e+"."+a.createHmac("sha256",i).update(e).digest("base64").replace(/\=+$/,"")},e.unsign=function(a,n){if("string"!=typeof a)throw new TypeError("Signed cookie string must be provided.");if("string"!=typeof n)throw new TypeError("Secret string must be provided.");var t=a.slice(0,a.lastIndexOf("."));return i(e.sign(t,n))==i(a)&&t}}(yO);var wO={
264
+ */rO.prototype.type=rO.prototype.types=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}if(!a||0===a.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return a[0];var n=a.map(cO),t=this.negotiator.mediaTypes(n.filter(pO))[0];return!!t&&a[n.indexOf(t)]},rO.prototype.encoding=rO.prototype.encodings=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.encodings(a)[0]||!1:this.negotiator.encodings()},rO.prototype.charset=rO.prototype.charsets=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.charsets(a)[0]||!1:this.negotiator.charsets()},rO.prototype.lang=rO.prototype.langs=rO.prototype.language=rO.prototype.languages=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.languages(a)[0]||!1:this.negotiator.languages()};var lO=sO,uO=mv("express"),dO=u.isIP,mO=yg.exports,fO=o,hO=pE,xO=kE,vO=d_.exports,bO=tT.exports,gO=Object.create(fO.IncomingMessage.prototype),yO=gO;function wO(e,a,i){Object.defineProperty(e,a,{configurable:!0,enumerable:!0,get:i})}gO.get=gO.header=function(e){if(!e)throw new TypeError("name argument is required to req.get");if("string"!=typeof e)throw new TypeError("name must be a string to req.get");var a=e.toLowerCase();switch(a){case"referer":case"referrer":return this.headers.referrer||this.headers.referer;default:return this.headers[a]}},gO.accepts=function(){var e=lO(this);return e.types.apply(e,arguments)},gO.acceptsEncodings=function(){var e=lO(this);return e.encodings.apply(e,arguments)},gO.acceptsEncoding=uO.function(gO.acceptsEncodings,"req.acceptsEncoding: Use acceptsEncodings instead"),gO.acceptsCharsets=function(){var e=lO(this);return e.charsets.apply(e,arguments)},gO.acceptsCharset=uO.function(gO.acceptsCharsets,"req.acceptsCharset: Use acceptsCharsets instead"),gO.acceptsLanguages=function(){var e=lO(this);return e.languages.apply(e,arguments)},gO.acceptsLanguage=uO.function(gO.acceptsLanguages,"req.acceptsLanguage: Use acceptsLanguages instead"),gO.range=function(e,a){var i=this.get("Range");if(i)return xO(e,i,a)},gO.param=function(e,a){var i=this.params||{},n=this.body||{},t=this.query||{};return uO("req.param("+(1===arguments.length?"name":"name, default")+"): Use req.params, req.body, or req.query instead"),null!=i[e]&&i.hasOwnProperty(e)?i[e]:null!=n[e]?n[e]:null!=t[e]?t[e]:a},gO.is=function(e){var a=e;if(!Array.isArray(e)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return mO(this,a)},wO(gO,"protocol",(function(){var e=this.connection.encrypted?"https":"http";if(!this.app.get("trust proxy fn")(this.connection.remoteAddress,0))return e;var a=this.get("X-Forwarded-Proto")||e,i=a.indexOf(",");return-1!==i?a.substring(0,i).trim():a.trim()})),wO(gO,"secure",(function(){return"https"===this.protocol})),wO(gO,"ip",(function(){var e=this.app.get("trust proxy fn");return bO(this,e)})),wO(gO,"ips",(function(){var e=this.app.get("trust proxy fn"),a=bO.all(this,e);return a.reverse().pop(),a})),wO(gO,"subdomains",(function(){var e=this.hostname;if(!e)return[];var a=this.app.get("subdomain offset"),i=dO(e)?[e]:e.split(".").reverse();return i.slice(a)})),wO(gO,"path",(function(){return vO(this).pathname})),wO(gO,"hostname",(function(){var e=this.app.get("trust proxy fn"),a=this.get("X-Forwarded-Host");if(a&&e(this.connection.remoteAddress,0)?-1!==a.indexOf(",")&&(a=a.substring(0,a.indexOf(",")).trimRight()):a=this.get("Host"),a){var i="["===a[0]?a.indexOf("]")+1:0,n=a.indexOf(":",i);return-1!==n?a.substring(0,n):a}})),wO(gO,"host",uO.function((function(){return this.hostname}),"req.host: Use req.hostname instead")),wO(gO,"fresh",(function(){var e=this.method,a=this.res,i=a.statusCode;return("GET"===e||"HEAD"===e)&&((i>=200&&i<300||304===i)&&hO(this.headers,{etag:a.get("ETag"),"last-modified":a.get("Last-Modified")}))})),wO(gO,"stale",(function(){return!this.fresh})),wO(gO,"xhr",(function(){return"xmlhttprequest"===(this.get("X-Requested-With")||"").toLowerCase()}));var kO={};!function(e){var a=c;function i(e){return a.createHash("sha1").update(e).digest("hex")}e.sign=function(e,i){if("string"!=typeof e)throw new TypeError("Cookie value must be provided as a string.");if("string"!=typeof i)throw new TypeError("Secret string must be provided.");return e+"."+a.createHmac("sha256",i).update(e).digest("base64").replace(/\=+$/,"")},e.unsign=function(a,n){if("string"!=typeof a)throw new TypeError("Signed cookie string must be provided.");if("string"!=typeof n)throw new TypeError("Secret string must be provided.");var t=a.slice(0,a.lastIndexOf("."));return i(e.sign(t,n))==i(a)&&t}}(kO);var jO={
265
265
  /*!
266
266
  * cookie
267
267
  * Copyright(c) 2012-2014 Roman Shtylman
268
268
  * Copyright(c) 2015 Douglas Christopher Wilson
269
269
  * MIT Licensed
270
270
  */
271
- parse:function(e,a){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},n=(a||{}).decode||_O,t=0;for(;t<e.length;){var o=e.indexOf("=",t);if(-1===o)break;var s=e.indexOf(";",t);if(-1===s)s=e.length;else if(s<o){t=e.lastIndexOf(";",o-1)+1;continue}var r=e.slice(t,o).trim();if(void 0===i[r]){var c=e.slice(o+1,s).trim();34===c.charCodeAt(0)&&(c=c.slice(1,-1)),i[r]=EO(c,n)}t=s+1}return i},serialize:function(e,a,i){var n=i||{},t=n.encode||SO;if("function"!=typeof t)throw new TypeError("option encode is invalid");if(!jO.test(e))throw new TypeError("argument name is invalid");var o=t(a);if(o&&!jO.test(o))throw new TypeError("argument val is invalid");var s=e+"="+o;if(null!=n.maxAge){var r=n.maxAge-0;if(isNaN(r)||!isFinite(r))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(r)}if(n.domain){if(!jO.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!jO.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){var c=n.expires;if(!function(e){return"[object Date]"===kO.call(e)||e instanceof Date}(c)||isNaN(c.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+c.toUTCString()}n.httpOnly&&(s+="; HttpOnly");n.secure&&(s+="; Secure");if(n.priority){switch("string"==typeof n.priority?n.priority.toLowerCase():n.priority){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(n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){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}},kO=Object.prototype.toString,jO=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function _O(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function SO(e){return encodeURIComponent(e)}function EO(e,a){try{return a(e)}catch(a){return e}}var TO={exports:{}};
271
+ parse:function(e,a){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},n=(a||{}).decode||EO,t=0;for(;t<e.length;){var o=e.indexOf("=",t);if(-1===o)break;var s=e.indexOf(";",t);if(-1===s)s=e.length;else if(s<o){t=e.lastIndexOf(";",o-1)+1;continue}var r=e.slice(t,o).trim();if(void 0===i[r]){var c=e.slice(o+1,s).trim();34===c.charCodeAt(0)&&(c=c.slice(1,-1)),i[r]=OO(c,n)}t=s+1}return i},serialize:function(e,a,i){var n=i||{},t=n.encode||TO;if("function"!=typeof t)throw new TypeError("option encode is invalid");if(!SO.test(e))throw new TypeError("argument name is invalid");var o=t(a);if(o&&!SO.test(o))throw new TypeError("argument val is invalid");var s=e+"="+o;if(null!=n.maxAge){var r=n.maxAge-0;if(isNaN(r)||!isFinite(r))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(r)}if(n.domain){if(!SO.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!SO.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){var c=n.expires;if(!function(e){return"[object Date]"===_O.call(e)||e instanceof Date}(c)||isNaN(c.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+c.toUTCString()}n.httpOnly&&(s+="; HttpOnly");n.secure&&(s+="; Secure");if(n.priority){switch("string"==typeof n.priority?n.priority.toLowerCase():n.priority){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(n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){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}},_O=Object.prototype.toString,SO=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function EO(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function TO(e){return encodeURIComponent(e)}function OO(e,a){try{return a(e)}catch(a){return e}}var AO={exports:{}};
272
272
  /*!
273
273
  * vary
274
274
  * Copyright(c) 2014-2017 Douglas Christopher Wilson
275
275
  * MIT Licensed
276
- */TO.exports=function(e,a){if(!e||!e.getHeader||!e.setHeader)throw new TypeError("res argument is required");var i=e.getHeader("Vary")||"",n=Array.isArray(i)?i.join(", "):String(i);(i=AO(n,a))&&e.setHeader("Vary",i)}
276
+ */AO.exports=function(e,a){if(!e||!e.getHeader||!e.setHeader)throw new TypeError("res argument is required");var i=e.getHeader("Vary")||"",n=Array.isArray(i)?i.join(", "):String(i);(i=RO(n,a))&&e.setHeader("Vary",i)}
277
277
  /*!
278
278
  * express
279
279
  * Copyright(c) 2009-2013 TJ Holowaychuk
280
280
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
281
281
  * MIT Licensed
282
- */,TO.exports.append=AO;var OO=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function AO(e,a){if("string"!=typeof e)throw new TypeError("header argument is required");if(!a)throw new TypeError("field argument is required");for(var i=Array.isArray(a)?a:CO(String(a)),n=0;n<i.length;n++)if(!OO.test(i[n]))throw new TypeError("field argument contains an invalid header name");if("*"===e)return e;var t=e,o=CO(e.toLowerCase());if(-1!==i.indexOf("*")||-1!==o.indexOf("*"))return"*";for(var s=0;s<i.length;s++){var r=i[s].toLowerCase();-1===o.indexOf(r)&&(o.push(r),t=t?t+", "+i[s]:i[s])}return t}function CO(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}return i.push(e.substring(n,a)),i}var RO=PS.exports.Buffer,zO=qS.exports,PO=Iv.exports,qO=mv("express"),FO=t_,LO=p_,BO=o,NO=zS.isAbsolute,UO=lg.exports,IO=a,DO=$v,MO=X_.exports,$O=yO.sign,HO=zS.normalizeType,VO=zS.normalizeTypes,WO=zS.setCharset,GO=wO,KO=aE.exports,JO=IO.extname,ZO=KO.mime,YO=IO.resolve,XO=TO.exports,QO=Object.create(BO.ServerResponse.prototype),eA=QO,aA=/;\s*charset\s*=/;function iA(e,a,i,n){var t,o=!1;function s(){if(!o){o=!0;var e=new Error("Request aborted");e.code="ECONNABORTED",n(e)}}function r(e){o||(o=!0,n(e))}a.on("directory",(function(){if(!o){o=!0;var e=new Error("EISDIR, read");e.code="EISDIR",n(e)}})),a.on("end",(function(){o||(o=!0,n())})),a.on("error",r),a.on("file",(function(){t=!1})),a.on("stream",(function(){t=!0})),UO(e,(function(e){return e&&"ECONNRESET"===e.code?s():e?r(e):void(o||setImmediate((function(){!1===t||o?o||(o=!0,n()):s()})))})),i.headers&&a.on("headers",(function(e){for(var a=i.headers,n=Object.keys(a),t=0;t<n.length;t++){var o=n[t];e.setHeader(o,a[o])}})),a.pipe(e)}function nA(e,a,i,n){var t=a||i?JSON.stringify(e,a,i):JSON.stringify(e);return n&&"string"==typeof t&&(t=t.replace(/[<>&]/g,(function(e){switch(e.charCodeAt(0)){case 60:return"\\u003c";case 62:return"\\u003e";case 38:return"\\u0026";default:return e}}))),t}QO.status=function(e){return("string"==typeof e||Math.floor(e)!==e)&&e>99&&e<1e3&&qO("res.status("+JSON.stringify(e)+"): use res.status("+Math.floor(e)+") instead"),this.statusCode=e,this},QO.links=function(e){var a=this.get("Link")||"";return a&&(a+=", "),this.set("Link",a+Object.keys(e).map((function(a){return"<"+e[a]+'>; rel="'+a+'"'})).join(", "))},QO.send=function(e){var a,i,n=e,t=this.req,o=this.app;switch(2===arguments.length&&("number"!=typeof arguments[0]&&"number"==typeof arguments[1]?(qO("res.send(body, status): Use res.status(status).send(body) instead"),this.statusCode=arguments[1]):(qO("res.send(status, body): Use res.status(status).send(body) instead"),this.statusCode=arguments[0],n=arguments[1])),"number"==typeof n&&1===arguments.length&&(this.get("Content-Type")||this.type("txt"),qO("res.send(status): Use res.sendStatus(status) instead"),this.statusCode=n,n=DO.message[n]),typeof n){case"string":this.get("Content-Type")||this.type("html");break;case"boolean":case"number":case"object":if(null===n)n="";else{if(!RO.isBuffer(n))return this.json(n);this.get("Content-Type")||this.type("bin")}}"string"==typeof n&&(a="utf8","string"==typeof(i=this.get("Content-Type"))&&this.set("Content-Type",WO(i,"utf-8")));var s,r,c=o.get("etag fn"),p=!this.get("ETag")&&"function"==typeof c;return void 0!==n&&(RO.isBuffer(n)?s=n.length:!p&&n.length<1e3?s=RO.byteLength(n,a):(n=RO.from(n,a),a=void 0,s=n.length),this.set("Content-Length",s)),p&&void 0!==s&&(r=c(n,a))&&this.set("ETag",r),t.fresh&&(this.statusCode=304),204!==this.statusCode&&304!==this.statusCode||(this.removeHeader("Content-Type"),this.removeHeader("Content-Length"),this.removeHeader("Transfer-Encoding"),n=""),205===this.statusCode&&(this.set("Content-Length","0"),this.removeHeader("Transfer-Encoding"),n=""),"HEAD"===t.method?this.end():this.end(n,a),this},QO.json=function(e){var a=e;2===arguments.length&&("number"==typeof arguments[1]?(qO("res.json(obj, status): Use res.status(status).json(obj) instead"),this.statusCode=arguments[1]):(qO("res.json(status, obj): Use res.status(status).json(obj) instead"),this.statusCode=arguments[0],a=arguments[1]));var i=this.app,n=i.get("json escape"),t=nA(a,i.get("json replacer"),i.get("json spaces"),n);return this.get("Content-Type")||this.set("Content-Type","application/json"),this.send(t)},QO.jsonp=function(e){var a=e;2===arguments.length&&("number"==typeof arguments[1]?(qO("res.jsonp(obj, status): Use res.status(status).jsonp(obj) instead"),this.statusCode=arguments[1]):(qO("res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead"),this.statusCode=arguments[0],a=arguments[1]));var i=this.app,n=i.get("json escape"),t=nA(a,i.get("json replacer"),i.get("json spaces"),n),o=this.req.query[i.get("jsonp callback name")];return this.get("Content-Type")||(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","application/json")),Array.isArray(o)&&(o=o[0]),"string"==typeof o&&0!==o.length&&(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","text/javascript"),o=o.replace(/[^\[\]\w$.]/g,""),void 0===t?t="":"string"==typeof t&&(t=t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")),t="/**/ typeof "+o+" === 'function' && "+o+"("+t+");"),this.send(t)},QO.sendStatus=function(e){var a=DO.message[e]||String(e);return this.statusCode=e,this.type("txt"),this.send(a)},QO.sendFile=function(e,a,i){var n=i,t=this.req,o=t.next,s=a||{};if(!e)throw new TypeError("path argument is required to res.sendFile");if("string"!=typeof e)throw new TypeError("path must be a string to res.sendFile");if("function"==typeof a&&(n=a,s={}),!s.root&&!NO(e))throw new TypeError("path must be absolute or specify root to res.sendFile");var r=encodeURI(e);iA(this,KO(t,r,s),s,(function(e){return n?n(e):e&&"EISDIR"===e.code?o():void(e&&"ECONNABORTED"!==e.code&&"write"!==e.syscall&&o(e))}))},QO.sendfile=function(e,a,i){var n=i,t=this.req,o=t.next,s=a||{};"function"==typeof a&&(n=a,s={}),iA(this,KO(t,e,s),s,(function(e){return n?n(e):e&&"EISDIR"===e.code?o():void(e&&"ECONNABORTED"!==e.code&&"write"!==e.syscall&&o(e))}))},QO.sendfile=qO.function(QO.sendfile,"res.sendfile: Use res.sendFile instead"),QO.download=function(e,a,i,n){var t=n,o=a,s=i||null;"function"==typeof a?(t=a,o=null,s=null):"function"==typeof i&&(t=i,s=null),"object"!=typeof a||"function"!=typeof i&&void 0!==i||(o=null,s=a);var r={"Content-Disposition":zO(o||e)};if(s&&s.headers)for(var c=Object.keys(s.headers),p=0;p<c.length;p++){var l=c[p];"content-disposition"!==l.toLowerCase()&&(r[l]=s.headers[l])}(s=Object.create(s)).headers=r;var u=s.root?e:YO(e);return this.sendFile(u,s,t)},QO.contentType=QO.type=function(e){var a=-1===e.indexOf("/")?ZO.lookup(e):e;return this.set("Content-Type",a)},QO.format=function(e){var a=this.req,i=a.next,n=Object.keys(e).filter((function(e){return"default"!==e})),t=n.length>0&&a.accepts(n);return this.vary("Accept"),t?(this.set("Content-Type",HO(t).value),e[t](a,this,i)):e.default?e.default(a,this,i):i(PO(406,{types:VO(n).map((function(e){return e.value}))})),this},QO.attachment=function(e){return e&&this.type(JO(e)),this.set("Content-Disposition",zO(e)),this},QO.append=function(e,a){var i=this.get(e),n=a;return i&&(n=Array.isArray(i)?i.concat(a):Array.isArray(a)?[i].concat(a):[i,a]),this.set(e,n)},QO.set=QO.header=function(e,a){if(2===arguments.length){var i=Array.isArray(a)?a.map(String):String(a);if("content-type"===e.toLowerCase()){if(Array.isArray(i))throw new TypeError("Content-Type cannot be set to an Array");if(!aA.test(i)){var n=ZO.charsets.lookup(i.split(";")[0]);n&&(i+="; charset="+n.toLowerCase())}}this.setHeader(e,i)}else for(var t in e)this.set(t,e[t]);return this},QO.get=function(e){return this.getHeader(e)},QO.clearCookie=function(e,a){var i=MO({expires:new Date(1),path:"/"},a);return this.cookie(e,"",i)},QO.cookie=function(e,a,i){var n=MO({},i),t=this.req.secret,o=n.signed;if(o&&!t)throw new Error('cookieParser("secret") required for signed cookies');var s="object"==typeof a?"j:"+JSON.stringify(a):String(a);if(o&&(s="s:"+$O(s,t)),null!=n.maxAge){var r=n.maxAge-0;isNaN(r)||(n.expires=new Date(Date.now()+r),n.maxAge=Math.floor(r/1e3))}return null==n.path&&(n.path="/"),this.append("Set-Cookie",GO.serialize(e,String(s),n)),this},QO.location=function(e){var a=e;return"back"===e&&(a=this.req.get("Referrer")||"/"),this.set("Location",FO(a))},QO.redirect=function(e){var a,i=e,n=302;2===arguments.length&&("number"==typeof arguments[0]?(n=arguments[0],i=arguments[1]):(qO("res.redirect(url, status): Use res.redirect(status, url) instead"),n=arguments[1])),i=this.location(i).get("Location"),this.format({text:function(){a=DO.message[n]+". Redirecting to "+i},html:function(){var e=LO(i);a="<p>"+DO.message[n]+'. Redirecting to <a href="'+e+'">'+e+"</a></p>"},default:function(){a=""}}),this.statusCode=n,this.set("Content-Length",RO.byteLength(a)),"HEAD"===this.req.method?this.end():this.end(a)},QO.vary=function(e){return!e||Array.isArray(e)&&!e.length?(qO("res.vary(): Provide a field name"),this):(XO(this,e),this)},QO.render=function(e,a,i){var n=this.req.app,t=i,o=a||{},s=this.req,r=this;"function"==typeof a&&(t=a,o={}),o._locals=r.locals,t=t||function(e,a){if(e)return s.next(e);r.send(a)},n.render(e,o,t)};var tA,oA={exports:{}};
282
+ */,AO.exports.append=RO;var CO=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function RO(e,a){if("string"!=typeof e)throw new TypeError("header argument is required");if(!a)throw new TypeError("field argument is required");for(var i=Array.isArray(a)?a:zO(String(a)),n=0;n<i.length;n++)if(!CO.test(i[n]))throw new TypeError("field argument contains an invalid header name");if("*"===e)return e;var t=e,o=zO(e.toLowerCase());if(-1!==i.indexOf("*")||-1!==o.indexOf("*"))return"*";for(var s=0;s<i.length;s++){var r=i[s].toLowerCase();-1===o.indexOf(r)&&(o.push(r),t=t?t+", "+i[s]:i[s])}return t}function zO(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}return i.push(e.substring(n,a)),i}var PO=FS.exports.Buffer,qO=LS.exports,FO=Iv.exports,LO=mv("express"),BO=s_,NO=u_,UO=o,IO=qS.isAbsolute,DO=lg.exports,MO=a,$O=$v,HO=eS.exports,VO=kO.sign,WO=qS.normalizeType,GO=qS.normalizeTypes,KO=qS.setCharset,JO=jO,ZO=nE.exports,YO=MO.extname,XO=ZO.mime,QO=MO.resolve,eA=AO.exports,aA=Object.create(UO.ServerResponse.prototype),iA=aA,nA=/;\s*charset\s*=/;function tA(e,a,i,n){var t,o=!1;function s(){if(!o){o=!0;var e=new Error("Request aborted");e.code="ECONNABORTED",n(e)}}function r(e){o||(o=!0,n(e))}a.on("directory",(function(){if(!o){o=!0;var e=new Error("EISDIR, read");e.code="EISDIR",n(e)}})),a.on("end",(function(){o||(o=!0,n())})),a.on("error",r),a.on("file",(function(){t=!1})),a.on("stream",(function(){t=!0})),DO(e,(function(e){return e&&"ECONNRESET"===e.code?s():e?r(e):void(o||setImmediate((function(){!1===t||o?o||(o=!0,n()):s()})))})),i.headers&&a.on("headers",(function(e){for(var a=i.headers,n=Object.keys(a),t=0;t<n.length;t++){var o=n[t];e.setHeader(o,a[o])}})),a.pipe(e)}function oA(e,a,i,n){var t=a||i?JSON.stringify(e,a,i):JSON.stringify(e);return n&&"string"==typeof t&&(t=t.replace(/[<>&]/g,(function(e){switch(e.charCodeAt(0)){case 60:return"\\u003c";case 62:return"\\u003e";case 38:return"\\u0026";default:return e}}))),t}aA.status=function(e){return("string"==typeof e||Math.floor(e)!==e)&&e>99&&e<1e3&&LO("res.status("+JSON.stringify(e)+"): use res.status("+Math.floor(e)+") instead"),this.statusCode=e,this},aA.links=function(e){var a=this.get("Link")||"";return a&&(a+=", "),this.set("Link",a+Object.keys(e).map((function(a){return"<"+e[a]+'>; rel="'+a+'"'})).join(", "))},aA.send=function(e){var a,i,n=e,t=this.req,o=this.app;switch(2===arguments.length&&("number"!=typeof arguments[0]&&"number"==typeof arguments[1]?(LO("res.send(body, status): Use res.status(status).send(body) instead"),this.statusCode=arguments[1]):(LO("res.send(status, body): Use res.status(status).send(body) instead"),this.statusCode=arguments[0],n=arguments[1])),"number"==typeof n&&1===arguments.length&&(this.get("Content-Type")||this.type("txt"),LO("res.send(status): Use res.sendStatus(status) instead"),this.statusCode=n,n=$O.message[n]),typeof n){case"string":this.get("Content-Type")||this.type("html");break;case"boolean":case"number":case"object":if(null===n)n="";else{if(!PO.isBuffer(n))return this.json(n);this.get("Content-Type")||this.type("bin")}}"string"==typeof n&&(a="utf8","string"==typeof(i=this.get("Content-Type"))&&this.set("Content-Type",KO(i,"utf-8")));var s,r,c=o.get("etag fn"),p=!this.get("ETag")&&"function"==typeof c;return void 0!==n&&(PO.isBuffer(n)?s=n.length:!p&&n.length<1e3?s=PO.byteLength(n,a):(n=PO.from(n,a),a=void 0,s=n.length),this.set("Content-Length",s)),p&&void 0!==s&&(r=c(n,a))&&this.set("ETag",r),t.fresh&&(this.statusCode=304),204!==this.statusCode&&304!==this.statusCode||(this.removeHeader("Content-Type"),this.removeHeader("Content-Length"),this.removeHeader("Transfer-Encoding"),n=""),205===this.statusCode&&(this.set("Content-Length","0"),this.removeHeader("Transfer-Encoding"),n=""),"HEAD"===t.method?this.end():this.end(n,a),this},aA.json=function(e){var a=e;2===arguments.length&&("number"==typeof arguments[1]?(LO("res.json(obj, status): Use res.status(status).json(obj) instead"),this.statusCode=arguments[1]):(LO("res.json(status, obj): Use res.status(status).json(obj) instead"),this.statusCode=arguments[0],a=arguments[1]));var i=this.app,n=i.get("json escape"),t=oA(a,i.get("json replacer"),i.get("json spaces"),n);return this.get("Content-Type")||this.set("Content-Type","application/json"),this.send(t)},aA.jsonp=function(e){var a=e;2===arguments.length&&("number"==typeof arguments[1]?(LO("res.jsonp(obj, status): Use res.status(status).jsonp(obj) instead"),this.statusCode=arguments[1]):(LO("res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead"),this.statusCode=arguments[0],a=arguments[1]));var i=this.app,n=i.get("json escape"),t=oA(a,i.get("json replacer"),i.get("json spaces"),n),o=this.req.query[i.get("jsonp callback name")];return this.get("Content-Type")||(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","application/json")),Array.isArray(o)&&(o=o[0]),"string"==typeof o&&0!==o.length&&(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","text/javascript"),o=o.replace(/[^\[\]\w$.]/g,""),void 0===t?t="":"string"==typeof t&&(t=t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")),t="/**/ typeof "+o+" === 'function' && "+o+"("+t+");"),this.send(t)},aA.sendStatus=function(e){var a=$O.message[e]||String(e);return this.statusCode=e,this.type("txt"),this.send(a)},aA.sendFile=function(e,a,i){var n=i,t=this.req,o=t.next,s=a||{};if(!e)throw new TypeError("path argument is required to res.sendFile");if("string"!=typeof e)throw new TypeError("path must be a string to res.sendFile");if("function"==typeof a&&(n=a,s={}),!s.root&&!IO(e))throw new TypeError("path must be absolute or specify root to res.sendFile");var r=encodeURI(e);tA(this,ZO(t,r,s),s,(function(e){return n?n(e):e&&"EISDIR"===e.code?o():void(e&&"ECONNABORTED"!==e.code&&"write"!==e.syscall&&o(e))}))},aA.sendfile=function(e,a,i){var n=i,t=this.req,o=t.next,s=a||{};"function"==typeof a&&(n=a,s={}),tA(this,ZO(t,e,s),s,(function(e){return n?n(e):e&&"EISDIR"===e.code?o():void(e&&"ECONNABORTED"!==e.code&&"write"!==e.syscall&&o(e))}))},aA.sendfile=LO.function(aA.sendfile,"res.sendfile: Use res.sendFile instead"),aA.download=function(e,a,i,n){var t=n,o=a,s=i||null;"function"==typeof a?(t=a,o=null,s=null):"function"==typeof i&&(t=i,s=null),"object"!=typeof a||"function"!=typeof i&&void 0!==i||(o=null,s=a);var r={"Content-Disposition":qO(o||e)};if(s&&s.headers)for(var c=Object.keys(s.headers),p=0;p<c.length;p++){var l=c[p];"content-disposition"!==l.toLowerCase()&&(r[l]=s.headers[l])}(s=Object.create(s)).headers=r;var u=s.root?e:QO(e);return this.sendFile(u,s,t)},aA.contentType=aA.type=function(e){var a=-1===e.indexOf("/")?XO.lookup(e):e;return this.set("Content-Type",a)},aA.format=function(e){var a=this.req,i=a.next,n=Object.keys(e).filter((function(e){return"default"!==e})),t=n.length>0&&a.accepts(n);return this.vary("Accept"),t?(this.set("Content-Type",WO(t).value),e[t](a,this,i)):e.default?e.default(a,this,i):i(FO(406,{types:GO(n).map((function(e){return e.value}))})),this},aA.attachment=function(e){return e&&this.type(YO(e)),this.set("Content-Disposition",qO(e)),this},aA.append=function(e,a){var i=this.get(e),n=a;return i&&(n=Array.isArray(i)?i.concat(a):Array.isArray(a)?[i].concat(a):[i,a]),this.set(e,n)},aA.set=aA.header=function(e,a){if(2===arguments.length){var i=Array.isArray(a)?a.map(String):String(a);if("content-type"===e.toLowerCase()){if(Array.isArray(i))throw new TypeError("Content-Type cannot be set to an Array");if(!nA.test(i)){var n=XO.charsets.lookup(i.split(";")[0]);n&&(i+="; charset="+n.toLowerCase())}}this.setHeader(e,i)}else for(var t in e)this.set(t,e[t]);return this},aA.get=function(e){return this.getHeader(e)},aA.clearCookie=function(e,a){var i=HO({expires:new Date(1),path:"/"},a);return this.cookie(e,"",i)},aA.cookie=function(e,a,i){var n=HO({},i),t=this.req.secret,o=n.signed;if(o&&!t)throw new Error('cookieParser("secret") required for signed cookies');var s="object"==typeof a?"j:"+JSON.stringify(a):String(a);if(o&&(s="s:"+VO(s,t)),null!=n.maxAge){var r=n.maxAge-0;isNaN(r)||(n.expires=new Date(Date.now()+r),n.maxAge=Math.floor(r/1e3))}return null==n.path&&(n.path="/"),this.append("Set-Cookie",JO.serialize(e,String(s),n)),this},aA.location=function(e){var a=e;return"back"===e&&(a=this.req.get("Referrer")||"/"),this.set("Location",BO(a))},aA.redirect=function(e){var a,i=e,n=302;2===arguments.length&&("number"==typeof arguments[0]?(n=arguments[0],i=arguments[1]):(LO("res.redirect(url, status): Use res.redirect(status, url) instead"),n=arguments[1])),i=this.location(i).get("Location"),this.format({text:function(){a=$O.message[n]+". Redirecting to "+i},html:function(){var e=NO(i);a="<p>"+$O.message[n]+'. Redirecting to <a href="'+e+'">'+e+"</a></p>"},default:function(){a=""}}),this.statusCode=n,this.set("Content-Length",PO.byteLength(a)),"HEAD"===this.req.method?this.end():this.end(a)},aA.vary=function(e){return!e||Array.isArray(e)&&!e.length?(LO("res.vary(): Provide a field name"),this):(eA(this,e),this)},aA.render=function(e,a,i){var n=this.req.app,t=i,o=a||{},s=this.req,r=this;"function"==typeof a&&(t=a,o={}),o._locals=r.locals,t=t||function(e,a){if(e)return s.next(e);r.send(a)},n.render(e,o,t)};var sA,rA={exports:{}};
283
283
  /*!
284
284
  * serve-static
285
285
  * Copyright(c) 2010 Sencha Inc.
286
286
  * Copyright(c) 2011 TJ Holowaychuk
287
287
  * Copyright(c) 2014-2016 Douglas Christopher Wilson
288
288
  * MIT Licensed
289
- */function sA(){if(tA)return oA.exports;tA=1;var e=t_,i=p_,n=l_.exports,t=a.resolve,o=aE.exports,s=r;return oA.exports=function(a,r){if(!a)throw new TypeError("root path required");if("string"!=typeof a)throw new TypeError("root path must be a string");var c=Object.create(r||null),p=!1!==c.fallthrough,l=!1!==c.redirect,u=c.setHeaders;if(u&&"function"!=typeof u)throw new TypeError("option setHeaders must be function");c.maxage=c.maxage||c.maxAge||0,c.root=t(a);var d=l?function(a){if(this.hasTrailingSlash())this.error(404);else{var t=n.original(this.req);t.path=null,t.pathname=function(e){for(var a=0;a<e.length&&47===e.charCodeAt(a);a++);return a>1?"/"+e.substr(a):e}(t.pathname+"/");var o,r,c=e(s.format(t)),p=(o="Redirecting",r='Redirecting to <a href="'+i(c)+'">'+i(c)+"</a>",'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>'+o+"</title>\n</head>\n<body>\n<pre>"+r+"</pre>\n</body>\n</html>\n");a.statusCode=301,a.setHeader("Content-Type","text/html; charset=UTF-8"),a.setHeader("Content-Length",Buffer.byteLength(p)),a.setHeader("Content-Security-Policy","default-src 'none'"),a.setHeader("X-Content-Type-Options","nosniff"),a.setHeader("Location",c),a.end(p)}}:function(){this.error(404)};return function(e,a,i){if("GET"!==e.method&&"HEAD"!==e.method)return p?i():(a.statusCode=405,a.setHeader("Allow","GET, HEAD"),a.setHeader("Content-Length","0"),void a.end());var t=!p,s=n.original(e),r=n(e).pathname;"/"===r&&"/"!==s.pathname.substr(-1)&&(r="");var l=o(e,r,c);l.on("directory",d),u&&l.on("headers",u),p&&l.on("file",(function(){t=!0})),l.on("error",(function(e){!t&&e.statusCode<500?i():i(e)})),l.pipe(a)}},oA.exports.mime=o.mime,oA.exports}
289
+ */function cA(){if(sA)return rA.exports;sA=1;var e=s_,i=u_,n=d_.exports,t=a.resolve,o=nE.exports,s=r;return rA.exports=function(a,r){if(!a)throw new TypeError("root path required");if("string"!=typeof a)throw new TypeError("root path must be a string");var c=Object.create(r||null),p=!1!==c.fallthrough,l=!1!==c.redirect,u=c.setHeaders;if(u&&"function"!=typeof u)throw new TypeError("option setHeaders must be function");c.maxage=c.maxage||c.maxAge||0,c.root=t(a);var d=l?function(a){if(this.hasTrailingSlash())this.error(404);else{var t=n.original(this.req);t.path=null,t.pathname=function(e){for(var a=0;a<e.length&&47===e.charCodeAt(a);a++);return a>1?"/"+e.substr(a):e}(t.pathname+"/");var o,r,c=e(s.format(t)),p=(o="Redirecting",r='Redirecting to <a href="'+i(c)+'">'+i(c)+"</a>",'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>'+o+"</title>\n</head>\n<body>\n<pre>"+r+"</pre>\n</body>\n</html>\n");a.statusCode=301,a.setHeader("Content-Type","text/html; charset=UTF-8"),a.setHeader("Content-Length",Buffer.byteLength(p)),a.setHeader("Content-Security-Policy","default-src 'none'"),a.setHeader("X-Content-Type-Options","nosniff"),a.setHeader("Location",c),a.end(p)}}:function(){this.error(404)};return function(e,a,i){if("GET"!==e.method&&"HEAD"!==e.method)return p?i():(a.statusCode=405,a.setHeader("Allow","GET, HEAD"),a.setHeader("Content-Length","0"),void a.end());var t=!p,s=n.original(e),r=n(e).pathname;"/"===r&&"/"!==s.pathname.substr(-1)&&(r="");var l=o(e,r,c);l.on("directory",d),u&&l.on("headers",u),p&&l.on("file",(function(){t=!0})),l.on("error",(function(e){!t&&e.statusCode<500?i():i(e)})),l.pipe(a)}},rA.exports.mime=o.mime,rA.exports}
290
290
  /*!
291
291
  * express
292
292
  * Copyright(c) 2009-2013 TJ Holowaychuk
293
293
  * Copyright(c) 2013 Roman Shtylman
294
294
  * Copyright(c) 2014-2015 Douglas Christopher Wilson
295
295
  * MIT Licensed
296
- */!function(e,a){var i=uv.exports,n=m.EventEmitter,t=a_,o=n_.exports,s=Z_,r=C_.exports,c=bO,p=eA;(a=e.exports=function(){var e=function(a,i,n){e.handle(a,i,n)};return t(e,n.prototype,!1),t(e,o,!1),e.request=Object.create(c,{app:{configurable:!0,enumerable:!0,writable:!0,value:e}}),e.response=Object.create(p,{app:{configurable:!0,enumerable:!0,writable:!0,value:e}}),e.init(),e}).application=o,a.request=c,a.response=p,a.Route=s,a.Router=r,a.json=i.json,a.query=yS,a.raw=i.raw,a.static=sA(),a.text=i.text,a.urlencoded=i.urlencoded;["bodyParser","compress","cookieSession","session","logger","cookieParser","favicon","responseTime","errorHandler","timeout","methodOverride","vhost","csrf","directory","limit","multipart","staticCache"].forEach((function(e){Object.defineProperty(a,e,{get:function(){throw new Error("Most middleware (like "+e+") is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.")},configurable:!0})}))}(lv,lv.exports);var rA=g(pv.exports=lv.exports);const cA=(e,a,i)=>{if(!e.is("multipart/form-data"))return i();const n=Fl({headers:e.headers});e.fileData={},e.fields={},n.on("file",((a,i,{filename:n,encoding:t,mimeType:o})=>{const s=[];i.on("data",(e=>{s.push(e)})),i.on("end",(()=>{const i=Buffer.concat(s);e.file={fieldname:a,buffer:i,filename:n,encoding:t,mimeType:o}}))})),n.on("field",((a,i)=>{e.fields[a]=i})),n.on("finish",(()=>{i()})),n.on("error",(e=>{console.error("Busboy error:",e),a.status(400).json({success:!1,error:"Error parsing form data",details:e.message})})),e.pipe(n)};var pA={id:"tta",handler:e=>{e.use(((e,a,i)=>{var n;if(null==(null==(n=e.accountability)?void 0:n.user))return a.status(403),a.send("You don't have permission to access this.");i()})),e.get("/pdf.worker.mjs",((e,a)=>(console.log(__dirname),a.sendFile(__dirname+"/pdf.worker.mjs")))),e.post("/pdf",rA.json(),(async(e,a)=>{var i;const{status:n,headers:t,data:o}=await cv.post("https://text-to-anything.p.rapidapi.com/generatePDF/"+((null==(i=e.query)?void 0:i.preview)?"preview":""),e.body,{headers:{"X-RapidAPI-Key":await globalThis.TTA._getRapidAPIKey()},responseType:"stream",decompress:!1}).catch(globalThis.TTA._handleRapidAPIError);a.status(n),a.set(t),o.pipe(a)})),e.post("/ocr",cA,(async(e,a)=>{if(!e.file)return a.status(400),a.send("You did not provide a file.");const{language:i}=e.query;if(!e.file)return a.status(400),a.send("You did not provide a language.");const n=await globalThis.TTA.OCRbasedOnFileBuffer(e.file.buffer,e.file.filename,i,"blocks");a.json(n)}))}};var lA={id:"ttaocr",handler:async({fileID:e,language:a,mode:i})=>await globalThis.TTA.OCRBasedOnAsset(e,a,i)};const uA=[{name:"bootstrap",config:Mp}],dA=[{name:"Text To Anything endpoint",config:pA}],mA=[{name:"GenerateBarcode",config:y},{name:"GeneratePDF",config:w},{name:"GeneratePDFFromTemplate",config:k},{name:"GenerateQRCode",config:j},{name:"OCR-operator",config:lA}];exports.endpoints=dA,exports.hooks=uA,exports.operations=mA;
296
+ */!function(e,a){var i=uv.exports,n=m.EventEmitter,t=n_,o=o_.exports,s=X_,r=z_.exports,c=yO,p=iA;(a=e.exports=function(){var e=function(a,i,n){e.handle(a,i,n)};return t(e,n.prototype,!1),t(e,o,!1),e.request=Object.create(c,{app:{configurable:!0,enumerable:!0,writable:!0,value:e}}),e.response=Object.create(p,{app:{configurable:!0,enumerable:!0,writable:!0,value:e}}),e.init(),e}).application=o,a.request=c,a.response=p,a.Route=s,a.Router=r,a.json=i.json,a.query=kS,a.raw=i.raw,a.static=cA(),a.text=i.text,a.urlencoded=i.urlencoded;["bodyParser","compress","cookieSession","session","logger","cookieParser","favicon","responseTime","errorHandler","timeout","methodOverride","vhost","csrf","directory","limit","multipart","staticCache"].forEach((function(e){Object.defineProperty(a,e,{get:function(){throw new Error("Most middleware (like "+e+") is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.")},configurable:!0})}))}(lv,lv.exports);var pA=g(pv.exports=lv.exports);const lA=(e,a,i)=>{if(!e.is("multipart/form-data"))return i();const n=Fl({headers:e.headers});e.fileData={},e.fields={},n.on("file",((a,i,{filename:n,encoding:t,mimeType:o})=>{const s=[];i.on("data",(e=>{s.push(e)})),i.on("end",(()=>{const i=Buffer.concat(s);e.file={fieldname:a,buffer:i,filename:n,encoding:t,mimeType:o}}))})),n.on("field",((a,i)=>{e.fields[a]=i})),n.on("finish",(()=>{i()})),n.on("error",(e=>{console.error("Busboy error:",e),a.status(400).json({success:!1,error:"Error parsing form data",details:e.message})})),e.pipe(n)};var uA={id:"tta",handler:e=>{e.use(((e,a,i)=>{var n;if(null==(null==(n=e.accountability)?void 0:n.user))return a.status(403),a.send("You don't have permission to access this.");i()})),e.get("/pdf.worker.mjs",((e,a)=>(console.log(__dirname),a.sendFile(__dirname+"/pdf.worker.mjs")))),e.post("/pdf",pA.json(),(async(e,a)=>{var i;const{status:n,headers:t,data:o}=await cv.post("https://text-to-anything.p.rapidapi.com/generatePDF/"+((null==(i=e.query)?void 0:i.preview)?"preview":""),e.body,{headers:{"X-RapidAPI-Key":await globalThis.TTA._getRapidAPIKey()},responseType:"stream",decompress:!1}).catch(globalThis.TTA._handleRapidAPIError);a.status(n),a.set(t),o.pipe(a)})),e.post("/ocr",lA,(async(e,a)=>{if(!e.file)return a.status(400),a.send("You did not provide a file.");const{language:i}=e.query;if(!e.file)return a.status(400),a.send("You did not provide a language.");const n=await globalThis.TTA.OCRbasedOnFileBuffer(e.file.buffer,e.file.filename,i,"blocks");a.json(n)}))}};var dA={id:"ttaocr",handler:async({fileID:e,language:a,mode:i})=>await globalThis.TTA.OCRBasedOnAsset(e,a,i)};const mA=[{name:"bootstrap",config:Mp}],fA=[{name:"Text To Anything endpoint",config:uA}],hA=[{name:"GenerateBarcode",config:y},{name:"GeneratePDF",config:w},{name:"GeneratePDFFromTemplate",config:k},{name:"GenerateQRCode",config:j},{name:"OCR-operator",config:dA}];exports.endpoints=fA,exports.hooks=mA,exports.operations=hA;