@jsfsi-core/ts-nestjs 1.1.17 → 1.1.18

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.
Files changed (3) hide show
  1. package/dist/index.cjs +5 -45
  2. package/dist/index.mjs +1065 -1111
  3. package/package.json +10 -10
package/dist/index.cjs CHANGED
@@ -1,19 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Yt=require("path"),QF=require("url"),ai=require("fs"),up=require("os"),oi=require("crypto"),lp=require("stream"),si=require("util"),JF=require("async_hooks"),$F=require("perf_hooks"),eD=require("express"),tD=require("http"),rD=require("https"),og=require("events"),dp=require("buffer"),nD=require("repl");var hf=typeof document<"u"?document.currentScript:null;function iD(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const aD=iD(Yt);var ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ci(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function i(){var o=!1;try{o=this instanceof i}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}),r}var Mb={};/*! *****************************************************************************
2
- Copyright (C) Microsoft. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */var Ib;function sg(){if(Ib)return Mb;Ib=1;var e;return(function(t){(function(r){var i=typeof globalThis=="object"?globalThis:typeof ut=="object"?ut:typeof self=="object"?self:typeof this=="object"?this:c(),o=n(t);typeof i.Reflect<"u"&&(o=n(i.Reflect,o)),r(o,i),typeof i.Reflect>"u"&&(i.Reflect=t);function n(u,p){return function(l,d){Object.defineProperty(u,l,{configurable:!0,writable:!0,value:d}),p&&p(l,d)}}function s(){try{return Function("return this;")()}catch{}}function a(){try{return(0,eval)("(function() { return this; })()")}catch{}}function c(){return s()||a()}})(function(r,i){var o=Object.prototype.hasOwnProperty,n=typeof Symbol=="function",s=n&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",a=n&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",c=typeof Object.create=="function",u={__proto__:[]}instanceof Array,p=!c&&!u,l={create:c?function(){return pr(Object.create(null))}:u?function(){return pr({__proto__:null})}:function(){return pr({})},has:p?function(B,G){return o.call(B,G)}:function(B,G){return G in B},get:p?function(B,G){return o.call(B,G)?B[G]:void 0}:function(B,G){return B[G]}},d=Object.getPrototypeOf(Function),f=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:Ge(),h=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:gi(),m=typeof WeakMap=="function"?WeakMap:bi(),v=n?Symbol.for("@reflect-metadata:registry"):void 0,g=me(),_=je(g);function b(B,G,Z,ee){if(q(Z)){if(!I(B))throw new TypeError;if(!Q(G))throw new TypeError;return N(B,G)}else{if(!I(B))throw new TypeError;if(!M(G))throw new TypeError;if(!M(ee)&&!q(ee)&&!D(ee))throw new TypeError;return D(ee)&&(ee=void 0),Z=A(Z),L(B,G,Z,ee)}}r("decorate",b);function y(B,G){function Z(ee,fe){if(!M(ee))throw new TypeError;if(!q(fe)&&!oe(fe))throw new TypeError;te(B,G,ee,fe)}return Z}r("metadata",y);function E(B,G,Z,ee){if(!M(Z))throw new TypeError;return q(ee)||(ee=A(ee)),te(B,G,Z,ee)}r("defineMetadata",E);function x(B,G,Z){if(!M(G))throw new TypeError;return q(Z)||(Z=A(Z)),V(B,G,Z)}r("hasMetadata",x);function O(B,G,Z){if(!M(G))throw new TypeError;return q(Z)||(Z=A(Z)),F(B,G,Z)}r("hasOwnMetadata",O);function S(B,G,Z){if(!M(G))throw new TypeError;return q(Z)||(Z=A(Z)),H(B,G,Z)}r("getMetadata",S);function w(B,G,Z){if(!M(G))throw new TypeError;return q(Z)||(Z=A(Z)),X(B,G,Z)}r("getOwnMetadata",w);function T(B,G){if(!M(B))throw new TypeError;return q(G)||(G=A(G)),U(B,G)}r("getMetadataKeys",T);function R(B,G){if(!M(B))throw new TypeError;return q(G)||(G=A(G)),re(B,G)}r("getOwnMetadataKeys",R);function P(B,G,Z){if(!M(G))throw new TypeError;if(q(Z)||(Z=A(Z)),!M(G))throw new TypeError;q(Z)||(Z=A(Z));var ee=be(G,Z,!1);return q(ee)?!1:ee.OrdinaryDeleteMetadata(B,G,Z)}r("deleteMetadata",P);function N(B,G){for(var Z=B.length-1;Z>=0;--Z){var ee=B[Z],fe=ee(G);if(!q(fe)&&!D(fe)){if(!Q(fe))throw new TypeError;G=fe}}return G}function L(B,G,Z,ee){for(var fe=B.length-1;fe>=0;--fe){var De=B[fe],ze=De(G,Z,ee);if(!q(ze)&&!D(ze)){if(!M(ze))throw new TypeError;ee=ze}}return ee}function V(B,G,Z){var ee=F(B,G,Z);if(ee)return!0;var fe=Ee(G);return D(fe)?!1:V(B,fe,Z)}function F(B,G,Z){var ee=be(G,Z,!1);return q(ee)?!1:K(ee.OrdinaryHasOwnMetadata(B,G,Z))}function H(B,G,Z){var ee=F(B,G,Z);if(ee)return X(B,G,Z);var fe=Ee(G);if(!D(fe))return H(B,fe,Z)}function X(B,G,Z){var ee=be(G,Z,!1);if(!q(ee))return ee.OrdinaryGetOwnMetadata(B,G,Z)}function te(B,G,Z,ee){var fe=be(Z,ee,!0);fe.OrdinaryDefineOwnMetadata(B,G,Z,ee)}function U(B,G){var Z=re(B,G),ee=Ee(B);if(ee===null)return Z;var fe=U(ee,G);if(fe.length<=0)return Z;if(Z.length<=0)return fe;for(var De=new h,ze=[],Oe=0,ie=Z;Oe<ie.length;Oe++){var se=ie[Oe],ue=De.has(se);ue||(De.add(se),ze.push(se))}for(var de=0,Se=fe;de<Se.length;de++){var se=Se[de],ue=De.has(se);ue||(De.add(se),ze.push(se))}return ze}function re(B,G){var Z=be(B,G,!1);return Z?Z.OrdinaryOwnMetadataKeys(B,G):[]}function j(B){if(B===null)return 1;switch(typeof B){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return B===null?1:6;default:return 6}}function q(B){return B===void 0}function D(B){return B===null}function z(B){return typeof B=="symbol"}function M(B){return typeof B=="object"?B!==null:typeof B=="function"}function C(B,G){switch(j(B)){case 0:return B;case 1:return B;case 2:return B;case 3:return B;case 4:return B;case 5:return B}var Z="string",ee=le(B,s);if(ee!==void 0){var fe=ee.call(B,Z);if(M(fe))throw new TypeError;return fe}return k(B)}function k(B,G){var Z,ee,fe;{var De=B.toString;if(W(De)){var ee=De.call(B);if(!M(ee))return ee}var Z=B.valueOf;if(W(Z)){var ee=Z.call(B);if(!M(ee))return ee}}throw new TypeError}function K(B){return!!B}function $(B){return""+B}function A(B){var G=C(B);return z(G)?G:$(G)}function I(B){return Array.isArray?Array.isArray(B):B instanceof Object?B instanceof Array:Object.prototype.toString.call(B)==="[object Array]"}function W(B){return typeof B=="function"}function Q(B){return typeof B=="function"}function oe(B){switch(j(B)){case 3:return!0;case 4:return!0;default:return!1}}function J(B,G){return B===G||B!==B&&G!==G}function le(B,G){var Z=B[G];if(Z!=null){if(!W(Z))throw new TypeError;return Z}}function _e(B){var G=le(B,a);if(!W(G))throw new TypeError;var Z=G.call(B);if(!M(Z))throw new TypeError;return Z}function ye(B){return B.value}function Pe(B){var G=B.next();return G.done?!1:G}function Re(B){var G=B.return;G&&G.call(B)}function Ee(B){var G=Object.getPrototypeOf(B);if(typeof B!="function"||B===d||G!==d)return G;var Z=B.prototype,ee=Z&&Object.getPrototypeOf(Z);if(ee==null||ee===Object.prototype)return G;var fe=ee.constructor;return typeof fe!="function"||fe===B?G:fe}function Te(){var B;!q(v)&&typeof i.Reflect<"u"&&!(v in i.Reflect)&&typeof i.Reflect.defineMetadata=="function"&&(B=Ke(i.Reflect));var G,Z,ee,fe=new m,De={registerProvider:ze,getProvider:ie,setProvider:ue};return De;function ze(de){if(!Object.isExtensible(De))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case B===de:break;case q(G):G=de;break;case G===de:break;case q(Z):Z=de;break;case Z===de:break;default:ee===void 0&&(ee=new h),ee.add(de);break}}function Oe(de,Se){if(!q(G)){if(G.isProviderFor(de,Se))return G;if(!q(Z)){if(Z.isProviderFor(de,Se))return G;if(!q(ee))for(var Me=_e(ee);;){var ke=Pe(Me);if(!ke)return;var at=ye(ke);if(at.isProviderFor(de,Se))return Re(Me),at}}}if(!q(B)&&B.isProviderFor(de,Se))return B}function ie(de,Se){var Me=fe.get(de),ke;return q(Me)||(ke=Me.get(Se)),q(ke)&&(ke=Oe(de,Se),q(ke)||(q(Me)&&(Me=new f,fe.set(de,Me)),Me.set(Se,ke))),ke}function se(de){if(q(de))throw new TypeError;return G===de||Z===de||!q(ee)&&ee.has(de)}function ue(de,Se,Me){if(!se(Me))throw new Error("Metadata provider not registered.");var ke=ie(de,Se);if(ke!==Me){if(!q(ke))return!1;var at=fe.get(de);q(at)&&(at=new f,fe.set(de,at)),at.set(Se,Me)}return!0}}function me(){var B;return!q(v)&&M(i.Reflect)&&Object.isExtensible(i.Reflect)&&(B=i.Reflect[v]),q(B)&&(B=Te()),!q(v)&&M(i.Reflect)&&Object.isExtensible(i.Reflect)&&Object.defineProperty(i.Reflect,v,{enumerable:!1,configurable:!1,writable:!1,value:B}),B}function je(B){var G=new m,Z={isProviderFor:function(se,ue){var de=G.get(se);return q(de)?!1:de.has(ue)},OrdinaryDefineOwnMetadata:ze,OrdinaryHasOwnMetadata:fe,OrdinaryGetOwnMetadata:De,OrdinaryOwnMetadataKeys:Oe,OrdinaryDeleteMetadata:ie};return g.registerProvider(Z),Z;function ee(se,ue,de){var Se=G.get(se),Me=!1;if(q(Se)){if(!de)return;Se=new f,G.set(se,Se),Me=!0}var ke=Se.get(ue);if(q(ke)){if(!de)return;if(ke=new f,Se.set(ue,ke),!B.setProvider(se,ue,Z))throw Se.delete(ue),Me&&G.delete(se),new Error("Wrong provider for target.")}return ke}function fe(se,ue,de){var Se=ee(ue,de,!1);return q(Se)?!1:K(Se.has(se))}function De(se,ue,de){var Se=ee(ue,de,!1);if(!q(Se))return Se.get(se)}function ze(se,ue,de,Se){var Me=ee(de,Se,!0);Me.set(se,ue)}function Oe(se,ue){var de=[],Se=ee(se,ue,!1);if(q(Se))return de;for(var Me=Se.keys(),ke=_e(Me),at=0;;){var Pn=Pe(ke);if(!Pn)return de.length=at,de;var yi=ye(Pn);try{de[at]=yi}catch(Ei){try{Re(ke)}finally{throw Ei}}at++}}function ie(se,ue,de){var Se=ee(ue,de,!1);if(q(Se)||!Se.delete(se))return!1;if(Se.size===0){var Me=G.get(ue);q(Me)||(Me.delete(de),Me.size===0&&G.delete(Me))}return!0}}function Ke(B){var G=B.defineMetadata,Z=B.hasOwnMetadata,ee=B.getOwnMetadata,fe=B.getOwnMetadataKeys,De=B.deleteMetadata,ze=new m,Oe={isProviderFor:function(ie,se){var ue=ze.get(ie);return!q(ue)&&ue.has(se)?!0:fe(ie,se).length?(q(ue)&&(ue=new h,ze.set(ie,ue)),ue.add(se),!0):!1},OrdinaryDefineOwnMetadata:G,OrdinaryHasOwnMetadata:Z,OrdinaryGetOwnMetadata:ee,OrdinaryOwnMetadataKeys:fe,OrdinaryDeleteMetadata:De};return Oe}function be(B,G,Z){var ee=g.getProvider(B,G);if(!q(ee))return ee;if(Z){if(g.setProvider(B,G,_))return _;throw new Error("Illegal state.")}}function Ge(){var B={},G=[],Z=(function(){function Oe(ie,se,ue){this._index=0,this._keys=ie,this._values=se,this._selector=ue}return Oe.prototype["@@iterator"]=function(){return this},Oe.prototype[a]=function(){return this},Oe.prototype.next=function(){var ie=this._index;if(ie>=0&&ie<this._keys.length){var se=this._selector(this._keys[ie],this._values[ie]);return ie+1>=this._keys.length?(this._index=-1,this._keys=G,this._values=G):this._index++,{value:se,done:!1}}return{value:void 0,done:!0}},Oe.prototype.throw=function(ie){throw this._index>=0&&(this._index=-1,this._keys=G,this._values=G),ie},Oe.prototype.return=function(ie){return this._index>=0&&(this._index=-1,this._keys=G,this._values=G),{value:ie,done:!0}},Oe})(),ee=(function(){function Oe(){this._keys=[],this._values=[],this._cacheKey=B,this._cacheIndex=-2}return Object.defineProperty(Oe.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Oe.prototype.has=function(ie){return this._find(ie,!1)>=0},Oe.prototype.get=function(ie){var se=this._find(ie,!1);return se>=0?this._values[se]:void 0},Oe.prototype.set=function(ie,se){var ue=this._find(ie,!0);return this._values[ue]=se,this},Oe.prototype.delete=function(ie){var se=this._find(ie,!1);if(se>=0){for(var ue=this._keys.length,de=se+1;de<ue;de++)this._keys[de-1]=this._keys[de],this._values[de-1]=this._values[de];return this._keys.length--,this._values.length--,J(ie,this._cacheKey)&&(this._cacheKey=B,this._cacheIndex=-2),!0}return!1},Oe.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=B,this._cacheIndex=-2},Oe.prototype.keys=function(){return new Z(this._keys,this._values,fe)},Oe.prototype.values=function(){return new Z(this._keys,this._values,De)},Oe.prototype.entries=function(){return new Z(this._keys,this._values,ze)},Oe.prototype["@@iterator"]=function(){return this.entries()},Oe.prototype[a]=function(){return this.entries()},Oe.prototype._find=function(ie,se){if(!J(this._cacheKey,ie)){this._cacheIndex=-1;for(var ue=0;ue<this._keys.length;ue++)if(J(this._keys[ue],ie)){this._cacheIndex=ue;break}}return this._cacheIndex<0&&se&&(this._cacheIndex=this._keys.length,this._keys.push(ie),this._values.push(void 0)),this._cacheIndex},Oe})();return ee;function fe(Oe,ie){return Oe}function De(Oe,ie){return ie}function ze(Oe,ie){return[Oe,ie]}}function gi(){var B=(function(){function G(){this._map=new f}return Object.defineProperty(G.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),G.prototype.has=function(Z){return this._map.has(Z)},G.prototype.add=function(Z){return this._map.set(Z,Z),this},G.prototype.delete=function(Z){return this._map.delete(Z)},G.prototype.clear=function(){this._map.clear()},G.prototype.keys=function(){return this._map.keys()},G.prototype.values=function(){return this._map.keys()},G.prototype.entries=function(){return this._map.entries()},G.prototype["@@iterator"]=function(){return this.keys()},G.prototype[a]=function(){return this.keys()},G})();return B}function bi(){var B=16,G=l.create(),Z=ee();return(function(){function ie(){this._key=ee()}return ie.prototype.has=function(se){var ue=fe(se,!1);return ue!==void 0?l.has(ue,this._key):!1},ie.prototype.get=function(se){var ue=fe(se,!1);return ue!==void 0?l.get(ue,this._key):void 0},ie.prototype.set=function(se,ue){var de=fe(se,!0);return de[this._key]=ue,this},ie.prototype.delete=function(se){var ue=fe(se,!1);return ue!==void 0?delete ue[this._key]:!1},ie.prototype.clear=function(){this._key=ee()},ie})();function ee(){var ie;do ie="@@WeakMap@@"+Oe();while(l.has(G,ie));return G[ie]=!0,ie}function fe(ie,se){if(!o.call(ie,Z)){if(!se)return;Object.defineProperty(ie,Z,{value:l.create()})}return ie[Z]}function De(ie,se){for(var ue=0;ue<se;++ue)ie[ue]=Math.random()*255|0;return ie}function ze(ie){if(typeof Uint8Array=="function"){var se=new Uint8Array(ie);return typeof crypto<"u"?crypto.getRandomValues(se):typeof msCrypto<"u"?msCrypto.getRandomValues(se):De(se,ie),se}return De(new Array(ie),ie)}function Oe(){var ie=ze(B);ie[6]=ie[6]&79|64,ie[8]=ie[8]&191|128;for(var se="",ue=0;ue<B;++ue){var de=ie[ue];(ue===4||ue===6||ue===8)&&(se+="-"),de<16&&(se+="0"),se+=de.toString(16).toLowerCase()}return se}}function pr(B){return B.__=void 0,delete B.__,B}})})(e||(e={})),Mb}sg();var Ot={exports:{}};const oD="17.2.3",sD={version:oD};var Cb;function cD(){if(Cb)return Ot.exports;Cb=1;const e=ai,t=Yt,r=up,i=oi,o=sD.version,n=["🔐 encrypt with Dotenvx: https://dotenvx.com","🔐 prevent committing .env to code: https://dotenvx.com/precommit","🔐 prevent building .env in docker: https://dotenvx.com/prebuild","📡 add observability to secrets: https://dotenvx.com/ops","👥 sync secrets across teammates & machines: https://dotenvx.com/ops","🗂️ backup and recover secrets: https://dotenvx.com/ops","✅ audit secrets and track compliance: https://dotenvx.com/ops","🔄 add secrets lifecycle management: https://dotenvx.com/ops","🔑 add access controls to secrets: https://dotenvx.com/ops","🛠️ run anywhere with `dotenvx run -- yourcommand`","⚙️ specify custom .env file path with { path: '/custom/path/.env' }","⚙️ enable debug logging with { debug: true }","⚙️ override existing env vars with { override: true }","⚙️ suppress all logs with { quiet: true }","⚙️ write to custom object with { processEnv: myObject }","⚙️ load multiple .env files with { path: ['.env.local', '.env'] }"];function s(){return n[Math.floor(Math.random()*n.length)]}function a(T){return typeof T=="string"?!["false","0","no","off",""].includes(T.toLowerCase()):!!T}function c(){return process.stdout.isTTY}function u(T){return c()?`\x1B[2m${T}\x1B[0m`:T}const p=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function l(T){const R={};let P=T.toString();P=P.replace(/\r\n?/mg,`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Yt=require("path"),QF=require("url"),ai=require("fs"),up=require("os"),oi=require("crypto"),lp=require("stream"),si=require("util"),JF=require("async_hooks"),$F=require("perf_hooks"),eD=require("express"),tD=require("http"),rD=require("https"),og=require("events"),dp=require("buffer"),nD=require("repl");var hf=typeof document<"u"?document.currentScript:null;function iD(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const aD=iD(Yt);var ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ci(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function i(){var o=!1;try{o=this instanceof i}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}),r}var Mb={};var Ib;function sg(){if(Ib)return Mb;Ib=1;var e;return(function(t){(function(r){var i=typeof globalThis=="object"?globalThis:typeof ut=="object"?ut:typeof self=="object"?self:typeof this=="object"?this:c(),o=n(t);typeof i.Reflect<"u"&&(o=n(i.Reflect,o)),r(o,i),typeof i.Reflect>"u"&&(i.Reflect=t);function n(u,p){return function(l,d){Object.defineProperty(u,l,{configurable:!0,writable:!0,value:d}),p&&p(l,d)}}function s(){try{return Function("return this;")()}catch{}}function a(){try{return(0,eval)("(function() { return this; })()")}catch{}}function c(){return s()||a()}})(function(r,i){var o=Object.prototype.hasOwnProperty,n=typeof Symbol=="function",s=n&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",a=n&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",c=typeof Object.create=="function",u={__proto__:[]}instanceof Array,p=!c&&!u,l={create:c?function(){return pr(Object.create(null))}:u?function(){return pr({__proto__:null})}:function(){return pr({})},has:p?function(B,G){return o.call(B,G)}:function(B,G){return G in B},get:p?function(B,G){return o.call(B,G)?B[G]:void 0}:function(B,G){return B[G]}},d=Object.getPrototypeOf(Function),f=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:Ge(),h=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:gi(),m=typeof WeakMap=="function"?WeakMap:bi(),v=n?Symbol.for("@reflect-metadata:registry"):void 0,g=me(),_=je(g);function b(B,G,Z,ee){if(q(Z)){if(!I(B))throw new TypeError;if(!Q(G))throw new TypeError;return N(B,G)}else{if(!I(B))throw new TypeError;if(!M(G))throw new TypeError;if(!M(ee)&&!q(ee)&&!D(ee))throw new TypeError;return D(ee)&&(ee=void 0),Z=A(Z),L(B,G,Z,ee)}}r("decorate",b);function y(B,G){function Z(ee,fe){if(!M(ee))throw new TypeError;if(!q(fe)&&!oe(fe))throw new TypeError;te(B,G,ee,fe)}return Z}r("metadata",y);function E(B,G,Z,ee){if(!M(Z))throw new TypeError;return q(ee)||(ee=A(ee)),te(B,G,Z,ee)}r("defineMetadata",E);function x(B,G,Z){if(!M(G))throw new TypeError;return q(Z)||(Z=A(Z)),V(B,G,Z)}r("hasMetadata",x);function O(B,G,Z){if(!M(G))throw new TypeError;return q(Z)||(Z=A(Z)),F(B,G,Z)}r("hasOwnMetadata",O);function S(B,G,Z){if(!M(G))throw new TypeError;return q(Z)||(Z=A(Z)),H(B,G,Z)}r("getMetadata",S);function w(B,G,Z){if(!M(G))throw new TypeError;return q(Z)||(Z=A(Z)),X(B,G,Z)}r("getOwnMetadata",w);function T(B,G){if(!M(B))throw new TypeError;return q(G)||(G=A(G)),U(B,G)}r("getMetadataKeys",T);function R(B,G){if(!M(B))throw new TypeError;return q(G)||(G=A(G)),re(B,G)}r("getOwnMetadataKeys",R);function P(B,G,Z){if(!M(G))throw new TypeError;if(q(Z)||(Z=A(Z)),!M(G))throw new TypeError;q(Z)||(Z=A(Z));var ee=be(G,Z,!1);return q(ee)?!1:ee.OrdinaryDeleteMetadata(B,G,Z)}r("deleteMetadata",P);function N(B,G){for(var Z=B.length-1;Z>=0;--Z){var ee=B[Z],fe=ee(G);if(!q(fe)&&!D(fe)){if(!Q(fe))throw new TypeError;G=fe}}return G}function L(B,G,Z,ee){for(var fe=B.length-1;fe>=0;--fe){var De=B[fe],ze=De(G,Z,ee);if(!q(ze)&&!D(ze)){if(!M(ze))throw new TypeError;ee=ze}}return ee}function V(B,G,Z){var ee=F(B,G,Z);if(ee)return!0;var fe=Ee(G);return D(fe)?!1:V(B,fe,Z)}function F(B,G,Z){var ee=be(G,Z,!1);return q(ee)?!1:K(ee.OrdinaryHasOwnMetadata(B,G,Z))}function H(B,G,Z){var ee=F(B,G,Z);if(ee)return X(B,G,Z);var fe=Ee(G);if(!D(fe))return H(B,fe,Z)}function X(B,G,Z){var ee=be(G,Z,!1);if(!q(ee))return ee.OrdinaryGetOwnMetadata(B,G,Z)}function te(B,G,Z,ee){var fe=be(Z,ee,!0);fe.OrdinaryDefineOwnMetadata(B,G,Z,ee)}function U(B,G){var Z=re(B,G),ee=Ee(B);if(ee===null)return Z;var fe=U(ee,G);if(fe.length<=0)return Z;if(Z.length<=0)return fe;for(var De=new h,ze=[],Oe=0,ie=Z;Oe<ie.length;Oe++){var se=ie[Oe],ue=De.has(se);ue||(De.add(se),ze.push(se))}for(var de=0,Se=fe;de<Se.length;de++){var se=Se[de],ue=De.has(se);ue||(De.add(se),ze.push(se))}return ze}function re(B,G){var Z=be(B,G,!1);return Z?Z.OrdinaryOwnMetadataKeys(B,G):[]}function j(B){if(B===null)return 1;switch(typeof B){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return B===null?1:6;default:return 6}}function q(B){return B===void 0}function D(B){return B===null}function z(B){return typeof B=="symbol"}function M(B){return typeof B=="object"?B!==null:typeof B=="function"}function C(B,G){switch(j(B)){case 0:return B;case 1:return B;case 2:return B;case 3:return B;case 4:return B;case 5:return B}var Z="string",ee=le(B,s);if(ee!==void 0){var fe=ee.call(B,Z);if(M(fe))throw new TypeError;return fe}return k(B)}function k(B,G){var Z,ee,fe;{var De=B.toString;if(W(De)){var ee=De.call(B);if(!M(ee))return ee}var Z=B.valueOf;if(W(Z)){var ee=Z.call(B);if(!M(ee))return ee}}throw new TypeError}function K(B){return!!B}function $(B){return""+B}function A(B){var G=C(B);return z(G)?G:$(G)}function I(B){return Array.isArray?Array.isArray(B):B instanceof Object?B instanceof Array:Object.prototype.toString.call(B)==="[object Array]"}function W(B){return typeof B=="function"}function Q(B){return typeof B=="function"}function oe(B){switch(j(B)){case 3:return!0;case 4:return!0;default:return!1}}function J(B,G){return B===G||B!==B&&G!==G}function le(B,G){var Z=B[G];if(Z!=null){if(!W(Z))throw new TypeError;return Z}}function _e(B){var G=le(B,a);if(!W(G))throw new TypeError;var Z=G.call(B);if(!M(Z))throw new TypeError;return Z}function ye(B){return B.value}function Pe(B){var G=B.next();return G.done?!1:G}function Re(B){var G=B.return;G&&G.call(B)}function Ee(B){var G=Object.getPrototypeOf(B);if(typeof B!="function"||B===d||G!==d)return G;var Z=B.prototype,ee=Z&&Object.getPrototypeOf(Z);if(ee==null||ee===Object.prototype)return G;var fe=ee.constructor;return typeof fe!="function"||fe===B?G:fe}function Te(){var B;!q(v)&&typeof i.Reflect<"u"&&!(v in i.Reflect)&&typeof i.Reflect.defineMetadata=="function"&&(B=Ke(i.Reflect));var G,Z,ee,fe=new m,De={registerProvider:ze,getProvider:ie,setProvider:ue};return De;function ze(de){if(!Object.isExtensible(De))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case B===de:break;case q(G):G=de;break;case G===de:break;case q(Z):Z=de;break;case Z===de:break;default:ee===void 0&&(ee=new h),ee.add(de);break}}function Oe(de,Se){if(!q(G)){if(G.isProviderFor(de,Se))return G;if(!q(Z)){if(Z.isProviderFor(de,Se))return G;if(!q(ee))for(var Me=_e(ee);;){var ke=Pe(Me);if(!ke)return;var at=ye(ke);if(at.isProviderFor(de,Se))return Re(Me),at}}}if(!q(B)&&B.isProviderFor(de,Se))return B}function ie(de,Se){var Me=fe.get(de),ke;return q(Me)||(ke=Me.get(Se)),q(ke)&&(ke=Oe(de,Se),q(ke)||(q(Me)&&(Me=new f,fe.set(de,Me)),Me.set(Se,ke))),ke}function se(de){if(q(de))throw new TypeError;return G===de||Z===de||!q(ee)&&ee.has(de)}function ue(de,Se,Me){if(!se(Me))throw new Error("Metadata provider not registered.");var ke=ie(de,Se);if(ke!==Me){if(!q(ke))return!1;var at=fe.get(de);q(at)&&(at=new f,fe.set(de,at)),at.set(Se,Me)}return!0}}function me(){var B;return!q(v)&&M(i.Reflect)&&Object.isExtensible(i.Reflect)&&(B=i.Reflect[v]),q(B)&&(B=Te()),!q(v)&&M(i.Reflect)&&Object.isExtensible(i.Reflect)&&Object.defineProperty(i.Reflect,v,{enumerable:!1,configurable:!1,writable:!1,value:B}),B}function je(B){var G=new m,Z={isProviderFor:function(se,ue){var de=G.get(se);return q(de)?!1:de.has(ue)},OrdinaryDefineOwnMetadata:ze,OrdinaryHasOwnMetadata:fe,OrdinaryGetOwnMetadata:De,OrdinaryOwnMetadataKeys:Oe,OrdinaryDeleteMetadata:ie};return g.registerProvider(Z),Z;function ee(se,ue,de){var Se=G.get(se),Me=!1;if(q(Se)){if(!de)return;Se=new f,G.set(se,Se),Me=!0}var ke=Se.get(ue);if(q(ke)){if(!de)return;if(ke=new f,Se.set(ue,ke),!B.setProvider(se,ue,Z))throw Se.delete(ue),Me&&G.delete(se),new Error("Wrong provider for target.")}return ke}function fe(se,ue,de){var Se=ee(ue,de,!1);return q(Se)?!1:K(Se.has(se))}function De(se,ue,de){var Se=ee(ue,de,!1);if(!q(Se))return Se.get(se)}function ze(se,ue,de,Se){var Me=ee(de,Se,!0);Me.set(se,ue)}function Oe(se,ue){var de=[],Se=ee(se,ue,!1);if(q(Se))return de;for(var Me=Se.keys(),ke=_e(Me),at=0;;){var Pn=Pe(ke);if(!Pn)return de.length=at,de;var yi=ye(Pn);try{de[at]=yi}catch(Ei){try{Re(ke)}finally{throw Ei}}at++}}function ie(se,ue,de){var Se=ee(ue,de,!1);if(q(Se)||!Se.delete(se))return!1;if(Se.size===0){var Me=G.get(ue);q(Me)||(Me.delete(de),Me.size===0&&G.delete(Me))}return!0}}function Ke(B){var G=B.defineMetadata,Z=B.hasOwnMetadata,ee=B.getOwnMetadata,fe=B.getOwnMetadataKeys,De=B.deleteMetadata,ze=new m,Oe={isProviderFor:function(ie,se){var ue=ze.get(ie);return!q(ue)&&ue.has(se)?!0:fe(ie,se).length?(q(ue)&&(ue=new h,ze.set(ie,ue)),ue.add(se),!0):!1},OrdinaryDefineOwnMetadata:G,OrdinaryHasOwnMetadata:Z,OrdinaryGetOwnMetadata:ee,OrdinaryOwnMetadataKeys:fe,OrdinaryDeleteMetadata:De};return Oe}function be(B,G,Z){var ee=g.getProvider(B,G);if(!q(ee))return ee;if(Z){if(g.setProvider(B,G,_))return _;throw new Error("Illegal state.")}}function Ge(){var B={},G=[],Z=(function(){function Oe(ie,se,ue){this._index=0,this._keys=ie,this._values=se,this._selector=ue}return Oe.prototype["@@iterator"]=function(){return this},Oe.prototype[a]=function(){return this},Oe.prototype.next=function(){var ie=this._index;if(ie>=0&&ie<this._keys.length){var se=this._selector(this._keys[ie],this._values[ie]);return ie+1>=this._keys.length?(this._index=-1,this._keys=G,this._values=G):this._index++,{value:se,done:!1}}return{value:void 0,done:!0}},Oe.prototype.throw=function(ie){throw this._index>=0&&(this._index=-1,this._keys=G,this._values=G),ie},Oe.prototype.return=function(ie){return this._index>=0&&(this._index=-1,this._keys=G,this._values=G),{value:ie,done:!0}},Oe})(),ee=(function(){function Oe(){this._keys=[],this._values=[],this._cacheKey=B,this._cacheIndex=-2}return Object.defineProperty(Oe.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Oe.prototype.has=function(ie){return this._find(ie,!1)>=0},Oe.prototype.get=function(ie){var se=this._find(ie,!1);return se>=0?this._values[se]:void 0},Oe.prototype.set=function(ie,se){var ue=this._find(ie,!0);return this._values[ue]=se,this},Oe.prototype.delete=function(ie){var se=this._find(ie,!1);if(se>=0){for(var ue=this._keys.length,de=se+1;de<ue;de++)this._keys[de-1]=this._keys[de],this._values[de-1]=this._values[de];return this._keys.length--,this._values.length--,J(ie,this._cacheKey)&&(this._cacheKey=B,this._cacheIndex=-2),!0}return!1},Oe.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=B,this._cacheIndex=-2},Oe.prototype.keys=function(){return new Z(this._keys,this._values,fe)},Oe.prototype.values=function(){return new Z(this._keys,this._values,De)},Oe.prototype.entries=function(){return new Z(this._keys,this._values,ze)},Oe.prototype["@@iterator"]=function(){return this.entries()},Oe.prototype[a]=function(){return this.entries()},Oe.prototype._find=function(ie,se){if(!J(this._cacheKey,ie)){this._cacheIndex=-1;for(var ue=0;ue<this._keys.length;ue++)if(J(this._keys[ue],ie)){this._cacheIndex=ue;break}}return this._cacheIndex<0&&se&&(this._cacheIndex=this._keys.length,this._keys.push(ie),this._values.push(void 0)),this._cacheIndex},Oe})();return ee;function fe(Oe,ie){return Oe}function De(Oe,ie){return ie}function ze(Oe,ie){return[Oe,ie]}}function gi(){var B=(function(){function G(){this._map=new f}return Object.defineProperty(G.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),G.prototype.has=function(Z){return this._map.has(Z)},G.prototype.add=function(Z){return this._map.set(Z,Z),this},G.prototype.delete=function(Z){return this._map.delete(Z)},G.prototype.clear=function(){this._map.clear()},G.prototype.keys=function(){return this._map.keys()},G.prototype.values=function(){return this._map.keys()},G.prototype.entries=function(){return this._map.entries()},G.prototype["@@iterator"]=function(){return this.keys()},G.prototype[a]=function(){return this.keys()},G})();return B}function bi(){var B=16,G=l.create(),Z=ee();return(function(){function ie(){this._key=ee()}return ie.prototype.has=function(se){var ue=fe(se,!1);return ue!==void 0?l.has(ue,this._key):!1},ie.prototype.get=function(se){var ue=fe(se,!1);return ue!==void 0?l.get(ue,this._key):void 0},ie.prototype.set=function(se,ue){var de=fe(se,!0);return de[this._key]=ue,this},ie.prototype.delete=function(se){var ue=fe(se,!1);return ue!==void 0?delete ue[this._key]:!1},ie.prototype.clear=function(){this._key=ee()},ie})();function ee(){var ie;do ie="@@WeakMap@@"+Oe();while(l.has(G,ie));return G[ie]=!0,ie}function fe(ie,se){if(!o.call(ie,Z)){if(!se)return;Object.defineProperty(ie,Z,{value:l.create()})}return ie[Z]}function De(ie,se){for(var ue=0;ue<se;++ue)ie[ue]=Math.random()*255|0;return ie}function ze(ie){if(typeof Uint8Array=="function"){var se=new Uint8Array(ie);return typeof crypto<"u"?crypto.getRandomValues(se):typeof msCrypto<"u"?msCrypto.getRandomValues(se):De(se,ie),se}return De(new Array(ie),ie)}function Oe(){var ie=ze(B);ie[6]=ie[6]&79|64,ie[8]=ie[8]&191|128;for(var se="",ue=0;ue<B;++ue){var de=ie[ue];(ue===4||ue===6||ue===8)&&(se+="-"),de<16&&(se+="0"),se+=de.toString(16).toLowerCase()}return se}}function pr(B){return B.__=void 0,delete B.__,B}})})(e||(e={})),Mb}sg();var Ot={exports:{}};const oD="17.2.3",sD={version:oD};var Cb;function cD(){if(Cb)return Ot.exports;Cb=1;const e=ai,t=Yt,r=up,i=oi,o=sD.version,n=["🔐 encrypt with Dotenvx: https://dotenvx.com","🔐 prevent committing .env to code: https://dotenvx.com/precommit","🔐 prevent building .env in docker: https://dotenvx.com/prebuild","📡 add observability to secrets: https://dotenvx.com/ops","👥 sync secrets across teammates & machines: https://dotenvx.com/ops","🗂️ backup and recover secrets: https://dotenvx.com/ops","✅ audit secrets and track compliance: https://dotenvx.com/ops","🔄 add secrets lifecycle management: https://dotenvx.com/ops","🔑 add access controls to secrets: https://dotenvx.com/ops","🛠️ run anywhere with `dotenvx run -- yourcommand`","⚙️ specify custom .env file path with { path: '/custom/path/.env' }","⚙️ enable debug logging with { debug: true }","⚙️ override existing env vars with { override: true }","⚙️ suppress all logs with { quiet: true }","⚙️ write to custom object with { processEnv: myObject }","⚙️ load multiple .env files with { path: ['.env.local', '.env'] }"];function s(){return n[Math.floor(Math.random()*n.length)]}function a(T){return typeof T=="string"?!["false","0","no","off",""].includes(T.toLowerCase()):!!T}function c(){return process.stdout.isTTY}function u(T){return c()?`\x1B[2m${T}\x1B[0m`:T}const p=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function l(T){const R={};let P=T.toString();P=P.replace(/\r\n?/mg,`
15
2
  `);let N;for(;(N=p.exec(P))!=null;){const L=N[1];let V=N[2]||"";V=V.trim();const F=V[0];V=V.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),F==='"'&&(V=V.replace(/\\n/g,`
16
- `),V=V.replace(/\\r/g,"\r")),R[L]=V}return R}function d(T){T=T||{};const R=_(T);T.path=R;const P=w.configDotenv(T);if(!P.parsed){const F=new Error(`MISSING_DATA: Cannot parse ${R} for an unknown reason`);throw F.code="MISSING_DATA",F}const N=v(T).split(","),L=N.length;let V;for(let F=0;F<L;F++)try{const H=N[F].trim(),X=g(P,H);V=w.decrypt(X.ciphertext,X.key);break}catch(H){if(F+1>=L)throw H}return w.parse(V)}function f(T){console.error(`[dotenv@${o}][WARN] ${T}`)}function h(T){console.log(`[dotenv@${o}][DEBUG] ${T}`)}function m(T){console.log(`[dotenv@${o}] ${T}`)}function v(T){return T&&T.DOTENV_KEY&&T.DOTENV_KEY.length>0?T.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function g(T,R){let P;try{P=new URL(R)}catch(H){if(H.code==="ERR_INVALID_URL"){const X=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw X.code="INVALID_DOTENV_KEY",X}throw H}const N=P.password;if(!N){const H=new Error("INVALID_DOTENV_KEY: Missing key part");throw H.code="INVALID_DOTENV_KEY",H}const L=P.searchParams.get("environment");if(!L){const H=new Error("INVALID_DOTENV_KEY: Missing environment part");throw H.code="INVALID_DOTENV_KEY",H}const V=`DOTENV_VAULT_${L.toUpperCase()}`,F=T.parsed[V];if(!F){const H=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${V} in your .env.vault file.`);throw H.code="NOT_FOUND_DOTENV_ENVIRONMENT",H}return{ciphertext:F,key:N}}function _(T){let R=null;if(T&&T.path&&T.path.length>0)if(Array.isArray(T.path))for(const P of T.path)e.existsSync(P)&&(R=P.endsWith(".vault")?P:`${P}.vault`);else R=T.path.endsWith(".vault")?T.path:`${T.path}.vault`;else R=t.resolve(process.cwd(),".env.vault");return e.existsSync(R)?R:null}function b(T){return T[0]==="~"?t.join(r.homedir(),T.slice(1)):T}function y(T){const R=a(process.env.DOTENV_CONFIG_DEBUG||T&&T.debug),P=a(process.env.DOTENV_CONFIG_QUIET||T&&T.quiet);(R||!P)&&m("Loading env from encrypted .env.vault");const N=w._parseVault(T);let L=process.env;return T&&T.processEnv!=null&&(L=T.processEnv),w.populate(L,N,T),{parsed:N}}function E(T){const R=t.resolve(process.cwd(),".env");let P="utf8",N=process.env;T&&T.processEnv!=null&&(N=T.processEnv);let L=a(N.DOTENV_CONFIG_DEBUG||T&&T.debug),V=a(N.DOTENV_CONFIG_QUIET||T&&T.quiet);T&&T.encoding?P=T.encoding:L&&h("No encoding is specified. UTF-8 is used by default");let F=[R];if(T&&T.path)if(!Array.isArray(T.path))F=[b(T.path)];else{F=[];for(const U of T.path)F.push(b(U))}let H;const X={};for(const U of F)try{const re=w.parse(e.readFileSync(U,{encoding:P}));w.populate(X,re,T)}catch(re){L&&h(`Failed to load ${U} ${re.message}`),H=re}const te=w.populate(N,X,T);if(L=a(N.DOTENV_CONFIG_DEBUG||L),V=a(N.DOTENV_CONFIG_QUIET||V),L||!V){const U=Object.keys(te).length,re=[];for(const j of F)try{const q=t.relative(process.cwd(),j);re.push(q)}catch(q){L&&h(`Failed to load ${j} ${q.message}`),H=q}m(`injecting env (${U}) from ${re.join(",")} ${u(`-- tip: ${s()}`)}`)}return H?{parsed:X,error:H}:{parsed:X}}function x(T){if(v(T).length===0)return w.configDotenv(T);const R=_(T);return R?w._configVault(T):(f(`You set DOTENV_KEY but you are missing a .env.vault file at ${R}. Did you forget to build it?`),w.configDotenv(T))}function O(T,R){const P=Buffer.from(R.slice(-64),"hex");let N=Buffer.from(T,"base64");const L=N.subarray(0,12),V=N.subarray(-16);N=N.subarray(12,-16);try{const F=i.createDecipheriv("aes-256-gcm",P,L);return F.setAuthTag(V),`${F.update(N)}${F.final()}`}catch(F){const H=F instanceof RangeError,X=F.message==="Invalid key length",te=F.message==="Unsupported state or unable to authenticate data";if(H||X){const U=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw U.code="INVALID_DOTENV_KEY",U}else if(te){const U=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw U.code="DECRYPTION_FAILED",U}else throw F}}function S(T,R,P={}){const N=!!(P&&P.debug),L=!!(P&&P.override),V={};if(typeof R!="object"){const F=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw F.code="OBJECT_REQUIRED",F}for(const F of Object.keys(R))Object.prototype.hasOwnProperty.call(T,F)?(L===!0&&(T[F]=R[F],V[F]=R[F]),N&&h(L===!0?`"${F}" is already defined and WAS overwritten`:`"${F}" is already defined and was NOT overwritten`)):(T[F]=R[F],V[F]=R[F]);return V}const w={configDotenv:E,_configVault:y,_parseVault:d,config:x,decrypt:O,parse:l,populate:S};return Ot.exports.configDotenv=w.configDotenv,Ot.exports._configVault=w._configVault,Ot.exports._parseVault=w._parseVault,Ot.exports.config=w.config,Ot.exports.decrypt=w.decrypt,Ot.exports.parse=w.parse,Ot.exports.populate=w.populate,Ot.exports=w,Ot.exports}var uD=cD();const lD=QF.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:hf&&hf.tagName.toUpperCase()==="SCRIPT"&&hf.src||new URL("index.cjs",document.baseURI).href),dD=Yt.dirname(lD),pD=(e={})=>{const{env:t,configPath:r}=e,i=Yt.resolve(dD,`${r??"."}/.env${t?`.${t}`:""}`),{parsed:o}=uD.config({path:i});return o};var vf,jb;function fD(){if(jb)return vf;jb=1,vf=n,n.default=n,n.stable=u,n.stableStringify=u;var e="[...]",t="[Circular]",r=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function n(d,f,h,m){typeof m>"u"&&(m=o()),a(d,"",0,[],void 0,0,m);var v;try{i.length===0?v=JSON.stringify(d,f,h):v=JSON.stringify(d,l(f),h)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var g=r.pop();g.length===4?Object.defineProperty(g[0],g[1],g[3]):g[0][g[1]]=g[2]}}return v}function s(d,f,h,m){var v=Object.getOwnPropertyDescriptor(m,h);v.get!==void 0?v.configurable?(Object.defineProperty(m,h,{value:d}),r.push([m,h,f,v])):i.push([f,h,d]):(m[h]=d,r.push([m,h,f]))}function a(d,f,h,m,v,g,_){g+=1;var b;if(typeof d=="object"&&d!==null){for(b=0;b<m.length;b++)if(m[b]===d){s(t,d,f,v);return}if(typeof _.depthLimit<"u"&&g>_.depthLimit){s(e,d,f,v);return}if(typeof _.edgesLimit<"u"&&h+1>_.edgesLimit){s(e,d,f,v);return}if(m.push(d),Array.isArray(d))for(b=0;b<d.length;b++)a(d[b],b,b,m,d,g,_);else{var y=Object.keys(d);for(b=0;b<y.length;b++){var E=y[b];a(d[E],E,b,m,d,g,_)}}m.pop()}}function c(d,f){return d<f?-1:d>f?1:0}function u(d,f,h,m){typeof m>"u"&&(m=o());var v=p(d,"",0,[],void 0,0,m)||d,g;try{i.length===0?g=JSON.stringify(v,f,h):g=JSON.stringify(v,l(f),h)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var _=r.pop();_.length===4?Object.defineProperty(_[0],_[1],_[3]):_[0][_[1]]=_[2]}}return g}function p(d,f,h,m,v,g,_){g+=1;var b;if(typeof d=="object"&&d!==null){for(b=0;b<m.length;b++)if(m[b]===d){s(t,d,f,v);return}try{if(typeof d.toJSON=="function")return}catch{return}if(typeof _.depthLimit<"u"&&g>_.depthLimit){s(e,d,f,v);return}if(typeof _.edgesLimit<"u"&&h+1>_.edgesLimit){s(e,d,f,v);return}if(m.push(d),Array.isArray(d))for(b=0;b<d.length;b++)p(d[b],b,b,m,d,g,_);else{var y={},E=Object.keys(d).sort(c);for(b=0;b<E.length;b++){var x=E[b];p(d[x],x,b,m,d,g,_),y[x]=d[x]}if(typeof v<"u")r.push([v,f,d]),v[f]=y;else return y}m.pop()}}function l(d){return d=typeof d<"u"?d:function(f,h){return h},function(f,h){if(i.length>0)for(var m=0;m<i.length;m++){var v=i[m];if(v[1]===f&&v[0]===h){h=v[2],i.splice(m,1);break}}return d.call(this,f,h)}}return vf}fD();var mf={},hr={},xi={},_f={},gf={exports:{}},qb;function ae(){return qb||(qb=1,(function(e){var t,r,i,o,n,s,a,c,u,p,l,d,f,h,m,v,g,_,b,y,E,x,O,S,w,T,R,P,N,L,V,F;(function(H){var X=typeof ut=="object"?ut:typeof self=="object"?self:typeof this=="object"?this:{};H(te(X,te(e.exports)));function te(U,re){return U!==X&&(typeof Object.create=="function"?Object.defineProperty(U,"__esModule",{value:!0}):U.__esModule=!0),function(j,q){return U[j]=re?re(j,q):q}}})(function(H){var X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,q){j.__proto__=q}||function(j,q){for(var D in q)Object.prototype.hasOwnProperty.call(q,D)&&(j[D]=q[D])};t=function(j,q){if(typeof q!="function"&&q!==null)throw new TypeError("Class extends value "+String(q)+" is not a constructor or null");X(j,q);function D(){this.constructor=j}j.prototype=q===null?Object.create(q):(D.prototype=q.prototype,new D)},r=Object.assign||function(j){for(var q,D=1,z=arguments.length;D<z;D++){q=arguments[D];for(var M in q)Object.prototype.hasOwnProperty.call(q,M)&&(j[M]=q[M])}return j},i=function(j,q){var D={};for(var z in j)Object.prototype.hasOwnProperty.call(j,z)&&q.indexOf(z)<0&&(D[z]=j[z]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,z=Object.getOwnPropertySymbols(j);M<z.length;M++)q.indexOf(z[M])<0&&Object.prototype.propertyIsEnumerable.call(j,z[M])&&(D[z[M]]=j[z[M]]);return D},o=function(j,q,D,z){var M=arguments.length,C=M<3?q:z===null?z=Object.getOwnPropertyDescriptor(q,D):z,k;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(j,q,D,z);else for(var K=j.length-1;K>=0;K--)(k=j[K])&&(C=(M<3?k(C):M>3?k(q,D,C):k(q,D))||C);return M>3&&C&&Object.defineProperty(q,D,C),C},n=function(j,q){return function(D,z){q(D,z,j)}},s=function(j,q,D,z,M,C){function k(ye){if(ye!==void 0&&typeof ye!="function")throw new TypeError("Function expected");return ye}for(var K=z.kind,$=K==="getter"?"get":K==="setter"?"set":"value",A=!q&&j?z.static?j:j.prototype:null,I=q||(A?Object.getOwnPropertyDescriptor(A,z.name):{}),W,Q=!1,oe=D.length-1;oe>=0;oe--){var J={};for(var le in z)J[le]=le==="access"?{}:z[le];for(var le in z.access)J.access[le]=z.access[le];J.addInitializer=function(ye){if(Q)throw new TypeError("Cannot add initializers after decoration has completed");C.push(k(ye||null))};var _e=(0,D[oe])(K==="accessor"?{get:I.get,set:I.set}:I[$],J);if(K==="accessor"){if(_e===void 0)continue;if(_e===null||typeof _e!="object")throw new TypeError("Object expected");(W=k(_e.get))&&(I.get=W),(W=k(_e.set))&&(I.set=W),(W=k(_e.init))&&M.unshift(W)}else(W=k(_e))&&(K==="field"?M.unshift(W):I[$]=W)}A&&Object.defineProperty(A,z.name,I),Q=!0},a=function(j,q,D){for(var z=arguments.length>2,M=0;M<q.length;M++)D=z?q[M].call(j,D):q[M].call(j);return z?D:void 0},c=function(j){return typeof j=="symbol"?j:"".concat(j)},u=function(j,q,D){return typeof q=="symbol"&&(q=q.description?"[".concat(q.description,"]"):""),Object.defineProperty(j,"name",{configurable:!0,value:D?"".concat(D," ",q):q})},p=function(j,q){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(j,q)},l=function(j,q,D,z){function M(C){return C instanceof D?C:new D(function(k){k(C)})}return new(D||(D=Promise))(function(C,k){function K(I){try{A(z.next(I))}catch(W){k(W)}}function $(I){try{A(z.throw(I))}catch(W){k(W)}}function A(I){I.done?C(I.value):M(I.value).then(K,$)}A((z=z.apply(j,q||[])).next())})},d=function(j,q){var D={label:0,sent:function(){if(C[0]&1)throw C[1];return C[1]},trys:[],ops:[]},z,M,C,k=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return k.next=K(0),k.throw=K(1),k.return=K(2),typeof Symbol=="function"&&(k[Symbol.iterator]=function(){return this}),k;function K(A){return function(I){return $([A,I])}}function $(A){if(z)throw new TypeError("Generator is already executing.");for(;k&&(k=0,A[0]&&(D=0)),D;)try{if(z=1,M&&(C=A[0]&2?M.return:A[0]?M.throw||((C=M.return)&&C.call(M),0):M.next)&&!(C=C.call(M,A[1])).done)return C;switch(M=0,C&&(A=[A[0]&2,C.value]),A[0]){case 0:case 1:C=A;break;case 4:return D.label++,{value:A[1],done:!1};case 5:D.label++,M=A[1],A=[0];continue;case 7:A=D.ops.pop(),D.trys.pop();continue;default:if(C=D.trys,!(C=C.length>0&&C[C.length-1])&&(A[0]===6||A[0]===2)){D=0;continue}if(A[0]===3&&(!C||A[1]>C[0]&&A[1]<C[3])){D.label=A[1];break}if(A[0]===6&&D.label<C[1]){D.label=C[1],C=A;break}if(C&&D.label<C[2]){D.label=C[2],D.ops.push(A);break}C[2]&&D.ops.pop(),D.trys.pop();continue}A=q.call(j,D)}catch(I){A=[6,I],M=0}finally{z=C=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}},f=function(j,q){for(var D in j)D!=="default"&&!Object.prototype.hasOwnProperty.call(q,D)&&N(q,j,D)},N=Object.create?(function(j,q,D,z){z===void 0&&(z=D);var M=Object.getOwnPropertyDescriptor(q,D);(!M||("get"in M?!q.__esModule:M.writable||M.configurable))&&(M={enumerable:!0,get:function(){return q[D]}}),Object.defineProperty(j,z,M)}):(function(j,q,D,z){z===void 0&&(z=D),j[z]=q[D]}),h=function(j){var q=typeof Symbol=="function"&&Symbol.iterator,D=q&&j[q],z=0;if(D)return D.call(j);if(j&&typeof j.length=="number")return{next:function(){return j&&z>=j.length&&(j=void 0),{value:j&&j[z++],done:!j}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(j,q){var D=typeof Symbol=="function"&&j[Symbol.iterator];if(!D)return j;var z=D.call(j),M,C=[],k;try{for(;(q===void 0||q-- >0)&&!(M=z.next()).done;)C.push(M.value)}catch(K){k={error:K}}finally{try{M&&!M.done&&(D=z.return)&&D.call(z)}finally{if(k)throw k.error}}return C},v=function(){for(var j=[],q=0;q<arguments.length;q++)j=j.concat(m(arguments[q]));return j},g=function(){for(var j=0,q=0,D=arguments.length;q<D;q++)j+=arguments[q].length;for(var z=Array(j),M=0,q=0;q<D;q++)for(var C=arguments[q],k=0,K=C.length;k<K;k++,M++)z[M]=C[k];return z},_=function(j,q,D){if(D||arguments.length===2)for(var z=0,M=q.length,C;z<M;z++)(C||!(z in q))&&(C||(C=Array.prototype.slice.call(q,0,z)),C[z]=q[z]);return j.concat(C||Array.prototype.slice.call(q))},b=function(j){return this instanceof b?(this.v=j,this):new b(j)},y=function(j,q,D){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z=D.apply(j,q||[]),M,C=[];return M=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),K("next"),K("throw"),K("return",k),M[Symbol.asyncIterator]=function(){return this},M;function k(oe){return function(J){return Promise.resolve(J).then(oe,W)}}function K(oe,J){z[oe]&&(M[oe]=function(le){return new Promise(function(_e,ye){C.push([oe,le,_e,ye])>1||$(oe,le)})},J&&(M[oe]=J(M[oe])))}function $(oe,J){try{A(z[oe](J))}catch(le){Q(C[0][3],le)}}function A(oe){oe.value instanceof b?Promise.resolve(oe.value.v).then(I,W):Q(C[0][2],oe)}function I(oe){$("next",oe)}function W(oe){$("throw",oe)}function Q(oe,J){oe(J),C.shift(),C.length&&$(C[0][0],C[0][1])}},E=function(j){var q,D;return q={},z("next"),z("throw",function(M){throw M}),z("return"),q[Symbol.iterator]=function(){return this},q;function z(M,C){q[M]=j[M]?function(k){return(D=!D)?{value:b(j[M](k)),done:!1}:C?C(k):k}:C}},x=function(j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var q=j[Symbol.asyncIterator],D;return q?q.call(j):(j=typeof h=="function"?h(j):j[Symbol.iterator](),D={},z("next"),z("throw"),z("return"),D[Symbol.asyncIterator]=function(){return this},D);function z(C){D[C]=j[C]&&function(k){return new Promise(function(K,$){k=j[C](k),M(K,$,k.done,k.value)})}}function M(C,k,K,$){Promise.resolve($).then(function(A){C({value:A,done:K})},k)}},O=function(j,q){return Object.defineProperty?Object.defineProperty(j,"raw",{value:q}):j.raw=q,j};var te=Object.create?(function(j,q){Object.defineProperty(j,"default",{enumerable:!0,value:q})}):function(j,q){j.default=q},U=function(j){return U=Object.getOwnPropertyNames||function(q){var D=[];for(var z in q)Object.prototype.hasOwnProperty.call(q,z)&&(D[D.length]=z);return D},U(j)};S=function(j){if(j&&j.__esModule)return j;var q={};if(j!=null)for(var D=U(j),z=0;z<D.length;z++)D[z]!=="default"&&N(q,j,D[z]);return te(q,j),q},w=function(j){return j&&j.__esModule?j:{default:j}},T=function(j,q,D,z){if(D==="a"&&!z)throw new TypeError("Private accessor was defined without a getter");if(typeof q=="function"?j!==q||!z:!q.has(j))throw new TypeError("Cannot read private member from an object whose class did not declare it");return D==="m"?z:D==="a"?z.call(j):z?z.value:q.get(j)},R=function(j,q,D,z,M){if(z==="m")throw new TypeError("Private method is not writable");if(z==="a"&&!M)throw new TypeError("Private accessor was defined without a setter");if(typeof q=="function"?j!==q||!M:!q.has(j))throw new TypeError("Cannot write private member to an object whose class did not declare it");return z==="a"?M.call(j,D):M?M.value=D:q.set(j,D),D},P=function(j,q){if(q===null||typeof q!="object"&&typeof q!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof j=="function"?q===j:j.has(q)},L=function(j,q,D){if(q!=null){if(typeof q!="object"&&typeof q!="function")throw new TypeError("Object expected.");var z,M;if(D){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");z=q[Symbol.asyncDispose]}if(z===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");z=q[Symbol.dispose],D&&(M=z)}if(typeof z!="function")throw new TypeError("Object not disposable.");M&&(z=function(){try{M.call(this)}catch(C){return Promise.reject(C)}}),j.stack.push({value:q,dispose:z,async:D})}else D&&j.stack.push({async:!0});return q};var re=typeof SuppressedError=="function"?SuppressedError:function(j,q,D){var z=new Error(D);return z.name="SuppressedError",z.error=j,z.suppressed=q,z};V=function(j){function q(C){j.error=j.hasError?new re(C,j.error,"An error was suppressed during disposal."):C,j.hasError=!0}var D,z=0;function M(){for(;D=j.stack.pop();)try{if(!D.async&&z===1)return z=0,j.stack.push(D),Promise.resolve().then(M);if(D.dispose){var C=D.dispose.call(D.value);if(D.async)return z|=2,Promise.resolve(C).then(M,function(k){return q(k),M()})}else z|=1}catch(k){q(k)}if(z===1)return j.hasError?Promise.reject(j.error):Promise.resolve();if(j.hasError)throw j.error}return M()},F=function(j,q){return typeof j=="string"&&/^\.\.?\//.test(j)?j.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(D,z,M,C,k){return z?q?".jsx":".js":M&&(!C||!k)?D:M+C+"."+k.toLowerCase()+"js"}):j},H("__extends",t),H("__assign",r),H("__rest",i),H("__decorate",o),H("__param",n),H("__esDecorate",s),H("__runInitializers",a),H("__propKey",c),H("__setFunctionName",u),H("__metadata",p),H("__awaiter",l),H("__generator",d),H("__exportStar",f),H("__createBinding",N),H("__values",h),H("__read",m),H("__spread",v),H("__spreadArrays",g),H("__spreadArray",_),H("__await",b),H("__asyncGenerator",y),H("__asyncDelegator",E),H("__asyncValues",x),H("__makeTemplateObject",O),H("__importStar",S),H("__importDefault",w),H("__classPrivateFieldGet",T),H("__classPrivateFieldSet",R),H("__classPrivateFieldIn",P),H("__addDisposableResource",L),H("__disposeResources",V),H("__rewriteRelativeImportExtension",F)})})(gf)),gf.exports}var bf={},yf={},zl={},Nb;function hD(){if(Nb)return zl;Nb=1,Object.defineProperty(zl,"__esModule",{value:!0}),zl.Bind=e;function e(...t){return(r,i,o)=>(t.forEach((n,s)=>n(r,i,s)),o)}return zl}var Bl={},Ef={},Fb;function xe(){return Fb||(Fb=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ENTRY_PROVIDER_WATERMARK=e.CATCH_WATERMARK=e.CONTROLLER_WATERMARK=e.INJECTABLE_WATERMARK=e.VERSION_METADATA=e.SSE_METADATA=e.RESPONSE_PASSTHROUGH_METADATA=e.REDIRECT_METADATA=e.HEADERS_METADATA=e.MODULE_PATH=e.HTTP_CODE_METADATA=e.RENDER_METADATA=e.ENHANCER_KEY_TO_SUBTYPE_MAP=e.EXCEPTION_FILTERS_METADATA=e.INTERCEPTORS_METADATA=e.GUARDS_METADATA=e.PIPES_METADATA=e.FILTER_CATCH_EXCEPTIONS=e.CUSTOM_ROUTE_ARGS_METADATA=e.ROUTE_ARGS_METADATA=e.METHOD_METADATA=e.SCOPE_OPTIONS_METADATA=e.OPTIONAL_PROPERTY_DEPS_METADATA=e.PROPERTY_DEPS_METADATA=e.OPTIONAL_DEPS_METADATA=e.SELF_DECLARED_DEPS_METADATA=e.PARAMTYPES_METADATA=e.PATH_METADATA=e.HOST_METADATA=e.GLOBAL_MODULE_METADATA=e.MODULE_METADATA=void 0,e.MODULE_METADATA={IMPORTS:"imports",PROVIDERS:"providers",CONTROLLERS:"controllers",EXPORTS:"exports"},e.GLOBAL_MODULE_METADATA="__module:global__",e.HOST_METADATA="host",e.PATH_METADATA="path",e.PARAMTYPES_METADATA="design:paramtypes",e.SELF_DECLARED_DEPS_METADATA="self:paramtypes",e.OPTIONAL_DEPS_METADATA="optional:paramtypes",e.PROPERTY_DEPS_METADATA="self:properties_metadata",e.OPTIONAL_PROPERTY_DEPS_METADATA="optional:properties_metadata",e.SCOPE_OPTIONS_METADATA="scope:options",e.METHOD_METADATA="method",e.ROUTE_ARGS_METADATA="__routeArguments__",e.CUSTOM_ROUTE_ARGS_METADATA="__customRouteArgs__",e.FILTER_CATCH_EXCEPTIONS="__filterCatchExceptions__",e.PIPES_METADATA="__pipes__",e.GUARDS_METADATA="__guards__",e.INTERCEPTORS_METADATA="__interceptors__",e.EXCEPTION_FILTERS_METADATA="__exceptionFilters__",e.ENHANCER_KEY_TO_SUBTYPE_MAP={[e.GUARDS_METADATA]:"guard",[e.INTERCEPTORS_METADATA]:"interceptor",[e.PIPES_METADATA]:"pipe",[e.EXCEPTION_FILTERS_METADATA]:"filter"},e.RENDER_METADATA="__renderTemplate__",e.HTTP_CODE_METADATA="__httpCode__",e.MODULE_PATH="__module_path__",e.HEADERS_METADATA="__headers__",e.REDIRECT_METADATA="__redirect__",e.RESPONSE_PASSTHROUGH_METADATA="__responsePassthrough__",e.SSE_METADATA="__sse__",e.VERSION_METADATA="__version__",e.INJECTABLE_WATERMARK="__injectable__",e.CONTROLLER_WATERMARK="__controller__",e.CATCH_WATERMARK="__catch__",e.ENTRY_PROVIDER_WATERMARK="__entryProvider__"})(Ef)),Ef}var Db;function vD(){if(Db)return Bl;Db=1,Object.defineProperty(Bl,"__esModule",{value:!0}),Bl.Catch=t;const e=xe();function t(...r){return i=>{Reflect.defineMetadata(e.CATCH_WATERMARK,!0,i),Reflect.defineMetadata(e.FILTER_CATCH_EXCEPTIONS,r,i)}}return Bl}var Hl={},xf={},kb;function ne(){return kb||(kb=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isSymbol=e.isEmpty=e.isNil=e.isConstructor=e.isNumber=e.isString=e.isFunction=e.stripEndSlash=e.normalizePath=e.addLeadingSlash=e.isPlainObject=e.isObject=e.isUndefined=void 0;const t=h=>typeof h>"u";e.isUndefined=t;const r=h=>!(0,e.isNil)(h)&&typeof h=="object";e.isObject=r;const i=h=>{if(!(0,e.isObject)(h))return!1;const m=Object.getPrototypeOf(h);if(m===null)return!0;const v=Object.prototype.hasOwnProperty.call(m,"constructor")&&m.constructor;return typeof v=="function"&&v instanceof v&&Function.prototype.toString.call(v)===Function.prototype.toString.call(Object)};e.isPlainObject=i;const o=h=>h&&typeof h=="string"?h.charAt(0)!=="/"&&h.substring(0,2)!=="{/"?"/"+h:h:"";e.addLeadingSlash=o;const n=h=>h?h.startsWith("/")?("/"+h.replace(/\/+$/,"")).replace(/\/+/g,"/"):"/"+h.replace(/\/+$/,""):"/";e.normalizePath=n;const s=h=>h[h.length-1]==="/"?h.slice(0,h.length-1):h;e.stripEndSlash=s;const a=h=>typeof h=="function";e.isFunction=a;const c=h=>typeof h=="string";e.isString=c;const u=h=>typeof h=="number";e.isNumber=u;const p=h=>h==="constructor";e.isConstructor=p;const l=h=>(0,e.isUndefined)(h)||h===null;e.isNil=l;const d=h=>!(h&&h.length>0);e.isEmpty=d;const f=h=>typeof h=="symbol";e.isSymbol=f})(xf)),xf}var Lb;function mD(){if(Lb)return Hl;Lb=1,Object.defineProperty(Hl,"__esModule",{value:!0}),Hl.Controller=r;const e=xe(),t=ne();function r(i){const[n,s,a,c]=(0,t.isUndefined)(i)?["/",void 0,void 0,void 0]:(0,t.isString)(i)||Array.isArray(i)?[i,void 0,void 0,void 0]:[i.path||"/",i.host,{scope:i.scope,durable:i.durable},Array.isArray(i.version)?Array.from(new Set(i.version)):i.version];return u=>{Reflect.defineMetadata(e.CONTROLLER_WATERMARK,!0,u),Reflect.defineMetadata(e.PATH_METADATA,n,u),Reflect.defineMetadata(e.HOST_METADATA,s,u),Reflect.defineMetadata(e.SCOPE_OPTIONS_METADATA,a,u),Reflect.defineMetadata(e.VERSION_METADATA,c,u)}}return Hl}var Rn={},Ub;function _D(){if(Ub)return Rn;Ub=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.Dependencies=void 0,Rn.flatten=t;const e=xe();function t(i){const o=[].concat(...i);return o.some(Array.isArray)?t(o):o}const r=(...i)=>{const o=t(i);return n=>{Reflect.defineMetadata(e.PARAMTYPES_METADATA,o,n)}};return Rn.Dependencies=r,Rn}var Oi={},Vl={},zb;function vl(){if(zb)return Vl;zb=1,Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.extendArrayMetadata=e;function e(t,r,i){const n=[...Reflect.getMetadata(t,i)||[],...r];Reflect.defineMetadata(t,n,i)}return Vl}var Mn={},Bb;function pp(){if(Bb)return Mn;Bb=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.InvalidDecoratorItemException=void 0,Mn.validateEach=t;class e extends Error{constructor(i,o,n){const s=`Invalid ${o} passed to ${i}() decorator (${n}).`;super(s),this.msg=s}what(){return this.msg}}Mn.InvalidDecoratorItemException=e;function t(r,i,o,n,s){if(!r||!r.name)return!0;if(i.some(c=>!o(c)))throw new e(n,s,r.name);return!0}return Mn}var Hb;function gD(){if(Hb)return Oi;Hb=1,Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.UseFilters=void 0;const e=xe(),t=vl(),r=ne(),i=pp(),o=(...s)=>n(...s);Oi.UseFilters=o;function n(...s){return(a,c,u)=>{const p=l=>l&&((0,r.isFunction)(l)||(0,r.isFunction)(l.catch));return u?((0,i.validateEach)(a.constructor,s,p,"@UseFilters","filter"),(0,t.extendArrayMetadata)(e.EXCEPTION_FILTERS_METADATA,s,u.value),u):((0,i.validateEach)(a,s,p,"@UseFilters","filter"),(0,t.extendArrayMetadata)(e.EXCEPTION_FILTERS_METADATA,s,a),a)}}return Oi}var Gl={},Vb;function bD(){if(Vb)return Gl;Vb=1,Object.defineProperty(Gl,"__esModule",{value:!0}),Gl.Inject=r;const e=xe(),t=ne();function r(i){const o=arguments.length>0;return(n,s,a)=>{let c=i||Reflect.getMetadata("design:type",n,s);if(!c&&!o&&(c=Reflect.getMetadata(e.PARAMTYPES_METADATA,n,s)?.[a]),!(0,t.isUndefined)(a)){let p=Reflect.getMetadata(e.SELF_DECLARED_DEPS_METADATA,n)||[];p=[...p,{index:a,param:c}],Reflect.defineMetadata(e.SELF_DECLARED_DEPS_METADATA,p,n);return}let u=Reflect.getMetadata(e.PROPERTY_DEPS_METADATA,n.constructor)||[];u=[...u,{key:s,type:c}],Reflect.defineMetadata(e.PROPERTY_DEPS_METADATA,u,n.constructor)}}return Gl}var wi={},Of={},Gb;function dn(){if(Gb)return Of;Gb=1;for(var e=256,t=[],r=256,i;e--;)t[e]=(e+256).toString(16).substring(1);function o(n){var s=0,a=n||11;if(!i||e+a>r*2)for(i="",e=0;s<r;s++)i+=t[Math.random()*256|0];return i.substring(e,e+++a)}return Of.uid=o,Of}var Wb;function pn(){if(Wb)return wi;Wb=1,Object.defineProperty(wi,"__esModule",{value:!0}),wi.Injectable=r,wi.mixin=i;const e=dn(),t=xe();function r(o){return n=>{Reflect.defineMetadata(t.INJECTABLE_WATERMARK,!0,n),Reflect.defineMetadata(t.SCOPE_OPTIONS_METADATA,o,n)}}function i(o){return Object.defineProperty(o,"name",{value:(0,e.uid)(21)}),r()(o),o}return wi}var Wl={},Zb;function ml(){if(Zb)return Wl;Zb=1,Object.defineProperty(Wl,"__esModule",{value:!0}),Wl.Optional=r;const e=xe(),t=ne();function r(){return(i,o,n)=>{if(!(0,t.isUndefined)(n)){const a=Reflect.getMetadata(e.OPTIONAL_DEPS_METADATA,i)||[];Reflect.defineMetadata(e.OPTIONAL_DEPS_METADATA,[...a,n],i);return}const s=Reflect.getMetadata(e.OPTIONAL_PROPERTY_DEPS_METADATA,i.constructor)||[];Reflect.defineMetadata(e.OPTIONAL_PROPERTY_DEPS_METADATA,[...s,o],i.constructor)}}return Wl}var Si={},Kb;function yD(){if(Kb)return Si;Kb=1,Object.defineProperty(Si,"__esModule",{value:!0}),Si.SetMetadata=void 0;const e=(t,r)=>{const i=(o,n,s)=>s?(Reflect.defineMetadata(t,r,s.value),s):(Reflect.defineMetadata(t,r,o),o);return i.KEY=t,i};return Si.SetMetadata=e,Si}var Zl={},Yb;function ED(){if(Yb)return Zl;Yb=1,Object.defineProperty(Zl,"__esModule",{value:!0}),Zl.UseGuards=o;const e=xe(),t=vl(),r=ne(),i=pp();function o(...n){return(s,a,c)=>{const u=p=>p&&((0,r.isFunction)(p)||(0,r.isFunction)(p.canActivate));return c?((0,i.validateEach)(s.constructor,n,u,"@UseGuards","guard"),(0,t.extendArrayMetadata)(e.GUARDS_METADATA,n,c.value),c):((0,i.validateEach)(s,n,u,"@UseGuards","guard"),(0,t.extendArrayMetadata)(e.GUARDS_METADATA,n,s),s)}}return Zl}var Kl={},Xb;function xD(){if(Xb)return Kl;Xb=1,Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.UseInterceptors=o;const e=xe(),t=vl(),r=ne(),i=pp();function o(...n){return(s,a,c)=>{const u=p=>p&&((0,r.isFunction)(p)||(0,r.isFunction)(p.intercept));return c?((0,i.validateEach)(s.constructor,n,u,"@UseInterceptors","interceptor"),(0,t.extendArrayMetadata)(e.INTERCEPTORS_METADATA,n,c.value),c):((0,i.validateEach)(s,n,u,"@UseInterceptors","interceptor"),(0,t.extendArrayMetadata)(e.INTERCEPTORS_METADATA,n,s),s)}}return Kl}var Yl={},Qb;function OD(){if(Qb)return Yl;Qb=1,Object.defineProperty(Yl,"__esModule",{value:!0}),Yl.UsePipes=o;const e=xe(),t=vl(),r=ne(),i=pp();function o(...n){return(s,a,c)=>{const u=p=>p&&((0,r.isFunction)(p)||(0,r.isFunction)(p.transform));return c?((0,t.extendArrayMetadata)(e.PIPES_METADATA,n,c.value),c):((0,i.validateEach)(s,n,u,"@UsePipes","pipe"),(0,t.extendArrayMetadata)(e.PIPES_METADATA,n,s),s)}}return Yl}var Xl={},Jb;function wD(){if(Jb)return Xl;Jb=1,Object.defineProperty(Xl,"__esModule",{value:!0}),Xl.applyDecorators=e;function e(...t){return(r,i,o)=>{for(const n of t){if(r instanceof Function&&!o){n(r);continue}n(r,i,o)}}}return Xl}var Ql={},$b;function SD(){if($b)return Ql;$b=1,Object.defineProperty(Ql,"__esModule",{value:!0}),Ql.Version=t;const e=xe();function t(r){return Array.isArray(r)&&(r=Array.from(new Set(r))),(i,o,n)=>(Reflect.defineMetadata(e.VERSION_METADATA,r,n.value),n)}return Ql}var ey;function tr(){return ey||(ey=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(hD(),e),t.__exportStar(vD(),e),t.__exportStar(mD(),e),t.__exportStar(_D(),e),t.__exportStar(gD(),e),t.__exportStar(bD(),e),t.__exportStar(pn(),e),t.__exportStar(ml(),e),t.__exportStar(yD(),e),t.__exportStar(ED(),e),t.__exportStar(xD(),e),t.__exportStar(OD(),e),t.__exportStar(wD(),e),t.__exportStar(SD(),e)})(yf)),yf}var wf={},Jl={},ty;function PD(){if(ty)return Jl;ty=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.Global=t;const e=xe();function t(){return r=>{Reflect.defineMetadata(e.GLOBAL_MODULE_METADATA,!0,r)}}return Jl}var $l={},Sf={},ry;function TD(){return ry||(ry=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.INVALID_MODULE_CONFIG_MESSAGE=void 0,e.validateModuleKeys=o;const t=xe(),r=(n,s)=>`Invalid property '${s}' passed into the @Module() decorator.`;e.INVALID_MODULE_CONFIG_MESSAGE=r;const i=[t.MODULE_METADATA.IMPORTS,t.MODULE_METADATA.EXPORTS,t.MODULE_METADATA.CONTROLLERS,t.MODULE_METADATA.PROVIDERS];function o(n){const s=a=>{if(!i.includes(a))throw new Error((0,e.INVALID_MODULE_CONFIG_MESSAGE)`${a}`)};n.forEach(s)}})(Sf)),Sf}var ny;function AD(){if(ny)return $l;ny=1,Object.defineProperty($l,"__esModule",{value:!0}),$l.Module=t;const e=TD();function t(r){const i=Object.keys(r);return(0,e.validateModuleKeys)(i),o=>{for(const n in r)Object.hasOwnProperty.call(r,n)&&Reflect.defineMetadata(n,r[n],o)}}return $l}var iy;function RD(){return iy||(iy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(PD(),e),t.__exportStar(AD(),e)})(wf)),wf}var Pf={},Tf={},Pi={},ay;function ui(){if(ay)return Pi;ay=1,Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.RequestMethod=void 0;var e;return(function(t){t[t.GET=0]="GET",t[t.POST=1]="POST",t[t.PUT=2]="PUT",t[t.DELETE=3]="DELETE",t[t.PATCH=4]="PATCH",t[t.ALL=5]="ALL",t[t.OPTIONS=6]="OPTIONS",t[t.HEAD=7]="HEAD",t[t.SEARCH=8]="SEARCH",t[t.PROPFIND=9]="PROPFIND",t[t.PROPPATCH=10]="PROPPATCH",t[t.MKCOL=11]="MKCOL",t[t.COPY=12]="COPY",t[t.MOVE=13]="MOVE",t[t.LOCK=14]="LOCK",t[t.UNLOCK=15]="UNLOCK"})(e||(Pi.RequestMethod=e={})),Pi}var oy;function MD(){return oy||(oy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Unlock=e.Lock=e.Move=e.Copy=e.Mkcol=e.Proppatch=e.Propfind=e.Search=e.All=e.Head=e.Options=e.Patch=e.Put=e.Delete=e.Get=e.Post=e.RequestMapping=void 0;const t=xe(),r=ui(),i={[t.PATH_METADATA]:"/",[t.METHOD_METADATA]:r.RequestMethod.GET},o=(s=i)=>{const a=s[t.PATH_METADATA],c=a&&a.length?a:"/",u=s[t.METHOD_METADATA]||r.RequestMethod.GET;return(p,l,d)=>(Reflect.defineMetadata(t.PATH_METADATA,c,d.value),Reflect.defineMetadata(t.METHOD_METADATA,u,d.value),d)};e.RequestMapping=o;const n=s=>a=>(0,e.RequestMapping)({[t.PATH_METADATA]:a,[t.METHOD_METADATA]:s});e.Post=n(r.RequestMethod.POST),e.Get=n(r.RequestMethod.GET),e.Delete=n(r.RequestMethod.DELETE),e.Put=n(r.RequestMethod.PUT),e.Patch=n(r.RequestMethod.PATCH),e.Options=n(r.RequestMethod.OPTIONS),e.Head=n(r.RequestMethod.HEAD),e.All=n(r.RequestMethod.ALL),e.Search=n(r.RequestMethod.SEARCH),e.Propfind=n(r.RequestMethod.PROPFIND),e.Proppatch=n(r.RequestMethod.PROPPATCH),e.Mkcol=n(r.RequestMethod.MKCOL),e.Copy=n(r.RequestMethod.COPY),e.Move=n(r.RequestMethod.MOVE),e.Lock=n(r.RequestMethod.LOCK),e.Unlock=n(r.RequestMethod.UNLOCK)})(Tf)),Tf}var Af={},Ti={},sy;function fp(){if(sy)return Ti;sy=1,Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.RouteParamtypes=void 0;var e;return(function(t){t[t.REQUEST=0]="REQUEST",t[t.RESPONSE=1]="RESPONSE",t[t.NEXT=2]="NEXT",t[t.BODY=3]="BODY",t[t.QUERY=4]="QUERY",t[t.PARAM=5]="PARAM",t[t.HEADERS=6]="HEADERS",t[t.SESSION=7]="SESSION",t[t.FILE=8]="FILE",t[t.FILES=9]="FILES",t[t.HOST=10]="HOST",t[t.IP=11]="IP",t[t.RAW_BODY=12]="RAW_BODY",t[t.ACK=13]="ACK"})(e||(Ti.RouteParamtypes=e={})),Ti}var cy;function ID(){return cy||(cy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Res=e.Req=e.Headers=e.Session=e.Ip=e.Next=e.Response=e.Request=void 0,e.assignMetadata=o,e.UploadedFile=c,e.UploadedFiles=u,e.Query=p,e.Body=l,e.RawBody=d,e.Param=f,e.HostParam=h;const t=xe(),r=fp(),i=ne();function o(m,v,g,_,...b){return{...m,[`${v}:${g}`]:{index:g,data:_,pipes:b}}}function n(m){return v=>(g,_,b)=>{const y=Reflect.getMetadata(t.ROUTE_ARGS_METADATA,g.constructor,_)||{};Reflect.defineMetadata(t.ROUTE_ARGS_METADATA,o(y,m,b,v),g.constructor,_)}}const s=m=>(v,...g)=>(_,b,y)=>{const E=Reflect.getMetadata(t.ROUTE_ARGS_METADATA,_.constructor,b)||{},x=(0,i.isNil)(v)||(0,i.isString)(v),O=x?v:void 0,S=x?g:[v,...g];Reflect.defineMetadata(t.ROUTE_ARGS_METADATA,o(E,m,y,O,...S),_.constructor,b)};e.Request=n(r.RouteParamtypes.REQUEST);const a=m=>(v,g,_)=>(m?.passthrough&&Reflect.defineMetadata(t.RESPONSE_PASSTHROUGH_METADATA,m?.passthrough,v.constructor,g),n(r.RouteParamtypes.RESPONSE)()(v,g,_));e.Response=a,e.Next=n(r.RouteParamtypes.NEXT),e.Ip=n(r.RouteParamtypes.IP),e.Session=n(r.RouteParamtypes.SESSION);function c(m,...v){return s(r.RouteParamtypes.FILE)(m,...v)}function u(...m){return s(r.RouteParamtypes.FILES)(void 0,...m)}e.Headers=n(r.RouteParamtypes.HEADERS);function p(m,...v){return s(r.RouteParamtypes.QUERY)(m,...v)}function l(m,...v){return s(r.RouteParamtypes.BODY)(m,...v)}function d(...m){return s(r.RouteParamtypes.RAW_BODY)(void 0,...m)}function f(m,...v){return s(r.RouteParamtypes.PARAM)(m,...v)}function h(m){return n(r.RouteParamtypes.HOST)(m)}e.Req=e.Request,e.Res=e.Response})(Af)),Af}var ed={},uy;function CD(){if(uy)return ed;uy=1,Object.defineProperty(ed,"__esModule",{value:!0}),ed.HttpCode=t;const e=xe();function t(r){return(i,o,n)=>(Reflect.defineMetadata(e.HTTP_CODE_METADATA,r,n.value),n)}return ed}var td={},rd={},ly;function jD(){if(ly)return rd;ly=1,Object.defineProperty(rd,"__esModule",{value:!0}),rd.assignCustomParameterMetadata=t;const e=xe();function t(r,i,o,n,s,...a){return{...r,[`${i}${e.CUSTOM_ROUTE_ARGS_METADATA}:${o}`]:{index:o,factory:n,data:s,pipes:a}}}return rd}var dy;function qD(){if(dy)return td;dy=1,Object.defineProperty(td,"__esModule",{value:!0}),td.createParamDecorator=o;const e=dn(),t=xe(),r=jD(),i=ne();function o(n,s=[]){const a=(0,e.uid)(21);return(c,...u)=>(p,l,d)=>{const f=Reflect.getMetadata(t.ROUTE_ARGS_METADATA,p.constructor,l)||{},h=_=>_&&((0,i.isFunction)(_)&&_.prototype&&(0,i.isFunction)(_.prototype.transform)||(0,i.isFunction)(_.transform)),m=(0,i.isNil)(c)||!h(c),v=m?c:void 0,g=m?u:[c,...u];Reflect.defineMetadata(t.ROUTE_ARGS_METADATA,(0,r.assignCustomParameterMetadata)(f,a,d,n,v,...g),p.constructor,l),s.forEach(_=>_(p,l,d))}}return td}var nd={},py;function ND(){if(py)return nd;py=1,Object.defineProperty(nd,"__esModule",{value:!0}),nd.Render=t;const e=xe();function t(r){return(i,o,n)=>(Reflect.defineMetadata(e.RENDER_METADATA,r,n.value),n)}return nd}var id={},fy;function FD(){if(fy)return id;fy=1,Object.defineProperty(id,"__esModule",{value:!0}),id.Header=r;const e=xe(),t=vl();function r(i,o){return(n,s,a)=>((0,t.extendArrayMetadata)(e.HEADERS_METADATA,[{name:i,value:o}],a.value),a)}return id}var ad={},hy;function DD(){if(hy)return ad;hy=1,Object.defineProperty(ad,"__esModule",{value:!0}),ad.Redirect=t;const e=xe();function t(r="",i){return(o,n,s)=>(Reflect.defineMetadata(e.REDIRECT_METADATA,{statusCode:i,url:r},s.value),s)}return ad}var od={},vy;function kD(){if(vy)return od;vy=1,Object.defineProperty(od,"__esModule",{value:!0}),od.Sse=r;const e=xe(),t=ui();function r(i){return(o,n,s)=>(i=i&&i.length?i:"/",Reflect.defineMetadata(e.PATH_METADATA,i,s.value),Reflect.defineMetadata(e.METHOD_METADATA,t.RequestMethod.GET,s.value),Reflect.defineMetadata(e.SSE_METADATA,!0,s.value),s)}return od}var my;function LD(){return my||(my=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(MD(),e),t.__exportStar(ID(),e),t.__exportStar(CD(),e),t.__exportStar(qD(),e),t.__exportStar(ND(),e),t.__exportStar(FD(),e),t.__exportStar(DD(),e),t.__exportStar(kD(),e)})(Pf)),Pf}var _y;function cg(){return _y||(_y=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(tr(),e),t.__exportStar(RD(),e),t.__exportStar(LD(),e)})(bf)),bf}var Rf={},Ai={},gy;function Ie(){if(gy)return Ai;gy=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.HttpStatus=void 0;var e;return(function(t){t[t.CONTINUE=100]="CONTINUE",t[t.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",t[t.PROCESSING=102]="PROCESSING",t[t.EARLYHINTS=103]="EARLYHINTS",t[t.OK=200]="OK",t[t.CREATED=201]="CREATED",t[t.ACCEPTED=202]="ACCEPTED",t[t.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",t[t.NO_CONTENT=204]="NO_CONTENT",t[t.RESET_CONTENT=205]="RESET_CONTENT",t[t.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",t[t.MULTI_STATUS=207]="MULTI_STATUS",t[t.ALREADY_REPORTED=208]="ALREADY_REPORTED",t[t.CONTENT_DIFFERENT=210]="CONTENT_DIFFERENT",t[t.AMBIGUOUS=300]="AMBIGUOUS",t[t.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",t[t.FOUND=302]="FOUND",t[t.SEE_OTHER=303]="SEE_OTHER",t[t.NOT_MODIFIED=304]="NOT_MODIFIED",t[t.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",t[t.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",t[t.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",t[t.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",t[t.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",t[t.CONFLICT=409]="CONFLICT",t[t.GONE=410]="GONE",t[t.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",t[t.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",t[t.PAYLOAD_TOO_LARGE=413]="PAYLOAD_TOO_LARGE",t[t.URI_TOO_LONG=414]="URI_TOO_LONG",t[t.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",t[t.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",t[t.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",t[t.I_AM_A_TEAPOT=418]="I_AM_A_TEAPOT",t[t.MISDIRECTED=421]="MISDIRECTED",t[t.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",t[t.LOCKED=423]="LOCKED",t[t.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",t[t.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",t[t.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",t[t.UNRECOVERABLE_ERROR=456]="UNRECOVERABLE_ERROR",t[t.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",t[t.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",t[t.BAD_GATEWAY=502]="BAD_GATEWAY",t[t.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",t[t.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",t[t.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",t[t.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",t[t.LOOP_DETECTED=508]="LOOP_DETECTED"})(e||(Ai.HttpStatus=e={})),Ai}var Ri={},by;function UD(){if(by)return Ri;by=1,Object.defineProperty(Ri,"__esModule",{value:!0}),Ri.ShutdownSignal=void 0;var e;return(function(t){t.SIGHUP="SIGHUP",t.SIGINT="SIGINT",t.SIGQUIT="SIGQUIT",t.SIGILL="SIGILL",t.SIGTRAP="SIGTRAP",t.SIGABRT="SIGABRT",t.SIGBUS="SIGBUS",t.SIGFPE="SIGFPE",t.SIGSEGV="SIGSEGV",t.SIGUSR2="SIGUSR2",t.SIGTERM="SIGTERM"})(e||(Ri.ShutdownSignal=e={})),Ri}var Mi={},yy;function zD(){if(yy)return Mi;yy=1,Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.VersioningType=void 0;var e;return(function(t){t[t.URI=0]="URI",t[t.HEADER=1]="HEADER",t[t.MEDIA_TYPE=2]="MEDIA_TYPE",t[t.CUSTOM=3]="CUSTOM"})(e||(Mi.VersioningType=e={})),Mi}var Ey;function _l(){return Ey||(Ey=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(ui(),e),t.__exportStar(Ie(),e),t.__exportStar(UD(),e),t.__exportStar(zD(),e)})(Rf)),Rf}var Mf={},Ii={},Ci={},ji={},xy;function ZI(){if(xy)return ji;xy=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.IntrinsicException=void 0;class e extends Error{}return ji.IntrinsicException=e,ji}var Oy;function He(){if(Oy)return Ci;Oy=1,Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.HttpException=void 0;const e=ne(),t=ZI();class r extends t.IntrinsicException{constructor(o,n,s){super(),this.response=o,this.status=n,this.options=s,this.initMessage(),this.initName(),this.initCause()}initCause(){if(this.options?.cause){this.cause=this.options.cause;return}}initMessage(){(0,e.isString)(this.response)?this.message=this.response:(0,e.isObject)(this.response)&&(0,e.isString)(this.response.message)?this.message=this.response.message:this.constructor&&(this.message=this.constructor.name.match(/[A-Z][a-z]+|[0-9]+/g)?.join(" ")??"Error")}initName(){this.name=this.constructor.name}getResponse(){return this.response}getStatus(){return this.status}static createBody(o,n,s){return o?(0,e.isString)(o)||Array.isArray(o)||(0,e.isNumber)(o)?{message:o,error:n,statusCode:s}:o:{message:n,statusCode:s}}static getDescriptionFrom(o){return(0,e.isString)(o)?o:o?.description}static getHttpExceptionOptionsFrom(o){return(0,e.isString)(o)?{}:o}static extractDescriptionAndOptionsFrom(o){const n=(0,e.isString)(o)?o:o?.description,s=(0,e.isString)(o)?{}:o;return{description:n,httpExceptionOptions:s}}}return Ci.HttpException=r,Ci}var wy;function BD(){if(wy)return Ii;wy=1,Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.BadGatewayException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Bad Gateway"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.BAD_GATEWAY),e.HttpStatus.BAD_GATEWAY,a)}}return Ii.BadGatewayException=r,Ii}var qi={},Sy;function HD(){if(Sy)return qi;Sy=1,Object.defineProperty(qi,"__esModule",{value:!0}),qi.BadRequestException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Bad Request"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.BAD_REQUEST),e.HttpStatus.BAD_REQUEST,a)}}return qi.BadRequestException=r,qi}var Ni={},Py;function VD(){if(Py)return Ni;Py=1,Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.ConflictException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Conflict"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.CONFLICT),e.HttpStatus.CONFLICT,a)}}return Ni.ConflictException=r,Ni}var Fi={},Ty;function GD(){if(Ty)return Fi;Ty=1,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.ForbiddenException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Forbidden"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.FORBIDDEN),e.HttpStatus.FORBIDDEN,a)}}return Fi.ForbiddenException=r,Fi}var Di={},Ay;function WD(){if(Ay)return Di;Ay=1,Object.defineProperty(Di,"__esModule",{value:!0}),Di.GatewayTimeoutException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Gateway Timeout"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.GATEWAY_TIMEOUT),e.HttpStatus.GATEWAY_TIMEOUT,a)}}return Di.GatewayTimeoutException=r,Di}var ki={},Ry;function ZD(){if(Ry)return ki;Ry=1,Object.defineProperty(ki,"__esModule",{value:!0}),ki.GoneException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Gone"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.GONE),e.HttpStatus.GONE,a)}}return ki.GoneException=r,ki}var Li={},My;function KD(){if(My)return Li;My=1,Object.defineProperty(Li,"__esModule",{value:!0}),Li.HttpVersionNotSupportedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="HTTP Version Not Supported"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.HTTP_VERSION_NOT_SUPPORTED),e.HttpStatus.HTTP_VERSION_NOT_SUPPORTED,a)}}return Li.HttpVersionNotSupportedException=r,Li}var Ui={},Iy;function YD(){if(Iy)return Ui;Iy=1,Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.ImATeapotException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="I'm a teapot"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.I_AM_A_TEAPOT),e.HttpStatus.I_AM_A_TEAPOT,a)}}return Ui.ImATeapotException=r,Ui}var zi={},Cy;function XD(){if(Cy)return zi;Cy=1,Object.defineProperty(zi,"__esModule",{value:!0}),zi.InternalServerErrorException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Internal Server Error"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.INTERNAL_SERVER_ERROR),e.HttpStatus.INTERNAL_SERVER_ERROR,a)}}return zi.InternalServerErrorException=r,zi}var Bi={},jy;function QD(){if(jy)return Bi;jy=1,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.MethodNotAllowedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Method Not Allowed"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.METHOD_NOT_ALLOWED),e.HttpStatus.METHOD_NOT_ALLOWED,a)}}return Bi.MethodNotAllowedException=r,Bi}var Hi={},qy;function JD(){if(qy)return Hi;qy=1,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.MisdirectedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Misdirected"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.MISDIRECTED),e.HttpStatus.MISDIRECTED,a)}}return Hi.MisdirectedException=r,Hi}var Vi={},Ny;function $D(){if(Ny)return Vi;Ny=1,Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.NotAcceptableException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Not Acceptable"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.NOT_ACCEPTABLE),e.HttpStatus.NOT_ACCEPTABLE,a)}}return Vi.NotAcceptableException=r,Vi}var Gi={},Fy;function ek(){if(Fy)return Gi;Fy=1,Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.NotFoundException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Not Found"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.NOT_FOUND),e.HttpStatus.NOT_FOUND,a)}}return Gi.NotFoundException=r,Gi}var Wi={},Dy;function tk(){if(Dy)return Wi;Dy=1,Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.NotImplementedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Not Implemented"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.NOT_IMPLEMENTED),e.HttpStatus.NOT_IMPLEMENTED,a)}}return Wi.NotImplementedException=r,Wi}var Zi={},ky;function rk(){if(ky)return Zi;ky=1,Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.PayloadTooLargeException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Payload Too Large"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.PAYLOAD_TOO_LARGE),e.HttpStatus.PAYLOAD_TOO_LARGE,a)}}return Zi.PayloadTooLargeException=r,Zi}var Ki={},Ly;function nk(){if(Ly)return Ki;Ly=1,Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.PreconditionFailedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Precondition Failed"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.PRECONDITION_FAILED),e.HttpStatus.PRECONDITION_FAILED,a)}}return Ki.PreconditionFailedException=r,Ki}var Yi={},Uy;function ik(){if(Uy)return Yi;Uy=1,Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.RequestTimeoutException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Request Timeout"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.REQUEST_TIMEOUT),e.HttpStatus.REQUEST_TIMEOUT,a)}}return Yi.RequestTimeoutException=r,Yi}var Xi={},zy;function ak(){if(zy)return Xi;zy=1,Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.ServiceUnavailableException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Service Unavailable"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.SERVICE_UNAVAILABLE),e.HttpStatus.SERVICE_UNAVAILABLE,a)}}return Xi.ServiceUnavailableException=r,Xi}var Qi={},By;function ok(){if(By)return Qi;By=1,Object.defineProperty(Qi,"__esModule",{value:!0}),Qi.UnauthorizedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Unauthorized"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.UNAUTHORIZED),e.HttpStatus.UNAUTHORIZED,a)}}return Qi.UnauthorizedException=r,Qi}var Ji={},Hy;function sk(){if(Hy)return Ji;Hy=1,Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.UnprocessableEntityException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Unprocessable Entity"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.UNPROCESSABLE_ENTITY),e.HttpStatus.UNPROCESSABLE_ENTITY,a)}}return Ji.UnprocessableEntityException=r,Ji}var $i={},Vy;function ck(){if(Vy)return $i;Vy=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.UnsupportedMediaTypeException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Unsupported Media Type"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.UNSUPPORTED_MEDIA_TYPE),e.HttpStatus.UNSUPPORTED_MEDIA_TYPE,a)}}return $i.UnsupportedMediaTypeException=r,$i}var Gy;function ug(){return Gy||(Gy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(BD(),e),t.__exportStar(HD(),e),t.__exportStar(VD(),e),t.__exportStar(GD(),e),t.__exportStar(WD(),e),t.__exportStar(ZD(),e),t.__exportStar(KD(),e),t.__exportStar(He(),e),t.__exportStar(YD(),e),t.__exportStar(XD(),e),t.__exportStar(ZI(),e),t.__exportStar(QD(),e),t.__exportStar(JD(),e),t.__exportStar($D(),e),t.__exportStar(ek(),e),t.__exportStar(tk(),e),t.__exportStar(rk(),e),t.__exportStar(nk(),e),t.__exportStar(ik(),e),t.__exportStar(ak(),e),t.__exportStar(ok(),e),t.__exportStar(sk(),e),t.__exportStar(ck(),e)})(Mf)),Mf}var If={},ea={},Cf={},In={},jf={},Wy;function rr(){return Wy||(Wy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.yellow=e.clc=e.isColorAllowed=void 0;const t=()=>!process.env.NO_COLOR;e.isColorAllowed=t;const r=i=>o=>(0,e.isColorAllowed)()?i(o):o;e.clc={bold:r(i=>`\x1B[1m${i}\x1B[0m`),green:r(i=>`\x1B[32m${i}\x1B[39m`),yellow:r(i=>`\x1B[33m${i}\x1B[39m`),red:r(i=>`\x1B[31m${i}\x1B[39m`),magentaBright:r(i=>`\x1B[95m${i}\x1B[39m`),cyanBright:r(i=>`\x1B[96m${i}\x1B[39m`)},e.yellow=r(i=>`\x1B[38;5;3m${i}\x1B[39m`)})(jf)),jf}var sd={},Zy;function KI(){if(Zy)return sd;Zy=1,Object.defineProperty(sd,"__esModule",{value:!0}),sd.isLogLevelEnabled=t;const e={verbose:0,debug:1,log:2,warn:3,error:4,fatal:5};function t(r,i){if(!i||Array.isArray(i)&&i?.length===0)return!1;if(i.includes(r))return!0;const o=i.map(s=>e[s]).sort((s,a)=>a-s)?.[0];return e[r]>=o}return sd}var Ky;function lg(){if(Ky)return In;Ky=1;var e;Object.defineProperty(In,"__esModule",{value:!0}),In.ConsoleLogger=void 0;const t=ae(),r=si,i=tr(),o=rr(),n=ne(),s=KI(),a=5,c=["log","error","warn","debug","verbose","fatal"],u=new Intl.DateTimeFormat(void 0,{year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",day:"2-digit",month:"2-digit"});let p=e=class{constructor(d,f){let[h,m]=(0,n.isString)(d)?[d,f]:f?[void 0,f]:[d?.context,d];m=m??{},m.logLevels??=c,m.colors??=m.colors??(m.json?!1:(0,o.isColorAllowed)()),m.prefix??="Nest",this.options=m,this.inspectOptions=this.getInspectOptions(),h&&(this.context=h,this.originalContext=h)}log(d,...f){if(!this.isLevelEnabled("log"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"log")}error(d,...f){if(!this.isLevelEnabled("error"))return;const{messages:h,context:m,stack:v}=this.getContextAndStackAndMessagesToPrint([d,...f]);this.printMessages(h,m,"error","stderr",v),this.printStackTrace(v)}warn(d,...f){if(!this.isLevelEnabled("warn"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"warn")}debug(d,...f){if(!this.isLevelEnabled("debug"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"debug")}verbose(d,...f){if(!this.isLevelEnabled("verbose"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"verbose")}fatal(d,...f){if(!this.isLevelEnabled("fatal"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"fatal")}setLogLevels(d){this.options||(this.options={}),this.options.logLevels=d}setContext(d){this.context=d}resetContext(){this.context=this.originalContext}isLevelEnabled(d){const f=this.options?.logLevels;return(0,s.isLogLevelEnabled)(d,f)}getTimestamp(){return u.format(Date.now())}printMessages(d,f="",h="log",m,v){d.forEach(g=>{if(this.options.json){this.printAsJson(g,{context:f,logLevel:h,writeStreamType:m,errorStack:v});return}const _=this.formatPid(process.pid),b=this.formatContext(f),y=this.updateAndGetTimestampDiff(),E=h.toUpperCase().padStart(7," "),x=this.formatMessage(h,g,_,E,b,y);this.options.forceConsole?m==="stderr"?console.error(x.trim()):console.log(x.trim()):process[m??"stdout"].write(x)})}printAsJson(d,f){const h=this.getJsonLogObject(d,f),m=!this.options.colors&&this.inspectOptions.compact===!0?JSON.stringify(h,this.stringifyReplacer):(0,r.inspect)(h,this.inspectOptions);this.options.forceConsole?f.writeStreamType==="stderr"?console.error(m):console.log(m):process[f.writeStreamType??"stdout"].write(`${m}
3
+ `),V=V.replace(/\\r/g,"\r")),R[L]=V}return R}function d(T){T=T||{};const R=_(T);T.path=R;const P=w.configDotenv(T);if(!P.parsed){const F=new Error(`MISSING_DATA: Cannot parse ${R} for an unknown reason`);throw F.code="MISSING_DATA",F}const N=v(T).split(","),L=N.length;let V;for(let F=0;F<L;F++)try{const H=N[F].trim(),X=g(P,H);V=w.decrypt(X.ciphertext,X.key);break}catch(H){if(F+1>=L)throw H}return w.parse(V)}function f(T){console.error(`[dotenv@${o}][WARN] ${T}`)}function h(T){console.log(`[dotenv@${o}][DEBUG] ${T}`)}function m(T){console.log(`[dotenv@${o}] ${T}`)}function v(T){return T&&T.DOTENV_KEY&&T.DOTENV_KEY.length>0?T.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function g(T,R){let P;try{P=new URL(R)}catch(H){if(H.code==="ERR_INVALID_URL"){const X=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw X.code="INVALID_DOTENV_KEY",X}throw H}const N=P.password;if(!N){const H=new Error("INVALID_DOTENV_KEY: Missing key part");throw H.code="INVALID_DOTENV_KEY",H}const L=P.searchParams.get("environment");if(!L){const H=new Error("INVALID_DOTENV_KEY: Missing environment part");throw H.code="INVALID_DOTENV_KEY",H}const V=`DOTENV_VAULT_${L.toUpperCase()}`,F=T.parsed[V];if(!F){const H=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${V} in your .env.vault file.`);throw H.code="NOT_FOUND_DOTENV_ENVIRONMENT",H}return{ciphertext:F,key:N}}function _(T){let R=null;if(T&&T.path&&T.path.length>0)if(Array.isArray(T.path))for(const P of T.path)e.existsSync(P)&&(R=P.endsWith(".vault")?P:`${P}.vault`);else R=T.path.endsWith(".vault")?T.path:`${T.path}.vault`;else R=t.resolve(process.cwd(),".env.vault");return e.existsSync(R)?R:null}function b(T){return T[0]==="~"?t.join(r.homedir(),T.slice(1)):T}function y(T){const R=a(process.env.DOTENV_CONFIG_DEBUG||T&&T.debug),P=a(process.env.DOTENV_CONFIG_QUIET||T&&T.quiet);(R||!P)&&m("Loading env from encrypted .env.vault");const N=w._parseVault(T);let L=process.env;return T&&T.processEnv!=null&&(L=T.processEnv),w.populate(L,N,T),{parsed:N}}function E(T){const R=t.resolve(process.cwd(),".env");let P="utf8",N=process.env;T&&T.processEnv!=null&&(N=T.processEnv);let L=a(N.DOTENV_CONFIG_DEBUG||T&&T.debug),V=a(N.DOTENV_CONFIG_QUIET||T&&T.quiet);T&&T.encoding?P=T.encoding:L&&h("No encoding is specified. UTF-8 is used by default");let F=[R];if(T&&T.path)if(!Array.isArray(T.path))F=[b(T.path)];else{F=[];for(const U of T.path)F.push(b(U))}let H;const X={};for(const U of F)try{const re=w.parse(e.readFileSync(U,{encoding:P}));w.populate(X,re,T)}catch(re){L&&h(`Failed to load ${U} ${re.message}`),H=re}const te=w.populate(N,X,T);if(L=a(N.DOTENV_CONFIG_DEBUG||L),V=a(N.DOTENV_CONFIG_QUIET||V),L||!V){const U=Object.keys(te).length,re=[];for(const j of F)try{const q=t.relative(process.cwd(),j);re.push(q)}catch(q){L&&h(`Failed to load ${j} ${q.message}`),H=q}m(`injecting env (${U}) from ${re.join(",")} ${u(`-- tip: ${s()}`)}`)}return H?{parsed:X,error:H}:{parsed:X}}function x(T){if(v(T).length===0)return w.configDotenv(T);const R=_(T);return R?w._configVault(T):(f(`You set DOTENV_KEY but you are missing a .env.vault file at ${R}. Did you forget to build it?`),w.configDotenv(T))}function O(T,R){const P=Buffer.from(R.slice(-64),"hex");let N=Buffer.from(T,"base64");const L=N.subarray(0,12),V=N.subarray(-16);N=N.subarray(12,-16);try{const F=i.createDecipheriv("aes-256-gcm",P,L);return F.setAuthTag(V),`${F.update(N)}${F.final()}`}catch(F){const H=F instanceof RangeError,X=F.message==="Invalid key length",te=F.message==="Unsupported state or unable to authenticate data";if(H||X){const U=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw U.code="INVALID_DOTENV_KEY",U}else if(te){const U=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw U.code="DECRYPTION_FAILED",U}else throw F}}function S(T,R,P={}){const N=!!(P&&P.debug),L=!!(P&&P.override),V={};if(typeof R!="object"){const F=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw F.code="OBJECT_REQUIRED",F}for(const F of Object.keys(R))Object.prototype.hasOwnProperty.call(T,F)?(L===!0&&(T[F]=R[F],V[F]=R[F]),N&&h(L===!0?`"${F}" is already defined and WAS overwritten`:`"${F}" is already defined and was NOT overwritten`)):(T[F]=R[F],V[F]=R[F]);return V}const w={configDotenv:E,_configVault:y,_parseVault:d,config:x,decrypt:O,parse:l,populate:S};return Ot.exports.configDotenv=w.configDotenv,Ot.exports._configVault=w._configVault,Ot.exports._parseVault=w._parseVault,Ot.exports.config=w.config,Ot.exports.decrypt=w.decrypt,Ot.exports.parse=w.parse,Ot.exports.populate=w.populate,Ot.exports=w,Ot.exports}var uD=cD();const lD=QF.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:hf&&hf.tagName.toUpperCase()==="SCRIPT"&&hf.src||new URL("index.cjs",document.baseURI).href),dD=Yt.dirname(lD),pD=(e={})=>{const{env:t,configPath:r}=e,i=Yt.resolve(dD,`${r??"."}/.env${t?`.${t}`:""}`),{parsed:o}=uD.config({path:i});return o};var vf,jb;function fD(){if(jb)return vf;jb=1,vf=n,n.default=n,n.stable=u,n.stableStringify=u;var e="[...]",t="[Circular]",r=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function n(d,f,h,m){typeof m>"u"&&(m=o()),a(d,"",0,[],void 0,0,m);var v;try{i.length===0?v=JSON.stringify(d,f,h):v=JSON.stringify(d,l(f),h)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var g=r.pop();g.length===4?Object.defineProperty(g[0],g[1],g[3]):g[0][g[1]]=g[2]}}return v}function s(d,f,h,m){var v=Object.getOwnPropertyDescriptor(m,h);v.get!==void 0?v.configurable?(Object.defineProperty(m,h,{value:d}),r.push([m,h,f,v])):i.push([f,h,d]):(m[h]=d,r.push([m,h,f]))}function a(d,f,h,m,v,g,_){g+=1;var b;if(typeof d=="object"&&d!==null){for(b=0;b<m.length;b++)if(m[b]===d){s(t,d,f,v);return}if(typeof _.depthLimit<"u"&&g>_.depthLimit){s(e,d,f,v);return}if(typeof _.edgesLimit<"u"&&h+1>_.edgesLimit){s(e,d,f,v);return}if(m.push(d),Array.isArray(d))for(b=0;b<d.length;b++)a(d[b],b,b,m,d,g,_);else{var y=Object.keys(d);for(b=0;b<y.length;b++){var E=y[b];a(d[E],E,b,m,d,g,_)}}m.pop()}}function c(d,f){return d<f?-1:d>f?1:0}function u(d,f,h,m){typeof m>"u"&&(m=o());var v=p(d,"",0,[],void 0,0,m)||d,g;try{i.length===0?g=JSON.stringify(v,f,h):g=JSON.stringify(v,l(f),h)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var _=r.pop();_.length===4?Object.defineProperty(_[0],_[1],_[3]):_[0][_[1]]=_[2]}}return g}function p(d,f,h,m,v,g,_){g+=1;var b;if(typeof d=="object"&&d!==null){for(b=0;b<m.length;b++)if(m[b]===d){s(t,d,f,v);return}try{if(typeof d.toJSON=="function")return}catch{return}if(typeof _.depthLimit<"u"&&g>_.depthLimit){s(e,d,f,v);return}if(typeof _.edgesLimit<"u"&&h+1>_.edgesLimit){s(e,d,f,v);return}if(m.push(d),Array.isArray(d))for(b=0;b<d.length;b++)p(d[b],b,b,m,d,g,_);else{var y={},E=Object.keys(d).sort(c);for(b=0;b<E.length;b++){var x=E[b];p(d[x],x,b,m,d,g,_),y[x]=d[x]}if(typeof v<"u")r.push([v,f,d]),v[f]=y;else return y}m.pop()}}function l(d){return d=typeof d<"u"?d:function(f,h){return h},function(f,h){if(i.length>0)for(var m=0;m<i.length;m++){var v=i[m];if(v[1]===f&&v[0]===h){h=v[2],i.splice(m,1);break}}return d.call(this,f,h)}}return vf}fD();var mf={},hr={},xi={},_f={},gf={exports:{}},qb;function ae(){return qb||(qb=1,(function(e){var t,r,i,o,n,s,a,c,u,p,l,d,f,h,m,v,g,_,b,y,E,x,O,S,w,T,R,P,N,L,V,F;(function(H){var X=typeof ut=="object"?ut:typeof self=="object"?self:typeof this=="object"?this:{};H(te(X,te(e.exports)));function te(U,re){return U!==X&&(typeof Object.create=="function"?Object.defineProperty(U,"__esModule",{value:!0}):U.__esModule=!0),function(j,q){return U[j]=re?re(j,q):q}}})(function(H){var X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,q){j.__proto__=q}||function(j,q){for(var D in q)Object.prototype.hasOwnProperty.call(q,D)&&(j[D]=q[D])};t=function(j,q){if(typeof q!="function"&&q!==null)throw new TypeError("Class extends value "+String(q)+" is not a constructor or null");X(j,q);function D(){this.constructor=j}j.prototype=q===null?Object.create(q):(D.prototype=q.prototype,new D)},r=Object.assign||function(j){for(var q,D=1,z=arguments.length;D<z;D++){q=arguments[D];for(var M in q)Object.prototype.hasOwnProperty.call(q,M)&&(j[M]=q[M])}return j},i=function(j,q){var D={};for(var z in j)Object.prototype.hasOwnProperty.call(j,z)&&q.indexOf(z)<0&&(D[z]=j[z]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,z=Object.getOwnPropertySymbols(j);M<z.length;M++)q.indexOf(z[M])<0&&Object.prototype.propertyIsEnumerable.call(j,z[M])&&(D[z[M]]=j[z[M]]);return D},o=function(j,q,D,z){var M=arguments.length,C=M<3?q:z===null?z=Object.getOwnPropertyDescriptor(q,D):z,k;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(j,q,D,z);else for(var K=j.length-1;K>=0;K--)(k=j[K])&&(C=(M<3?k(C):M>3?k(q,D,C):k(q,D))||C);return M>3&&C&&Object.defineProperty(q,D,C),C},n=function(j,q){return function(D,z){q(D,z,j)}},s=function(j,q,D,z,M,C){function k(ye){if(ye!==void 0&&typeof ye!="function")throw new TypeError("Function expected");return ye}for(var K=z.kind,$=K==="getter"?"get":K==="setter"?"set":"value",A=!q&&j?z.static?j:j.prototype:null,I=q||(A?Object.getOwnPropertyDescriptor(A,z.name):{}),W,Q=!1,oe=D.length-1;oe>=0;oe--){var J={};for(var le in z)J[le]=le==="access"?{}:z[le];for(var le in z.access)J.access[le]=z.access[le];J.addInitializer=function(ye){if(Q)throw new TypeError("Cannot add initializers after decoration has completed");C.push(k(ye||null))};var _e=(0,D[oe])(K==="accessor"?{get:I.get,set:I.set}:I[$],J);if(K==="accessor"){if(_e===void 0)continue;if(_e===null||typeof _e!="object")throw new TypeError("Object expected");(W=k(_e.get))&&(I.get=W),(W=k(_e.set))&&(I.set=W),(W=k(_e.init))&&M.unshift(W)}else(W=k(_e))&&(K==="field"?M.unshift(W):I[$]=W)}A&&Object.defineProperty(A,z.name,I),Q=!0},a=function(j,q,D){for(var z=arguments.length>2,M=0;M<q.length;M++)D=z?q[M].call(j,D):q[M].call(j);return z?D:void 0},c=function(j){return typeof j=="symbol"?j:"".concat(j)},u=function(j,q,D){return typeof q=="symbol"&&(q=q.description?"[".concat(q.description,"]"):""),Object.defineProperty(j,"name",{configurable:!0,value:D?"".concat(D," ",q):q})},p=function(j,q){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(j,q)},l=function(j,q,D,z){function M(C){return C instanceof D?C:new D(function(k){k(C)})}return new(D||(D=Promise))(function(C,k){function K(I){try{A(z.next(I))}catch(W){k(W)}}function $(I){try{A(z.throw(I))}catch(W){k(W)}}function A(I){I.done?C(I.value):M(I.value).then(K,$)}A((z=z.apply(j,q||[])).next())})},d=function(j,q){var D={label:0,sent:function(){if(C[0]&1)throw C[1];return C[1]},trys:[],ops:[]},z,M,C,k=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return k.next=K(0),k.throw=K(1),k.return=K(2),typeof Symbol=="function"&&(k[Symbol.iterator]=function(){return this}),k;function K(A){return function(I){return $([A,I])}}function $(A){if(z)throw new TypeError("Generator is already executing.");for(;k&&(k=0,A[0]&&(D=0)),D;)try{if(z=1,M&&(C=A[0]&2?M.return:A[0]?M.throw||((C=M.return)&&C.call(M),0):M.next)&&!(C=C.call(M,A[1])).done)return C;switch(M=0,C&&(A=[A[0]&2,C.value]),A[0]){case 0:case 1:C=A;break;case 4:return D.label++,{value:A[1],done:!1};case 5:D.label++,M=A[1],A=[0];continue;case 7:A=D.ops.pop(),D.trys.pop();continue;default:if(C=D.trys,!(C=C.length>0&&C[C.length-1])&&(A[0]===6||A[0]===2)){D=0;continue}if(A[0]===3&&(!C||A[1]>C[0]&&A[1]<C[3])){D.label=A[1];break}if(A[0]===6&&D.label<C[1]){D.label=C[1],C=A;break}if(C&&D.label<C[2]){D.label=C[2],D.ops.push(A);break}C[2]&&D.ops.pop(),D.trys.pop();continue}A=q.call(j,D)}catch(I){A=[6,I],M=0}finally{z=C=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}},f=function(j,q){for(var D in j)D!=="default"&&!Object.prototype.hasOwnProperty.call(q,D)&&N(q,j,D)},N=Object.create?(function(j,q,D,z){z===void 0&&(z=D);var M=Object.getOwnPropertyDescriptor(q,D);(!M||("get"in M?!q.__esModule:M.writable||M.configurable))&&(M={enumerable:!0,get:function(){return q[D]}}),Object.defineProperty(j,z,M)}):(function(j,q,D,z){z===void 0&&(z=D),j[z]=q[D]}),h=function(j){var q=typeof Symbol=="function"&&Symbol.iterator,D=q&&j[q],z=0;if(D)return D.call(j);if(j&&typeof j.length=="number")return{next:function(){return j&&z>=j.length&&(j=void 0),{value:j&&j[z++],done:!j}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(j,q){var D=typeof Symbol=="function"&&j[Symbol.iterator];if(!D)return j;var z=D.call(j),M,C=[],k;try{for(;(q===void 0||q-- >0)&&!(M=z.next()).done;)C.push(M.value)}catch(K){k={error:K}}finally{try{M&&!M.done&&(D=z.return)&&D.call(z)}finally{if(k)throw k.error}}return C},v=function(){for(var j=[],q=0;q<arguments.length;q++)j=j.concat(m(arguments[q]));return j},g=function(){for(var j=0,q=0,D=arguments.length;q<D;q++)j+=arguments[q].length;for(var z=Array(j),M=0,q=0;q<D;q++)for(var C=arguments[q],k=0,K=C.length;k<K;k++,M++)z[M]=C[k];return z},_=function(j,q,D){if(D||arguments.length===2)for(var z=0,M=q.length,C;z<M;z++)(C||!(z in q))&&(C||(C=Array.prototype.slice.call(q,0,z)),C[z]=q[z]);return j.concat(C||Array.prototype.slice.call(q))},b=function(j){return this instanceof b?(this.v=j,this):new b(j)},y=function(j,q,D){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z=D.apply(j,q||[]),M,C=[];return M=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),K("next"),K("throw"),K("return",k),M[Symbol.asyncIterator]=function(){return this},M;function k(oe){return function(J){return Promise.resolve(J).then(oe,W)}}function K(oe,J){z[oe]&&(M[oe]=function(le){return new Promise(function(_e,ye){C.push([oe,le,_e,ye])>1||$(oe,le)})},J&&(M[oe]=J(M[oe])))}function $(oe,J){try{A(z[oe](J))}catch(le){Q(C[0][3],le)}}function A(oe){oe.value instanceof b?Promise.resolve(oe.value.v).then(I,W):Q(C[0][2],oe)}function I(oe){$("next",oe)}function W(oe){$("throw",oe)}function Q(oe,J){oe(J),C.shift(),C.length&&$(C[0][0],C[0][1])}},E=function(j){var q,D;return q={},z("next"),z("throw",function(M){throw M}),z("return"),q[Symbol.iterator]=function(){return this},q;function z(M,C){q[M]=j[M]?function(k){return(D=!D)?{value:b(j[M](k)),done:!1}:C?C(k):k}:C}},x=function(j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var q=j[Symbol.asyncIterator],D;return q?q.call(j):(j=typeof h=="function"?h(j):j[Symbol.iterator](),D={},z("next"),z("throw"),z("return"),D[Symbol.asyncIterator]=function(){return this},D);function z(C){D[C]=j[C]&&function(k){return new Promise(function(K,$){k=j[C](k),M(K,$,k.done,k.value)})}}function M(C,k,K,$){Promise.resolve($).then(function(A){C({value:A,done:K})},k)}},O=function(j,q){return Object.defineProperty?Object.defineProperty(j,"raw",{value:q}):j.raw=q,j};var te=Object.create?(function(j,q){Object.defineProperty(j,"default",{enumerable:!0,value:q})}):function(j,q){j.default=q},U=function(j){return U=Object.getOwnPropertyNames||function(q){var D=[];for(var z in q)Object.prototype.hasOwnProperty.call(q,z)&&(D[D.length]=z);return D},U(j)};S=function(j){if(j&&j.__esModule)return j;var q={};if(j!=null)for(var D=U(j),z=0;z<D.length;z++)D[z]!=="default"&&N(q,j,D[z]);return te(q,j),q},w=function(j){return j&&j.__esModule?j:{default:j}},T=function(j,q,D,z){if(D==="a"&&!z)throw new TypeError("Private accessor was defined without a getter");if(typeof q=="function"?j!==q||!z:!q.has(j))throw new TypeError("Cannot read private member from an object whose class did not declare it");return D==="m"?z:D==="a"?z.call(j):z?z.value:q.get(j)},R=function(j,q,D,z,M){if(z==="m")throw new TypeError("Private method is not writable");if(z==="a"&&!M)throw new TypeError("Private accessor was defined without a setter");if(typeof q=="function"?j!==q||!M:!q.has(j))throw new TypeError("Cannot write private member to an object whose class did not declare it");return z==="a"?M.call(j,D):M?M.value=D:q.set(j,D),D},P=function(j,q){if(q===null||typeof q!="object"&&typeof q!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof j=="function"?q===j:j.has(q)},L=function(j,q,D){if(q!=null){if(typeof q!="object"&&typeof q!="function")throw new TypeError("Object expected.");var z,M;if(D){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");z=q[Symbol.asyncDispose]}if(z===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");z=q[Symbol.dispose],D&&(M=z)}if(typeof z!="function")throw new TypeError("Object not disposable.");M&&(z=function(){try{M.call(this)}catch(C){return Promise.reject(C)}}),j.stack.push({value:q,dispose:z,async:D})}else D&&j.stack.push({async:!0});return q};var re=typeof SuppressedError=="function"?SuppressedError:function(j,q,D){var z=new Error(D);return z.name="SuppressedError",z.error=j,z.suppressed=q,z};V=function(j){function q(C){j.error=j.hasError?new re(C,j.error,"An error was suppressed during disposal."):C,j.hasError=!0}var D,z=0;function M(){for(;D=j.stack.pop();)try{if(!D.async&&z===1)return z=0,j.stack.push(D),Promise.resolve().then(M);if(D.dispose){var C=D.dispose.call(D.value);if(D.async)return z|=2,Promise.resolve(C).then(M,function(k){return q(k),M()})}else z|=1}catch(k){q(k)}if(z===1)return j.hasError?Promise.reject(j.error):Promise.resolve();if(j.hasError)throw j.error}return M()},F=function(j,q){return typeof j=="string"&&/^\.\.?\//.test(j)?j.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(D,z,M,C,k){return z?q?".jsx":".js":M&&(!C||!k)?D:M+C+"."+k.toLowerCase()+"js"}):j},H("__extends",t),H("__assign",r),H("__rest",i),H("__decorate",o),H("__param",n),H("__esDecorate",s),H("__runInitializers",a),H("__propKey",c),H("__setFunctionName",u),H("__metadata",p),H("__awaiter",l),H("__generator",d),H("__exportStar",f),H("__createBinding",N),H("__values",h),H("__read",m),H("__spread",v),H("__spreadArrays",g),H("__spreadArray",_),H("__await",b),H("__asyncGenerator",y),H("__asyncDelegator",E),H("__asyncValues",x),H("__makeTemplateObject",O),H("__importStar",S),H("__importDefault",w),H("__classPrivateFieldGet",T),H("__classPrivateFieldSet",R),H("__classPrivateFieldIn",P),H("__addDisposableResource",L),H("__disposeResources",V),H("__rewriteRelativeImportExtension",F)})})(gf)),gf.exports}var bf={},yf={},zl={},Nb;function hD(){if(Nb)return zl;Nb=1,Object.defineProperty(zl,"__esModule",{value:!0}),zl.Bind=e;function e(...t){return(r,i,o)=>(t.forEach((n,s)=>n(r,i,s)),o)}return zl}var Bl={},Ef={},Fb;function xe(){return Fb||(Fb=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ENTRY_PROVIDER_WATERMARK=e.CATCH_WATERMARK=e.CONTROLLER_WATERMARK=e.INJECTABLE_WATERMARK=e.VERSION_METADATA=e.SSE_METADATA=e.RESPONSE_PASSTHROUGH_METADATA=e.REDIRECT_METADATA=e.HEADERS_METADATA=e.MODULE_PATH=e.HTTP_CODE_METADATA=e.RENDER_METADATA=e.ENHANCER_KEY_TO_SUBTYPE_MAP=e.EXCEPTION_FILTERS_METADATA=e.INTERCEPTORS_METADATA=e.GUARDS_METADATA=e.PIPES_METADATA=e.FILTER_CATCH_EXCEPTIONS=e.CUSTOM_ROUTE_ARGS_METADATA=e.ROUTE_ARGS_METADATA=e.METHOD_METADATA=e.SCOPE_OPTIONS_METADATA=e.OPTIONAL_PROPERTY_DEPS_METADATA=e.PROPERTY_DEPS_METADATA=e.OPTIONAL_DEPS_METADATA=e.SELF_DECLARED_DEPS_METADATA=e.PARAMTYPES_METADATA=e.PATH_METADATA=e.HOST_METADATA=e.GLOBAL_MODULE_METADATA=e.MODULE_METADATA=void 0,e.MODULE_METADATA={IMPORTS:"imports",PROVIDERS:"providers",CONTROLLERS:"controllers",EXPORTS:"exports"},e.GLOBAL_MODULE_METADATA="__module:global__",e.HOST_METADATA="host",e.PATH_METADATA="path",e.PARAMTYPES_METADATA="design:paramtypes",e.SELF_DECLARED_DEPS_METADATA="self:paramtypes",e.OPTIONAL_DEPS_METADATA="optional:paramtypes",e.PROPERTY_DEPS_METADATA="self:properties_metadata",e.OPTIONAL_PROPERTY_DEPS_METADATA="optional:properties_metadata",e.SCOPE_OPTIONS_METADATA="scope:options",e.METHOD_METADATA="method",e.ROUTE_ARGS_METADATA="__routeArguments__",e.CUSTOM_ROUTE_ARGS_METADATA="__customRouteArgs__",e.FILTER_CATCH_EXCEPTIONS="__filterCatchExceptions__",e.PIPES_METADATA="__pipes__",e.GUARDS_METADATA="__guards__",e.INTERCEPTORS_METADATA="__interceptors__",e.EXCEPTION_FILTERS_METADATA="__exceptionFilters__",e.ENHANCER_KEY_TO_SUBTYPE_MAP={[e.GUARDS_METADATA]:"guard",[e.INTERCEPTORS_METADATA]:"interceptor",[e.PIPES_METADATA]:"pipe",[e.EXCEPTION_FILTERS_METADATA]:"filter"},e.RENDER_METADATA="__renderTemplate__",e.HTTP_CODE_METADATA="__httpCode__",e.MODULE_PATH="__module_path__",e.HEADERS_METADATA="__headers__",e.REDIRECT_METADATA="__redirect__",e.RESPONSE_PASSTHROUGH_METADATA="__responsePassthrough__",e.SSE_METADATA="__sse__",e.VERSION_METADATA="__version__",e.INJECTABLE_WATERMARK="__injectable__",e.CONTROLLER_WATERMARK="__controller__",e.CATCH_WATERMARK="__catch__",e.ENTRY_PROVIDER_WATERMARK="__entryProvider__"})(Ef)),Ef}var Db;function vD(){if(Db)return Bl;Db=1,Object.defineProperty(Bl,"__esModule",{value:!0}),Bl.Catch=t;const e=xe();function t(...r){return i=>{Reflect.defineMetadata(e.CATCH_WATERMARK,!0,i),Reflect.defineMetadata(e.FILTER_CATCH_EXCEPTIONS,r,i)}}return Bl}var Hl={},xf={},kb;function ne(){return kb||(kb=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isSymbol=e.isEmpty=e.isNil=e.isConstructor=e.isNumber=e.isString=e.isFunction=e.stripEndSlash=e.normalizePath=e.addLeadingSlash=e.isPlainObject=e.isObject=e.isUndefined=void 0;const t=h=>typeof h>"u";e.isUndefined=t;const r=h=>!(0,e.isNil)(h)&&typeof h=="object";e.isObject=r;const i=h=>{if(!(0,e.isObject)(h))return!1;const m=Object.getPrototypeOf(h);if(m===null)return!0;const v=Object.prototype.hasOwnProperty.call(m,"constructor")&&m.constructor;return typeof v=="function"&&v instanceof v&&Function.prototype.toString.call(v)===Function.prototype.toString.call(Object)};e.isPlainObject=i;const o=h=>h&&typeof h=="string"?h.charAt(0)!=="/"&&h.substring(0,2)!=="{/"?"/"+h:h:"";e.addLeadingSlash=o;const n=h=>h?h.startsWith("/")?("/"+h.replace(/\/+$/,"")).replace(/\/+/g,"/"):"/"+h.replace(/\/+$/,""):"/";e.normalizePath=n;const s=h=>h[h.length-1]==="/"?h.slice(0,h.length-1):h;e.stripEndSlash=s;const a=h=>typeof h=="function";e.isFunction=a;const c=h=>typeof h=="string";e.isString=c;const u=h=>typeof h=="number";e.isNumber=u;const p=h=>h==="constructor";e.isConstructor=p;const l=h=>(0,e.isUndefined)(h)||h===null;e.isNil=l;const d=h=>!(h&&h.length>0);e.isEmpty=d;const f=h=>typeof h=="symbol";e.isSymbol=f})(xf)),xf}var Lb;function mD(){if(Lb)return Hl;Lb=1,Object.defineProperty(Hl,"__esModule",{value:!0}),Hl.Controller=r;const e=xe(),t=ne();function r(i){const[n,s,a,c]=(0,t.isUndefined)(i)?["/",void 0,void 0,void 0]:(0,t.isString)(i)||Array.isArray(i)?[i,void 0,void 0,void 0]:[i.path||"/",i.host,{scope:i.scope,durable:i.durable},Array.isArray(i.version)?Array.from(new Set(i.version)):i.version];return u=>{Reflect.defineMetadata(e.CONTROLLER_WATERMARK,!0,u),Reflect.defineMetadata(e.PATH_METADATA,n,u),Reflect.defineMetadata(e.HOST_METADATA,s,u),Reflect.defineMetadata(e.SCOPE_OPTIONS_METADATA,a,u),Reflect.defineMetadata(e.VERSION_METADATA,c,u)}}return Hl}var Rn={},Ub;function _D(){if(Ub)return Rn;Ub=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.Dependencies=void 0,Rn.flatten=t;const e=xe();function t(i){const o=[].concat(...i);return o.some(Array.isArray)?t(o):o}const r=(...i)=>{const o=t(i);return n=>{Reflect.defineMetadata(e.PARAMTYPES_METADATA,o,n)}};return Rn.Dependencies=r,Rn}var Oi={},Vl={},zb;function vl(){if(zb)return Vl;zb=1,Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.extendArrayMetadata=e;function e(t,r,i){const n=[...Reflect.getMetadata(t,i)||[],...r];Reflect.defineMetadata(t,n,i)}return Vl}var Mn={},Bb;function pp(){if(Bb)return Mn;Bb=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.InvalidDecoratorItemException=void 0,Mn.validateEach=t;class e extends Error{constructor(i,o,n){const s=`Invalid ${o} passed to ${i}() decorator (${n}).`;super(s),this.msg=s}what(){return this.msg}}Mn.InvalidDecoratorItemException=e;function t(r,i,o,n,s){if(!r||!r.name)return!0;if(i.some(c=>!o(c)))throw new e(n,s,r.name);return!0}return Mn}var Hb;function gD(){if(Hb)return Oi;Hb=1,Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.UseFilters=void 0;const e=xe(),t=vl(),r=ne(),i=pp(),o=(...s)=>n(...s);Oi.UseFilters=o;function n(...s){return(a,c,u)=>{const p=l=>l&&((0,r.isFunction)(l)||(0,r.isFunction)(l.catch));return u?((0,i.validateEach)(a.constructor,s,p,"@UseFilters","filter"),(0,t.extendArrayMetadata)(e.EXCEPTION_FILTERS_METADATA,s,u.value),u):((0,i.validateEach)(a,s,p,"@UseFilters","filter"),(0,t.extendArrayMetadata)(e.EXCEPTION_FILTERS_METADATA,s,a),a)}}return Oi}var Gl={},Vb;function bD(){if(Vb)return Gl;Vb=1,Object.defineProperty(Gl,"__esModule",{value:!0}),Gl.Inject=r;const e=xe(),t=ne();function r(i){const o=arguments.length>0;return(n,s,a)=>{let c=i||Reflect.getMetadata("design:type",n,s);if(!c&&!o&&(c=Reflect.getMetadata(e.PARAMTYPES_METADATA,n,s)?.[a]),!(0,t.isUndefined)(a)){let p=Reflect.getMetadata(e.SELF_DECLARED_DEPS_METADATA,n)||[];p=[...p,{index:a,param:c}],Reflect.defineMetadata(e.SELF_DECLARED_DEPS_METADATA,p,n);return}let u=Reflect.getMetadata(e.PROPERTY_DEPS_METADATA,n.constructor)||[];u=[...u,{key:s,type:c}],Reflect.defineMetadata(e.PROPERTY_DEPS_METADATA,u,n.constructor)}}return Gl}var wi={},Of={},Gb;function dn(){if(Gb)return Of;Gb=1;for(var e=256,t=[],r=256,i;e--;)t[e]=(e+256).toString(16).substring(1);function o(n){var s=0,a=n||11;if(!i||e+a>r*2)for(i="",e=0;s<r;s++)i+=t[Math.random()*256|0];return i.substring(e,e+++a)}return Of.uid=o,Of}var Wb;function pn(){if(Wb)return wi;Wb=1,Object.defineProperty(wi,"__esModule",{value:!0}),wi.Injectable=r,wi.mixin=i;const e=dn(),t=xe();function r(o){return n=>{Reflect.defineMetadata(t.INJECTABLE_WATERMARK,!0,n),Reflect.defineMetadata(t.SCOPE_OPTIONS_METADATA,o,n)}}function i(o){return Object.defineProperty(o,"name",{value:(0,e.uid)(21)}),r()(o),o}return wi}var Wl={},Zb;function ml(){if(Zb)return Wl;Zb=1,Object.defineProperty(Wl,"__esModule",{value:!0}),Wl.Optional=r;const e=xe(),t=ne();function r(){return(i,o,n)=>{if(!(0,t.isUndefined)(n)){const a=Reflect.getMetadata(e.OPTIONAL_DEPS_METADATA,i)||[];Reflect.defineMetadata(e.OPTIONAL_DEPS_METADATA,[...a,n],i);return}const s=Reflect.getMetadata(e.OPTIONAL_PROPERTY_DEPS_METADATA,i.constructor)||[];Reflect.defineMetadata(e.OPTIONAL_PROPERTY_DEPS_METADATA,[...s,o],i.constructor)}}return Wl}var Si={},Kb;function yD(){if(Kb)return Si;Kb=1,Object.defineProperty(Si,"__esModule",{value:!0}),Si.SetMetadata=void 0;const e=(t,r)=>{const i=(o,n,s)=>s?(Reflect.defineMetadata(t,r,s.value),s):(Reflect.defineMetadata(t,r,o),o);return i.KEY=t,i};return Si.SetMetadata=e,Si}var Zl={},Yb;function ED(){if(Yb)return Zl;Yb=1,Object.defineProperty(Zl,"__esModule",{value:!0}),Zl.UseGuards=o;const e=xe(),t=vl(),r=ne(),i=pp();function o(...n){return(s,a,c)=>{const u=p=>p&&((0,r.isFunction)(p)||(0,r.isFunction)(p.canActivate));return c?((0,i.validateEach)(s.constructor,n,u,"@UseGuards","guard"),(0,t.extendArrayMetadata)(e.GUARDS_METADATA,n,c.value),c):((0,i.validateEach)(s,n,u,"@UseGuards","guard"),(0,t.extendArrayMetadata)(e.GUARDS_METADATA,n,s),s)}}return Zl}var Kl={},Xb;function xD(){if(Xb)return Kl;Xb=1,Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.UseInterceptors=o;const e=xe(),t=vl(),r=ne(),i=pp();function o(...n){return(s,a,c)=>{const u=p=>p&&((0,r.isFunction)(p)||(0,r.isFunction)(p.intercept));return c?((0,i.validateEach)(s.constructor,n,u,"@UseInterceptors","interceptor"),(0,t.extendArrayMetadata)(e.INTERCEPTORS_METADATA,n,c.value),c):((0,i.validateEach)(s,n,u,"@UseInterceptors","interceptor"),(0,t.extendArrayMetadata)(e.INTERCEPTORS_METADATA,n,s),s)}}return Kl}var Yl={},Qb;function OD(){if(Qb)return Yl;Qb=1,Object.defineProperty(Yl,"__esModule",{value:!0}),Yl.UsePipes=o;const e=xe(),t=vl(),r=ne(),i=pp();function o(...n){return(s,a,c)=>{const u=p=>p&&((0,r.isFunction)(p)||(0,r.isFunction)(p.transform));return c?((0,t.extendArrayMetadata)(e.PIPES_METADATA,n,c.value),c):((0,i.validateEach)(s,n,u,"@UsePipes","pipe"),(0,t.extendArrayMetadata)(e.PIPES_METADATA,n,s),s)}}return Yl}var Xl={},Jb;function wD(){if(Jb)return Xl;Jb=1,Object.defineProperty(Xl,"__esModule",{value:!0}),Xl.applyDecorators=e;function e(...t){return(r,i,o)=>{for(const n of t){if(r instanceof Function&&!o){n(r);continue}n(r,i,o)}}}return Xl}var Ql={},$b;function SD(){if($b)return Ql;$b=1,Object.defineProperty(Ql,"__esModule",{value:!0}),Ql.Version=t;const e=xe();function t(r){return Array.isArray(r)&&(r=Array.from(new Set(r))),(i,o,n)=>(Reflect.defineMetadata(e.VERSION_METADATA,r,n.value),n)}return Ql}var ey;function tr(){return ey||(ey=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(hD(),e),t.__exportStar(vD(),e),t.__exportStar(mD(),e),t.__exportStar(_D(),e),t.__exportStar(gD(),e),t.__exportStar(bD(),e),t.__exportStar(pn(),e),t.__exportStar(ml(),e),t.__exportStar(yD(),e),t.__exportStar(ED(),e),t.__exportStar(xD(),e),t.__exportStar(OD(),e),t.__exportStar(wD(),e),t.__exportStar(SD(),e)})(yf)),yf}var wf={},Jl={},ty;function PD(){if(ty)return Jl;ty=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.Global=t;const e=xe();function t(){return r=>{Reflect.defineMetadata(e.GLOBAL_MODULE_METADATA,!0,r)}}return Jl}var $l={},Sf={},ry;function TD(){return ry||(ry=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.INVALID_MODULE_CONFIG_MESSAGE=void 0,e.validateModuleKeys=o;const t=xe(),r=(n,s)=>`Invalid property '${s}' passed into the @Module() decorator.`;e.INVALID_MODULE_CONFIG_MESSAGE=r;const i=[t.MODULE_METADATA.IMPORTS,t.MODULE_METADATA.EXPORTS,t.MODULE_METADATA.CONTROLLERS,t.MODULE_METADATA.PROVIDERS];function o(n){const s=a=>{if(!i.includes(a))throw new Error((0,e.INVALID_MODULE_CONFIG_MESSAGE)`${a}`)};n.forEach(s)}})(Sf)),Sf}var ny;function AD(){if(ny)return $l;ny=1,Object.defineProperty($l,"__esModule",{value:!0}),$l.Module=t;const e=TD();function t(r){const i=Object.keys(r);return(0,e.validateModuleKeys)(i),o=>{for(const n in r)Object.hasOwnProperty.call(r,n)&&Reflect.defineMetadata(n,r[n],o)}}return $l}var iy;function RD(){return iy||(iy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(PD(),e),t.__exportStar(AD(),e)})(wf)),wf}var Pf={},Tf={},Pi={},ay;function ui(){if(ay)return Pi;ay=1,Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.RequestMethod=void 0;var e;return(function(t){t[t.GET=0]="GET",t[t.POST=1]="POST",t[t.PUT=2]="PUT",t[t.DELETE=3]="DELETE",t[t.PATCH=4]="PATCH",t[t.ALL=5]="ALL",t[t.OPTIONS=6]="OPTIONS",t[t.HEAD=7]="HEAD",t[t.SEARCH=8]="SEARCH",t[t.PROPFIND=9]="PROPFIND",t[t.PROPPATCH=10]="PROPPATCH",t[t.MKCOL=11]="MKCOL",t[t.COPY=12]="COPY",t[t.MOVE=13]="MOVE",t[t.LOCK=14]="LOCK",t[t.UNLOCK=15]="UNLOCK"})(e||(Pi.RequestMethod=e={})),Pi}var oy;function MD(){return oy||(oy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Unlock=e.Lock=e.Move=e.Copy=e.Mkcol=e.Proppatch=e.Propfind=e.Search=e.All=e.Head=e.Options=e.Patch=e.Put=e.Delete=e.Get=e.Post=e.RequestMapping=void 0;const t=xe(),r=ui(),i={[t.PATH_METADATA]:"/",[t.METHOD_METADATA]:r.RequestMethod.GET},o=(s=i)=>{const a=s[t.PATH_METADATA],c=a&&a.length?a:"/",u=s[t.METHOD_METADATA]||r.RequestMethod.GET;return(p,l,d)=>(Reflect.defineMetadata(t.PATH_METADATA,c,d.value),Reflect.defineMetadata(t.METHOD_METADATA,u,d.value),d)};e.RequestMapping=o;const n=s=>a=>(0,e.RequestMapping)({[t.PATH_METADATA]:a,[t.METHOD_METADATA]:s});e.Post=n(r.RequestMethod.POST),e.Get=n(r.RequestMethod.GET),e.Delete=n(r.RequestMethod.DELETE),e.Put=n(r.RequestMethod.PUT),e.Patch=n(r.RequestMethod.PATCH),e.Options=n(r.RequestMethod.OPTIONS),e.Head=n(r.RequestMethod.HEAD),e.All=n(r.RequestMethod.ALL),e.Search=n(r.RequestMethod.SEARCH),e.Propfind=n(r.RequestMethod.PROPFIND),e.Proppatch=n(r.RequestMethod.PROPPATCH),e.Mkcol=n(r.RequestMethod.MKCOL),e.Copy=n(r.RequestMethod.COPY),e.Move=n(r.RequestMethod.MOVE),e.Lock=n(r.RequestMethod.LOCK),e.Unlock=n(r.RequestMethod.UNLOCK)})(Tf)),Tf}var Af={},Ti={},sy;function fp(){if(sy)return Ti;sy=1,Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.RouteParamtypes=void 0;var e;return(function(t){t[t.REQUEST=0]="REQUEST",t[t.RESPONSE=1]="RESPONSE",t[t.NEXT=2]="NEXT",t[t.BODY=3]="BODY",t[t.QUERY=4]="QUERY",t[t.PARAM=5]="PARAM",t[t.HEADERS=6]="HEADERS",t[t.SESSION=7]="SESSION",t[t.FILE=8]="FILE",t[t.FILES=9]="FILES",t[t.HOST=10]="HOST",t[t.IP=11]="IP",t[t.RAW_BODY=12]="RAW_BODY",t[t.ACK=13]="ACK"})(e||(Ti.RouteParamtypes=e={})),Ti}var cy;function ID(){return cy||(cy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Res=e.Req=e.Headers=e.Session=e.Ip=e.Next=e.Response=e.Request=void 0,e.assignMetadata=o,e.UploadedFile=c,e.UploadedFiles=u,e.Query=p,e.Body=l,e.RawBody=d,e.Param=f,e.HostParam=h;const t=xe(),r=fp(),i=ne();function o(m,v,g,_,...b){return{...m,[`${v}:${g}`]:{index:g,data:_,pipes:b}}}function n(m){return v=>(g,_,b)=>{const y=Reflect.getMetadata(t.ROUTE_ARGS_METADATA,g.constructor,_)||{};Reflect.defineMetadata(t.ROUTE_ARGS_METADATA,o(y,m,b,v),g.constructor,_)}}const s=m=>(v,...g)=>(_,b,y)=>{const E=Reflect.getMetadata(t.ROUTE_ARGS_METADATA,_.constructor,b)||{},x=(0,i.isNil)(v)||(0,i.isString)(v),O=x?v:void 0,S=x?g:[v,...g];Reflect.defineMetadata(t.ROUTE_ARGS_METADATA,o(E,m,y,O,...S),_.constructor,b)};e.Request=n(r.RouteParamtypes.REQUEST);const a=m=>(v,g,_)=>(m?.passthrough&&Reflect.defineMetadata(t.RESPONSE_PASSTHROUGH_METADATA,m?.passthrough,v.constructor,g),n(r.RouteParamtypes.RESPONSE)()(v,g,_));e.Response=a,e.Next=n(r.RouteParamtypes.NEXT),e.Ip=n(r.RouteParamtypes.IP),e.Session=n(r.RouteParamtypes.SESSION);function c(m,...v){return s(r.RouteParamtypes.FILE)(m,...v)}function u(...m){return s(r.RouteParamtypes.FILES)(void 0,...m)}e.Headers=n(r.RouteParamtypes.HEADERS);function p(m,...v){return s(r.RouteParamtypes.QUERY)(m,...v)}function l(m,...v){return s(r.RouteParamtypes.BODY)(m,...v)}function d(...m){return s(r.RouteParamtypes.RAW_BODY)(void 0,...m)}function f(m,...v){return s(r.RouteParamtypes.PARAM)(m,...v)}function h(m){return n(r.RouteParamtypes.HOST)(m)}e.Req=e.Request,e.Res=e.Response})(Af)),Af}var ed={},uy;function CD(){if(uy)return ed;uy=1,Object.defineProperty(ed,"__esModule",{value:!0}),ed.HttpCode=t;const e=xe();function t(r){return(i,o,n)=>(Reflect.defineMetadata(e.HTTP_CODE_METADATA,r,n.value),n)}return ed}var td={},rd={},ly;function jD(){if(ly)return rd;ly=1,Object.defineProperty(rd,"__esModule",{value:!0}),rd.assignCustomParameterMetadata=t;const e=xe();function t(r,i,o,n,s,...a){return{...r,[`${i}${e.CUSTOM_ROUTE_ARGS_METADATA}:${o}`]:{index:o,factory:n,data:s,pipes:a}}}return rd}var dy;function qD(){if(dy)return td;dy=1,Object.defineProperty(td,"__esModule",{value:!0}),td.createParamDecorator=o;const e=dn(),t=xe(),r=jD(),i=ne();function o(n,s=[]){const a=(0,e.uid)(21);return(c,...u)=>(p,l,d)=>{const f=Reflect.getMetadata(t.ROUTE_ARGS_METADATA,p.constructor,l)||{},h=_=>_&&((0,i.isFunction)(_)&&_.prototype&&(0,i.isFunction)(_.prototype.transform)||(0,i.isFunction)(_.transform)),m=(0,i.isNil)(c)||!h(c),v=m?c:void 0,g=m?u:[c,...u];Reflect.defineMetadata(t.ROUTE_ARGS_METADATA,(0,r.assignCustomParameterMetadata)(f,a,d,n,v,...g),p.constructor,l),s.forEach(_=>_(p,l,d))}}return td}var nd={},py;function ND(){if(py)return nd;py=1,Object.defineProperty(nd,"__esModule",{value:!0}),nd.Render=t;const e=xe();function t(r){return(i,o,n)=>(Reflect.defineMetadata(e.RENDER_METADATA,r,n.value),n)}return nd}var id={},fy;function FD(){if(fy)return id;fy=1,Object.defineProperty(id,"__esModule",{value:!0}),id.Header=r;const e=xe(),t=vl();function r(i,o){return(n,s,a)=>((0,t.extendArrayMetadata)(e.HEADERS_METADATA,[{name:i,value:o}],a.value),a)}return id}var ad={},hy;function DD(){if(hy)return ad;hy=1,Object.defineProperty(ad,"__esModule",{value:!0}),ad.Redirect=t;const e=xe();function t(r="",i){return(o,n,s)=>(Reflect.defineMetadata(e.REDIRECT_METADATA,{statusCode:i,url:r},s.value),s)}return ad}var od={},vy;function kD(){if(vy)return od;vy=1,Object.defineProperty(od,"__esModule",{value:!0}),od.Sse=r;const e=xe(),t=ui();function r(i,o={[e.METHOD_METADATA]:t.RequestMethod.GET}){return(n,s,a)=>(i=i&&i.length?i:"/",Reflect.defineMetadata(e.PATH_METADATA,i,a.value),Reflect.defineMetadata(e.METHOD_METADATA,o[e.METHOD_METADATA],a.value),Reflect.defineMetadata(e.SSE_METADATA,!0,a.value),a)}return od}var my;function LD(){return my||(my=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(MD(),e),t.__exportStar(ID(),e),t.__exportStar(CD(),e),t.__exportStar(qD(),e),t.__exportStar(ND(),e),t.__exportStar(FD(),e),t.__exportStar(DD(),e),t.__exportStar(kD(),e)})(Pf)),Pf}var _y;function cg(){return _y||(_y=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(tr(),e),t.__exportStar(RD(),e),t.__exportStar(LD(),e)})(bf)),bf}var Rf={},Ai={},gy;function Ie(){if(gy)return Ai;gy=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.HttpStatus=void 0;var e;return(function(t){t[t.CONTINUE=100]="CONTINUE",t[t.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",t[t.PROCESSING=102]="PROCESSING",t[t.EARLYHINTS=103]="EARLYHINTS",t[t.OK=200]="OK",t[t.CREATED=201]="CREATED",t[t.ACCEPTED=202]="ACCEPTED",t[t.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",t[t.NO_CONTENT=204]="NO_CONTENT",t[t.RESET_CONTENT=205]="RESET_CONTENT",t[t.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",t[t.MULTI_STATUS=207]="MULTI_STATUS",t[t.ALREADY_REPORTED=208]="ALREADY_REPORTED",t[t.CONTENT_DIFFERENT=210]="CONTENT_DIFFERENT",t[t.AMBIGUOUS=300]="AMBIGUOUS",t[t.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",t[t.FOUND=302]="FOUND",t[t.SEE_OTHER=303]="SEE_OTHER",t[t.NOT_MODIFIED=304]="NOT_MODIFIED",t[t.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",t[t.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",t[t.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",t[t.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",t[t.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",t[t.CONFLICT=409]="CONFLICT",t[t.GONE=410]="GONE",t[t.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",t[t.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",t[t.PAYLOAD_TOO_LARGE=413]="PAYLOAD_TOO_LARGE",t[t.URI_TOO_LONG=414]="URI_TOO_LONG",t[t.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",t[t.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",t[t.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",t[t.I_AM_A_TEAPOT=418]="I_AM_A_TEAPOT",t[t.MISDIRECTED=421]="MISDIRECTED",t[t.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",t[t.LOCKED=423]="LOCKED",t[t.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",t[t.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",t[t.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",t[t.UNRECOVERABLE_ERROR=456]="UNRECOVERABLE_ERROR",t[t.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",t[t.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",t[t.BAD_GATEWAY=502]="BAD_GATEWAY",t[t.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",t[t.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",t[t.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",t[t.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",t[t.LOOP_DETECTED=508]="LOOP_DETECTED"})(e||(Ai.HttpStatus=e={})),Ai}var Ri={},by;function UD(){if(by)return Ri;by=1,Object.defineProperty(Ri,"__esModule",{value:!0}),Ri.ShutdownSignal=void 0;var e;return(function(t){t.SIGHUP="SIGHUP",t.SIGINT="SIGINT",t.SIGQUIT="SIGQUIT",t.SIGILL="SIGILL",t.SIGTRAP="SIGTRAP",t.SIGABRT="SIGABRT",t.SIGBUS="SIGBUS",t.SIGFPE="SIGFPE",t.SIGSEGV="SIGSEGV",t.SIGUSR2="SIGUSR2",t.SIGTERM="SIGTERM"})(e||(Ri.ShutdownSignal=e={})),Ri}var Mi={},yy;function zD(){if(yy)return Mi;yy=1,Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.VersioningType=void 0;var e;return(function(t){t[t.URI=0]="URI",t[t.HEADER=1]="HEADER",t[t.MEDIA_TYPE=2]="MEDIA_TYPE",t[t.CUSTOM=3]="CUSTOM"})(e||(Mi.VersioningType=e={})),Mi}var Ey;function _l(){return Ey||(Ey=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(ui(),e),t.__exportStar(Ie(),e),t.__exportStar(UD(),e),t.__exportStar(zD(),e)})(Rf)),Rf}var Mf={},Ii={},Ci={},ji={},xy;function ZI(){if(xy)return ji;xy=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.IntrinsicException=void 0;class e extends Error{}return ji.IntrinsicException=e,ji}var Oy;function He(){if(Oy)return Ci;Oy=1,Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.HttpException=void 0;const e=ne(),t=ZI();class r extends t.IntrinsicException{constructor(o,n,s){super(),this.response=o,this.status=n,this.options=s,this.initMessage(),this.initName(),this.initCause()}initCause(){if(this.options?.cause){this.cause=this.options.cause;return}}initMessage(){(0,e.isString)(this.response)?this.message=this.response:(0,e.isObject)(this.response)&&(0,e.isString)(this.response.message)?this.message=this.response.message:this.constructor&&(this.message=this.constructor.name.match(/[A-Z][a-z]+|[0-9]+/g)?.join(" ")??"Error")}initName(){this.name=this.constructor.name}getResponse(){return this.response}getStatus(){return this.status}static createBody(o,n,s){return o?(0,e.isString)(o)||Array.isArray(o)||(0,e.isNumber)(o)?{message:o,error:n,statusCode:s}:o:{message:n,statusCode:s}}static getDescriptionFrom(o){return(0,e.isString)(o)?o:o?.description}static getHttpExceptionOptionsFrom(o){return(0,e.isString)(o)?{}:o}static extractDescriptionAndOptionsFrom(o){const n=(0,e.isString)(o)?o:o?.description,s=(0,e.isString)(o)?{}:o;return{description:n,httpExceptionOptions:s}}}return Ci.HttpException=r,Ci}var wy;function BD(){if(wy)return Ii;wy=1,Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.BadGatewayException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Bad Gateway"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.BAD_GATEWAY),e.HttpStatus.BAD_GATEWAY,a)}}return Ii.BadGatewayException=r,Ii}var qi={},Sy;function HD(){if(Sy)return qi;Sy=1,Object.defineProperty(qi,"__esModule",{value:!0}),qi.BadRequestException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Bad Request"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.BAD_REQUEST),e.HttpStatus.BAD_REQUEST,a)}}return qi.BadRequestException=r,qi}var Ni={},Py;function VD(){if(Py)return Ni;Py=1,Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.ConflictException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Conflict"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.CONFLICT),e.HttpStatus.CONFLICT,a)}}return Ni.ConflictException=r,Ni}var Fi={},Ty;function GD(){if(Ty)return Fi;Ty=1,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.ForbiddenException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Forbidden"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.FORBIDDEN),e.HttpStatus.FORBIDDEN,a)}}return Fi.ForbiddenException=r,Fi}var Di={},Ay;function WD(){if(Ay)return Di;Ay=1,Object.defineProperty(Di,"__esModule",{value:!0}),Di.GatewayTimeoutException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Gateway Timeout"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.GATEWAY_TIMEOUT),e.HttpStatus.GATEWAY_TIMEOUT,a)}}return Di.GatewayTimeoutException=r,Di}var ki={},Ry;function ZD(){if(Ry)return ki;Ry=1,Object.defineProperty(ki,"__esModule",{value:!0}),ki.GoneException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Gone"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.GONE),e.HttpStatus.GONE,a)}}return ki.GoneException=r,ki}var Li={},My;function KD(){if(My)return Li;My=1,Object.defineProperty(Li,"__esModule",{value:!0}),Li.HttpVersionNotSupportedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="HTTP Version Not Supported"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.HTTP_VERSION_NOT_SUPPORTED),e.HttpStatus.HTTP_VERSION_NOT_SUPPORTED,a)}}return Li.HttpVersionNotSupportedException=r,Li}var Ui={},Iy;function YD(){if(Iy)return Ui;Iy=1,Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.ImATeapotException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="I'm a teapot"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.I_AM_A_TEAPOT),e.HttpStatus.I_AM_A_TEAPOT,a)}}return Ui.ImATeapotException=r,Ui}var zi={},Cy;function XD(){if(Cy)return zi;Cy=1,Object.defineProperty(zi,"__esModule",{value:!0}),zi.InternalServerErrorException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Internal Server Error"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.INTERNAL_SERVER_ERROR),e.HttpStatus.INTERNAL_SERVER_ERROR,a)}}return zi.InternalServerErrorException=r,zi}var Bi={},jy;function QD(){if(jy)return Bi;jy=1,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.MethodNotAllowedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Method Not Allowed"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.METHOD_NOT_ALLOWED),e.HttpStatus.METHOD_NOT_ALLOWED,a)}}return Bi.MethodNotAllowedException=r,Bi}var Hi={},qy;function JD(){if(qy)return Hi;qy=1,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.MisdirectedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Misdirected"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.MISDIRECTED),e.HttpStatus.MISDIRECTED,a)}}return Hi.MisdirectedException=r,Hi}var Vi={},Ny;function $D(){if(Ny)return Vi;Ny=1,Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.NotAcceptableException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Not Acceptable"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.NOT_ACCEPTABLE),e.HttpStatus.NOT_ACCEPTABLE,a)}}return Vi.NotAcceptableException=r,Vi}var Gi={},Fy;function ek(){if(Fy)return Gi;Fy=1,Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.NotFoundException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Not Found"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.NOT_FOUND),e.HttpStatus.NOT_FOUND,a)}}return Gi.NotFoundException=r,Gi}var Wi={},Dy;function tk(){if(Dy)return Wi;Dy=1,Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.NotImplementedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Not Implemented"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.NOT_IMPLEMENTED),e.HttpStatus.NOT_IMPLEMENTED,a)}}return Wi.NotImplementedException=r,Wi}var Zi={},ky;function rk(){if(ky)return Zi;ky=1,Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.PayloadTooLargeException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Payload Too Large"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.PAYLOAD_TOO_LARGE),e.HttpStatus.PAYLOAD_TOO_LARGE,a)}}return Zi.PayloadTooLargeException=r,Zi}var Ki={},Ly;function nk(){if(Ly)return Ki;Ly=1,Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.PreconditionFailedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Precondition Failed"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.PRECONDITION_FAILED),e.HttpStatus.PRECONDITION_FAILED,a)}}return Ki.PreconditionFailedException=r,Ki}var Yi={},Uy;function ik(){if(Uy)return Yi;Uy=1,Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.RequestTimeoutException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Request Timeout"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.REQUEST_TIMEOUT),e.HttpStatus.REQUEST_TIMEOUT,a)}}return Yi.RequestTimeoutException=r,Yi}var Xi={},zy;function ak(){if(zy)return Xi;zy=1,Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.ServiceUnavailableException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Service Unavailable"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.SERVICE_UNAVAILABLE),e.HttpStatus.SERVICE_UNAVAILABLE,a)}}return Xi.ServiceUnavailableException=r,Xi}var Qi={},By;function ok(){if(By)return Qi;By=1,Object.defineProperty(Qi,"__esModule",{value:!0}),Qi.UnauthorizedException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Unauthorized"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.UNAUTHORIZED),e.HttpStatus.UNAUTHORIZED,a)}}return Qi.UnauthorizedException=r,Qi}var Ji={},Hy;function sk(){if(Hy)return Ji;Hy=1,Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.UnprocessableEntityException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Unprocessable Entity"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.UNPROCESSABLE_ENTITY),e.HttpStatus.UNPROCESSABLE_ENTITY,a)}}return Ji.UnprocessableEntityException=r,Ji}var $i={},Vy;function ck(){if(Vy)return $i;Vy=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.UnsupportedMediaTypeException=void 0;const e=Ie(),t=He();class r extends t.HttpException{constructor(o,n="Unsupported Media Type"){const{description:s,httpExceptionOptions:a}=t.HttpException.extractDescriptionAndOptionsFrom(n);super(t.HttpException.createBody(o,s,e.HttpStatus.UNSUPPORTED_MEDIA_TYPE),e.HttpStatus.UNSUPPORTED_MEDIA_TYPE,a)}}return $i.UnsupportedMediaTypeException=r,$i}var Gy;function ug(){return Gy||(Gy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(BD(),e),t.__exportStar(HD(),e),t.__exportStar(VD(),e),t.__exportStar(GD(),e),t.__exportStar(WD(),e),t.__exportStar(ZD(),e),t.__exportStar(KD(),e),t.__exportStar(He(),e),t.__exportStar(YD(),e),t.__exportStar(XD(),e),t.__exportStar(ZI(),e),t.__exportStar(QD(),e),t.__exportStar(JD(),e),t.__exportStar($D(),e),t.__exportStar(ek(),e),t.__exportStar(tk(),e),t.__exportStar(rk(),e),t.__exportStar(nk(),e),t.__exportStar(ik(),e),t.__exportStar(ak(),e),t.__exportStar(ok(),e),t.__exportStar(sk(),e),t.__exportStar(ck(),e)})(Mf)),Mf}var If={},ea={},Cf={},In={},jf={},Wy;function rr(){return Wy||(Wy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.yellow=e.clc=e.isColorAllowed=void 0;const t=()=>!process.env.NO_COLOR;e.isColorAllowed=t;const r=i=>o=>(0,e.isColorAllowed)()?i(o):o;e.clc={bold:r(i=>`\x1B[1m${i}\x1B[0m`),green:r(i=>`\x1B[32m${i}\x1B[39m`),yellow:r(i=>`\x1B[33m${i}\x1B[39m`),red:r(i=>`\x1B[31m${i}\x1B[39m`),magentaBright:r(i=>`\x1B[95m${i}\x1B[39m`),cyanBright:r(i=>`\x1B[96m${i}\x1B[39m`)},e.yellow=r(i=>`\x1B[38;5;3m${i}\x1B[39m`)})(jf)),jf}var sd={},Zy;function KI(){if(Zy)return sd;Zy=1,Object.defineProperty(sd,"__esModule",{value:!0}),sd.isLogLevelEnabled=t;const e={verbose:0,debug:1,log:2,warn:3,error:4,fatal:5};function t(r,i){if(!i||Array.isArray(i)&&i?.length===0)return!1;if(i.includes(r))return!0;const o=i.map(s=>e[s]).sort((s,a)=>a-s)?.[0];return e[r]>=o}return sd}var Ky;function lg(){if(Ky)return In;Ky=1;var e;Object.defineProperty(In,"__esModule",{value:!0}),In.ConsoleLogger=void 0;const t=ae(),r=si,i=tr(),o=rr(),n=ne(),s=KI(),a=5,c=["log","error","warn","debug","verbose","fatal"],u=new Intl.DateTimeFormat(void 0,{year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",day:"2-digit",month:"2-digit"});let p=e=class{constructor(d,f){let[h,m]=(0,n.isString)(d)?[d,f]:f?[void 0,f]:[d?.context,d];m=m??{},m.logLevels??=c,m.colors??=m.colors??(m.json?!1:(0,o.isColorAllowed)()),m.prefix??="Nest",this.options=m,this.inspectOptions=this.getInspectOptions(),h&&(this.context=h,this.originalContext=h)}log(d,...f){if(!this.isLevelEnabled("log"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"log")}error(d,...f){if(!this.isLevelEnabled("error"))return;const{messages:h,context:m,stack:v}=this.getContextAndStackAndMessagesToPrint([d,...f]);this.printMessages(h,m,"error","stderr",v),this.printStackTrace(v)}warn(d,...f){if(!this.isLevelEnabled("warn"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"warn")}debug(d,...f){if(!this.isLevelEnabled("debug"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"debug")}verbose(d,...f){if(!this.isLevelEnabled("verbose"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"verbose")}fatal(d,...f){if(!this.isLevelEnabled("fatal"))return;const{messages:h,context:m}=this.getContextAndMessagesToPrint([d,...f]);this.printMessages(h,m,"fatal")}setLogLevels(d){this.options||(this.options={}),this.options.logLevels=d}setContext(d){this.context=d}resetContext(){this.context=this.originalContext}isLevelEnabled(d){const f=this.options?.logLevels;return(0,s.isLogLevelEnabled)(d,f)}getTimestamp(){return u.format(Date.now())}printMessages(d,f="",h="log",m,v){d.forEach(g=>{if(this.options.json){this.printAsJson(g,{context:f,logLevel:h,writeStreamType:m,errorStack:v});return}const _=this.formatPid(process.pid),b=this.formatContext(f),y=this.updateAndGetTimestampDiff(),E=h.toUpperCase().padStart(7," "),x=this.formatMessage(h,g,_,E,b,y);this.options.forceConsole?m==="stderr"?console.error(x.trim()):console.log(x.trim()):process[m??"stdout"].write(x)})}printAsJson(d,f){const h=this.getJsonLogObject(d,f),m=!this.options.colors&&this.inspectOptions.compact===!0?JSON.stringify(h,this.stringifyReplacer):(0,r.inspect)(h,this.inspectOptions);this.options.forceConsole?f.writeStreamType==="stderr"?console.error(m):console.log(m):process[f.writeStreamType??"stdout"].write(`${m}
17
4
  `)}getJsonLogObject(d,f){const h={level:f.logLevel,pid:process.pid,timestamp:Date.now(),message:d};return f.context&&(h.context=f.context),f.errorStack&&(h.stack=f.errorStack),h}formatPid(d){return`[${this.options.prefix}] ${d} - `}formatContext(d){return d?(d=`[${d}] `,this.options.colors?(0,o.yellow)(d):d):""}formatMessage(d,f,h,m,v,g){const _=this.stringifyMessage(f,d);return h=this.colorize(h,d),m=this.colorize(m,d),`${h}${this.getTimestamp()} ${m} ${v}${_}${g}
18
5
  `}stringifyMessage(d,f){if((0,n.isFunction)(d))return Function.prototype.toString.call(d).startsWith("class ")?this.stringifyMessage(d.name,f):this.stringifyMessage(d(),f);if(typeof d=="string")return this.colorize(d,f);const h=(0,r.inspect)(d,this.inspectOptions);return(0,n.isPlainObject)(d)?`Object(${Object.keys(d).length}) ${h}`:Array.isArray(d)?`Array(${d.length}) ${h}`:h}colorize(d,f){return!this.options.colors||this.options.json?d:this.getColorByLogLevel(f)(d)}printStackTrace(d){!d||this.options.json||(this.options.forceConsole?console.error(d):process.stderr.write(`${d}
19
6
  `))}updateAndGetTimestampDiff(){const f=e.lastTimestampAt&&this.options?.timestamp?this.formatTimestampDiff(Date.now()-e.lastTimestampAt):"";return e.lastTimestampAt=Date.now(),f}formatTimestampDiff(d){const f=` +${d}ms`;return this.options.colors?(0,o.yellow)(f):f}getInspectOptions(){let d=this.options.breakLength;typeof d>"u"&&(d=this.options.colors?this.options.compact?1/0:void 0:this.options.compact===!1?void 0:1/0);const f={depth:this.options.depth??a,sorted:this.options.sorted,showHidden:this.options.showHidden,compact:this.options.compact??!!this.options.json,colors:this.options.colors,breakLength:d};return this.options.maxArrayLength&&(f.maxArrayLength=this.options.maxArrayLength),this.options.maxStringLength&&(f.maxStringLength=this.options.maxStringLength),f}stringifyReplacer(d,f){return typeof f=="bigint"||typeof f=="symbol"?f.toString():f instanceof Map||f instanceof Set||f instanceof Error?`${(0,r.inspect)(f,this.inspectOptions)}`:f}getContextAndMessagesToPrint(d){if(d?.length<=1)return{messages:d,context:this.context};const f=d[d.length-1];return(0,n.isString)(f)?{context:f,messages:d.slice(0,d.length-1)}:{messages:d,context:this.context}}getContextAndStackAndMessagesToPrint(d){if(d.length===2)return this.isStackFormat(d[1])?{messages:[d[0]],stack:d[1],context:this.context}:{messages:[d[0]],context:d[1]};const{messages:f,context:h}=this.getContextAndMessagesToPrint(d);if(f?.length<=1)return{messages:f,context:h};const m=f[f.length-1];return!(0,n.isString)(m)&&!(0,n.isUndefined)(m)?{messages:f,context:h}:{stack:m,messages:f.slice(0,f.length-1),context:h}}isStackFormat(d){return!(0,n.isString)(d)&&!(0,n.isUndefined)(d)?!1:/^(.)+\n\s+at .+:\d+:\d+/.test(d)}getColorByLogLevel(d){switch(d){case"debug":return o.clc.magentaBright;case"warn":return o.clc.yellow;case"error":return o.clc.red;case"verbose":return o.clc.cyanBright;case"fatal":return o.clc.bold;default:return o.clc.green}}};return In.ConsoleLogger=p,In.ConsoleLogger=p=e=t.__decorate([(0,i.Injectable)(),t.__param(0,(0,i.Optional)()),t.__param(1,(0,i.Optional)()),t.__metadata("design:paramtypes",[Object,Object])],p),In}var Jt={},qf={},cd={},ud={},Yy;function YI(){if(Yy)return ud;Yy=1,Object.defineProperty(ud,"__esModule",{value:!0}),ud.isLogLevel=t;const e=xt();function t(r){return e.LOG_LEVELS.includes(r)}return ud}var Xy;function XI(){if(Xy)return cd;Xy=1,Object.defineProperty(cd,"__esModule",{value:!0}),cd.filterLogLevels=r;const e=xt(),t=YI();function r(i=""){const o=i.replaceAll(" ","").toLowerCase();if(o[0]===">"){const n=o[1]==="=",s=e.LOG_LEVELS.indexOf(o.substring(n?2:1));if(s===-1)throw new Error(`parse error (unknown log level): ${o}`);return e.LOG_LEVELS.slice(n?s:s+1)}else if(o.includes(","))return o.split(",").filter(t.isLogLevel);return(0,t.isLogLevel)(o)?[o]:e.LOG_LEVELS}return cd}var Qy;function uk(){return Qy||(Qy=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(XI(),e),t.__exportStar(KI(),e),t.__exportStar(YI(),e)})(qf)),qf}var Jy;function xt(){if(Jy)return Jt;Jy=1;var e;Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.Logger=Jt.LOG_LEVELS=void 0;const t=ae(),r=tr(),i=ne(),o=lg(),n=uk();Jt.LOG_LEVELS=["verbose","debug","log","warn","error","fatal"];const s=new o.ConsoleLogger,a=new Intl.DateTimeFormat(void 0,{year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",day:"2-digit",month:"2-digit"});let c=e=class{constructor(p,l={}){this.context=p,this.options=l}get localInstance(){return e.staticInstanceRef===s?this.registerLocalInstanceRef():e.staticInstanceRef instanceof e&&Object.getPrototypeOf(e.staticInstanceRef).constructor===e?this.registerLocalInstanceRef():e.staticInstanceRef}error(p,...l){l=this.context?(l.length?l:[void 0]).concat(this.context):l,this.localInstance?.error(p,...l)}log(p,...l){l=this.context?l.concat(this.context):l,this.localInstance?.log(p,...l)}warn(p,...l){l=this.context?l.concat(this.context):l,this.localInstance?.warn(p,...l)}debug(p,...l){l=this.context?l.concat(this.context):l,this.localInstance?.debug?.(p,...l)}verbose(p,...l){l=this.context?l.concat(this.context):l,this.localInstance?.verbose?.(p,...l)}fatal(p,...l){l=this.context?l.concat(this.context):l,this.localInstance?.fatal?.(p,...l)}static error(p,...l){this.staticInstanceRef?.error(p,...l)}static log(p,...l){this.staticInstanceRef?.log(p,...l)}static warn(p,...l){this.staticInstanceRef?.warn(p,...l)}static debug(p,...l){this.staticInstanceRef?.debug?.(p,...l)}static verbose(p,...l){this.staticInstanceRef?.verbose?.(p,...l)}static fatal(p,...l){this.staticInstanceRef?.fatal?.(p,...l)}static flush(){this.isBufferAttached=!1,this.logBuffer.forEach(p=>p.methodRef(...p.arguments)),this.logBuffer=[]}static attachBuffer(){this.isBufferAttached=!0}static detachBuffer(){this.isBufferAttached=!1}static getTimestamp(){return a.format(Date.now())}static overrideLogger(p){if(Array.isArray(p))return e.logLevels=p,this.staticInstanceRef?.setLogLevels?.(p);if((0,i.isObject)(p)){if(p instanceof e&&p.constructor!==e){const l='Using the "extends Logger" instruction is not allowed in Nest v9. Please, use "extends ConsoleLogger" instead.';throw this.staticInstanceRef?.error(l),new Error(l)}this.staticInstanceRef=p}else this.staticInstanceRef=void 0}static isLevelEnabled(p){const l=e.logLevels;return(0,n.isLogLevelEnabled)(p,l)}registerLocalInstanceRef(){return this.localInstanceRef?this.localInstanceRef:(this.localInstanceRef=new o.ConsoleLogger(this.context,{timestamp:this.options?.timestamp,logLevels:e.logLevels}),this.localInstanceRef)}};return Jt.Logger=c,c.logBuffer=new Array,c.staticInstanceRef=s,c.WrapBuffer=(u,p,l)=>{const d=l.value;l.value=function(...f){if(e.isBufferAttached){e.logBuffer.push({methodRef:d.bind(this),arguments:f});return}return d.call(this,...f)}},t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c.prototype,"error",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c.prototype,"log",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c.prototype,"warn",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c.prototype,"debug",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c.prototype,"verbose",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c.prototype,"fatal",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c,"error",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c,"log",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c,"warn",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c,"debug",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c,"verbose",null),t.__decorate([c.WrapBuffer,t.__metadata("design:type",Function),t.__metadata("design:paramtypes",[Object,Object]),t.__metadata("design:returntype",void 0)],c,"fatal",null),Jt.Logger=c=e=t.__decorate([(0,r.Injectable)(),t.__param(0,(0,r.Optional)()),t.__param(1,(0,r.Optional)()),t.__metadata("design:paramtypes",[String,Object])],c),Jt}var $y;function QI(){return $y||($y=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(lg(),e),t.__exportStar(xt(),e),t.__exportStar(XI(),e)})(Cf)),Cf}var eE;function lk(){if(eE)return ea;eE=1,Object.defineProperty(ea,"__esModule",{value:!0}),ea.StreamableFile=void 0;const e=lp,t=si,r=_l(),i=QI(),o=ne();class n{constructor(a,c={}){this.options=c,this.logger=new i.Logger("StreamableFile"),this.handleError=(u,p)=>{if(!p.destroyed){if(p.headersSent){p.end();return}p.statusCode=r.HttpStatus.BAD_REQUEST,p.send(u.message)}},this.logError=u=>{this.logger.error(u)},t.types.isUint8Array(a)?(this.stream=new e.Readable,this.stream.push(a),this.stream.push(null),this.options.length??=a.length):a.pipe&&(0,o.isFunction)(a.pipe)&&(this.stream=a)}getStream(){return this.stream}getHeaders(){const{type:a="application/octet-stream",disposition:c=void 0,length:u=void 0}=this.options;return{type:a,disposition:c,length:u}}get errorHandler(){return this.handleError}setErrorHandler(a){return this.handleError=a,this}get errorLogger(){return this.logError}setErrorLogger(a){return this.logError=a,this}}return ea.StreamableFile=n,ea}var tE;function JI(){return tE||(tE=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(lk(),e)})(If)),If}var Nf={},Ff={},rE;function dk(){return rE||(rE=1,Object.defineProperty(Ff,"__esModule",{value:!0})),Ff}var Df={},nE;function pk(){return nE||(nE=1,Object.defineProperty(Df,"__esModule",{value:!0})),Df}var kf={},iE;function fk(){return iE||(iE=1,Object.defineProperty(kf,"__esModule",{value:!0})),kf}var Lf={},aE;function hk(){return aE||(aE=1,Object.defineProperty(Lf,"__esModule",{value:!0})),Lf}var Uf={},oE;function vk(){return oE||(oE=1,Object.defineProperty(Uf,"__esModule",{value:!0})),Uf}var zf={},sE;function mk(){return sE||(sE=1,Object.defineProperty(zf,"__esModule",{value:!0})),zf}var Bf={},cE;function _k(){return cE||(cE=1,Object.defineProperty(Bf,"__esModule",{value:!0})),Bf}var Hf={},uE;function gk(){return uE||(uE=1,Object.defineProperty(Hf,"__esModule",{value:!0})),Hf}var Vf={},lE;function bk(){return lE||(lE=1,Object.defineProperty(Vf,"__esModule",{value:!0})),Vf}var Gf={},dE;function yk(){return dE||(dE=1,Object.defineProperty(Gf,"__esModule",{value:!0})),Gf}var Wf={},pE;function Ek(){return pE||(pE=1,Object.defineProperty(Wf,"__esModule",{value:!0})),Wf}var Zf={},fE;function xk(){return fE||(fE=1,Object.defineProperty(Zf,"__esModule",{value:!0})),Zf}var Kf={},hE;function Ok(){return hE||(hE=1,Object.defineProperty(Kf,"__esModule",{value:!0})),Kf}var Yf={},vE;function wk(){return vE||(vE=1,Object.defineProperty(Yf,"__esModule",{value:!0})),Yf}var Xf={},mE;function Sk(){return mE||(mE=1,Object.defineProperty(Xf,"__esModule",{value:!0})),Xf}var Qf={},Jf={},_E;function Pk(){return _E||(_E=1,Object.defineProperty(Jf,"__esModule",{value:!0})),Jf}var $f={},gE;function Tk(){return gE||(gE=1,Object.defineProperty($f,"__esModule",{value:!0})),$f}var eh={},bE;function Ak(){return bE||(bE=1,Object.defineProperty(eh,"__esModule",{value:!0})),eh}var th={},yE;function Rk(){return yE||(yE=1,Object.defineProperty(th,"__esModule",{value:!0})),th}var rh={},EE;function Mk(){return EE||(EE=1,Object.defineProperty(rh,"__esModule",{value:!0})),rh}var xE;function Ik(){return xE||(xE=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(Pk(),e),t.__exportStar(Tk(),e),t.__exportStar(Ak(),e),t.__exportStar(Rk(),e),t.__exportStar(Mk(),e)})(Qf)),Qf}var nh={},ih={},OE;function Ck(){return OE||(OE=1,Object.defineProperty(ih,"__esModule",{value:!0})),ih}var ah={},wE;function jk(){return wE||(wE=1,Object.defineProperty(ah,"__esModule",{value:!0})),ah}var oh={},SE;function qk(){return SE||(SE=1,Object.defineProperty(oh,"__esModule",{value:!0})),oh}var sh={},PE;function Nk(){return PE||(PE=1,Object.defineProperty(sh,"__esModule",{value:!0})),sh}var ch={},TE;function Fk(){return TE||(TE=1,Object.defineProperty(ch,"__esModule",{value:!0})),ch}var AE;function Dk(){return AE||(AE=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(Ck(),e),t.__exportStar(jk(),e),t.__exportStar(qk(),e),t.__exportStar(Nk(),e),t.__exportStar(Fk(),e)})(nh)),nh}var uh={},RE;function kk(){return RE||(RE=1,Object.defineProperty(uh,"__esModule",{value:!0})),uh}var lh={},ME;function Lk(){return ME||(ME=1,Object.defineProperty(lh,"__esModule",{value:!0})),lh}var dh={},ph={},IE;function Uk(){return IE||(IE=1,Object.defineProperty(ph,"__esModule",{value:!0})),ph}var fh={},CE;function zk(){return CE||(CE=1,Object.defineProperty(fh,"__esModule",{value:!0})),fh}var hh={},jE;function Bk(){return jE||(jE=1,Object.defineProperty(hh,"__esModule",{value:!0})),hh}var vh={},qE;function Hk(){return qE||(qE=1,Object.defineProperty(vh,"__esModule",{value:!0})),vh}var NE;function Vk(){return NE||(NE=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(Uk(),e),t.__exportStar(zk(),e),t.__exportStar(Bk(),e),t.__exportStar(Hk(),e)})(dh)),dh}var mh={},_h={},FE;function Gk(){return FE||(FE=1,Object.defineProperty(_h,"__esModule",{value:!0})),_h}var gh={},DE;function Wk(){return DE||(DE=1,Object.defineProperty(gh,"__esModule",{value:!0})),gh}var bh={},kE;function Zk(){return kE||(kE=1,Object.defineProperty(bh,"__esModule",{value:!0})),bh}var yh={},LE;function Kk(){return LE||(LE=1,Object.defineProperty(yh,"__esModule",{value:!0})),yh}var Eh={},UE;function Yk(){return UE||(UE=1,Object.defineProperty(Eh,"__esModule",{value:!0})),Eh}var xh={},zE;function Xk(){return zE||(zE=1,Object.defineProperty(xh,"__esModule",{value:!0})),xh}var Oh={},BE;function Qk(){return BE||(BE=1,Object.defineProperty(Oh,"__esModule",{value:!0})),Oh}var wh={},HE;function Jk(){return HE||(HE=1,Object.defineProperty(wh,"__esModule",{value:!0})),wh}var VE;function $k(){return VE||(VE=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(Gk(),e),t.__exportStar(Wk(),e),t.__exportStar(Zk(),e),t.__exportStar(Kk(),e),t.__exportStar(Yk(),e),t.__exportStar(Xk(),e),t.__exportStar(Qk(),e),t.__exportStar(Jk(),e)})(mh)),mh}var Sh={},GE;function eL(){return GE||(GE=1,Object.defineProperty(Sh,"__esModule",{value:!0})),Sh}var Ph={},WE;function tL(){return WE||(WE=1,Object.defineProperty(Ph,"__esModule",{value:!0})),Ph}var Th={},ZE;function rL(){return ZE||(ZE=1,Object.defineProperty(Th,"__esModule",{value:!0})),Th}var Ah={},KE;function nL(){return KE||(KE=1,Object.defineProperty(Ah,"__esModule",{value:!0})),Ah}var ta={},YE;function iL(){if(YE)return ta;YE=1,Object.defineProperty(ta,"__esModule",{value:!0}),ta.Scope=void 0;var e;return(function(t){t[t.DEFAULT=0]="DEFAULT",t[t.TRANSIENT=1]="TRANSIENT",t[t.REQUEST=2]="REQUEST"})(e||(ta.Scope=e={})),ta}var Rh={},XE;function aL(){return XE||(XE=1,Object.defineProperty(Rh,"__esModule",{value:!0})),Rh}var ra={},QE;function $I(){return QE||(QE=1,Object.defineProperty(ra,"__esModule",{value:!0}),ra.VERSION_NEUTRAL=void 0,ra.VERSION_NEUTRAL=Symbol("VERSION_NEUTRAL")),ra}var Mh={},JE;function oL(){return JE||(JE=1,Object.defineProperty(Mh,"__esModule",{value:!0})),Mh}var $E;function hp(){return $E||($E=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(dk(),e),t.__exportStar(pk(),e),t.__exportStar(fk(),e),t.__exportStar(hk(),e),t.__exportStar(vk(),e),t.__exportStar(mk(),e),t.__exportStar(_k(),e),t.__exportStar(gk(),e),t.__exportStar(bk(),e),t.__exportStar(yk(),e),t.__exportStar(Ek(),e),t.__exportStar(xk(),e),t.__exportStar(Ok(),e),t.__exportStar(wk(),e),t.__exportStar(Sk(),e),t.__exportStar(Ik(),e),t.__exportStar(Dk(),e),t.__exportStar(kk(),e),t.__exportStar(Lk(),e),t.__exportStar(Vk(),e),t.__exportStar($k(),e),t.__exportStar(eL(),e),t.__exportStar(tL(),e),t.__exportStar(rL(),e),t.__exportStar(nL(),e),t.__exportStar(iL(),e),t.__exportStar(aL(),e),t.__exportStar($I(),e),t.__exportStar(oL(),e)})(Nf)),Nf}var Ih={},na={},ia={},ex;function nr(){if(ex)return ia;ex=1,Object.defineProperty(ia,"__esModule",{value:!0}),ia.randomStringGenerator=void 0;const e=dn(),t=()=>(0,e.uid)(21);return ia.randomStringGenerator=t,ia}var lt={},tx;function sL(){return tx||(tx=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.ASYNC_OPTIONS_METADATA_KEYS=lt.CONFIGURABLE_MODULE_ID=lt.ASYNC_METHOD_SUFFIX=lt.DEFAULT_FACTORY_CLASS_METHOD_KEY=lt.DEFAULT_METHOD_KEY=void 0,lt.DEFAULT_METHOD_KEY="register",lt.DEFAULT_FACTORY_CLASS_METHOD_KEY="create",lt.ASYNC_METHOD_SUFFIX="Async",lt.CONFIGURABLE_MODULE_ID="CONFIGURABLE_MODULE_ID",lt.ASYNC_OPTIONS_METADATA_KEYS=["useFactory","useClass","useExisting","inject","imports","provideInjectionTokensFrom"]),lt}var Ch={},ld={},rx;function cL(){if(rx)return ld;rx=1,Object.defineProperty(ld,"__esModule",{value:!0}),ld.generateOptionsInjectionToken=t;const e=nr();function t(){return`CONFIGURABLE_MODULE_OPTIONS[${(0,e.randomStringGenerator)()}]`}return ld}var dd={},nx;function uL(){if(nx)return dd;nx=1,Object.defineProperty(dd,"__esModule",{value:!0}),dd.getInjectionProviders=i;const e=ne();function t(o){return!(0,e.isUndefined)(o.token)&&!(0,e.isUndefined)(o.optional)&&!o.prototype}const r=o=>t(o)?o.token:o;function i(o,n){const s=[];let a=n.map(r);for(;a.length>0;){const c=(o??[]).filter(u=>!s.includes(u)&&(a.includes(u)||a.includes(u?.provide)));s.push(...c),a=c.filter(u=>u?.inject).flatMap(u=>u.inject).map(r)}return s}return dd}var ix;function lL(){return ix||(ix=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(cL(),e),t.__exportStar(uL(),e)})(Ch)),Ch}var ax;function dL(){if(ax)return na;ax=1,Object.defineProperty(na,"__esModule",{value:!0}),na.ConfigurableModuleBuilder=void 0;const e=xt(),t=nr(),r=sL(),i=lL();class o{constructor(s={},a){this.options=s,this.logger=new e.Logger(o.name),a&&(this.staticMethodKey=a.staticMethodKey,this.factoryClassMethodKey=a.factoryClassMethodKey,this.transformModuleDefinition=a.transformModuleDefinition,this.extras=a.extras)}setExtras(s,a=c=>c){const c=new o(this.options,this);return c.extras=s,c.transformModuleDefinition=a,c}setClassMethodName(s){const a=new o(this.options,this);return a.staticMethodKey=s,a}setFactoryMethodName(s){const a=new o(this.options,this);return a.factoryClassMethodKey=s,a}build(){return this.staticMethodKey??=r.DEFAULT_METHOD_KEY,this.factoryClassMethodKey??=r.DEFAULT_FACTORY_CLASS_METHOD_KEY,this.options.optionsInjectionToken??=this.options.moduleName?this.constructInjectionTokenString():(0,i.generateOptionsInjectionToken)(),this.transformModuleDefinition??=s=>s,{ConfigurableModuleClass:this.createConfigurableModuleCls(),MODULE_OPTIONS_TOKEN:this.options.optionsInjectionToken,ASYNC_OPTIONS_TYPE:this.createTypeProxy("ASYNC_OPTIONS_TYPE"),OPTIONS_TYPE:this.createTypeProxy("OPTIONS_TYPE")}}constructInjectionTokenString(){return`${this.options.moduleName.trim().split(/(?=[A-Z])/).join("_").toUpperCase()}_MODULE_OPTIONS`}createConfigurableModuleCls(){const s=this,a=this.staticMethodKey+r.ASYNC_METHOD_SUFFIX;class c{static[s.staticMethodKey](p){const l=[{provide:s.options.optionsInjectionToken,useValue:this.omitExtras(p,s.extras)}];return s.options.alwaysTransient&&l.push({provide:r.CONFIGURABLE_MODULE_ID,useValue:(0,t.randomStringGenerator)()}),s.transformModuleDefinition({module:this,providers:l},{...s.extras,...p})}static[a](p){const l=this.createAsyncProviders(p);return s.options.alwaysTransient&&l.push({provide:r.CONFIGURABLE_MODULE_ID,useValue:(0,t.randomStringGenerator)()}),s.transformModuleDefinition({module:this,imports:p.imports||[],providers:l},{...s.extras,...this.extractExtrasFromAsyncOptions(p,s.extras)})}static omitExtras(p,l){if(!l)return p;const d={},f=Object.keys(l);return Object.keys(p).filter(h=>!f.includes(h)).forEach(h=>{d[h]=p[h]}),d}static extractExtrasFromAsyncOptions(p,l){if(!l)return{};const d={};return Object.keys(p).filter(f=>!r.ASYNC_OPTIONS_METADATA_KEYS.includes(f)).forEach(f=>{d[f]=p[f]}),d}static createAsyncProviders(p){return p.useExisting||p.useFactory?p.inject&&p.provideInjectionTokensFrom?[this.createAsyncOptionsProvider(p),...(0,i.getInjectionProviders)(p.provideInjectionTokensFrom,p.inject)]:[this.createAsyncOptionsProvider(p)]:[this.createAsyncOptionsProvider(p),{provide:p.useClass,useClass:p.useClass}]}static createAsyncOptionsProvider(p){return p.useFactory?{provide:s.options.optionsInjectionToken,useFactory:p.useFactory,inject:p.inject||[]}:{provide:s.options.optionsInjectionToken,useFactory:async l=>await l[s.factoryClassMethodKey](),inject:[p.useExisting||p.useClass]}}}return c}createTypeProxy(s){return new Proxy({},{get:()=>{throw new Error(`"${s}" is not supposed to be used as a value.`)}})}}return na.ConfigurableModuleBuilder=o,na}var jh={},qh={},ox;function pL(){return ox||(ox=1,Object.defineProperty(qh,"__esModule",{value:!0})),qh}var Nh={},sx;function fL(){return sx||(sx=1,Object.defineProperty(Nh,"__esModule",{value:!0})),Nh}var Fh={},cx;function hL(){return cx||(cx=1,Object.defineProperty(Fh,"__esModule",{value:!0})),Fh}var ux;function vL(){return ux||(ux=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(pL(),e),t.__exportStar(fL(),e),t.__exportStar(hL(),e)})(jh)),jh}var lx;function mL(){return lx||(lx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(dL(),e),t.__exportStar(vL(),e)})(Ih)),Ih}var Dh={},Cn={},dx;function _L(){if(dx)return Cn;dx=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.DefaultValuePipe=void 0;const e=ae(),t=pn(),r=ne();let i=class{constructor(n){this.defaultValue=n}transform(n,s){return(0,r.isNil)(n)||(0,r.isNumber)(n)&&isNaN(n)?this.defaultValue:n}};return Cn.DefaultValuePipe=i,Cn.DefaultValuePipe=i=e.__decorate([(0,t.Injectable)(),e.__metadata("design:paramtypes",[Object])],i),Cn}var kh={},aa={},oa={},px;function dg(){if(px)return oa;px=1,Object.defineProperty(oa,"__esModule",{value:!0}),oa.FileValidator=void 0;class e{constructor(r){this.validationOptions=r}}return oa.FileValidator=e,oa}var Lh,fx;function gL(){return fx||(fx=1,Lh={loadEsm:e=>import(e)}),Lh}var hx;function eC(){if(hx)return aa;hx=1,Object.defineProperty(aa,"__esModule",{value:!0}),aa.FileTypeValidator=void 0;const e=dg(),t=gL();class r extends e.FileValidator{buildErrorMessage(o){const n=this.validationOptions.fileType;if(o?.mimetype){const s=`Validation failed (current file type is ${o.mimetype}, expected type is ${n})`;return this.validationOptions.fallbackToMimetype?`${s} - magic number detection failed, used mimetype fallback`:s}return`Validation failed (expected type is ${n})`}async isValid(o){if(!this.validationOptions)return!0;const n=!!o&&"mimetype"in o;if(this.validationOptions.skipMagicNumbersValidation)return n&&!!o.mimetype.match(this.validationOptions.fileType);if(!n||!o.buffer)return!1;try{const{fileTypeFromBuffer:s}=await(0,t.loadEsm)("file-type"),a=await s(o.buffer);return a?!!a.mime.match(this.validationOptions.fileType):this.validationOptions.fallbackToMimetype?!!o.mimetype.match(this.validationOptions.fileType):!1}catch{return!1}}}return aa.FileTypeValidator=r,aa}var sa={},vx;function tC(){if(vx)return sa;vx=1,Object.defineProperty(sa,"__esModule",{value:!0}),sa.MaxFileSizeValidator=void 0;const e=dg();class t extends e.FileValidator{buildErrorMessage(i){return"message"in this.validationOptions?typeof this.validationOptions.message=="function"?this.validationOptions.message(this.validationOptions.maxSize):this.validationOptions.message:i?.size?`Validation failed (current file size is ${i.size}, expected size is less than ${this.validationOptions.maxSize})`:`Validation failed (expected size is less than ${this.validationOptions.maxSize})`}isValid(i){return!this.validationOptions||!i?!0:"size"in i&&i.size<this.validationOptions.maxSize}}return sa.MaxFileSizeValidator=t,sa}var Uh={},mx;function bL(){return mx||(mx=1,Object.defineProperty(Uh,"__esModule",{value:!0})),Uh}var jn={},ca={},_x;function Xt(){if(_x)return ca;_x=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.HttpErrorByCode=void 0;const e=_l(),t=ug();return ca.HttpErrorByCode={[e.HttpStatus.BAD_GATEWAY]:t.BadGatewayException,[e.HttpStatus.BAD_REQUEST]:t.BadRequestException,[e.HttpStatus.CONFLICT]:t.ConflictException,[e.HttpStatus.FORBIDDEN]:t.ForbiddenException,[e.HttpStatus.GATEWAY_TIMEOUT]:t.GatewayTimeoutException,[e.HttpStatus.GONE]:t.GoneException,[e.HttpStatus.I_AM_A_TEAPOT]:t.ImATeapotException,[e.HttpStatus.INTERNAL_SERVER_ERROR]:t.InternalServerErrorException,[e.HttpStatus.METHOD_NOT_ALLOWED]:t.MethodNotAllowedException,[e.HttpStatus.NOT_ACCEPTABLE]:t.NotAcceptableException,[e.HttpStatus.NOT_FOUND]:t.NotFoundException,[e.HttpStatus.NOT_IMPLEMENTED]:t.NotImplementedException,[e.HttpStatus.PAYLOAD_TOO_LARGE]:t.PayloadTooLargeException,[e.HttpStatus.PRECONDITION_FAILED]:t.PreconditionFailedException,[e.HttpStatus.REQUEST_TIMEOUT]:t.RequestTimeoutException,[e.HttpStatus.SERVICE_UNAVAILABLE]:t.ServiceUnavailableException,[e.HttpStatus.UNAUTHORIZED]:t.UnauthorizedException,[e.HttpStatus.UNPROCESSABLE_ENTITY]:t.UnprocessableEntityException,[e.HttpStatus.UNSUPPORTED_MEDIA_TYPE]:t.UnsupportedMediaTypeException},ca}var gx;function rC(){if(gx)return jn;gx=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.ParseFilePipe=void 0;const e=ae(),t=tr(),r=_l(),i=Xt(),o=ne();let n=class{constructor(a={}){const{exceptionFactory:c,errorHttpStatusCode:u=r.HttpStatus.BAD_REQUEST,validators:p=[],fileIsRequired:l}=a;this.exceptionFactory=c||(d=>new i.HttpErrorByCode[u](d)),this.validators=p,this.fileIsRequired=l??!0}async transform(a){const c=this.thereAreNoFilesIn(a);if(c&&this.fileIsRequired)throw this.exceptionFactory("File is required");return!c&&this.validators.length&&await this.validateFilesOrFile(a),a}async validateFilesOrFile(a){Array.isArray(a)?await Promise.all(a.map(c=>this.validate(c))):await this.validate(a)}thereAreNoFilesIn(a){const c=Array.isArray(a)&&(0,o.isEmpty)(a),u=(0,o.isObject)(a)&&(0,o.isEmpty)(Object.keys(a));return(0,o.isUndefined)(a)||c||u}async validate(a){for(const c of this.validators)await this.validateOrThrow(a,c);return a}async validateOrThrow(a,c){if(!await c.isValid(a)){const p=c.buildErrorMessage(a);throw this.exceptionFactory(p)}}getValidators(){return this.validators}};return jn.ParseFilePipe=n,jn.ParseFilePipe=n=e.__decorate([(0,t.Injectable)(),e.__param(0,(0,t.Optional)()),e.__metadata("design:paramtypes",[Object])],n),jn}var ua={},bx;function yL(){if(bx)return ua;bx=1,Object.defineProperty(ua,"__esModule",{value:!0}),ua.ParseFilePipeBuilder=void 0;const e=eC(),t=tC(),r=rC();class i{constructor(){this.validators=[]}addMaxSizeValidator(n){return this.addValidator(new t.MaxFileSizeValidator(n))}addFileTypeValidator(n){return this.addValidator(new e.FileTypeValidator(n))}addValidator(n){return this.validators.push(n),this}build(n){const s=new r.ParseFilePipe({...n,validators:this.validators});return this.validators=[],s}}return ua.ParseFilePipeBuilder=i,ua}var yx;function EL(){return yx||(yx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(eC(),e),t.__exportStar(dg(),e),t.__exportStar(tC(),e),t.__exportStar(bL(),e),t.__exportStar(rC(),e),t.__exportStar(yL(),e)})(kh)),kh}var qn={},Nn={},Fn={},vr={},pd={},Ex;function xL(){if(Ex)return pd;Ex=1,Object.defineProperty(pd,"__esModule",{value:!0});class e{constructor(r){this.toConcat=r}next(){if(this.toConcat.length===0)return{done:!0};const r=this.toConcat[0].next();return r.done?(this.toConcat.shift(),this.next()):r}}return pd.ConcatIterator=e,pd}var fd={},xx;function OL(){if(xx)return fd;xx=1,Object.defineProperty(fd,"__esModule",{value:!0});class e{constructor(r,i){this.source=r,this.predicate=i}next(){let r;do r=this.source.next();while(!r.done&&!this.predicate(r.value));return r}}return fd.FilterIterator=e,fd}var hd={},Dn={},Ox;function nC(){if(Ox)return Dn;Ox=1,Object.defineProperty(Dn,"__esModule",{value:!0});function e(i){return typeof i=="object"&&i!==null&&typeof i.next=="function"}Dn.isIterator=e;function t(i){return typeof i=="object"&&i!==null&&typeof i[Symbol.iterator]=="function"}Dn.isIterable=t;function r(i){if(e(i))return i;if(t(i))return i[Symbol.iterator]();throw new Error("Passed collection is neither an Iterator nor an Iterable")}return Dn.toIterator=r,Dn}var wx;function wL(){if(wx)return hd;wx=1,Object.defineProperty(hd,"__esModule",{value:!0});const e=nC();class t{constructor(i){this.outer=i}next(){if(this.inner){const n=this.inner.next();if(!n.done)return n;this.inner=void 0}const{value:i,done:o}=this.outer.next();return e.isIterable(i)?(this.inner=i[Symbol.iterator](),this.next()):{value:i,done:o}}}return hd.FlattenIterator=t,hd}var vd={},Sx;function SL(){if(Sx)return vd;Sx=1,Object.defineProperty(vd,"__esModule",{value:!0});class e{constructor(r,i){this.source=r,this.iteratee=i}next(){const{value:r,done:i}=this.source.next();return{value:!i&&this.iteratee(r),done:i}}}return vd.MapIterator=e,vd}var md={},Px;function PL(){if(Px)return md;Px=1,Object.defineProperty(md,"__esModule",{value:!0});class e{constructor(r,i,o=1/0){this.source=r,this.start=i,this.end=o,this.i=0}next(){for(;this.i<this.start;){const r=this.source.next();if(r.done)return r;this.i++}return this.i++,this.i>=this.end?{done:!0}:this.source.next()}}return md.SliceIterator=e,md}var _d={},Tx;function TL(){if(Tx)return _d;Tx=1,Object.defineProperty(_d,"__esModule",{value:!0});class e{constructor(r,i){this.a=r,this.b=i}next(){const r=this.a.next();if(r.done)return{done:!0};const i=this.b.next();return i.done?{done:!0}:{value:[r.value,i.value],done:!1}}}return _d.ZipIterator=e,_d}var Ax;function AL(){if(Ax)return vr;Ax=1,Object.defineProperty(vr,"__esModule",{value:!0});const e=xL(),t=OL(),r=wL(),i=SL(),o=PL(),n=nC(),s=TL();class a{constructor(l){this.source=l}next(){return this.source.next()}[Symbol.iterator](){return this}map(l){return new a(new i.MapIterator(this.source,l))}filter(l){return new a(new t.FilterIterator(this.source,l))}concat(l){return new a(new e.ConcatIterator([this.source,n.toIterator(l)]))}take(l){return new a(new o.SliceIterator(this.source,0,l+1))}drop(l){return new a(new o.SliceIterator(this.source,l,1/0))}slice(l,d=1/0){return new a(new o.SliceIterator(this.source,l,d))}flatten(){return new a(new r.FlattenIterator(this.source))}reduce(l,d){let f;if(d===void 0){if(f=this.source.next(),f.done)throw new TypeError("Reduce of empty Iterator with no initial value");d=f.value}for(;f=this.source.next(),!f.done;)d=l(d,f.value);return d}find(l){let d;for(;;){if(d=this.source.next(),d.done)return;if(l(d.value))return d.value}}includes(l){let d;do if(d=this.source.next(),!d.done&&d.value===l)return!0;while(!d.done);return!1}some(l){let d;do if(d=this.source.next(),!d.done&&l(d.value))return!0;while(!d.done);return!1}every(l){let d;do if(d=this.source.next(),!d.done&&!l(d.value))return!1;while(!d.done);return!0}forEach(l){let d;for(;d=this.source.next(),!d.done;)l(d.value)}join(l=","){let d="",f;for(;f=this.source.next(),!f.done;)d+=l+f.value;return d.substr(l.length)}toArray(){return Array.from(this)}toSet(){const l=new Set;for(;;){const{value:d,done:f}=this.next();if(f)return l;l.add(d)}}toMap(){return new Map(this)}}vr.IteratorWithOperators=a;function c(p){return new a(n.toIterator(p))}vr.iterate=c;function u(p,l){return new a(new s.ZipIterator(n.toIterator(p),n.toIterator(l)))}return vr.zip=u,vr.default=c,vr}var Rx;function Ve(){if(Rx)return Fn;Rx=1,Object.defineProperty(Fn,"__esModule",{value:!0});const e=AL();return Fn.iterate=e.iterate,Fn.zip=e.zip,Fn.default=e.iterate,Fn}function pg(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.')}var gd={},Mx;function gl(){if(Mx)return gd;Mx=1,Object.defineProperty(gd,"__esModule",{value:!0}),gd.loadPackage=i;const e=xt(),t=(o,n)=>`The "${o}" package is missing. Please, make sure to install it to take advantage of ${n}.`,r=new e.Logger("PackageLoader");function i(o,n,s){try{return s?s():pg(o)}catch{r.error(t(o,n)),e.Logger.flush(),process.exit(1)}}return gd}const RL={},ML=Object.freeze(Object.defineProperty({__proto__:null,default:RL},Symbol.toStringTag,{value:"Module"})),IL=ci(ML),CL={},jL=Object.freeze(Object.defineProperty({__proto__:null,default:CL},Symbol.toStringTag,{value:"Module"})),iC=ci(jL);var Ix;function aC(){if(Ix)return Nn;Ix=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.ValidationPipe=void 0;const e=ae(),t=Ve(),r=si,i=cg(),o=tr(),n=Ie(),s=Xt(),a=gl(),c=ne();let u={},p={},l=class{constructor(f){f=f||{};const{transform:h,disableErrorMessages:m,errorHttpStatusCode:v,expectedType:g,transformOptions:_,validateCustomDecorators:b,...y}=f;this.validatorOptions={forbidUnknownValues:!1,...y},this.isTransformEnabled=!!h,this.transformOptions=_,this.isDetailedOutputDisabled=m,this.validateCustomDecorators=b||!1,this.errorHttpStatusCode=v||n.HttpStatus.BAD_REQUEST,this.expectedType=g,this.exceptionFactory=f.exceptionFactory||this.createExceptionFactory(),u=this.loadValidator(f.validatorPackage),p=this.loadTransformer(f.transformerPackage)}loadValidator(f){return f??(0,a.loadPackage)("class-validator","ValidationPipe",()=>IL)}loadTransformer(f){return f??(0,a.loadPackage)("class-transformer","ValidationPipe",()=>iC)}async transform(f,h){this.expectedType&&(h={...h,metatype:this.expectedType});const m=h.metatype;if(!m||!this.toValidate(h))return this.isTransformEnabled?this.transformPrimitive(f,h):f;const v=f;f=this.toEmptyIfNil(f,m);const g=f!==v,_=this.isPrimitive(f);this.stripProtoKeys(f);let b=p.plainToInstance(m,f,this.transformOptions);const y=b,E=b.constructor!==m;E&&!_?b.constructor=m:E&&(b={constructor:m});const x=await this.validate(b,this.validatorOptions);if(x.length>0)throw await this.exceptionFactory(x);return v===void 0&&y===""?v:(_&&(b=y),this.isTransformEnabled?b:g?v:Object.keys(this.validatorOptions).length>1?p.classToPlain(b,this.transformOptions):f)}createExceptionFactory(){return(f=[])=>{if(this.isDetailedOutputDisabled)return new s.HttpErrorByCode[this.errorHttpStatusCode];const h=this.flattenValidationErrors(f);return new s.HttpErrorByCode[this.errorHttpStatusCode](h)}}toValidate(f){const{metatype:h,type:m}=f;return m==="custom"&&!this.validateCustomDecorators?!1:![String,Boolean,Number,Array,Object,Buffer,Date].some(g=>h===g)&&!(0,c.isNil)(h)}transformPrimitive(f,h){if(!h.data)return f;const{type:m,metatype:v}=h;return m!=="param"&&m!=="query"?f:v===Boolean?(0,c.isUndefined)(f)?void 0:f===!0||f==="true":v===Number?(0,c.isUndefined)(f)?void 0:+f:v===String&&!(0,c.isUndefined)(f)?String(f):f}toEmptyIfNil(f,h){return(0,c.isNil)(f)?typeof h=="function"||h&&"prototype"in h&&h.prototype?.constructor?{}:"":f}stripProtoKeys(f){if(!(f==null||typeof f!="object"||r.types.isTypedArray(f))){if(Array.isArray(f)){for(const h of f)this.stripProtoKeys(h);return}delete f.__proto__;for(const h in f)this.stripProtoKeys(f[h])}}isPrimitive(f){return["number","boolean","string"].includes(typeof f)}validate(f,h){return u.validate(f,h)}flattenValidationErrors(f){return(0,t.iterate)(f).map(h=>this.mapChildrenToValidationErrors(h)).flatten().filter(h=>!!h.constraints).map(h=>Object.values(h.constraints)).flatten().toArray()}mapChildrenToValidationErrors(f,h){if(!(f.children&&f.children.length))return[f];const m=[];h=h?`${h}.${f.property}`:f.property;for(const v of f.children)v.children&&v.children.length&&m.push(...this.mapChildrenToValidationErrors(v,h)),m.push(this.prependConstraintsWithParentProp(h,v));return m}prependConstraintsWithParentProp(f,h){const m={};for(const v in h.constraints)m[v]=`${f}.${h.constraints[v]}`;return{...h,constraints:m}}};return Nn.ValidationPipe=l,Nn.ValidationPipe=l=e.__decorate([(0,o.Injectable)(),e.__param(0,(0,i.Optional)()),e.__metadata("design:paramtypes",[Object])],l),Nn}var Cx;function qL(){if(Cx)return qn;Cx=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.ParseArrayPipe=void 0;const e=ae(),t=pn(),r=ml(),i=Ie(),o=Xt(),n=ne(),s=aC(),a="Validation failed (parsable array expected)",c=",";let u=class{constructor(l={}){this.options=l,this.validationPipe=new s.ValidationPipe({transform:!0,validateCustomDecorators:!0,...l});const{exceptionFactory:d,errorHttpStatusCode:f=i.HttpStatus.BAD_REQUEST}=l;this.exceptionFactory=d||(h=>new o.HttpErrorByCode[f](h))}async transform(l,d){if(!l&&!this.options.optional)throw this.exceptionFactory(a);if((0,n.isNil)(l)&&this.options.optional)return l;if(!Array.isArray(l))if((0,n.isString)(l))try{l=l.trim().split(this.options.separator||c)}catch{throw this.exceptionFactory(a)}else throw this.exceptionFactory(a);if(this.options.items){const f={metatype:this.options.items,type:"query"},h=this.isExpectedTypePrimitive(),m=(v,g)=>{if(this.options.items!==String)try{v=JSON.parse(v)}catch{}return h?this.validatePrimitive(v,g):this.validationPipe.transform(v,f)};if(this.options.stopAtFirstError===!1){let v=[];const g=l;for(let _=0;_<g.length;_++)try{g[_]=await m(g[_])}catch(b){let y;if(b.getResponse){const E=b.getResponse();Array.isArray(E.message)?y=E.message.map(x=>`[${_}] ${x}`):y=`[${_}] ${E.message}`}else y=b;v=v.concat(y)}if(v.length>0)throw this.exceptionFactory(v);return g}else l=await Promise.all(l.map(m))}return l}isExpectedTypePrimitive(){return[Boolean,Number,String].includes(this.options.items)}validatePrimitive(l,d){if(this.options.items===Number){const f=l!==null&&l!==""?+l:NaN;if(isNaN(f))throw this.exceptionFactory(`${(0,n.isUndefined)(d)?"":`[${d}] `}item must be a number`);return f}else if(this.options.items===String){if(!(0,n.isString)(l))return`${l}`}else if(this.options.items===Boolean&&typeof l!="boolean")throw this.exceptionFactory(`${(0,n.isUndefined)(d)?"":`[${d}] `}item must be a boolean value`);return l}};return qn.ParseArrayPipe=u,qn.ParseArrayPipe=u=e.__decorate([(0,t.Injectable)(),e.__param(0,(0,r.Optional)()),e.__metadata("design:paramtypes",[Object])],u),qn}var kn={},jx;function NL(){if(jx)return kn;jx=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.ParseBoolPipe=void 0;const e=ae(),t=pn(),r=ml(),i=Ie(),o=Xt(),n=ne();let s=class{constructor(c){this.options=c,c=c||{};const{exceptionFactory:u,errorHttpStatusCode:p=i.HttpStatus.BAD_REQUEST}=c;this.exceptionFactory=u||(l=>new o.HttpErrorByCode[p](l))}async transform(c,u){if((0,n.isNil)(c)&&this.options?.optional)return c;if(this.isTrue(c))return!0;if(this.isFalse(c))return!1;throw this.exceptionFactory("Validation failed (boolean string is expected)")}isTrue(c){return c===!0||c==="true"}isFalse(c){return c===!1||c==="false"}};return kn.ParseBoolPipe=s,kn.ParseBoolPipe=s=e.__decorate([(0,t.Injectable)(),e.__param(0,(0,r.Optional)()),e.__metadata("design:paramtypes",[Object])],s),kn}var Ln={},qx;function FL(){if(qx)return Ln;qx=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.ParseDatePipe=void 0;const e=ae(),t=pn(),r=Ie(),i=Xt(),o=ne();let n=class{constructor(a={}){this.options=a;const{exceptionFactory:c,errorHttpStatusCode:u=r.HttpStatus.BAD_REQUEST}=a;this.exceptionFactory=c||(p=>new i.HttpErrorByCode[u](p))}transform(a){if(this.options.optional&&(0,o.isNil)(a))return this.options.default?this.options.default():a;if(!a)throw this.exceptionFactory("Validation failed (no Date provided)");const c=new Date(a);if(isNaN(c.getTime()))throw this.exceptionFactory("Validation failed (invalid date format)");return c}};return Ln.ParseDatePipe=n,Ln.ParseDatePipe=n=e.__decorate([(0,t.Injectable)(),e.__metadata("design:paramtypes",[Object])],n),Ln}var Un={},Nx;function DL(){if(Nx)return Un;Nx=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.ParseEnumPipe=void 0;const e=ae(),t=tr(),r=ve(),i=Xt(),o=ne();let n=class{constructor(a,c){if(this.enumType=a,this.options=c,!a)throw new Error('"ParseEnumPipe" requires "enumType" argument specified (to validate input values).');c=c||{};const{exceptionFactory:u,errorHttpStatusCode:p=r.HttpStatus.BAD_REQUEST}=c;this.exceptionFactory=u||(l=>new i.HttpErrorByCode[p](l))}async transform(a,c){if((0,o.isNil)(a)&&this.options?.optional)return a;if(!this.isEnum(a))throw this.exceptionFactory("Validation failed (enum string is expected)");return a}isEnum(a){return Object.keys(this.enumType).map(u=>this.enumType[u]).includes(a)}};return Un.ParseEnumPipe=n,Un.ParseEnumPipe=n=e.__decorate([(0,t.Injectable)(),e.__param(1,(0,t.Optional)()),e.__metadata("design:paramtypes",[Object,Object])],n),Un}var zn={},Fx;function kL(){if(Fx)return zn;Fx=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.ParseFloatPipe=void 0;const e=ae(),t=tr(),r=ve(),i=Xt(),o=ne();let n=class{constructor(a){this.options=a,a=a||{};const{exceptionFactory:c,errorHttpStatusCode:u=r.HttpStatus.BAD_REQUEST}=a;this.exceptionFactory=c||(p=>new i.HttpErrorByCode[u](p))}async transform(a,c){if((0,o.isNil)(a)&&this.options?.optional)return a;if(!this.isNumeric(a))throw this.exceptionFactory("Validation failed (numeric string is expected)");return parseFloat(a)}isNumeric(a){return["string","number"].includes(typeof a)&&!isNaN(parseFloat(a))&&isFinite(a)}};return zn.ParseFloatPipe=n,zn.ParseFloatPipe=n=e.__decorate([(0,t.Injectable)(),e.__param(0,(0,t.Optional)()),e.__metadata("design:paramtypes",[Object])],n),zn}var Bn={},Dx;function LL(){if(Dx)return Bn;Dx=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.ParseIntPipe=void 0;const e=ae(),t=pn(),r=ml(),i=Ie(),o=Xt(),n=ne();let s=class{constructor(c){this.options=c,c=c||{};const{exceptionFactory:u,errorHttpStatusCode:p=i.HttpStatus.BAD_REQUEST}=c;this.exceptionFactory=u||(l=>new o.HttpErrorByCode[p](l))}async transform(c,u){if((0,n.isNil)(c)&&this.options?.optional)return c;if(!this.isNumeric(c))throw this.exceptionFactory("Validation failed (numeric string is expected)");return parseInt(c,10)}isNumeric(c){return["string","number"].includes(typeof c)&&/^-?\d+$/.test(c)&&isFinite(c)}};return Bn.ParseIntPipe=s,Bn.ParseIntPipe=s=e.__decorate([(0,t.Injectable)(),e.__param(0,(0,r.Optional)()),e.__metadata("design:paramtypes",[Object])],s),Bn}var Hn={},kx;function UL(){if(kx)return Hn;kx=1;var e;Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.ParseUUIDPipe=void 0;const t=ae(),r=pn(),i=ml(),o=Ie(),n=Xt(),s=ne();let a=e=class{constructor(u){this.options=u,u=u||{};const{exceptionFactory:p,errorHttpStatusCode:l=o.HttpStatus.BAD_REQUEST,version:d}=u;this.version=d,this.exceptionFactory=p||(f=>new n.HttpErrorByCode[l](f))}async transform(u,p){if((0,s.isNil)(u)&&this.options?.optional)return u;if(!this.isUUID(u,this.version))throw this.exceptionFactory(`Validation failed (uuid${this.version?` v ${this.version}`:""} is expected)`);return u}isUUID(u,p="all"){if(!(0,s.isString)(u))throw this.exceptionFactory("The value passed as UUID is not a string");return e.uuidRegExps[p]?.test(u)}};return Hn.ParseUUIDPipe=a,a.uuidRegExps={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,7:/^[0-9A-F]{8}-[0-9A-F]{4}-7[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},Hn.ParseUUIDPipe=a=e=t.__decorate([(0,r.Injectable)(),t.__param(0,(0,i.Optional)()),t.__metadata("design:paramtypes",[Object])],a),Hn}var Lx;function zL(){return Lx||(Lx=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(_L(),e),t.__exportStar(EL(),e),t.__exportStar(qL(),e),t.__exportStar(NL(),e),t.__exportStar(FL(),e),t.__exportStar(DL(),e),t.__exportStar(kL(),e),t.__exportStar(LL(),e),t.__exportStar(UL(),e),t.__exportStar(aC(),e)})(Dh)),Dh}var zh={},Vn={},Bh={},la={},mr={},da={},Ux;function Ce(){if(Ux)return da;Ux=1,Object.defineProperty(da,"__esModule",{value:!0}),da.isFunction=void 0;function e(t){return typeof t=="function"}return da.isFunction=e,da}var zx;function ce(){if(zx)return mr;zx=1,Object.defineProperty(mr,"__esModule",{value:!0}),mr.operate=mr.hasLift=void 0;var e=Ce();function t(i){return e.isFunction(i?.lift)}mr.hasLift=t;function r(i){return function(o){if(t(o))return o.lift(function(n){try{return i(n,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}return mr.operate=r,mr}var Le={},pa={},Bx;function fg(){return Bx||(Bx=1,Object.defineProperty(pa,"__esModule",{value:!0}),pa.isArrayLike=void 0,pa.isArrayLike=(function(e){return e&&typeof e.length=="number"&&typeof e!="function"})),pa}var fa={},Hx;function oC(){if(Hx)return fa;Hx=1,Object.defineProperty(fa,"__esModule",{value:!0}),fa.isPromise=void 0;var e=Ce();function t(r){return e.isFunction(r?.then)}return fa.isPromise=t,fa}var ha={},va={},ot={},ma={},_a={},Vx;function fn(){if(Vx)return _a;Vx=1,Object.defineProperty(_a,"__esModule",{value:!0}),_a.createErrorClass=void 0;function e(t){var r=function(o){Error.call(o),o.stack=new Error().stack},i=t(r);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}return _a.createErrorClass=e,_a}var Gx;function sC(){if(Gx)return ma;Gx=1,Object.defineProperty(ma,"__esModule",{value:!0}),ma.UnsubscriptionError=void 0;var e=fn();return ma.UnsubscriptionError=e.createErrorClass(function(t){return function(i){t(this),this.message=i?i.length+` errors occurred during unsubscription:
@@ -112,42 +99,15 @@ Possible Solutions:
112
99
  - Is ${m} part of the relevant providers/imports within ${v}?
113
100
 
114
101
  For more common dependency resolution issues, see: https://docs.nestjs.com/faq/common-errors
115
- `);Ae.UNKNOWN_EXPORT_MESSAGE=l;const d=(m,v)=>`ModuleRef cannot instantiate class (${v} is not constructable).`;Ae.INVALID_CLASS_MESSAGE=d;const f=(m,v)=>`${v||"This class"} is marked as a scoped provider. Request and transient-scoped providers can't be used in combination with "get()" method. Please, use "resolve()" instead.`;Ae.INVALID_CLASS_SCOPE_MESSAGE=f;const h=m=>{const v=m.name;return v?`An invalid controller has been detected. "${v}" does not have the @Controller() decorator but it is being listed in the "controllers" array of some module.`:"An invalid controller has been detected. Perhaps, one of your controllers is missing the @Controller() decorator."};return Ae.UNKNOWN_REQUEST_MAPPING=h,Ae.INVALID_MIDDLEWARE_CONFIGURATION="An invalid middleware configuration has been passed inside the module 'configure()' method.",Ae.UNHANDLED_RUNTIME_EXCEPTION="Unhandled Runtime Exception.",Ae.INVALID_EXCEPTION_FILTER="Invalid exception filters (@UseFilters()).",Ae.MICROSERVICES_PACKAGE_NOT_FOUND_EXCEPTION="Unable to load @nestjs/microservices package. (Please make sure that it's already installed.)",Ae}var VT;function iN(){if(VT)return bc;VT=1,Object.defineProperty(bc,"__esModule",{value:!0}),bc.InvalidExceptionFilterException=void 0;const e=et(),t=gt();class r extends e.RuntimeException{constructor(){super(t.INVALID_EXCEPTION_FILTER)}}return bc.InvalidExceptionFilterException=r,bc}var Ec={},GT;function r3(){if(GT)return Ec;GT=1,Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.ExternalExceptionFilter=void 0;const e=ve();class t{catch(i,o){throw i instanceof Error&&!(i instanceof e.IntrinsicException)&&t.logger.error(i),i}}return Ec.ExternalExceptionFilter=t,t.logger=new e.Logger("ExceptionsHandler"),Ec}var WT;function n3(){if(WT)return _c;WT=1,Object.defineProperty(_c,"__esModule",{value:!0}),_c.ExternalExceptionsHandler=void 0;const e=nN(),t=ne(),r=iN(),i=r3();class o extends i.ExternalExceptionFilter{constructor(){super(...arguments),this.filters=[]}next(s,a){const c=this.invokeCustomFilters(s,a);return c||super.catch(s,a)}setCustomFilters(s){if(!Array.isArray(s))throw new r.InvalidExceptionFilterException;this.filters=s}invokeCustomFilters(s,a){if((0,t.isEmpty)(this.filters))return null;const c=(0,e.selectExceptionFilterMetadata)(this.filters,s);return c?c.func(s,a):null}}return _c.ExternalExceptionsHandler=o,_c}var ZT;function i3(){if(ZT)return hc;ZT=1,Object.defineProperty(hc,"__esModule",{value:!0}),hc.ExternalExceptionFilterContext=void 0;const e=xe(),t=ne(),r=Ve(),i=it(),o=rN(),n=n3();class s extends o.BaseExceptionFilterContext{constructor(c,u){super(c),this.config=u}create(c,u,p,l=i.STATIC_CONTEXT,d){this.moduleContext=p;const f=new n.ExternalExceptionsHandler,h=this.createContext(c,u,e.EXCEPTION_FILTERS_METADATA,l,d);return(0,t.isEmpty)(h)||f.setCustomFilters(h.reverse()),f}getGlobalMetadata(c=i.STATIC_CONTEXT,u){if(!this.config)return[];const p=this.config.getGlobalFilters();if(c===i.STATIC_CONTEXT&&!u)return p;const l=this.config.getGlobalRequestFilters(),d=(0,r.iterate)(l).map(f=>f.getInstanceByContextId(c,u)).filter(f=>!!f).map(f=>f.instance).toArray();return p.concat(d)}}return hc.ExternalExceptionFilterContext=s,hc}var Rm={},xc={},KT;function aN(){return KT||(KT=1,Object.defineProperty(xc,"__esModule",{value:!0}),xc.FORBIDDEN_MESSAGE=void 0,xc.FORBIDDEN_MESSAGE="Forbidden resource"),xc}var Oc={},wc={},YT;function Sn(){if(YT)return wc;YT=1,Object.defineProperty(wc,"__esModule",{value:!0}),wc.ExecutionContextHost=void 0;class e{constructor(r,i=null,o=null){this.args=r,this.constructorRef=i,this.handler=o,this.contextType="http"}setType(r){r&&(this.contextType=r)}getType(){return this.contextType}getClass(){return this.constructorRef}getHandler(){return this.handler}getArgs(){return this.args}getArgByIndex(r){return this.args[r]}switchToRpc(){return Object.assign(this,{getData:()=>this.getArgByIndex(0),getContext:()=>this.getArgByIndex(1)})}switchToHttp(){return Object.assign(this,{getRequest:()=>this.getArgByIndex(0),getResponse:()=>this.getArgByIndex(1),getNext:()=>this.getArgByIndex(2)})}switchToWs(){return Object.assign(this,{getClient:()=>this.getArgByIndex(0),getData:()=>this.getArgByIndex(1),getPattern:()=>this.getArgByIndex(this.getArgs().length-1)})}}return wc.ExecutionContextHost=e,wc}var XT;function a3(){if(XT)return Oc;XT=1,Object.defineProperty(Oc,"__esModule",{value:!0}),Oc.GuardsConsumer=void 0;const e=ne(),t=gn(),r=Sn();class i{async tryActivate(n,s,a,c,u){if(!n||(0,e.isEmpty)(n))return!0;const p=this.createContext(s,a,c);p.setType(u);for(const l of n){const d=l.canActivate(p);if(typeof d=="boolean"){if(!d)return!1;continue}if(!await this.pickResult(d))return!1}return!0}createContext(n,s,a){return new r.ExecutionContextHost(n,s.constructor,a)}async pickResult(n){return n instanceof t.Observable?(0,t.lastValueFrom)(n):n}}return Oc.GuardsConsumer=i,Oc}var Sc={},QT;function o3(){if(QT)return Sc;QT=1,Object.defineProperty(Sc,"__esModule",{value:!0}),Sc.GuardsContextCreator=void 0;const e=xe(),t=ne(),r=Ve(),i=qp(),o=it();class n extends i.ContextCreator{constructor(a,c){super(),this.container=a,this.config=c}create(a,c,u,p=o.STATIC_CONTEXT,l){return this.moduleContext=u,this.createContext(a,c,e.GUARDS_METADATA,p,l)}createConcreteContext(a,c=o.STATIC_CONTEXT,u){return(0,t.isEmpty)(a)?[]:(0,r.iterate)(a).filter(p=>p&&(p.name||p.canActivate)).map(p=>this.getGuardInstance(p,c,u)).filter(p=>!!p&&(0,t.isFunction)(p.canActivate)).toArray()}getGuardInstance(a,c=o.STATIC_CONTEXT,u){if(!!a.canActivate)return a;const l=this.getInstanceByMetatype(a);if(!l)return null;const d=l.getInstanceByContextId(this.getContextId(c,l),u);return d&&d.instance}getInstanceByMetatype(a){if(!this.moduleContext)return;const u=this.container.getModules().get(this.moduleContext);return u?u.injectables.get(a):void 0}getGlobalMetadata(a=o.STATIC_CONTEXT,c){if(!this.config)return[];const u=this.config.getGlobalGuards();if(a===o.STATIC_CONTEXT&&!c)return u;const p=this.config.getGlobalRequestGuards(),l=(0,r.iterate)(p).map(d=>d.getInstanceByContextId(this.getContextId(a,d),c)).filter(d=>!!d).map(d=>d.instance).toArray();return u.concat(l)}}return Sc.GuardsContextCreator=n,Sc}var JT;function fb(){return JT||(JT=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(aN(),e),t.__exportStar(a3(),e),t.__exportStar(o3(),e)})(Rm)),Rm}var Mm={},Pc={},$T;function s3(){if($T)return Pc;$T=1,Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.InterceptorsConsumer=void 0;const e=ne(),t=JF,r=gn(),i=Bg(),o=Sn();class n{async intercept(a,c,u,p,l,d){if((0,e.isEmpty)(a))return l();const f=this.createContext(c,u,p);f.setType(d);const h=async(m=0)=>{if(m>=a.length)return(0,r.defer)(t.AsyncResource.bind(()=>this.transformDeferred(l)));const v={handle:()=>(0,r.defer)(t.AsyncResource.bind(()=>h(m+1))).pipe((0,i.mergeAll)())};return a[m].intercept(f,v)};return(0,r.defer)(()=>h()).pipe((0,i.mergeAll)())}createContext(a,c,u){return new o.ExecutionContextHost(a,c.constructor,u)}transformDeferred(a){return(0,r.from)(a()).pipe((0,i.switchMap)(c=>c instanceof Promise||c instanceof r.Observable?c:Promise.resolve(c)))}}return Pc.InterceptorsConsumer=n,Pc}var Tc={},eA;function c3(){if(eA)return Tc;eA=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.InterceptorsContextCreator=void 0;const e=xe(),t=ne(),r=Ve(),i=qp(),o=it();class n extends i.ContextCreator{constructor(a,c){super(),this.container=a,this.config=c}create(a,c,u,p=o.STATIC_CONTEXT,l){return this.moduleContext=u,this.createContext(a,c,e.INTERCEPTORS_METADATA,p,l)}createConcreteContext(a,c=o.STATIC_CONTEXT,u){return(0,t.isEmpty)(a)?[]:(0,r.iterate)(a).filter(p=>p&&(p.name||p.intercept)).map(p=>this.getInterceptorInstance(p,c,u)).filter(p=>p?(0,t.isFunction)(p.intercept):!1).toArray()}getInterceptorInstance(a,c=o.STATIC_CONTEXT,u){if(!!a.intercept)return a;const l=this.getInstanceByMetatype(a);if(!l)return null;const d=l.getInstanceByContextId(this.getContextId(c,l),u);return d&&d.instance}getInstanceByMetatype(a){if(!this.moduleContext)return;const u=this.container.getModules().get(this.moduleContext);if(u)return u.injectables.get(a)}getGlobalMetadata(a=o.STATIC_CONTEXT,c){if(!this.config)return[];const u=this.config.getGlobalInterceptors();if(a===o.STATIC_CONTEXT&&!c)return u;const p=this.config.getGlobalRequestInterceptors(),l=(0,r.iterate)(p).map(d=>d.getInstanceByContextId(this.getContextId(a,d),c)).filter(d=>!!d).map(d=>d.instance).toArray();return u.concat(l)}}return Tc.InterceptorsContextCreator=n,Tc}var tA;function oN(){return tA||(tA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(s3(),e),t.__exportStar(c3(),e)})(Mm)),Mm}var Im={},Ac={},rA;function sN(){if(rA)return Ac;rA=1,Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.ParamsTokenFactory=void 0;const e=fp();class t{exchangeEnumForString(i){switch(i){case e.RouteParamtypes.BODY:return"body";case e.RouteParamtypes.PARAM:return"param";case e.RouteParamtypes.QUERY:return"query";default:return"custom"}}}return Ac.ParamsTokenFactory=t,Ac}var Rc={},nA;function u3(){if(nA)return Rc;nA=1,Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.PipesConsumer=void 0;const e=sN();class t{constructor(){this.paramsTokenFactory=new e.ParamsTokenFactory}async apply(i,{metatype:o,type:n,data:s},a){const c=this.paramsTokenFactory.exchangeEnumForString(n);return this.applyPipes(i,{metatype:o,type:c,data:s},a)}async applyPipes(i,{metatype:o,type:n,data:s},a){return a.reduce(async(c,u)=>{const p=await c;return u.transform(p,{metatype:o,type:n,data:s})},Promise.resolve(i))}}return Rc.PipesConsumer=t,Rc}var Mc={},iA;function l3(){if(iA)return Mc;iA=1,Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.PipesContextCreator=void 0;const e=xe(),t=ne(),r=Ve(),i=qp(),o=it();class n extends i.ContextCreator{constructor(a,c){super(),this.container=a,this.config=c}create(a,c,u,p=o.STATIC_CONTEXT,l){return this.moduleContext=u,this.createContext(a,c,e.PIPES_METADATA,p,l)}createConcreteContext(a,c=o.STATIC_CONTEXT,u){return(0,t.isEmpty)(a)?[]:(0,r.iterate)(a).filter(p=>p&&(p.name||p.transform)).map(p=>this.getPipeInstance(p,c,u)).filter(p=>!!p&&p.transform&&(0,t.isFunction)(p.transform)).toArray()}getPipeInstance(a,c=o.STATIC_CONTEXT,u){if(!!a.transform)return a;const l=this.getInstanceByMetatype(a);if(!l)return null;const d=l.getInstanceByContextId(this.getContextId(c,l),u);return d&&d.instance}getInstanceByMetatype(a){if(!this.moduleContext)return;const u=this.container.getModules().get(this.moduleContext);if(u)return u.injectables.get(a)}getGlobalMetadata(a=o.STATIC_CONTEXT,c){if(!this.config)return[];const u=this.config.getGlobalPipes();if(a===o.STATIC_CONTEXT&&!c)return u;const p=this.config.getGlobalRequestPipes(),l=(0,r.iterate)(p).map(d=>d.getInstanceByContextId(this.getContextId(a,d),c)).filter(d=>!!d).map(d=>d.instance).toArray();return u.concat(l)}setModuleContext(a){this.moduleContext=a}}return Mc.PipesContextCreator=n,Mc}var aA;function cN(){return aA||(aA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(sN(),e),t.__exportStar(u3(),e),t.__exportStar(l3(),e)})(Im)),Im}var Ic={},oA;function uN(){if(oA)return Ic;oA=1,Object.defineProperty(Ic,"__esModule",{value:!0}),Ic.ContextUtils=void 0;const e=xe(),t=ne(),r=Sn();class i{mapParamType(n){return n.split(":")[0]}reflectCallbackParamtypes(n,s){return Reflect.getMetadata(e.PARAMTYPES_METADATA,n,s)}reflectCallbackMetadata(n,s,a){return Reflect.getMetadata(a,n.constructor,s)}reflectPassthrough(n,s){return Reflect.getMetadata(e.RESPONSE_PASSTHROUGH_METADATA,n.constructor,s)}getArgumentsLength(n,s){return n.length?Math.max(...n.map(a=>s[a].index))+1:0}createNullArray(n){const s=new Array(n);for(let a=0;a<n;++a)s[a]=void 0;return s}mergeParamsMetatypes(n,s){return s?n.map(a=>({...a,metatype:s[a.index]})):n}getCustomFactory(n,s,a){return(0,t.isFunction)(n)?(...c)=>n(s,a(c)):()=>null}getContextFactory(n,s,a){const c=s&&s.constructor;return u=>{const p=new r.ExecutionContextHost(u,c,a);return p.setType(n),p}}}return Ic.ContextUtils=i,Ic}var Cc={},sA;function d3(){if(sA)return Cc;sA=1,Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.ExternalErrorProxy=void 0;const e=Sn();class t{createProxy(i,o,n){return async(...s)=>{try{return await i(...s)}catch(a){const c=new e.ExecutionContextHost(s);return c.setType(n),o.next(a,c)}}}}return Cc.ExternalErrorProxy=t,Cc}var Cm={},cA;function lN(){return cA||(cA=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.HandlerMetadataStorage=e.HANDLER_METADATA_SYMBOL=void 0;const r=it();e.HANDLER_METADATA_SYMBOL=Symbol.for("handler_metadata:cache");class i{constructor(){this[t]=new Map}set(n,s,a){const c=this.getMetadataKey(n,s);this[e.HANDLER_METADATA_SYMBOL].set(c,a)}get(n,s){const a=this.getMetadataKey(n,s);return this[e.HANDLER_METADATA_SYMBOL].get(a)}getMetadataKey(n,s){const a=n.constructor;return(a&&(a[r.CONTROLLER_ID_KEY]||a.name))+s}}e.HandlerMetadataStorage=i,t=e.HANDLER_METADATA_SYMBOL})(Cm)),Cm}var uA;function hb(){if(uA)return fc;uA=1,Object.defineProperty(fc,"__esModule",{value:!0}),fc.ExternalContextCreator=void 0;const e=ve(),t=xe(),r=ne(),i=gn(),o=i3(),n=fb(),s=aN(),a=it(),c=oN(),u=cN(),p=uN(),l=d3(),d=lN();class f{constructor(m,v,g,_,b,y,E,x){this.guardsContextCreator=m,this.guardsConsumer=v,this.interceptorsContextCreator=g,this.interceptorsConsumer=_,this.modulesContainer=b,this.pipesContextCreator=y,this.pipesConsumer=E,this.filtersContextCreator=x,this.contextUtils=new p.ContextUtils,this.externalErrorProxy=new l.ExternalErrorProxy,this.handlerMetadataStorage=new d.HandlerMetadataStorage}static fromContainer(m){const v=new n.GuardsContextCreator(m,m.applicationConfig),g=new n.GuardsConsumer,_=new c.InterceptorsContextCreator(m,m.applicationConfig),b=new c.InterceptorsConsumer,y=new u.PipesContextCreator(m,m.applicationConfig),E=new u.PipesConsumer,x=new o.ExternalExceptionFilterContext(m,m.applicationConfig),O=new f(v,g,_,b,m.getModules(),y,E,x);return O.container=m,O}create(m,v,g,_,b,y=a.STATIC_CONTEXT,E,x={interceptors:!0,guards:!0,filters:!0},O="http"){const S=this.getContextModuleKey(m.constructor),{argsLength:w,paramtypes:T,getParamsMetadata:R}=this.getMetadata(m,g,_,b,O),P=this.pipesContextCreator.create(m,v,S,y,E),N=this.guardsContextCreator.create(m,v,S,y,E),L=this.filtersContextCreator.create(m,v,S,y,E),V=x.interceptors?this.interceptorsContextCreator.create(m,v,S,y,E):[],F=R(S,y,E),H=F?this.contextUtils.mergeParamsMetatypes(F,T):[],X=x.guards?this.createGuardsFn(N,m,v,O):null,te=this.createPipesFn(P,H),U=(j,...q)=>async()=>te?(await te(j,...q),v.apply(m,j)):v.apply(m,q),re=async(...j)=>{const q=this.contextUtils.createNullArray(w);X&&await X(j);const D=await this.interceptorsConsumer.intercept(V,j,m,v,U(q,...j),O);return this.transformToResult(D)};return x.filters?this.externalErrorProxy.createProxy(re,L,O):re}getMetadata(m,v,g,_,b){const y=this.handlerMetadataStorage.get(m,v);if(y)return y;const E=this.contextUtils.reflectCallbackMetadata(m,v,g||"")||{},x=Object.keys(E),O=this.contextUtils.getArgumentsLength(x,E),S=this.contextUtils.reflectCallbackParamtypes(m,v),w=this.contextUtils.getContextFactory(b,m,m[v]),R={argsLength:O,paramtypes:S,getParamsMetadata:(P,N=a.STATIC_CONTEXT,L)=>_?this.exchangeKeysForValues(x,E,P,_,N,L,w):null};return this.handlerMetadataStorage.set(m,v,R),R}getContextModuleKey(m){if(!m)return"";const g=this.modulesContainer.entries();for(const[_,b]of g)if(b.hasProvider(m))return _;return""}exchangeKeysForValues(m,v,g,_,b=a.STATIC_CONTEXT,y,E=this.contextUtils.getContextFactory("http")){return this.pipesContextCreator.setModuleContext(g),m.map(x=>{const{index:O,data:S,pipes:w}=v[x],T=this.pipesContextCreator.createConcreteContext(w,b,y),R=this.contextUtils.mapParamType(x);if(x.includes(t.CUSTOM_ROUTE_ARGS_METADATA)){const{factory:L}=v[x],V=this.contextUtils.getCustomFactory(L,S,E);return{index:O,extractValue:V,type:R,data:S,pipes:T}}const P=Number(R);return{index:O,extractValue:(...L)=>_.exchangeKeyForValue(P,S,L),type:P,data:S,pipes:T}})}createPipesFn(m,v){const g=async(_,...b)=>{const y=async E=>{const{index:x,extractValue:O,type:S,data:w,metatype:T,pipes:R}=E,P=O(...b);_[x]=await this.getParamValue(P,{metatype:T,type:S,data:w},m.concat(R))};await Promise.all(v.map(y))};return v.length?g:null}async getParamValue(m,{metatype:v,type:g,data:_},b){return(0,r.isEmpty)(b)?m:this.pipesConsumer.apply(m,{metatype:v,type:g,data:_},b)}async transformToResult(m){return(0,i.isObservable)(m)?(0,i.lastValueFrom)(m):m}createGuardsFn(m,v,g,_){const b=async y=>{if(!await this.guardsConsumer.tryActivate(m,y,v,g,_))throw new e.ForbiddenException(s.FORBIDDEN_MESSAGE)};return m.length?b:null}registerRequestProvider(m,v){this.container.registerRequestProvider(m,v)}}return fc.ExternalContextCreator=f,fc}var lA;function p3(){return lA||(lA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(jl(),e),t.__exportStar(hb(),e),t.__exportStar(Cl(),e)})(Am)),Am}var jm={},jc={},qm={},qc={},dA;function dN(){if(dA)return qc;dA=1,Object.defineProperty(qc,"__esModule",{value:!0}),qc.CircularDependencyException=void 0;const e=et();class t extends e.RuntimeException{constructor(i){const o=i?` inside ${i}`:"";super(`A circular dependency has been detected${o}. Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()". Note that circular relationships between custom providers (e.g., factories) are not supported since functions cannot be called more than once.`)}}return qc.CircularDependencyException=t,qc}var Nc={},pA;function pN(){if(pA)return Nc;pA=1,Object.defineProperty(Nc,"__esModule",{value:!0}),Nc.UnknownElementException=void 0;const e=et();class t extends e.RuntimeException{constructor(i){i=i&&i.toString(),super(`Nest could not find ${i||"given"} element (this provider does not exist in the current context)`)}}return Nc.UnknownElementException=t,Nc}var Fc={},fA;function f3(){if(fA)return Fc;fA=1,Object.defineProperty(Fc,"__esModule",{value:!0}),Fc.InvalidClassScopeException=void 0;const e=ne(),t=gt(),r=et();class i extends r.RuntimeException{constructor(n){let s=(0,e.isFunction)(n)?n.name:n;s=s&&s.toString(),super((0,t.INVALID_CLASS_SCOPE_MESSAGE)`${s}`)}}return Fc.InvalidClassScopeException=i,Fc}var Dc={},hA;function h3(){if(hA)return Dc;hA=1,Object.defineProperty(Dc,"__esModule",{value:!0}),Dc.InvalidClassException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o){super((0,e.INVALID_CLASS_MESSAGE)`${o}`)}}return Dc.InvalidClassException=r,Dc}var kc={},vA;function v3(){if(vA)return kc;vA=1,Object.defineProperty(kc,"__esModule",{value:!0}),kc.UnknownExportException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n){super((0,e.UNKNOWN_EXPORT_MESSAGE)(o,n))}}return kc.UnknownExportException=r,kc}var Lc={},mA;function m3(){if(mA)return Lc;mA=1,Object.defineProperty(Lc,"__esModule",{value:!0}),Lc.UnknownModuleException=void 0;const e=et();class t extends e.RuntimeException{constructor(i){super(`Nest could not select the given module (${i?`"${i}"`:"it"} does not exist in current context).`)}}return Lc.UnknownModuleException=t,Lc}var Uc={},_A;function _3(){if(_A)return Uc;_A=1,Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.UndefinedForwardRefException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o){super((0,e.UNDEFINED_FORWARDREF_MESSAGE)(o))}}return Uc.UndefinedForwardRefException=r,Uc}var gA;function ql(){return gA||(gA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(dN(),e),t.__exportStar(et(),e),t.__exportStar(pN(),e),t.__exportStar(f3(),e),t.__exportStar(h3(),e),t.__exportStar(v3(),e),t.__exportStar(m3(),e),t.__exportStar(_3(),e)})(qm)),qm}var zc={},bA;function vb(){if(bA)return zc;bA=1,Object.defineProperty(zc,"__esModule",{value:!0}),zc.InitializeOnPreviewAllowlist=void 0;class e{static add(r){this.allowlist.set(r,!0)}static has(r){return this.allowlist.has(r)}}return zc.InitializeOnPreviewAllowlist=e,e.allowlist=new WeakMap,zc}var Bc={},Hc={},yA;function mb(){return yA||(yA=1,Object.defineProperty(Hc,"__esModule",{value:!0}),Hc.INQUIRER=void 0,Hc.INQUIRER="INQUIRER"),Hc}var Vc={},Gc={},EA;function g3(){if(EA)return Gc;EA=1,Object.defineProperty(Gc,"__esModule",{value:!0}),Gc.SilentLogger=void 0;const e=ve(),t=()=>{};class r extends e.Logger{constructor(){super(...arguments),this.log=t,this.error=t,this.warn=t,this.debug=t,this.verbose=t,this.fatal=t,this.setLogLevels=t}}return Gc.SilentLogger=r,Gc}var Wc={},Md={},xA;function Np(){if(xA)return Md;xA=1,Object.defineProperty(Md,"__esModule",{value:!0}),Md.getClassScope=t;const e=xe();function t(r){const i=Reflect.getMetadata(e.SCOPE_OPTIONS_METADATA,r);return i&&i.scope}return Md}var Id={},OA;function _b(){if(OA)return Id;OA=1,Object.defineProperty(Id,"__esModule",{value:!0}),Id.isDurable=t;const e=xe();function t(r){const i=Reflect.getMetadata(e.SCOPE_OPTIONS_METADATA,r);return i&&i.durable}return Id}var Zc={},wA;function fN(){if(wA)return Zc;wA=1,Object.defineProperty(Zc,"__esModule",{value:!0}),Zc.AbstractInstanceResolver=void 0;const e=ve(),t=ql();class r{find(o,n){const s=this.instanceLinksHost.get(o,n),a=({wrapperRef:c})=>{if(c.scope===e.Scope.REQUEST||c.scope===e.Scope.TRANSIENT)throw new t.InvalidClassScopeException(o);return c.instance};return Array.isArray(s)?s.map(a):a(s)}async resolvePerContext(o,n,s,a){const c=a?.strict?this.instanceLinksHost.get(o,{moduleId:n.id,each:a.each}):this.instanceLinksHost.get(o,{each:a?.each}),u=async p=>{const{wrapperRef:l,collection:d}=p;if(l.isDependencyTreeStatic()&&!l.isTransient)return this.get(o,{strict:a?.strict});const f=l.instance||{constructor:o},h=await this.injector.loadPerContext(f,l.host,d,s,l);if(!h)throw new t.UnknownElementException;return h};return Array.isArray(c)?Promise.all(c.map(p=>u(p))):u(c)}}return Zc.AbstractInstanceResolver=r,Zc}var Kc={},Yc={},SA;function b3(){if(SA)return Yc;SA=1,Object.defineProperty(Yc,"__esModule",{value:!0}),Yc.UndefinedDependencyException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n,s){super((0,e.UNKNOWN_DEPENDENCIES_MESSAGE)(o,n,s))}}return Yc.UndefinedDependencyException=r,Yc}var Xc={},PA;function hN(){if(PA)return Xc;PA=1,Object.defineProperty(Xc,"__esModule",{value:!0}),Xc.UnknownDependenciesException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n,s,a){super((0,e.UNKNOWN_DEPENDENCIES_MESSAGE)(o,n,s)),this.type=o,this.context=n,this.metadata=a,this.moduleRef=s&&{id:s.id}}}return Xc.UnknownDependenciesException=r,Xc}var Qc={},TA;function y3(){if(TA)return Qc;TA=1,Object.defineProperty(Qc,"__esModule",{value:!0}),Qc.Barrier=void 0;class e{constructor(r){this.currentCount=0,this.targetCount=r,this.promise=new Promise(i=>{this.resolve=i})}signal(){this.currentCount+=1,this.currentCount===this.targetCount&&this.resolve()}async wait(){return this.promise}async signalAndWait(){return this.signal(),this.wait()}}return Qc.Barrier=e,Qc}var Nm={},AA;function vN(){return AA||(AA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(mb(),e)})(Nm)),Nm}var Fm={},rn={},Jc={},RA;function gb(){if(RA)return Jc;RA=1,Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.DeterministicUuidRegistry=void 0;class e{static get(r,i=0){const o=i?this.hashCode(`${r}_${i}`):this.hashCode(r);return this.registry.has(o)?this.get(r,i+1):(this.registry.set(o,!0),o)}static clear(){this.registry.clear()}static hashCode(r){let i=0;for(let o=0;o<r.length;o++)i=Math.imul(31,i)+r.charCodeAt(o)|0;return i.toString()}}return Jc.DeterministicUuidRegistry=e,e.registry=new Map,Jc}var MA;function Nl(){if(MA)return rn;MA=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.UuidFactory=rn.UuidFactoryMode=void 0;const e=nr(),t=gb();var r;(function(o){o.Random="random",o.Deterministic="deterministic"})(r||(rn.UuidFactoryMode=r={}));class i{static set mode(n){this._mode=n}static get(n=""){return this._mode===r.Deterministic?t.DeterministicUuidRegistry.get(n):(0,e.randomStringGenerator)()}}return rn.UuidFactory=i,i._mode=r.Random,rn}var Yn={},IA;function E3(){if(IA)return Yn;IA=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.isClassProvider=t,Yn.isValueProvider=r,Yn.isFactoryProvider=i;const e=ne();function t(o){return!!o?.useClass}function r(o){const n=o?.useValue;return!(0,e.isUndefined)(n)}function i(o){return!!o.useFactory}return Yn}var CA;function Fl(){return CA||(CA=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.InstanceWrapper=e.INSTANCE_ID_SYMBOL=e.INSTANCE_METADATA_SYMBOL=void 0;const r=ve(),i=rr(),o=nr(),n=ne(),s=Ve(),a=Nl(),c=it(),u=E3();e.INSTANCE_METADATA_SYMBOL=Symbol.for("instance_metadata:cache"),e.INSTANCE_ID_SYMBOL=Symbol.for("instance_metadata:id");class p{constructor(d={}){this.isAlias=!1,this.scope=r.Scope.DEFAULT,this.values=new WeakMap,this[t]={},this.initialize(d),this[e.INSTANCE_ID_SYMBOL]=d[e.INSTANCE_ID_SYMBOL]??this.generateUuid()}get id(){return this[e.INSTANCE_ID_SYMBOL]}set instance(d){this.values.set(c.STATIC_CONTEXT,{instance:d})}get instance(){return this.getInstanceByContextId(c.STATIC_CONTEXT).instance}get isNotMetatype(){return!this.metatype||this.isFactory}get isFactory(){return!!this.metatype&&!(0,n.isNil)(this.inject)}get isTransient(){return this.scope===r.Scope.TRANSIENT}getInstanceByContextId(d,f){if(this.scope===r.Scope.TRANSIENT&&f)return this.getInstanceByInquirerId(d,f);const h=this.values.get(d);return h||(d!==c.STATIC_CONTEXT?this.cloneStaticInstance(d):{instance:null,isResolved:!0,isPending:!1})}getInstanceByInquirerId(d,f){let h=this.transientMap.get(f);h||(h=new WeakMap,this.transientMap.set(f,h));const m=h.get(d);return m||this.cloneTransientInstance(d,f)}setInstanceByContextId(d,f,h){if(this.scope===r.Scope.TRANSIENT&&h)return this.setInstanceByInquirerId(d,h,f);this.values.set(d,f)}setInstanceByInquirerId(d,f,h){let m=this.transientMap.get(f);m||(m=new WeakMap,this.transientMap.set(f,m)),m.set(d,h)}removeInstanceByContextId(d,f){if(this.scope===r.Scope.TRANSIENT&&f)return this.removeInstanceByInquirerId(d,f);this.values.delete(d)}removeInstanceByInquirerId(d,f){const h=this.transientMap.get(f);h&&h.delete(d)}addCtorMetadata(d,f){this[e.INSTANCE_METADATA_SYMBOL].dependencies||(this[e.INSTANCE_METADATA_SYMBOL].dependencies=[]),this[e.INSTANCE_METADATA_SYMBOL].dependencies[d]=f}getCtorMetadata(){return this[e.INSTANCE_METADATA_SYMBOL].dependencies}addPropertiesMetadata(d,f){this[e.INSTANCE_METADATA_SYMBOL].properties||(this[e.INSTANCE_METADATA_SYMBOL].properties=[]),this[e.INSTANCE_METADATA_SYMBOL].properties.push({key:d,wrapper:f})}getPropertiesMetadata(){return this[e.INSTANCE_METADATA_SYMBOL].properties}addEnhancerMetadata(d){this[e.INSTANCE_METADATA_SYMBOL].enhancers||(this[e.INSTANCE_METADATA_SYMBOL].enhancers=[]),this[e.INSTANCE_METADATA_SYMBOL].enhancers.push(d)}getEnhancersMetadata(){return this[e.INSTANCE_METADATA_SYMBOL].enhancers}isDependencyTreeDurable(d=[]){if(!(0,n.isUndefined)(this.isTreeDurable))return this.isTreeDurable;if(this.scope===r.Scope.REQUEST)return this.isTreeDurable=this.durable===void 0?!1:this.durable,this.isTreeDurable&&this.printIntrospectedAsDurable(),this.isTreeDurable;if(this.isDependencyTreeStatic())return!1;const h=this.introspectDepsAttribute((m,v)=>m.some(g=>!g.isDependencyTreeStatic()&&!g.isDependencyTreeDurable(v)),d);return this.isTreeDurable=!h,this.isTreeDurable&&this.printIntrospectedAsDurable(),this.isTreeDurable}introspectDepsAttribute(d,f=[]){if(f.includes(this[e.INSTANCE_ID_SYMBOL]))return!1;f=f.concat(this[e.INSTANCE_ID_SYMBOL]);const{dependencies:h,properties:m,enhancers:v}=this[e.INSTANCE_METADATA_SYMBOL];let g=h?d(h,f):!1;return g||!(m||v)||(g=m?d(m.map(_=>_.wrapper),f):!1,g||!v)?g:v?d(v,f):!1}isDependencyTreeStatic(d=[]){return(0,n.isUndefined)(this.isTreeStatic)?this.scope===r.Scope.REQUEST?(this.isTreeStatic=!1,this.printIntrospectedAsRequestScoped(),this.isTreeStatic):(this.isTreeStatic=!this.introspectDepsAttribute((f,h)=>f.some(m=>!m.isDependencyTreeStatic(h)),d),this.isTreeStatic||this.printIntrospectedAsRequestScoped(),this.isTreeStatic):this.isTreeStatic}cloneStaticInstance(d){const f=this.getInstanceByContextId(c.STATIC_CONTEXT);if(this.isDependencyTreeStatic())return f;const h={...f,instance:void 0,isResolved:!1,isPending:!1};return this.isNewable()&&(h.instance=Object.create(this.metatype.prototype)),this.setInstanceByContextId(d,h),h}cloneTransientInstance(d,f){const m={...this.getInstanceByContextId(c.STATIC_CONTEXT),instance:void 0,isResolved:!1,isPending:!1};return this.isNewable()&&(m.instance=Object.create(this.metatype.prototype)),this.setInstanceByInquirerId(d,f,m),m}createPrototype(d){const f=this.getInstanceByContextId(d);if(!(!this.isNewable()||f.isResolved))return Object.create(this.metatype.prototype)}isInRequestScope(d,f){return!this.isDependencyTreeStatic()&&d!==c.STATIC_CONTEXT&&(!this.isTransient||this.isTransient&&!!f)}isLazyTransient(d,f){const h=!!(f&&!f.isDependencyTreeStatic());return this.isDependencyTreeStatic()&&d!==c.STATIC_CONTEXT&&this.isTransient&&h}isExplicitlyRequested(d,f){const h=f===this;return this.isDependencyTreeStatic()&&d!==c.STATIC_CONTEXT&&(h||!!(f&&f.scope===r.Scope.TRANSIENT))}isStatic(d,f){const h=f&&!f.isDependencyTreeStatic(),m=this.isTransient&&!h,v=f?.getRootInquirer();return this.isDependencyTreeStatic()&&d===c.STATIC_CONTEXT&&(!this.isTransient||m&&!!f&&!f.isTransient||m&&!!v&&!v.isTransient)}attachRootInquirer(d){this.isTransient&&(this.rootInquirer=d.getRootInquirer()??d)}getRootInquirer(){return this.rootInquirer}getStaticTransientInstances(){if(!this.transientMap)return[];const d=[...this.transientMap.values()];return(0,s.iterate)(d).map(f=>f.get(c.STATIC_CONTEXT)).filter(f=>!!(f&&f.isConstructorCalled)).toArray()}mergeWith(d){(0,u.isValueProvider)(d)?(this.metatype=null,this.inject=null,this.scope=r.Scope.DEFAULT,this.setInstanceByContextId(c.STATIC_CONTEXT,{instance:d.useValue,isResolved:!0,isPending:!1})):(0,u.isClassProvider)(d)?(this.inject=null,this.metatype=d.useClass):(0,u.isFactoryProvider)(d)&&(this.metatype=d.useFactory,this.inject=d.inject||[])}isNewable(){return(0,n.isNil)(this.inject)&&this.metatype&&this.metatype.prototype}initialize(d){const{instance:f,isResolved:h,...m}=d;Object.assign(this,m),this.setInstanceByContextId(c.STATIC_CONTEXT,{instance:f,isResolved:h}),this.scope===r.Scope.TRANSIENT&&(this.transientMap=new Map)}printIntrospectedAsRequestScoped(){!this.isDebugMode()||this.name==="REQUEST"||(0,n.isString)(this.name)&&p.logger.log(`${i.clc.cyanBright(this.name)}${i.clc.green(" introspected as ")}${i.clc.magentaBright("request-scoped")}`)}printIntrospectedAsDurable(){this.isDebugMode()&&(0,n.isString)(this.name)&&p.logger.log(`${i.clc.cyanBright(this.name)}${i.clc.green(" introspected as ")}${i.clc.magentaBright("durable")}`)}isDebugMode(){return!!process.env.NEST_DEBUG}generateUuid(){let d=this.name?.toString()??this.token?.toString();return d+=this.host?.name??"",d?a.UuidFactory.get(d):(0,o.randomStringGenerator)()}}e.InstanceWrapper=p,t=e.INSTANCE_METADATA_SYMBOL,p.logger=new r.Logger(p.name)})(Fm)),Fm}var $c={},jA;function x3(){if(jA)return $c;jA=1,Object.defineProperty($c,"__esModule",{value:!0}),$c.SettlementSignal=void 0;class e{constructor(){this._refs=new Set,this.completed=!1,this.settledPromise=new Promise(r=>{this.settleFn=r})}complete(){this.completed=!0,this.settleFn()}error(r){this.completed=!0,this.settleFn(r)}asPromise(){return this.settledPromise}insertRef(r){this._refs.add(r)}isCycle(r){return!this.completed&&this._refs.has(r)}}return $c.SettlementSignal=e,$c}var qA;function fi(){if(qA)return Kc;qA=1,Object.defineProperty(Kc,"__esModule",{value:!0}),Kc.Injector=void 0;const e=ve(),t=xe(),r=rr(),i=ne(),o=Ve(),n=$F,s=ql(),a=et(),c=b3(),u=hN(),p=y3(),l=it(),d=vN(),f=Fl(),h=x3();class m{constructor(g){this.options=g,this.logger=new e.Logger("InjectorLogger"),this.instanceDecorator=_=>_,g?.instanceDecorator&&(this.instanceDecorator=g.instanceDecorator)}loadPrototype({token:g},_,b=l.STATIC_CONTEXT){if(!_)return;const y=_.get(g),E=y.createPrototype(b);if(E){const x=new f.InstanceWrapper({...y,instance:E});_.set(g,x)}}async loadInstance(g,_,b,y=l.STATIC_CONTEXT,E){const x=this.getInquirerId(E),O=g.getInstanceByContextId(this.getContextId(y,g),x);if(O.isPending){const P=g.settlementSignal;if(E&&P?.isCycle(E.id))throw new s.CircularDependencyException(`"${g.name}"`);return O.donePromise.then(N=>{if(N)throw N})}const S=this.applySettlementSignal(O,g),w=g.token||g.name,{inject:T}=g,R=_.get(w);if((0,i.isUndefined)(R))throw new a.RuntimeException;if(O.isResolved)return S.complete();try{const P=this.getNowTimestamp(),N=async L=>{const V=await this.resolveProperties(g,b,T,y,g,E),F=await this.instantiateClass(L,g,R,y,E);this.applyProperties(F,V),g.initTime=this.getNowTimestamp()-P,S.complete()};await this.resolveConstructorParams(g,b,T,N,y,g,E)}catch(P){throw g.removeInstanceByContextId(this.getContextId(y,g),x),S.error(P),P}}async loadMiddleware(g,_,b,y=l.STATIC_CONTEXT,E){const{metatype:x,token:O}=g,S=_.get(O);(0,i.isUndefined)(S.instance)&&(S.instance=Object.create(x.prototype),await this.loadInstance(g,_,b,y,E||g))}async loadController(g,_,b=l.STATIC_CONTEXT){const y=_.controllers;await this.loadInstance(g,y,_,b,g),await this.loadEnhancersPerContext(g,b,g)}async loadInjectable(g,_,b=l.STATIC_CONTEXT,y){const E=_.injectables;await this.loadInstance(g,E,_,b,y)}async loadProvider(g,_,b=l.STATIC_CONTEXT,y){const E=_.providers;await this.loadInstance(g,E,_,b,y),await this.loadEnhancersPerContext(g,b,g)}applySettlementSignal(g,_){const b=new h.SettlementSignal;return g.donePromise=b.asPromise(),g.isPending=!0,_.settlementSignal=b,b}async resolveConstructorParams(g,_,b,y,E=l.STATIC_CONTEXT,x,O){const S=g.getCtorMetadata();if(S&&E!==l.STATIC_CONTEXT){const F=await this.loadCtorMetadata(S,E,x,O);return y(F)}const w=!(0,i.isNil)(b),[T,R]=w?this.getFactoryProviderDependencies(g):this.getClassDependencies(g),P=new p.Barrier(T.length);let N=!0;const L=async(F,H)=>{try{if(this.isInquirer(F,O))return P.signal(),O&&O.instance;x?.isTransient&&O&&x.attachRootInquirer(O);const X=await this.resolveSingleParam(g,F,{index:H,dependencies:T},_,E,x,H);await P.signalAndWait();const te=this.getEffectiveInquirer(X,x,O,E),U=await this.resolveComponentHost(_,X,E,te),re=U.getInstanceByContextId(this.getContextId(E,U),this.getInquirerId(te));return!re.isResolved&&!U.forwardRef&&(N=!1),re?.instance}catch(X){if(P.signal(),!R.includes(H))throw X;return}},V=await Promise.all(T.map(L));N&&await y(V)}getClassDependencies(g){const _=g.metatype;return[this.reflectConstructorParams(_),this.reflectOptionalParams(_)]}getFactoryProviderDependencies(g){const _=[];function b(E){return!(0,i.isUndefined)(E.token)&&!(0,i.isUndefined)(E.optional)&&!E.prototype}const y=(E,x)=>typeof E!="object"?E:b(E)?(E.optional&&_.push(x),E?.token):E;return[g.inject?.map?.(y),_]}reflectConstructorParams(g){const _=[...Reflect.getMetadata(t.PARAMTYPES_METADATA,g)||[]];return this.reflectSelfParams(g).forEach(({index:y,param:E})=>_[y]=E),_}reflectOptionalParams(g){return Reflect.getMetadata(t.OPTIONAL_DEPS_METADATA,g)||[]}reflectSelfParams(g){return Reflect.getMetadata(t.SELF_DECLARED_DEPS_METADATA,g)||[]}async resolveSingleParam(g,_,b,y,E=l.STATIC_CONTEXT,x,O){if((0,i.isUndefined)(_))throw this.logger.log("Nest encountered an undefined dependency. This may be due to a circular import or a missing dependency declaration."),new c.UndefinedDependencyException(g.name,b,y);const S=this.resolveParamToken(g,_);return this.resolveComponentWrapper(y,S,b,g,E,x,O)}resolveParamToken(g,_){return typeof _=="object"&&"forwardRef"in _?(g.forwardRef=!0,_.forwardRef()):_}async resolveComponentWrapper(g,_,b,y,E=l.STATIC_CONTEXT,x,O){this.printResolvingDependenciesLog(_,x),this.printLookingForProviderLog(_,g);const S=g.providers;return this.lookupComponent(S,g,{...b,name:_},y,E,x,O)}async resolveComponentHost(g,_,b=l.STATIC_CONTEXT,y){const E=this.getInquirerId(y),x=_.getInstanceByContextId(this.getContextId(b,_),E);if(!x.isResolved&&!_.forwardRef?(y?.settlementSignal?.insertRef(_.id),await this.loadProvider(_,_.host??g,b,y)):!x.isResolved&&_.forwardRef&&(b!==l.STATIC_CONTEXT||E)&&x.donePromise&&x.donePromise.then(()=>this.loadProvider(_,g,b,y)),_.async){const O=_.getInstanceByContextId(this.getContextId(b,_),E);O.instance=await O.instance,_.setInstanceByContextId(b,O,E)}return _}async lookupComponent(g,_,b,y,E=l.STATIC_CONTEXT,x,O){const S=y.token||y.name,{name:w}=b;if(y&&S===w)throw new u.UnknownDependenciesException(y.name,b,_,{id:y.id});if(w&&g.has(w)){const T=g.get(w);return this.printFoundInModuleLog(w,_),this.addDependencyMetadata(O,y,T),T}return this.lookupComponentInParentModules(b,_,y,E,x,O)}async lookupComponentInParentModules(g,_,b,y=l.STATIC_CONTEXT,E,x){const O=await this.lookupComponentInImports(_,g.name,b,[],y,E,x);if((0,i.isNil)(O))throw new u.UnknownDependenciesException(b.name,g,_,{id:b.id});return O}async lookupComponentInImports(g,_,b,y=[],E=l.STATIC_CONTEXT,x,O,S){let w=null;const T=g.imports||new Set,R=N=>N;let P=[...T.values()].filter(R);if(S){const N=g.exports;P=P.filter(L=>N.has(L.metatype))}for(const N of P){if(y.includes(N.id))continue;this.printLookingForProviderLog(_,N),y.push(N.id);const{providers:L,exports:V}=N;if(!V.has(_)||!L.has(_)){const X=await this.lookupComponentInImports(N,_,b,y,E,x,O,!0);if(X)return this.addDependencyMetadata(O,b,X),X;continue}this.printFoundInModuleLog(_,N),w=L.get(_),this.addDependencyMetadata(O,b,w);const F=this.getInquirerId(x);if(!w.getInstanceByContextId(this.getContextId(E,w),F).isResolved&&!w.forwardRef)break}return w}async resolveProperties(g,_,b,y=l.STATIC_CONTEXT,E,x){if(!(0,i.isNil)(b))return[];const O=g.getPropertiesMetadata();if(O&&y!==l.STATIC_CONTEXT)return this.loadPropertiesMetadata(O,y,E);const S=this.reflectProperties(g.metatype),w=new p.Barrier(S.length),T=await Promise.all(S.map(async R=>{try{const P={key:R.key,name:R.name};if(this.isInquirer(R.name,x))return w.signal(),x&&x.instance;const N=await this.resolveSingleParam(g,R.name,P,_,y,E,R.key);await w.signalAndWait();const L=this.getEffectiveInquirer(N,E,x,y),V=await this.resolveComponentHost(_,N,y,L);return V?V.getInstanceByContextId(this.getContextId(y,V),this.getInquirerId(L)).instance:void 0}catch(P){if(w.signal(),!R.isOptional)throw P;return}}));return S.map((R,P)=>({...R,instance:T[P]}))}reflectProperties(g){const _=Reflect.getMetadata(t.PROPERTY_DEPS_METADATA,g)||[],b=Reflect.getMetadata(t.OPTIONAL_PROPERTY_DEPS_METADATA,g)||[];return _.map(y=>({...y,name:y.type,isOptional:b.includes(y.key)}))}applyProperties(g,_){(0,i.isObject)(g)&&(0,o.iterate)(_).filter(b=>!(0,i.isNil)(b.instance)).forEach(b=>g[b.key]=b.instance)}async instantiateClass(g,_,b,y=l.STATIC_CONTEXT,E){const{metatype:x,inject:O}=_,S=this.getInquirerId(E),w=b.getInstanceByContextId(this.getContextId(y,b),S),T=_.isStatic(y,E)||_.isInRequestScope(y,E)||_.isLazyTransient(y,E)||_.isExplicitlyRequested(y,E);if(this.options?.preview&&!_.host?.initOnPreview)return w.isResolved=!0,w.instance;if((0,i.isNil)(O)&&T)w.instance=_.forwardRef?Object.assign(w.instance,new x(...g)):new x(...g),w.instance=this.instanceDecorator(w.instance),w.isConstructorCalled=!0;else if(T){const R=b.metatype(...g);w.instance=await R,w.instance=this.instanceDecorator(w.instance),w.isConstructorCalled=!0}return w.isResolved=!0,w.instance}async loadPerContext(g,_,b,y,E){if(!E){const O=g.constructor;E=b.get(O)}await this.loadInstance(E,b,_,y,E),await this.loadEnhancersPerContext(E,y,E);const x=E.getInstanceByContextId(this.getContextId(y,E),E.id);return x&&x.instance}async loadEnhancersPerContext(g,_,b){const y=g.getEnhancersMetadata()||[],E=x=>{const O=x.host;return this.loadInstance(x,O.injectables,O,_,b)};await Promise.all(y.map(E))}async loadCtorMetadata(g,_,b,y){return(await Promise.all(g.map(async x=>this.resolveScopedComponentHost(x,_,b,y)))).map((x,O)=>{const S=g[O],w=this.getEffectiveInquirer(S,b,y,_);return x?.getInstanceByContextId(this.getContextId(_,x),this.getInquirerId(w)).instance})}async loadPropertiesMetadata(g,_,b){const y=await Promise.all(g.map(async({wrapper:x,key:O})=>({key:O,host:await this.resolveComponentHost(x.host,x,_,b)}))),E=this.getInquirerId(b);return y.map(({key:x,host:O})=>({key:x,name:x,instance:O.getInstanceByContextId(this.getContextId(_,O),E).instance}))}getInquirerId(g){return g?g.id:void 0}getEffectiveInquirer(g,_,b,y){return g?.isTransient&&_?.isTransient&&b&&y!==l.STATIC_CONTEXT?b:_}resolveScopedComponentHost(g,_,b,y){return this.isInquirerRequest(g,y)?y:this.resolveComponentHost(g.host,g,_,this.getEffectiveInquirer(g,b,y,_))}isInquirerRequest(g,_){return g.isTransient&&g.name===d.INQUIRER&&_}isInquirer(g,_){return g===d.INQUIRER&&_}addDependencyMetadata(g,_,b){(0,i.isSymbol)(g)||(0,i.isString)(g)?_.addPropertiesMetadata(g,b):_.addCtorMetadata(g,b)}getTokenName(g){return(0,i.isFunction)(g)?g.name:g.toString()}printResolvingDependenciesLog(g,_){if(!this.isDebugMode())return;const b=this.getTokenName(g),y=(_?.name&&_.name.toString?.())??"unknown",E=y===b,x=`Resolving dependency ${r.clc.cyanBright(b)}${r.clc.green(" in the ")}${r.clc.yellow(y)}${r.clc.green(` provider ${E?"(alias)":""}`)}`;this.logger.log(x)}printLookingForProviderLog(g,_){if(!this.isDebugMode())return;const b=this.getTokenName(g),y=_?.metatype?.name??"unknown";this.logger.log(`Looking for ${r.clc.cyanBright(b)}${r.clc.green(" in ")}${r.clc.magentaBright(y)}`)}printFoundInModuleLog(g,_){if(!this.isDebugMode())return;const b=this.getTokenName(g),y=_?.metatype?.name??"unknown";this.logger.log(`Found ${r.clc.cyanBright(b)}${r.clc.green(" in ")}${r.clc.magentaBright(y)}`)}isDebugMode(){return!!process.env.NEST_DEBUG}getContextId(g,_){return g.getParent?g.getParent({token:_.token,isTreeDurable:_.isDependencyTreeDurable()}):g}getNowTimestamp(){return n.performance.now()}}return Kc.Injector=m,Kc}var eu={},NA;function mN(){if(NA)return eu;NA=1,Object.defineProperty(eu,"__esModule",{value:!0}),eu.InstanceLinksHost=void 0;const e=ne(),t=pN();class r{constructor(o){this.container=o,this.instanceLinks=new Map,this.initialize()}get(o,n={}){const s=this.instanceLinks.get(o);if(!s)throw new t.UnknownElementException(this.getInstanceNameByToken(o));if(n.each)return s;const a=n.moduleId?s.find(c=>c.moduleId===n.moduleId):s[s.length-1];if(!a)throw new t.UnknownElementException(this.getInstanceNameByToken(o));return a}initialize(){this.container.getModules().forEach(n=>{const{providers:s,injectables:a,controllers:c}=n;s.forEach((u,p)=>this.addLink(u,p,n,"providers")),a.forEach((u,p)=>this.addLink(u,p,n,"injectables")),c.forEach((u,p)=>this.addLink(u,p,n,"controllers"))})}addLink(o,n,s,a){const c={moduleId:s.id,wrapperRef:o,collection:s[a],token:n},u=this.instanceLinks.get(n);u?u.push(c):this.instanceLinks.set(n,[c])}getInstanceNameByToken(o){return(0,e.isFunction)(o)?o?.name:o}}return eu.InstanceLinksHost=r,eu}var FA;function Fp(){if(FA)return Wc;FA=1,Object.defineProperty(Wc,"__esModule",{value:!0}),Wc.ModuleRef=void 0;const e=ve(),t=Np(),r=_b(),i=fN(),o=fi(),n=mN(),s=Fl();class a extends i.AbstractInstanceResolver{get instanceLinksHost(){return this._instanceLinksHost||(this._instanceLinksHost=new n.InstanceLinksHost(this.container)),this._instanceLinksHost}constructor(u){super(),this.container=u,this.injector=new o.Injector({preview:u.contextOptions?.preview,instanceDecorator:u.contextOptions?.instrument?.instanceDecorator})}introspect(u){const{wrapperRef:p}=this.instanceLinksHost.get(u);let l=e.Scope.DEFAULT;return p.isDependencyTreeStatic()?p.isTransient&&(l=e.Scope.TRANSIENT):l=e.Scope.REQUEST,{scope:l}}registerRequestByContextId(u,p){this.container.registerRequestProvider(u,p)}async instantiateClass(u,p,l){const d=new s.InstanceWrapper({name:u&&u.name,metatype:u,isResolved:!1,scope:(0,t.getClassScope)(u),durable:(0,r.isDurable)(u),host:p});return new Promise(async(f,h)=>{try{const m=async v=>{const g=await this.injector.resolveProperties(d,p,void 0,l),_=new u(...v);this.injector.applyProperties(_,g),f(_)};await this.injector.resolveConstructorParams(d,p,void 0,m,l)}catch(m){h(m)}})}}return Wc.ModuleRef=a,Wc}var DA;function bb(){if(DA)return Vc;DA=1,Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.LazyModuleLoader=void 0;const e=g3(),t=Fp();class r{constructor(o,n,s,a,c){this.dependenciesScanner=o,this.instanceLoader=n,this.moduleCompiler=s,this.modulesContainer=a,this.moduleOverrides=c}async load(o,n){this.registerLoggerConfiguration(n);const s=await o(),a=await this.dependenciesScanner.scanForModules({moduleDefinition:s,overrides:this.moduleOverrides,lazy:!0});if(a.length===0){const{token:p}=await this.moduleCompiler.compile(s),l=this.modulesContainer.get(p);return l&&this.getTargetModuleRef(l)}const c=this.createLazyModulesContainer(a);await this.dependenciesScanner.scanModulesForDependencies(c),await this.instanceLoader.createInstancesOfDependencies(c);const[u]=a;return this.getTargetModuleRef(u)}registerLoggerConfiguration(o){o?.logger===!1&&this.instanceLoader.setLogger(new e.SilentLogger)}createLazyModulesContainer(o){return o=Array.from(new Set(o)),new Map(o.map(n=>[n.token,n]))}getTargetModuleRef(o){return o.getProviderByKey(t.ModuleRef).instance}}return Vc.LazyModuleLoader=r,Vc}var tu={},kA;function _N(){if(kA)return tu;kA=1,Object.defineProperty(tu,"__esModule",{value:!0}),tu.Reflector=void 0;const e=ve(),t=ne(),r=dn();class i{static createDecorator(n={}){const s=n.key??(0,r.uid)(21),a=c=>(u,p,l)=>{const d=n.transform?n.transform(c):c;(0,e.SetMetadata)(s,d??{})(u,p,l)};return a.KEY=s,a}get(n,s){const a=n.KEY??n;return Reflect.getMetadata(a,s)}getAll(n,s){return(s||[]).map(a=>this.get(n,a))}getAllAndMerge(n,s){const a=this.getAll(n,s).filter(c=>c!==void 0);if((0,t.isEmpty)(a))return a;if(a.length===1){const c=a[0];return(0,t.isObject)(c)?c:a}return a.reduce((c,u)=>Array.isArray(c)?c.concat(u):(0,t.isObject)(c)&&(0,t.isObject)(u)?{...c,...u}:[c,u])}getAllAndOverride(n,s){for(const a of s){const c=this.get(n,a);if(c!==void 0)return c}}}return tu.Reflector=i,tu}var LA;function yb(){if(LA)return Bc;LA=1,Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.SerializedGraph=void 0;const e=dr(),t=hb(),r=Cl(),i=mb(),o=bb(),n=Fp(),s=pi(),a=wn(),c=_N(),u=gb();class p{constructor(){this.nodes=new Map,this.edges=new Map,this.entrypoints=new Map,this.extras={orphanedEnhancers:[],attachedEnhancers:[]},this._status="complete"}set status(d){this._status=d}set metadata(d){this._metadata=d}insertNode(d){return d.metadata.type==="provider"&&p.INTERNAL_PROVIDERS.includes(d.metadata.token)&&(d.metadata={...d.metadata,internal:!0}),this.nodes.has(d.id)?this.nodes.get(d.id):(this.nodes.set(d.id,d),d)}insertEdge(d){d.metadata.type==="class-to-class"&&(p.INTERNAL_PROVIDERS.includes(d.metadata.sourceClassToken)||p.INTERNAL_PROVIDERS.includes(d.metadata.targetClassToken))&&(d.metadata={...d.metadata,internal:!0});const f=d.id??this.generateUuidByEdgeDefinition(d),h={...d,id:f};return this.edges.set(f,h),h}insertEntrypoint(d,f){this.entrypoints.has(f)?this.entrypoints.get(f).push(d):this.entrypoints.set(f,[d])}insertOrphanedEnhancer(d){this.extras.orphanedEnhancers.push(d)}insertAttachedEnhancer(d){this.extras.attachedEnhancers.push({nodeId:d})}getNodeById(d){return this.nodes.get(d)}toJSON(){const d={nodes:Object.fromEntries(this.nodes),edges:Object.fromEntries(this.edges),entrypoints:Object.fromEntries(this.entrypoints),extras:this.extras};return this._status&&(d.status=this._status),this._metadata&&(d.metadata=this._metadata),d}toString(){const d=(f,h)=>typeof h=="symbol"?h.toString():typeof h=="function"?h.name??"Function":h;return JSON.stringify(this.toJSON(),d,2)}generateUuidByEdgeDefinition(d){return u.DeterministicUuidRegistry.get(JSON.stringify(d))}}return Bc.SerializedGraph=p,p.INTERNAL_PROVIDERS=[e.ApplicationConfig,n.ModuleRef,r.HttpAdapterHost,o.LazyModuleLoader,t.ExternalContextCreator,s.ModulesContainer,c.Reflector,p,r.HttpAdapterHost.name,c.Reflector.name,a.REQUEST,i.INQUIRER],Bc}var ru={},UA;function O3(){if(UA)return ru;UA=1,Object.defineProperty(ru,"__esModule",{value:!0}),ru.ModuleCompiler=void 0;class e{constructor(r){this._moduleOpaqueKeyFactory=r}get moduleOpaqueKeyFactory(){return this._moduleOpaqueKeyFactory}async compile(r){r=await r;const{type:i,dynamicMetadata:o}=this.extractMetadata(r),n=o?this._moduleOpaqueKeyFactory.createForDynamic(i,o,r):this._moduleOpaqueKeyFactory.createForStatic(i,r);return{type:i,dynamicMetadata:o,token:n}}extractMetadata(r){if(!this.isDynamicModule(r))return{type:r?.forwardRef?r.forwardRef():r,dynamicMetadata:void 0};const{module:i,...o}=r;return{type:i,dynamicMetadata:o}}isDynamicModule(r){return!!r.module}}return ru.ModuleCompiler=e,ru}var Xn={},nu={},zA;function w3(){if(zA)return nu;zA=1,Object.defineProperty(nu,"__esModule",{value:!0}),nu.requestProvider=void 0;const e=ve(),t=wn(),r=()=>{};return nu.requestProvider={provide:t.REQUEST,scope:e.Scope.REQUEST,useFactory:r},nu}var Dm={},BA;function gN(){return BA||(BA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(_N(),e)})(Dm)),Dm}var iu={},HA;function S3(){if(HA)return iu;HA=1,Object.defineProperty(iu,"__esModule",{value:!0}),iu.inquirerProvider=void 0;const e=ve(),t=mb(),r=()=>{};return iu.inquirerProvider={provide:t.INQUIRER,scope:e.Scope.TRANSIENT,useFactory:r},iu}var VA;function Dp(){if(VA)return Xn;VA=1;var e;Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.InternalCoreModule=void 0;const t=ae(),r=ve(),i=w3(),o=gN(),n=S3(),s={provide:o.Reflector.name,useExisting:o.Reflector};let a=e=class{static register(u){return{module:e,providers:[...u],exports:[...u.map(p=>p.provide)]}}};return Xn.InternalCoreModule=a,Xn.InternalCoreModule=a=e=t.__decorate([(0,r.Global)(),(0,r.Module)({providers:[o.Reflector,s,i.requestProvider,n.inquirerProvider],exports:[o.Reflector,s,i.requestProvider,n.inquirerProvider]})],a),Xn}var au={},GA;function P3(){if(GA)return au;GA=1,Object.defineProperty(au,"__esModule",{value:!0}),au.InternalProvidersStorage=void 0;const e=Cl();class t{constructor(){this._httpAdapterHost=new e.HttpAdapterHost}get httpAdapterHost(){return this._httpAdapterHost}get httpAdapter(){return this._httpAdapter}set httpAdapter(i){this._httpAdapter=i}}return au.InternalProvidersStorage=t,au}var ou={},WA;function T3(){if(WA)return ou;WA=1,Object.defineProperty(ou,"__esModule",{value:!0}),ou.Module=void 0;const e=xe(),t=hp(),r=nr(),i=ne(),o=Ve(),n=dr(),s=ql(),a=jl(),c=Np(),u=_b(),p=Nl(),l=it(),d=Fl(),f=Fp();class h{constructor(v,g){this._metatype=v,this.container=g,this._imports=new Set,this._providers=new Map,this._injectables=new Map,this._middlewares=new Map,this._controllers=new Map,this._entryProviderKeys=new Set,this._exports=new Set,this._distance=0,this._initOnPreview=!1,this._isGlobal=!1,this.addCoreProviders(),this._id=this.generateUuid()}get id(){return this._id}get token(){return this._token}set token(v){this._token=v}get name(){return this.metatype.name}get isGlobal(){return this._isGlobal}set isGlobal(v){this._isGlobal=v}get initOnPreview(){return this._initOnPreview}set initOnPreview(v){this._initOnPreview=v}get providers(){return this._providers}get middlewares(){return this._middlewares}get imports(){return this._imports}get injectables(){return this._injectables}get controllers(){return this._controllers}get entryProviders(){return Array.from(this._entryProviderKeys).map(v=>this.providers.get(v))}get exports(){return this._exports}get instance(){if(!this._providers.has(this._metatype))throw new s.RuntimeException;return this._providers.get(this._metatype).instance}get metatype(){return this._metatype}get distance(){return this._distance}set distance(v){this._distance=v}addCoreProviders(){this.addModuleAsProvider(),this.addModuleRef(),this.addApplicationConfig()}addModuleRef(){const v=this.createModuleReferenceType();this._providers.set(f.ModuleRef,new d.InstanceWrapper({token:f.ModuleRef,name:f.ModuleRef.name,metatype:f.ModuleRef,isResolved:!0,instance:new v,host:this}))}addModuleAsProvider(){this._providers.set(this._metatype,new d.InstanceWrapper({token:this._metatype,name:this._metatype.name,metatype:this._metatype,isResolved:!1,instance:null,host:this}))}addApplicationConfig(){this._providers.set(n.ApplicationConfig,new d.InstanceWrapper({token:n.ApplicationConfig,name:n.ApplicationConfig.name,isResolved:!0,instance:this.container.applicationConfig,host:this}))}addInjectable(v,g,_){if(this.isCustomProvider(v))return this.addCustomProvider(v,this._injectables,g);let b=this.injectables.get(v);if(b||(b=new d.InstanceWrapper({token:v,name:v.name,metatype:v,instance:null,isResolved:!1,scope:(0,c.getClassScope)(v),durable:(0,u.isDurable)(v),subtype:g,host:this}),this._injectables.set(v,b)),_){const y=this._controllers.get(_)||this._providers.get(_);y&&y.addEnhancerMetadata(b)}return b}addProvider(v,g){if(this.isCustomProvider(v))return this.isEntryProvider(v.provide)&&this._entryProviderKeys.add(v.provide),this.addCustomProvider(v,this._providers,g);const _=this._providers.has(v);return(this.isTransientProvider(v)||this.isRequestScopeProvider(v))&&_||(this._providers.set(v,new d.InstanceWrapper({token:v,name:v.name,metatype:v,instance:null,isResolved:!1,scope:(0,c.getClassScope)(v),durable:(0,u.isDurable)(v),host:this})),this.isEntryProvider(v)&&this._entryProviderKeys.add(v)),v}isCustomProvider(v){return!(0,i.isNil)(v.provide)}addCustomProvider(v,g,_){return this.isCustomClass(v)?this.addCustomClass(v,g,_):this.isCustomValue(v)?this.addCustomValue(v,g,_):this.isCustomFactory(v)?this.addCustomFactory(v,g,_):this.isCustomUseExisting(v)&&this.addCustomUseExisting(v,g,_),v.provide}isCustomClass(v){return!(0,i.isUndefined)(v.useClass)}isCustomValue(v){return(0,i.isObject)(v)&&Object.prototype.hasOwnProperty.call(v,"useValue")}isCustomFactory(v){return!(0,i.isUndefined)(v.useFactory)}isCustomUseExisting(v){return!(0,i.isUndefined)(v.useExisting)}isDynamicModule(v){return v&&v.module}addCustomClass(v,g,_){let{scope:b,durable:y}=v;const{useClass:E}=v;(0,i.isUndefined)(b)&&(b=(0,c.getClassScope)(E)),(0,i.isUndefined)(y)&&(y=(0,u.isDurable)(E));const x=v.provide;g.set(x,new d.InstanceWrapper({token:x,name:E?.name||E,metatype:E,instance:null,isResolved:!1,scope:b,durable:y,host:this,subtype:_}))}addCustomValue(v,g,_){const{useValue:b,provide:y}=v,E=this.container.contextOptions?.instrument?.instanceDecorator;g.set(y,new d.InstanceWrapper({token:y,name:y?.name||y,metatype:null,instance:E?E(b):b,isResolved:!0,async:b instanceof Promise,host:this,subtype:_}))}addCustomFactory(v,g,_){const{useFactory:b,inject:y,scope:E,durable:x,provide:O}=v;g.set(O,new d.InstanceWrapper({token:O,name:O?.name||O,metatype:b,instance:null,isResolved:!1,inject:y||[],scope:E,durable:x,host:this,subtype:_}))}addCustomUseExisting(v,g,_){const{useExisting:b,provide:y}=v;g.set(y,new d.InstanceWrapper({token:y,name:y?.name||y,metatype:(E=>E),instance:null,isResolved:!1,inject:[b],host:this,isAlias:!0,subtype:_}))}addExportedProviderOrModule(v){const g=_=>this._exports.add(this.validateExportedProvider(_));if(this.isCustomProvider(v))return this.addCustomExportedProvider(v);if((0,i.isString)(v)||(0,i.isSymbol)(v))return g(v);if(this.isDynamicModule(v)){const{module:_}=v;return g(_)}g(v)}addCustomExportedProvider(v){const g=v.provide;if((0,i.isString)(g)||(0,i.isSymbol)(g))return this._exports.add(this.validateExportedProvider(g));this._exports.add(this.validateExportedProvider(g))}validateExportedProvider(v){if(this._providers.has(v))return v;if(!(0,o.iterate)(this._imports.values()).filter(_=>!!_).map(({metatype:_})=>_).filter(_=>!!_).toArray().includes(v)){const{name:_}=this.metatype,b=(0,i.isFunction)(v)?v.name:v;throw new s.UnknownExportException(b,_)}return v}addController(v){this._controllers.set(v,new d.InstanceWrapper({token:v,name:v.name,metatype:v,instance:null,isResolved:!1,scope:(0,c.getClassScope)(v),durable:(0,u.isDurable)(v),host:this})),this.assignControllerUniqueId(v)}assignControllerUniqueId(v){Object.defineProperty(v,l.CONTROLLER_ID_KEY,{enumerable:!1,writable:!1,configurable:!0,value:(0,r.randomStringGenerator)()})}addImport(v){this._imports.add(v)}replace(v,g){if(g.isProvider&&this.hasProvider(v))return this._providers.get(v).mergeWith({provide:v,...g});if(!g.isProvider&&this.hasInjectable(v))return this._injectables.get(v).mergeWith({provide:v,...g})}hasProvider(v){return this._providers.has(v)}hasInjectable(v){return this._injectables.has(v)}getProviderByKey(v){return this._providers.get(v)}getProviderById(v){return Array.from(this._providers.values()).find(g=>g.id===v)}getControllerById(v){return Array.from(this._controllers.values()).find(g=>g.id===v)}getInjectableById(v){return Array.from(this._injectables.values()).find(g=>g.id===v)}getMiddlewareById(v){return Array.from(this._middlewares.values()).find(g=>g.id===v)}getNonAliasProviders(){return[...this._providers].filter(([v,g])=>!g.isAlias)}createModuleReferenceType(){const v=this;return class extends f.ModuleRef{constructor(){super(v.container)}get(g,_={}){return _.strict??=!0,_.each??=!1,this.find(g,_.strict?{moduleId:v.id,each:_.each}:_)}resolve(g,_=(0,a.createContextId)(),b={}){return b.strict??=!0,b.each??=!1,this.resolvePerContext(g,v,_,b)}async create(g,_){if(!(g&&(0,i.isFunction)(g)&&g.prototype))throw new s.InvalidClassException(g);return this.instantiateClass(g,v,_)}}}isEntryProvider(v){return typeof v=="function"?!!Reflect.getMetadata(e.ENTRY_PROVIDER_WATERMARK,v):!1}generateUuid(){const g=this.token?this.token.includes(":")?this.token.split(":")[1]:this.token:this.name;return g?p.UuidFactory.get(`M__${g}`):(0,r.randomStringGenerator)()}isTransientProvider(v){return(0,c.getClassScope)(v)===t.Scope.TRANSIENT}isRequestScopeProvider(v){return(0,c.getClassScope)(v)===t.Scope.REQUEST}}return ou.Module=h,ou}var su={},ZA;function A3(){if(ZA)return su;ZA=1,Object.defineProperty(su,"__esModule",{value:!0}),su.ByReferenceModuleOpaqueKeyFactory=void 0;const e=nr(),t=oi,r=Symbol("K_MODULE_ID");class i{constructor(n){this.keyGenerationStrategy=n?.keyGenerationStrategy??"random"}createForStatic(n,s=n){return this.getOrCreateModuleId(n,void 0,s)}createForDynamic(n,s,a){return this.getOrCreateModuleId(n,s,a)}getOrCreateModuleId(n,s,a){if(a[r])return a[r];let c;return this.keyGenerationStrategy==="random"?c=this.generateRandomString():c=s?`${this.generateRandomString()}:${this.hashString(n.name+JSON.stringify(s))}`:`${this.generateRandomString()}:${this.hashString(n.toString())}`,a[r]=c,c}hashString(n){return(0,t.createHash)("sha256").update(n).digest("hex")}generateRandomString(){return(0,e.randomStringGenerator)()}}return su.ByReferenceModuleOpaqueKeyFactory=i,su}var cu={},km,KA;function R3(){if(KA)return km;KA=1,km=n,n.default=n,n.stable=u,n.stableStringify=u;var e="[...]",t="[Circular]",r=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function n(d,f,h,m){typeof m>"u"&&(m=o()),a(d,"",0,[],void 0,0,m);var v;try{i.length===0?v=JSON.stringify(d,f,h):v=JSON.stringify(d,l(f),h)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var g=r.pop();g.length===4?Object.defineProperty(g[0],g[1],g[3]):g[0][g[1]]=g[2]}}return v}function s(d,f,h,m){var v=Object.getOwnPropertyDescriptor(m,h);v.get!==void 0?v.configurable?(Object.defineProperty(m,h,{value:d}),r.push([m,h,f,v])):i.push([f,h,d]):(m[h]=d,r.push([m,h,f]))}function a(d,f,h,m,v,g,_){g+=1;var b;if(typeof d=="object"&&d!==null){for(b=0;b<m.length;b++)if(m[b]===d){s(t,d,f,v);return}if(typeof _.depthLimit<"u"&&g>_.depthLimit){s(e,d,f,v);return}if(typeof _.edgesLimit<"u"&&h+1>_.edgesLimit){s(e,d,f,v);return}if(m.push(d),Array.isArray(d))for(b=0;b<d.length;b++)a(d[b],b,b,m,d,g,_);else{var y=Object.keys(d);for(b=0;b<y.length;b++){var E=y[b];a(d[E],E,b,m,d,g,_)}}m.pop()}}function c(d,f){return d<f?-1:d>f?1:0}function u(d,f,h,m){typeof m>"u"&&(m=o());var v=p(d,"",0,[],void 0,0,m)||d,g;try{i.length===0?g=JSON.stringify(v,f,h):g=JSON.stringify(v,l(f),h)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var _=r.pop();_.length===4?Object.defineProperty(_[0],_[1],_[3]):_[0][_[1]]=_[2]}}return g}function p(d,f,h,m,v,g,_){g+=1;var b;if(typeof d=="object"&&d!==null){for(b=0;b<m.length;b++)if(m[b]===d){s(t,d,f,v);return}try{if(typeof d.toJSON=="function")return}catch{return}if(typeof _.depthLimit<"u"&&g>_.depthLimit){s(e,d,f,v);return}if(typeof _.edgesLimit<"u"&&h+1>_.edgesLimit){s(e,d,f,v);return}if(m.push(d),Array.isArray(d))for(b=0;b<d.length;b++)p(d[b],b,b,m,d,g,_);else{var y={},E=Object.keys(d).sort(c);for(b=0;b<E.length;b++){var x=E[b];p(d[x],x,b,m,d,g,_),y[x]=d[x]}if(typeof v<"u")r.push([v,f,d]),v[f]=y;else return y}m.pop()}}function l(d){return d=typeof d<"u"?d:function(f,h){return h},function(f,h){if(i.length>0)for(var m=0;m<i.length;m++){var v=i[m];if(v[1]===f&&v[0]===h){h=v[2],i.splice(m,1);break}}return d.call(this,f,h)}}return km}var YA;function M3(){if(YA)return cu;YA=1,Object.defineProperty(cu,"__esModule",{value:!0}),cu.DeepHashedModuleOpaqueKeyFactory=void 0;const e=xt(),t=nr(),r=ne(),i=oi,o=R3(),n="class ",s=n.length;class a{constructor(){this.moduleIdsCache=new WeakMap,this.moduleTokenCache=new Map,this.logger=new e.Logger(a.name,{timestamp:!0})}createForStatic(u){const p=this.getModuleId(u),l=this.getModuleName(u),d=`${p}_${l}`;if(this.moduleTokenCache.has(d))return this.moduleTokenCache.get(d);const f=this.hashString(d);return this.moduleTokenCache.set(d,f),f}createForDynamic(u,p){const l=this.getModuleId(u),d=this.getModuleName(u),f={id:l,module:d,dynamic:p},h=performance.now(),m=this.getStringifiedOpaqueToken(f),v=performance.now()-h;if(v>10){const g=v.toFixed(2);this.logger.warn(`The module "${f.module}" is taking ${g}ms to serialize, this may be caused by larger objects statically assigned to the module. Consider changing the "moduleIdGeneratorAlgorithm" option to "reference" to improve the performance.`)}return this.hashString(m)}getStringifiedOpaqueToken(u){return u?(0,o.default)(u,this.replacer):""}getModuleId(u){let p=this.moduleIdsCache.get(u);return p||(p=(0,t.randomStringGenerator)(),this.moduleIdsCache.set(u,p),p)}getModuleName(u){return u.name}hashString(u){return(0,i.createHash)("sha256").update(u).digest("hex")}replacer(u,p){if((0,r.isFunction)(p)){const l=p.toString();return l.slice(0,s)===n?p.name:l}return(0,r.isSymbol)(p)?p.toString():p}}return cu.DeepHashedModuleOpaqueKeyFactory=a,cu}var XA;function Eb(){if(XA)return jc;XA=1,Object.defineProperty(jc,"__esModule",{value:!0}),jc.NestContainer=void 0;const e=xe(),t=$q(),r=ql(),i=vb(),o=yb(),n=wn(),s=O3(),a=Dp(),c=P3(),u=T3(),p=pi(),l=A3(),d=M3();class f{constructor(m=void 0,v=void 0){this._applicationConfig=m,this._contextOptions=v,this.globalModules=new Set,this.modules=new p.ModulesContainer,this.dynamicModulesMetadata=new Map,this.internalProvidersStorage=new c.InternalProvidersStorage,this._serializedGraph=new o.SerializedGraph;const g=this._contextOptions?.moduleIdGeneratorAlgorithm==="deep-hash"?new d.DeepHashedModuleOpaqueKeyFactory:new l.ByReferenceModuleOpaqueKeyFactory({keyGenerationStrategy:this._contextOptions?.snapshot?"shallow":"random"});this.moduleCompiler=new s.ModuleCompiler(g)}get serializedGraph(){return this._serializedGraph}get applicationConfig(){return this._applicationConfig}get contextOptions(){return this._contextOptions}setHttpAdapter(m){if(this.internalProvidersStorage.httpAdapter=m,!this.internalProvidersStorage.httpAdapterHost)return;const v=this.internalProvidersStorage.httpAdapterHost;v.httpAdapter=m}getHttpAdapterRef(){return this.internalProvidersStorage.httpAdapter}getHttpAdapterHostRef(){return this.internalProvidersStorage.httpAdapterHost}async addModule(m,v){if(!m)throw new r.UndefinedForwardRefException(v);const{type:g,dynamicMetadata:_,token:b}=await this.moduleCompiler.compile(m);return this.modules.has(b)?{moduleRef:this.modules.get(b),inserted:!0}:{moduleRef:await this.setModule({token:b,type:g,dynamicMetadata:_},v),inserted:!0}}async replaceModule(m,v,g){if(!m||!v)throw new r.UndefinedForwardRefException(g);const{token:_}=await this.moduleCompiler.compile(m),{type:b,dynamicMetadata:y}=await this.moduleCompiler.compile(v);return{moduleRef:await this.setModule({token:_,type:b,dynamicMetadata:y},g),inserted:!1}}async setModule({token:m,dynamicMetadata:v,type:g},_){const b=new u.Module(g,this);b.token=m,b.initOnPreview=this.shouldInitOnPreview(g),this.modules.set(m,b);const y=[].concat(_,g);return await this.addDynamicMetadata(m,v,y),this.isGlobalModule(g,v)&&(b.isGlobal=!0,b.distance=Number.MAX_VALUE,this.addGlobalModule(b)),b}async addDynamicMetadata(m,v,g){if(!v)return;this.dynamicModulesMetadata.set(m,v);const{imports:_}=v;await this.addDynamicModules(_,g)}async addDynamicModules(m,v){m&&await Promise.all(m.map(g=>this.addModule(g,v)))}isGlobalModule(m,v){return v&&v.global?!0:!!Reflect.getMetadata(e.GLOBAL_MODULE_METADATA,m)}addGlobalModule(m){this.globalModules.add(m)}getModules(){return this.modules}getModuleCompiler(){return this.moduleCompiler}getModuleByKey(m){return this.modules.get(m)}getInternalCoreModuleRef(){return this.internalCoreModule}async addImport(m,v){if(!this.modules.has(v))return;const g=this.modules.get(v),{token:_}=await this.moduleCompiler.compile(m),b=this.modules.get(_);g.addImport(b)}addProvider(m,v,g){const _=this.modules.get(v);if(!m)throw new r.CircularDependencyException(_?.metatype.name);if(!_)throw new r.UnknownModuleException;const b=_.addProvider(m,g),y=_.getProviderByKey(b);return t.DiscoverableMetaHostCollection.inspectProvider(this.modules,y),b}addInjectable(m,v,g,_){if(!this.modules.has(v))throw new r.UnknownModuleException;return this.modules.get(v).addInjectable(m,g,_)}addExportedProviderOrModule(m,v){if(!this.modules.has(v))throw new r.UnknownModuleException;this.modules.get(v).addExportedProviderOrModule(m)}addController(m,v){if(!this.modules.has(v))throw new r.UnknownModuleException;const g=this.modules.get(v);g.addController(m);const _=g.controllers.get(m);t.DiscoverableMetaHostCollection.inspectController(this.modules,_)}clear(){this.modules.clear()}replace(m,v){this.modules.forEach(g=>g.replace(m,v))}bindGlobalScope(){this.modules.forEach(m=>this.bindGlobalsToImports(m))}bindGlobalsToImports(m){this.globalModules.forEach(v=>this.bindGlobalModuleToModule(m,v))}bindGlobalModuleToModule(m,v){m===v||m===this.internalCoreModule||m.addImport(v)}getDynamicMetadataByToken(m,v){const g=this.dynamicModulesMetadata.get(m);return v?g?.[v]??[]:g}registerCoreModuleRef(m){this.internalCoreModule=m,this.modules[a.InternalCoreModule.name]=m}getModuleTokenFactory(){return this.moduleCompiler.moduleOpaqueKeyFactory}registerRequestProvider(m,v){this.internalCoreModule.getProviderByKey(n.REQUEST).setInstanceByContextId(v,{instance:m,isResolved:!0})}shouldInitOnPreview(m){return i.InitializeOnPreviewAllowlist.has(m)}}return jc.NestContainer=f,jc}var QA;function bN(){return QA||(QA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(Eb(),e),t.__exportStar(vN(),e),t.__exportStar(bb(),e),t.__exportStar(Fp(),e),t.__exportStar(pi(),e)})(jm)),jm}var Lm={},uu={},lu={},JA;function yN(){if(JA)return lu;JA=1,Object.defineProperty(lu,"__esModule",{value:!0}),lu.PartialGraphHost=void 0;class e{static toJSON(){return this.partialGraph?.toJSON()}static toString(){return this.partialGraph?.toString()}static register(r){this.partialGraph=r}}return lu.PartialGraphHost=e,lu}var $A;function kp(){if($A)return uu;$A=1,Object.defineProperty(uu,"__esModule",{value:!0}),uu.GraphInspector=void 0;const e=hN(),t=gb(),r=yN();class i{constructor(n){this.container=n,this.enhancersMetadataCache=new Array,this.graph=n.serializedGraph}inspectModules(n=this.container.getModules()){for(const s of n.values())this.insertModuleNode(s),this.insertClassNodes(s),this.insertModuleToModuleEdges(s);this.enhancersMetadataCache.forEach(s=>this.insertEnhancerEdge(s)),t.DeterministicUuidRegistry.clear()}registerPartial(n){this.graph.status="partial",n instanceof e.UnknownDependenciesException?this.graph.metadata={cause:{type:"unknown-dependencies",context:n.context,moduleId:n.moduleRef?.id,nodeId:n.metadata?.id}}:this.graph.metadata={cause:{type:"unknown",error:n}},r.PartialGraphHost.register(this.graph)}inspectInstanceWrapper(n,s){n.getCtorMetadata()?.forEach((u,p)=>this.insertClassToClassEdge(n,u,s,p,"constructor")),n.getPropertiesMetadata()?.forEach(({key:u,wrapper:p})=>this.insertClassToClassEdge(n,p,s,u,"property"))}insertEnhancerMetadataCache(n){this.enhancersMetadataCache.push(n)}insertOrphanedEnhancer(n){this.graph.insertOrphanedEnhancer({...n,ref:n.ref?.constructor?.name??"Object"})}insertAttachedEnhancer(n){const s=this.graph.getNodeById(n.id);s.metadata.global=!0,this.graph.insertAttachedEnhancer(s.id)}insertEntrypointDefinition(n,s){n={...n,id:`${n.classNodeId}_${n.methodName}`},this.graph.insertEntrypoint(n,s)}insertClassNode(n,s,a){this.graph.insertNode({id:s.id,label:s.name,parent:n.id,metadata:{type:a,internal:s.metatype===n.metatype,sourceModuleName:n.name,durable:s.isDependencyTreeDurable(),static:s.isDependencyTreeStatic(),scope:s.scope,transient:s.isTransient,exported:n.exports.has(s.token),token:s.token,subtype:s.subtype,initTime:s.initTime}})}insertModuleNode(n){const s=this.container.getDynamicMetadataByToken(n.token),a={id:n.id,label:n.name,metadata:{type:"module",global:n.isGlobal,dynamic:!!s,internal:n.name==="InternalCoreModule"}};this.graph.insertNode(a)}insertModuleToModuleEdges(n){for(const s of n.imports)this.graph.insertEdge({source:n.id,target:s.id,metadata:{type:"module-to-module",sourceModuleName:n.name,targetModuleName:s.name}})}insertEnhancerEdge(n){const s=this.container.getModuleByKey(n.moduleToken),a=s.controllers.get(n.classRef)??s.providers.get(n.classRef),c=this.graph.getNodeById(a.id),u=c.metadata.enhancers??[];if(n.enhancerInstanceWrapper)this.insertClassToClassEdge(a,n.enhancerInstanceWrapper,s,void 0,"decorator"),u.push({id:n.enhancerInstanceWrapper.id,methodKey:n.methodKey,subtype:n.subtype});else{const p=n.enhancerRef.constructor?.name??n.enhancerRef.name;u.push({name:p,methodKey:n.methodKey,subtype:n.subtype})}c.metadata.enhancers=u}insertClassToClassEdge(n,s,a,c,u){this.graph.insertEdge({source:n.id,target:s.id,metadata:{type:"class-to-class",sourceModuleName:a.name,sourceClassName:n.name,targetClassName:s.name,sourceClassToken:n.token,targetClassToken:s.token,targetModuleName:s.host?.name,keyOrIndex:c,injectionType:u}})}insertClassNodes(n){n.providers.forEach(s=>this.insertClassNode(n,s,"provider")),n.injectables.forEach(s=>this.insertClassNode(n,s,"injectable")),n.controllers.forEach(s=>this.insertClassNode(n,s,"controller"))}}return uu.GraphInspector=i,uu}var eR;function I3(){return eR||(eR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(kp(),e),t.__exportStar(vb(),e),t.__exportStar(yN(),e),t.__exportStar(yb(),e)})(Lm)),Lm}var Um={},du={},zm={},ht={},tR;function xb(){if(tR)return ht;tR=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.PathError=ht.TokenData=void 0,ht.parse=u,ht.compile=p,ht.match=f,ht.pathToRegexp=h,ht.stringify=y;const e="/",t=O=>O,r=/^[$_\p{ID_Start}]$/u,i=/^[$\u200c\u200d\p{ID_Continue}]$/u,o={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function n(O){return O.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}function s(O){return O.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class a{constructor(S,w){this.tokens=S,this.originalPath=w}}ht.TokenData=a;class c extends TypeError{constructor(S,w){let T=S;w&&(T+=`: ${w}`),T+="; visit https://git.new/pathToRegexpError for info",super(T),this.originalPath=w}}ht.PathError=c;function u(O,S={}){const{encodePath:w=t}=S,T=[...O],R=[];let P=0,N=0;function L(){let F="";if(r.test(T[P]))do F+=T[P++];while(i.test(T[P]));else if(T[P]==='"'){let H=P;for(;P++<T.length;){if(T[P]==='"'){P++,H=0;break}T[P]==="\\"&&P++,F+=T[P]}if(H)throw new c(`Unterminated quote at index ${H}`,O)}if(!F)throw new c(`Missing parameter name at index ${P}`,O);return F}for(;P<T.length;){const F=T[P],H=o[F];H?R.push({type:H,index:P++,value:F}):F==="\\"?R.push({type:"escape",index:P++,value:T[P++]}):F===":"?R.push({type:"param",index:P++,value:L()}):F==="*"?R.push({type:"wildcard",index:P++,value:L()}):R.push({type:"char",index:P++,value:F})}R.push({type:"end",index:P,value:""});function V(F){const H=[];for(;;){const X=R[N++];if(X.type===F)break;if(X.type==="char"||X.type==="escape"){let te=X.value,U=R[N];for(;U.type==="char"||U.type==="escape";)te+=U.value,U=R[++N];H.push({type:"text",value:w(te)});continue}if(X.type==="param"||X.type==="wildcard"){H.push({type:X.type,name:X.value});continue}if(X.type==="{"){H.push({type:"group",tokens:V("}")});continue}throw new c(`Unexpected ${X.type} at index ${X.index}, expected ${F}`,O)}return H}return new a(V("end"),O)}function p(O,S={}){const{encode:w=encodeURIComponent,delimiter:T=e}=S,R=typeof O=="object"?O:u(O,S),P=l(R.tokens,T,w);return function(L={}){const[V,...F]=P(L);if(F.length)throw new TypeError(`Missing parameters: ${F.join(", ")}`);return V}}function l(O,S,w){const T=O.map(R=>d(R,S,w));return R=>{const P=[""];for(const N of T){const[L,...V]=N(R);P[0]+=L,P.push(...V)}return P}}function d(O,S,w){if(O.type==="text")return()=>[O.value];if(O.type==="group"){const R=l(O.tokens,S,w);return P=>{const[N,...L]=R(P);return L.length?[""]:[N]}}const T=w||t;return O.type==="wildcard"&&w!==!1?R=>{const P=R[O.name];if(P==null)return["",O.name];if(!Array.isArray(P)||P.length===0)throw new TypeError(`Expected "${O.name}" to be a non-empty array`);return[P.map((N,L)=>{if(typeof N!="string")throw new TypeError(`Expected "${O.name}/${L}" to be a string`);return T(N)}).join(S)]}:R=>{const P=R[O.name];if(P==null)return["",O.name];if(typeof P!="string")throw new TypeError(`Expected "${O.name}" to be a string`);return[T(P)]}}function f(O,S={}){const{decode:w=decodeURIComponent,delimiter:T=e}=S,{regexp:R,keys:P}=h(O,S),N=P.map(L=>w===!1?t:L.type==="param"?w:V=>V.split(T).map(w));return function(V){const F=R.exec(V);if(!F)return!1;const H=F[0],X=Object.create(null);for(let te=1;te<F.length;te++){if(F[te]===void 0)continue;const U=P[te-1],re=N[te-1];X[U.name]=re(F[te])}return{path:H,params:X}}}function h(O,S={}){const{delimiter:w=e,end:T=!0,sensitive:R=!1,trailing:P=!0}=S,N=[],L=R?"":"i",V=[];for(const X of m(O,[])){const te=typeof X=="object"?X:u(X,S);for(const U of v(te.tokens,0,[]))V.push(g(U,w,N,te.originalPath))}let F=`^(?:${V.join("|")})`;return P&&(F+=`(?:${s(w)}$)?`),F+=T?"$":`(?=${s(w)}|$)`,{regexp:new RegExp(F,L),keys:N}}function m(O,S){if(Array.isArray(O))for(const w of O)m(w,S);else S.push(O);return S}function*v(O,S,w){if(S===O.length)return yield w;const T=O[S];if(T.type==="group")for(const R of v(T.tokens,0,w.slice()))yield*v(O,S+1,R);else w.push(T);yield*v(O,S+1,w)}function g(O,S,w,T){let R="",P="",N=!0;for(const L of O){if(L.type==="text"){R+=s(L.value),P+=L.value,N||(N=L.value.includes(S));continue}if(L.type==="param"||L.type==="wildcard"){if(!N&&!P)throw new c(`Missing text before "${L.name}" ${L.type}`,T);L.type==="param"?R+=`(${_(S,N?"":P)}+)`:R+="([\\s\\S]+)",w.push(L),P="",N=!1;continue}}return R}function _(O,S){return S.length<2?O.length<2?`[^${s(O+S)}]`:`(?:(?!${s(O)})[^${s(S)}])`:O.length<2?`(?:(?!${s(S)})[^${s(O)}])`:`(?:(?!${s(S)}|${s(O)})[\\s\\S])`}function b(O){let S="",w=0;function T(R){return E(R)&&x(O[w])?R:JSON.stringify(R)}for(;w<O.length;){const R=O[w++];if(R.type==="text"){S+=n(R.value);continue}if(R.type==="group"){S+=`{${b(R.tokens)}}`;continue}if(R.type==="param"){S+=`:${T(R.name)}`;continue}if(R.type==="wildcard"){S+=`*${T(R.name)}`;continue}throw new TypeError(`Unknown token type: ${R.type}`)}return S}function y(O){return b(O.tokens)}function E(O){const[S,...w]=O;return r.test(S)&&w.every(T=>i.test(T))}function x(O){return O&&O.type==="text"?!i.test(O.value[0]):!0}return ht}var pu={},rR;function EN(){if(rR)return pu;rR=1,Object.defineProperty(pu,"__esModule",{value:!0}),pu.LegacyRouteConverter=void 0;const e=ve(),t=(i,o)=>`Unsupported route path: "${o}". In previous versions, the symbols ?, *, and + were used to denote optional or repeating path parameters. The latest version of "path-to-regexp" now requires the use of named parameters. For example, instead of using a route like /users/* to capture all routes starting with "/users", you should use /users/*path. For more details, refer to the migration guide.`;class r{static tryConvert(o,n){const s=o.startsWith("/")?o:`/${o}`,a=o.endsWith("/")?s:`${s}/`,u=n?.logs??!0?this.printWarning.bind(this):()=>{};return a.endsWith("/(.*)/")?(a!=="/(.*)/"&&u(o),o.replace("(.*)","{*path}")):a.endsWith("/*/")?(a!=="/*/"&&u(o),o.replace("*","{*path}")):a.endsWith("/+/")?(u(o),o.replace("/+","/*path")):a.includes("/*/")?(u(o),o.replaceAll("/*/",(p,l)=>`/*path${l}/`)):o}static printError(o){this.logger.error(t`${o}`)}static printWarning(o){this.logger.warn(t`${o}`+" Attempting to auto-convert...")}}return pu.LegacyRouteConverter=r,r.logger=new e.Logger(r.name),pu}var Bm={},Hm={},nR;function C3(){return nR||(nR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isRequestMethodAll=void 0,e.isRouteExcluded=o;const t=ve(),r=ne(),i=n=>t.RequestMethod.ALL===n||n===-1;e.isRequestMethodAll=i;function o(n,s,a){return n.some(c=>(0,e.isRequestMethodAll)(c.requestMethod)||c.requestMethod===a?c.pathRegex.exec((0,r.addLeadingSlash)(s)):!1)}})(Hm)),Hm}var Cd={},iR;function j3(){if(iR)return Cd;iR=1,Object.defineProperty(Cd,"__esModule",{value:!0}),Cd.flattenRoutePaths=t;const e=ne();function t(r){const i=[];return r.forEach(o=>{if(o.module&&o.path&&i.push({module:o.module,path:o.path}),o.children){const n=o.children;n.forEach(s=>{!(0,e.isString)(s)&&(0,e.isString)(s.path)?s.path=(0,e.normalizePath)((0,e.normalizePath)(o.path)+(0,e.normalizePath)(s.path)):i.push({path:o.path,module:s})}),i.push(...t(n))}}),i}return Cd}var aR;function Dl(){return aR||(aR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(C3(),e),t.__exportStar(j3(),e)})(Bm)),Bm}var oR;function xN(){return oR||(oR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.mapToClass=e.filterMiddleware=e.mapToExcludeRoute=void 0,e.isMiddlewareClass=l,e.assignToken=d,e.isMiddlewareRouteExcluded=f;const t=ve(),r=ne(),i=Ve(),o=xb(),n=dn(),s=EN(),a=Dl(),c=h=>h.map(m=>{const v=(0,r.isString)(m)?m:m.path,g=s.LegacyRouteConverter.tryConvert(v);try{return(0,r.isString)(m)?{path:g,requestMethod:t.RequestMethod.ALL,pathRegex:(0,o.pathToRegexp)((0,r.addLeadingSlash)(g)).regexp}:{path:g,requestMethod:m.method,pathRegex:(0,o.pathToRegexp)((0,r.addLeadingSlash)(g)).regexp}}catch(_){throw _ instanceof TypeError&&s.LegacyRouteConverter.printError(v),_}});e.mapToExcludeRoute=c;const u=(h,m,v)=>{const g=(0,e.mapToExcludeRoute)(m);return(0,i.iterate)([]).concat(h).filter(r.isFunction).map(_=>(0,e.mapToClass)(_,g,v)).toArray()};e.filterMiddleware=u;const p=(h,m,v)=>l(h)?m.length<=0?h:d(class extends h{use(..._){const[b,y,E]=_;return f(b,m,v)?E():super.use(..._)}},h.name):d(class{constructor(){this.use=(...g)=>{const[_,b,y]=g;return f(_,m,v)?y():h(...g)}}});e.mapToClass=p;function l(h){const m=h.toString();if(m.substring(0,5)==="class")return!0;const v=m.split(" ");return v[0]==="function"&&/[A-Z]/.test(v[1]?.[0])&&(0,r.isFunction)(h.prototype?.use)}function d(h,m=(0,n.uid)(21)){return Object.defineProperty(h,"name",{value:m}),h}function f(h,m,v){if(m.length<=0)return!1;const g=v.getRequestMethod(h),_=v.getRequestUrl(h),b=_?_.indexOf("?"):-1,y=b>=0?_.slice(0,b):_;return(0,a.isRouteExcluded)(m,y,t.RequestMethod[g])}})(zm)),zm}var sR;function ON(){if(sR)return du;sR=1,Object.defineProperty(du,"__esModule",{value:!0}),du.MiddlewareBuilder=void 0;const e=ne(),t=Ve(),r=xN();class i{constructor(n,s,a){this.routesMapper=n,this.httpAdapter=s,this.routeInfoPathExtractor=a,this.middlewareCollection=new Set}apply(...n){return new i.ConfigProxy(this,n.flat(),this.routeInfoPathExtractor)}build(){return[...this.middlewareCollection]}getHttpAdapter(){return this.httpAdapter}}return du.MiddlewareBuilder=i,i.ConfigProxy=class{constructor(o,n,s){this.builder=o,this.middleware=n,this.routeInfoPathExtractor=s,this.excludedRoutes=[]}getExcludedRoutes(){return this.excludedRoutes}exclude(...o){return this.excludedRoutes=[...this.excludedRoutes,...this.getRoutesFlatList(o).reduce((n,s)=>{for(const a of this.routeInfoPathExtractor.extractPathFrom(s))n.push({...s,path:a});return n},[])],this}forRoutes(...o){const{middlewareCollection:n}=this.builder,s=this.getRoutesFlatList(o),a=this.removeOverlappedRoutes(s),c={middleware:(0,r.filterMiddleware)(this.middleware,this.excludedRoutes,this.builder.getHttpAdapter()),forRoutes:a};return n.add(c),this.builder}getRoutesFlatList(o){const{routesMapper:n}=this.builder;return(0,t.iterate)(o).map(s=>n.mapRouteToRouteInfo(s)).flatten().toArray()}removeOverlappedRoutes(o){const n=/(:[^/]*)/g,s="([^/]*)",a=o.filter(c=>c.path.includes(":")).map(c=>({method:c.method,path:c.path,regex:new RegExp("^("+c.path.replace(n,s)+")$","g")}));return o.filter(c=>{const u=l=>{if(c.method!==l.method)return!1;const d=(0,e.stripEndSlash)(c.path);return d!==l.path&&l.regex.test(d)};return a.find(u)===void 0})}},du}var cR;function q3(){return cR||(cR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(ON(),e)})(Um)),Um}var fu={},jd={},uR;function N3(){if(uR)return jd;uR=1,Object.defineProperty(jd,"__esModule",{value:!0}),jd.optionalRequire=e;function e(t,r){try{return r?r():pg(t)}catch{return{}}}return jd}var hu={},lR;function F3(){if(lR)return hu;lR=1,Object.defineProperty(hu,"__esModule",{value:!0}),hu.MiddlewareContainer=void 0;const e=Np(),t=_b(),r=Fl();class i{constructor(n){this.container=n,this.middleware=new Map,this.configurationSets=new Map}getMiddlewareCollection(n){if(!this.middleware.has(n)){const s=this.container.getModuleByKey(n);this.middleware.set(n,s.middlewares)}return this.middleware.get(n)}getConfigurations(){return this.configurationSets}insertConfig(n,s){const a=this.getMiddlewareCollection(s),c=this.getTargetConfig(s),u=n||[],p=l=>{const d=l;a.set(d,new r.InstanceWrapper({scope:(0,e.getClassScope)(l),durable:(0,t.isDurable)(l),name:d?.name??d,metatype:l,token:d}))};u.forEach(l=>{[].concat(l.middleware).map(p),c.add(l)})}getTargetConfig(n){return this.configurationSets.has(n)||this.configurationSets.set(n,new Set),this.configurationSets.get(n)}}return hu.MiddlewareContainer=i,hu}var vu={},mu={},dR;function D3(){if(dR)return mu;dR=1,Object.defineProperty(mu,"__esModule",{value:!0}),mu.InvalidMiddlewareException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o){super((0,e.INVALID_MIDDLEWARE_MESSAGE)`${o}`)}}return mu.InvalidMiddlewareException=r,mu}var _u={},gu={},pR;function k3(){if(pR)return gu;pR=1,Object.defineProperty(gu,"__esModule",{value:!0}),gu.ExceptionsHandler=void 0;const e=nN(),t=ne(),r=iN(),i=tN();class o extends i.BaseExceptionFilter{constructor(){super(...arguments),this.filters=[]}next(s,a){this.invokeCustomFilters(s,a)||super.catch(s,a)}setCustomFilters(s){if(!Array.isArray(s))throw new r.InvalidExceptionFilterException;this.filters=s}invokeCustomFilters(s,a){if((0,t.isEmpty)(this.filters))return!1;const c=(0,e.selectExceptionFilterMetadata)(this.filters,s);return c&&c.func(s,a),!!c}}return gu.ExceptionsHandler=o,gu}var fR;function wN(){if(fR)return _u;fR=1,Object.defineProperty(_u,"__esModule",{value:!0}),_u.RouterExceptionFilters=void 0;const e=xe(),t=ne(),r=Ve(),i=rN(),o=k3(),n=it();class s extends i.BaseExceptionFilterContext{constructor(c,u,p){super(c),this.config=u,this.applicationRef=p}create(c,u,p,l=n.STATIC_CONTEXT,d){this.moduleContext=p;const f=new o.ExceptionsHandler(this.applicationRef),h=this.createContext(c,u,e.EXCEPTION_FILTERS_METADATA,l,d);return(0,t.isEmpty)(h)||f.setCustomFilters(h.reverse()),f}getGlobalMetadata(c=n.STATIC_CONTEXT,u){const p=this.config.getGlobalFilters();if(c===n.STATIC_CONTEXT&&!u)return p;const l=this.config.getGlobalRequestFilters(),d=(0,r.iterate)(l).map(f=>f.getInstanceByContextId(c,u)).filter(f=>!!f).map(f=>f.instance).toArray();return p.concat(d)}}return _u.RouterExceptionFilters=s,_u}var bu={},hR;function SN(){if(hR)return bu;hR=1,Object.defineProperty(bu,"__esModule",{value:!0}),bu.RouterProxy=void 0;const e=Sn();class t{createProxy(i,o){return async(n,s,a)=>{try{await i(n,s,a)}catch(c){const u=new e.ExecutionContextHost([n,s,a]);return o.next(c,u),s}}}createExceptionLayerProxy(i,o){return async(n,s,a,c)=>{try{await i(n,s,a,c)}catch(u){const p=new e.ExecutionContextHost([s,a,c]);return o.next(u,p),a}}}}return bu.RouterProxy=t,bu}var yu={},vR;function L3(){if(vR)return yu;vR=1,Object.defineProperty(yu,"__esModule",{value:!0}),yu.MiddlewareResolver=void 0;class e{constructor(r,i){this.middlewareContainer=r,this.injector=i}async resolveInstances(r,i){const o=this.middlewareContainer.getMiddlewareCollection(i),n=async s=>this.resolveMiddlewareInstance(s,o,r);await Promise.all([...o.values()].map(n))}async resolveMiddlewareInstance(r,i,o){await this.injector.loadMiddleware(r,i,o)}}return yu.MiddlewareResolver=e,yu}var Eu={},xu={},mR;function PN(){if(mR)return xu;mR=1,Object.defineProperty(xu,"__esModule",{value:!0}),xu.RoutePathFactory=void 0;const e=ve(),t=ne(),r=Dl();class i{constructor(n){this.applicationConfig=n}create(n,s){let a=[""];const c=this.getVersion(n);if(c&&n.versioningOptions?.type===e.VersioningType.URI){const u=this.getVersionPrefix(n.versioningOptions);Array.isArray(c)?a=(0,e.flatten)(a.map(p=>c.map(l=>l===e.VERSION_NEUTRAL?p:`${p}/${u}${l}`))):c!==e.VERSION_NEUTRAL&&(a=a.map(p=>`${p}/${u}${c}`))}return a=this.appendToAllIfDefined(a,n.modulePath),a=this.appendToAllIfDefined(a,n.ctrlPath),a=this.appendToAllIfDefined(a,n.methodPath),n.globalPrefix&&(a=a.map(u=>this.isExcludedFromGlobalPrefix(u,s,c,n.versioningOptions)?u:(0,t.stripEndSlash)(n.globalPrefix||"")+u)),a.map(u=>(0,t.addLeadingSlash)(u||"/")).map(u=>u!=="/"?(0,t.stripEndSlash)(u):u)}getVersion(n){return n.methodVersion||n.controllerVersion}getVersionPrefix(n){if(n.type===e.VersioningType.URI){if(n.prefix===!1)return"";if(n.prefix!==void 0)return n.prefix}return"v"}appendToAllIfDefined(n,s){if(!s)return n;const a=(c,u)=>(0,t.stripEndSlash)(c)+(0,t.addLeadingSlash)(u);if(Array.isArray(s)){const c=n.map(u=>s.map(p=>a(u,p)));return(0,e.flatten)(c)}return n.map(c=>a(c,s))}isExcludedFromGlobalPrefix(n,s,a,c){if((0,t.isUndefined)(s))return!1;const p=this.applicationConfig.getGlobalPrefixOptions().exclude;return a&&a!==e.VERSION_NEUTRAL&&c?.type===e.VersioningType.URI&&(n=this.truncateVersionPrefixFromPath(n,a,c)),Array.isArray(p)&&(0,r.isRouteExcluded)(p,n,s)}truncateVersionPrefixFromPath(n,s,a){if(typeof s!="string")return s.forEach(u=>{typeof u=="string"&&(n=this.truncateVersionPrefixFromPath(n,u,a))}),n;const c=`/${this.getVersionPrefix(a)}${s}`;return n.startsWith(c)?n.replace(c,""):n}}return xu.RoutePathFactory=i,xu}var _R;function U3(){if(_R)return Eu;_R=1,Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.RouteInfoPathExtractor=void 0;const e=ve(),t=ne(),r=Dl(),i=PN();class o{constructor(s){this.applicationConfig=s,this.routePathFactory=new i.RoutePathFactory(s),this.prefixPath=(0,t.stripEndSlash)((0,t.addLeadingSlash)(this.applicationConfig.getGlobalPrefix())),this.excludedGlobalPrefixRoutes=this.applicationConfig.getGlobalPrefixOptions().exclude,this.versioningConfig=this.applicationConfig.getVersioning()}extractPathsFrom({path:s,method:a,version:c}){const u=this.extractVersionPathFrom(c);if(this.isAWildcard(s)){const p=u.length>0?u.map(l=>[this.prefixPath+l+"$",this.prefixPath+l+(0,t.addLeadingSlash)(s)]).flat():this.prefixPath?[this.prefixPath+"$",this.prefixPath+(0,t.addLeadingSlash)(s)]:[(0,t.addLeadingSlash)(s)];return Array.isArray(this.excludedGlobalPrefixRoutes)?[...p,...this.excludedGlobalPrefixRoutes.map(l=>Array.isArray(u)&&u.length>0?u.map(d=>d+(0,t.addLeadingSlash)(l.path)):(0,t.addLeadingSlash)(l.path)).flat()]:p}return this.extractNonWildcardPathsFrom({path:s,method:a,version:c})}extractPathFrom(s){return this.isAWildcard(s.path)&&!s.version?[(0,t.addLeadingSlash)(s.path)]:this.extractNonWildcardPathsFrom(s)}isAWildcard(s){return["*","/*","/*/","(.*)","/(.*)"].includes(s)?!0:/^\/\{.*\}.*|^\/\*.*$/.test(s)}extractNonWildcardPathsFrom({path:s,method:a,version:c}){const u=this.extractVersionPathFrom(c);return Array.isArray(this.excludedGlobalPrefixRoutes)&&(0,r.isRouteExcluded)(this.excludedGlobalPrefixRoutes,s,a)?u.length?u.map(p=>p+(0,t.addLeadingSlash)(s)):[(0,t.addLeadingSlash)(s)]:u.length?u.map(p=>this.prefixPath+p+(0,t.addLeadingSlash)(s)):[this.prefixPath+(0,t.addLeadingSlash)(s)]}extractVersionPathFrom(s){if(!s||this.versioningConfig?.type!==e.VersioningType.URI)return[];const a=this.routePathFactory.getVersionPrefix(this.versioningConfig);return Array.isArray(s)?s.map(c=>(0,t.addLeadingSlash)(a+c.toString())):[(0,t.addLeadingSlash)(a+s.toString())]}}return Eu.RouteInfoPathExtractor=o,Eu}var Ou={},wu={},gR;function TN(){if(gR)return wu;gR=1,Object.defineProperty(wu,"__esModule",{value:!0}),wu.PathsExplorer=void 0;const e=xe(),t=ne();class r{constructor(o){this.metadataScanner=o}scanForPaths(o,n){const s=(0,t.isUndefined)(n)?Object.getPrototypeOf(o):n;return this.metadataScanner.getAllMethodNames(s).reduce((a,c)=>{const u=this.exploreMethodMetadata(o,s,c);return u&&a.push(u),a},[])}exploreMethodMetadata(o,n,s){const a=o[s],c=n[s],u=Reflect.getMetadata(e.PATH_METADATA,c);if((0,t.isUndefined)(u))return null;const p=Reflect.getMetadata(e.METHOD_METADATA,c),l=Reflect.getMetadata(e.VERSION_METADATA,c);return{path:(0,t.isString)(u)?[(0,t.addLeadingSlash)(u)]:u.map(f=>(0,t.addLeadingSlash)(f)),requestMethod:p,targetCallback:a,methodName:s,version:l}}}return wu.PathsExplorer=r,wu}var Vm={},bR;function AN(){return bR||(bR=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.RouterModule=e.targetModulesByContainer=e.ROUTES=void 0;const r=ae(),i=ve(),o=xe(),n=ne(),s=pi(),a=Dl();e.ROUTES=Symbol("ROUTES"),e.targetModulesByContainer=new WeakMap;let c=t=class{constructor(p,l){this.modulesContainer=p,this.routes=l,this.routes=this.deepCloneRoutes(l),this.initialize()}static register(p){return{module:t,providers:[{provide:e.ROUTES,useValue:p}]}}deepCloneRoutes(p){return p.map(l=>typeof l=="function"?l:l.children?{...l,children:this.deepCloneRoutes(l.children)}:{...l})}initialize(){(0,a.flattenRoutePaths)(this.routes).forEach(l=>{const d=(0,n.normalizePath)(l.path);this.registerModulePathMetadata(l.module,d),this.updateTargetModulesCache(l.module)})}registerModulePathMetadata(p,l){Reflect.defineMetadata(o.MODULE_PATH+this.modulesContainer.applicationId,l,p)}updateTargetModulesCache(p){let l;e.targetModulesByContainer.has(this.modulesContainer)?l=e.targetModulesByContainer.get(this.modulesContainer):(l=new WeakSet,e.targetModulesByContainer.set(this.modulesContainer,l));const d=Array.from(this.modulesContainer.values()).find(f=>f?.metatype===p);d&&l.add(d)}};e.RouterModule=c,e.RouterModule=c=t=r.__decorate([(0,i.Module)({}),r.__param(1,(0,i.Inject)(e.ROUTES)),r.__metadata("design:paramtypes",[s.ModulesContainer,Array])],c)})(Vm)),Vm}var yR;function z3(){if(yR)return Ou;yR=1,Object.defineProperty(Ou,"__esModule",{value:!0}),Ou.RoutesMapper=void 0;const e=xe(),t=hp(),r=ne(),i=On(),o=TN(),n=AN();class s{constructor(c,u){this.container=c,this.applicationConfig=u,this.pathsExplorer=new o.PathsExplorer(new i.MetadataScanner)}mapRouteToRouteInfo(c){if((0,r.isString)(c))return this.getRouteInfoFromPath(c);const u=this.getRoutePath(c);return this.isRouteInfo(u,c)?this.getRouteInfoFromObject(c):this.getRouteInfoFromController(c,u)}getRouteInfoFromPath(c){return[{path:(0,r.addLeadingSlash)(c),method:-1}]}getRouteInfoFromObject(c){const u={path:(0,r.addLeadingSlash)(c.path),method:c.method};return c.version&&(u.version=c.version),[u]}getRouteInfoFromController(c,u){const p=this.pathsExplorer.scanForPaths(Object.create(c),c.prototype),l=this.getVersionMetadata(c),d=this.applicationConfig.getVersioning(),f=this.getHostModuleOfController(c),h=this.getModulePath(f?.metatype),m=(_,b)=>_.concat(b),v=_=>_===t.VERSION_NEUTRAL?void 0:_,g=(_,b)=>_.path?.flatMap(y=>{let E=h??"";E+=this.normalizeGlobalPath(b)+(0,r.addLeadingSlash)(y);const x={path:E,method:_.requestMethod},O=_.version??l;if(O&&d){if(typeof O!="string"&&Array.isArray(O))return O.map(S=>({...x,version:v(S)}));x.version=v(O)}return x});return[].concat(u).map(_=>p.map(b=>g(b,_)).reduce(m,[])).reduce(m,[])}isRouteInfo(c,u){return(0,r.isUndefined)(c)}normalizeGlobalPath(c){const u=(0,r.addLeadingSlash)(c);return u==="/"?"":u}getRoutePath(c){return Reflect.getMetadata(e.PATH_METADATA,c)}getHostModuleOfController(c){if(!c)return;const u=this.container.getModules(),p=n.targetModulesByContainer.get(u);return p?Array.from(u.values()).filter(d=>p.has(d)).find(({controllers:d})=>d.has(c)):void 0}getModulePath(c){if(!c)return;const u=this.container.getModules();return Reflect.getMetadata(e.MODULE_PATH+u.applicationId,c)??Reflect.getMetadata(e.MODULE_PATH,c)}getVersionMetadata(c){const u=this.applicationConfig.getVersioning();if(u)return Reflect.getMetadata(e.VERSION_METADATA,c)??u.defaultVersion}}return Ou.RoutesMapper=s,Ou}var ER;function B3(){if(ER)return vu;ER=1,Object.defineProperty(vu,"__esModule",{value:!0}),vu.MiddlewareModule=void 0;const e=ve(),t=ui(),r=ne(),i=D3(),o=et(),n=jl(),s=Sn(),a=it(),c=wn(),u=wN(),p=SN(),l=Dl(),d=ON(),f=L3(),h=U3(),m=z3();class v{constructor(){this.routerProxy=new p.RouterProxy,this.exceptionFiltersCache=new WeakMap,this.logger=new e.Logger(v.name)}async register(_,b,y,E,x,O,S){this.appOptions=S;const w=b.getHttpAdapterRef();this.routerExceptionFilter=new u.RouterExceptionFilters(b,y,w),this.routesMapper=new m.RoutesMapper(b,y),this.resolver=new f.MiddlewareResolver(_,E),this.routeInfoPathExtractor=new h.RouteInfoPathExtractor(y),this.injector=E,this.container=b,this.httpAdapter=x,this.graphInspector=O;const T=b.getModules();await this.resolveMiddleware(_,T)}async resolveMiddleware(_,b){const y=[...b.entries()],E=async([x,O])=>{await this.loadConfiguration(_,O,x),await this.resolver.resolveInstances(O,x)};await Promise.all(y.map(E))}async loadConfiguration(_,b,y){const{instance:E}=b;if(!E.configure)return;const x=new d.MiddlewareBuilder(this.routesMapper,this.httpAdapter,this.routeInfoPathExtractor);try{await E.configure(x)}catch(S){if(!this.appOptions.preview)throw S;const w=`Warning! "${b.name}" module exposes a "configure" method that throws an exception in the preview mode (possibly due to missing dependencies). Note: you can ignore this message, just be aware that some of those conditional middlewares will not be reflected in your graph.`;this.logger.warn(w)}if(!(x instanceof d.MiddlewareBuilder))return;const O=x.build();_.insertConfig(O,y)}async registerMiddleware(_,b){const y=_.getConfigurations(),E=async(O,S)=>{for(const w of S)await this.registerMiddlewareConfig(_,w,O,b)},x=[...y.entries()].sort(([O],[S])=>{const w=this.container.getModuleByKey(O),T=this.container.getModuleByKey(S),R=w.distance===Number.MAX_VALUE,P=T.distance===Number.MAX_VALUE;return R&&P?0:R?-1:P?1:w.distance-T.distance});for(const[O,S]of x)await E(O,[...S])}async registerMiddlewareConfig(_,b,y,E){const{forRoutes:x}=b;for(const O of x)await this.registerRouteMiddleware(_,O,b,y,E)}async registerRouteMiddleware(_,b,y,E,x){const O=[].concat(y.middleware),S=this.container.getModuleByKey(E);for(const w of O){const T=_.getMiddlewareCollection(E),R=T.get(w);if((0,r.isUndefined)(R))throw new o.RuntimeException;if(R.isTransient)return;this.graphInspector.insertClassNode(S,R,"middleware");const P={type:"middleware",methodName:"use",className:R.name,classNodeId:R.id,metadata:{key:b.path,path:b.path,requestMethod:t.RequestMethod[b.method]??"ALL",version:b.version}};this.graphInspector.insertEntrypointDefinition(P,R.id),await this.bindHandler(R,x,b,S,T)}}async bindHandler(_,b,y,E,x){const{instance:O,metatype:S}=_;if((0,r.isUndefined)(O?.use))throw new i.InvalidMiddlewareException(S.name);if(_.isDependencyTreeStatic()){const R=await this.createProxy(O);return this.registerHandler(b,y,R)}const T=_.isDependencyTreeDurable();await this.registerHandler(b,y,async(R,P,N)=>{try{const L=this.getContextId(R,T),V=await this.injector.loadPerContext(O,E,x,L);return(await this.createProxy(V,L))(R,P,N)}catch(L){let V=this.exceptionFiltersCache.get(O.use);V||(V=this.routerExceptionFilter.create(O,O.use,void 0),this.exceptionFiltersCache.set(O.use,V));const F=new s.ExecutionContextHost([R,P,N]);V.next(L,F)}})}async createProxy(_,b=a.STATIC_CONTEXT){const y=this.routerExceptionFilter.create(_,_.use,void 0,b),E=_.use.bind(_);return this.routerProxy.createProxy(E,y)}async registerHandler(_,b,y){const{method:E}=b,x=this.routeInfoPathExtractor.extractPathsFrom(b),O=(0,l.isRequestMethodAll)(E),S=t.RequestMethod[E],w=await _.createMiddlewareFactory(E),T=O?y:(P,N,L)=>_.getRequestMethod?.(P)===S?y(P,N,L):L(),R=[];x.some(P=>P.match(/^\/?$/))?R.push("/"):R.push(...x),R.forEach(P=>w(P,T))}getContextId(_,b){const y=n.ContextIdFactory.getByRequest(_);if(!_[c.REQUEST_CONTEXT_ID]){Object.defineProperty(_,c.REQUEST_CONTEXT_ID,{value:y,enumerable:!1,writable:!1,configurable:!1});const E=b?y.payload:Object.assign(_,y.payload);this.container.registerRequestProvider(E,y)}return y}}return vu.MiddlewareModule=v,vu}var Su={},Gm={},qd={},Pu={},xR;function kl(){if(xR)return Pu;xR=1,Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.getTransientInstances=t,Pu.getNonTransientInstances=r;const e=Ve();function t(i){return(0,e.iterate)(i).filter(([o,n])=>n.isDependencyTreeStatic()).map(([o,n])=>n.getStaticTransientInstances()).flatten().filter(o=>!!o).map(({instance:o})=>o).toArray()}function r(i){return(0,e.iterate)(i).filter(([o,n])=>n.isDependencyTreeStatic()&&!n.isTransient).map(([o,{instance:n}])=>n).toArray()}return Pu}var OR;function H3(){if(OR)return qd;OR=1,Object.defineProperty(qd,"__esModule",{value:!0}),qd.callModuleBootstrapHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.onApplicationBootstrap)}function o(s){return(0,t.iterate)(s).filter(a=>!(0,e.isNil)(a)).filter(i).map(async a=>a.onApplicationBootstrap()).toArray()}async function n(s){const a=s.getNonAliasProviders(),[c,u]=a.shift(),p=[...s.controllers,...a,...s.injectables,...s.middlewares],l=(0,r.getNonTransientInstances)(p);await Promise.all(o(l));const d=(0,r.getTransientInstances)(p);await Promise.all(o(d));const f=u.instance;f&&i(f)&&u.isDependencyTreeStatic()&&await f.onApplicationBootstrap()}return qd}var Nd={},wR;function V3(){if(wR)return Nd;wR=1,Object.defineProperty(Nd,"__esModule",{value:!0}),Nd.callAppShutdownHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.onApplicationShutdown)}function o(s,a){return(0,t.iterate)(s).filter(c=>!(0,e.isNil)(c)).filter(i).map(async c=>c.onApplicationShutdown(a)).toArray()}async function n(s,a){const c=s.getNonAliasProviders(),[u,p]=c.shift(),l=[...s.controllers,...c,...s.injectables,...s.middlewares],d=(0,r.getNonTransientInstances)(l);await Promise.all(o(d,a));const f=(0,r.getTransientInstances)(l);await Promise.all(o(f,a));const h=p.instance;h&&i(h)&&p.isDependencyTreeStatic()&&await h.onApplicationShutdown(a)}return Nd}var Fd={},SR;function G3(){if(SR)return Fd;SR=1,Object.defineProperty(Fd,"__esModule",{value:!0}),Fd.callModuleDestroyHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.onModuleDestroy)}function o(s){return(0,t.iterate)(s).filter(a=>!(0,e.isNil)(a)).filter(i).map(async a=>a.onModuleDestroy()).toArray()}async function n(s){const a=s.getNonAliasProviders(),[c,u]=a.shift(),p=[...s.controllers,...a,...s.injectables,...s.middlewares],l=(0,r.getNonTransientInstances)(p);await Promise.all(o(l));const d=(0,r.getTransientInstances)(p);await Promise.all(o(d));const f=u.instance;f&&i(f)&&u.isDependencyTreeStatic()&&await f.onModuleDestroy()}return Fd}var Dd={},PR;function W3(){if(PR)return Dd;PR=1,Object.defineProperty(Dd,"__esModule",{value:!0}),Dd.callModuleInitHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.onModuleInit)}function o(s){return(0,t.iterate)(s).filter(a=>!(0,e.isNil)(a)).filter(i).map(async a=>a.onModuleInit()).toArray()}async function n(s){const a=s.getNonAliasProviders(),[c,u]=a.shift(),p=[...s.controllers,...a,...s.injectables,...s.middlewares],l=(0,r.getNonTransientInstances)(p);await Promise.all(o(l));const d=(0,r.getTransientInstances)(p);await Promise.all(o(d));const f=u.instance;f&&i(f)&&u.isDependencyTreeStatic()&&await f.onModuleInit()}return Dd}var kd={},TR;function Z3(){if(TR)return kd;TR=1,Object.defineProperty(kd,"__esModule",{value:!0}),kd.callBeforeAppShutdownHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.beforeApplicationShutdown)}function o(s,a){return(0,t.iterate)(s).filter(c=>!(0,e.isNil)(c)).filter(i).map(async c=>c.beforeApplicationShutdown(a)).toArray()}async function n(s,a){const c=s.getNonAliasProviders(),[u,p]=c.shift(),l=[...s.controllers,...c,...s.injectables,...s.middlewares],d=(0,r.getNonTransientInstances)(l);await Promise.all(o(d,a));const f=(0,r.getTransientInstances)(l);await Promise.all(o(f,a));const h=p.instance;h&&i(h)&&p.isDependencyTreeStatic()&&await h.beforeApplicationShutdown(a)}return kd}var AR;function K3(){return AR||(AR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(H3(),e),t.__exportStar(V3(),e),t.__exportStar(G3(),e),t.__exportStar(W3(),e),t.__exportStar(Z3(),e)})(Gm)),Gm}var RR;function Ob(){if(RR)return Su;RR=1,Object.defineProperty(Su,"__esModule",{value:!0}),Su.NestApplicationContext=void 0;const e=ve(),t=ne(),r=Ve(),i=di(),o=ql(),n=jl(),s=K3(),a=fN(),c=fi(),u=mN();class p extends a.AbstractInstanceResolver{get instanceLinksHost(){return this._instanceLinksHost||(this._instanceLinksHost=new u.InstanceLinksHost(this.container)),this._instanceLinksHost}constructor(d,f={},h=null,m=new Array){super(),this.container=d,this.appOptions=f,this.contextModule=h,this.scope=m,this.isInitialized=!1,this.logger=new e.Logger(p.name,{timestamp:!0}),this.shouldFlushLogsOnOverride=!1,this.activeShutdownSignals=new Array,this.injector=new c.Injector,this.moduleCompiler=d.getModuleCompiler(),this.appOptions.preview&&this.printInPreviewModeWarning()}selectContextModule(){const d=this.container.getModules().values();this.contextModule=d.next().value}select(d,f){const h=this.container.getModules(),m=this.contextModule.metatype,v=this.scope.concat(m),g=this.container.getModuleTokenFactory(),{type:_,dynamicMetadata:b}=this.moduleCompiler.extractMetadata(d),y=b?g.createForDynamic(_,b,d):g.createForStatic(_,d),E=h.get(y);if(!E)throw new o.UnknownModuleException(_.name);const x=typeof f?.abortOnError<"u"?{...this.appOptions,...f}:this.appOptions;return new p(this.container,x,E,v)}get(d,f={strict:!1}){return f&&f.strict?this.find(d,{moduleId:this.contextModule?.id,each:f.each}):this.find(d,f)}resolve(d,f=(0,n.createContextId)(),h={strict:!1}){return this.resolvePerContext(d,this.contextModule,f,h)}registerRequestByContextId(d,f){this.container.registerRequestProvider(d,f)}async init(){return this.isInitialized?this:(this.initializationPromise=new Promise(async(d,f)=>{try{await this.callInitHook(),await this.callBootstrapHook(),d()}catch(h){f(h)}}),await this.initializationPromise,this.isInitialized=!0,this)}async close(d){await this.initializationPromise,await this.callDestroyHook(),await this.callBeforeShutdownHook(d),await this.dispose(),await this.callShutdownHook(d),this.unsubscribeFromProcessSignals()}useLogger(d){e.Logger.overrideLogger(d),this.shouldFlushLogsOnOverride&&this.flushLogs()}flushLogs(){e.Logger.flush()}flushLogsOnOverride(){this.shouldFlushLogsOnOverride=!0}enableShutdownHooks(d=[]){return(0,t.isEmpty)(d)?d=Object.keys(e.ShutdownSignal).map(f=>e.ShutdownSignal[f]):d=Array.from(new Set(d)),d=(0,r.iterate)(d).map(f=>f.toString().toUpperCase().trim()).filter(f=>!this.activeShutdownSignals.includes(f)).toArray(),this.listenToShutdownSignals(d),this}async dispose(){return Promise.resolve()}listenToShutdownSignals(d){let f=!1;const h=async m=>{try{if(f)return;f=!0,await this.initializationPromise,await this.callDestroyHook(),await this.callBeforeShutdownHook(m),await this.dispose(),await this.callShutdownHook(m),d.forEach(v=>process.removeListener(v,h)),process.kill(process.pid,m)}catch(v){e.Logger.error(i.MESSAGES.ERROR_DURING_SHUTDOWN,v?.stack,p.name),process.exit(1)}};this.shutdownCleanupRef=h,d.forEach(m=>{this.activeShutdownSignals.push(m),process.on(m,h)})}unsubscribeFromProcessSignals(){this.shutdownCleanupRef&&this.activeShutdownSignals.forEach(d=>{process.removeListener(d,this.shutdownCleanupRef)})}async callInitHook(){const d=this.getModulesToTriggerHooksOn();for(const f of d)await(0,s.callModuleInitHook)(f)}async callDestroyHook(){const d=[...this.getModulesToTriggerHooksOn()].reverse();for(const f of d)await(0,s.callModuleDestroyHook)(f)}async callBootstrapHook(){const d=this.getModulesToTriggerHooksOn();for(const f of d)await(0,s.callModuleBootstrapHook)(f)}async callShutdownHook(d){const f=[...this.getModulesToTriggerHooksOn()].reverse();for(const h of f)await(0,s.callAppShutdownHook)(h,d)}async callBeforeShutdownHook(d){const f=[...this.getModulesToTriggerHooksOn()].reverse();for(const h of f)await(0,s.callBeforeAppShutdownHook)(h,d)}assertNotInPreviewMode(d){if(this.appOptions.preview){const f=`Calling the "${d}" in the preview mode is not supported.`;throw this.logger.error(f),new Error(f)}}getModulesToTriggerHooksOn(){if(this._moduleRefsForHooksByDistance)return this._moduleRefsForHooksByDistance;const d=this.container.getModules(),f=(m,v)=>v.distance-m.distance,h=Array.from(d.values()).sort(f);return this._moduleRefsForHooksByDistance=this.appOptions?.preview?h.filter(m=>m.initOnPreview):h,this._moduleRefsForHooksByDistance}printInPreviewModeWarning(){this.logger.warn("------------------------------------------------"),this.logger.warn("Application is running in the PREVIEW mode!"),this.logger.warn("Providers/controllers will not be instantiated."),this.logger.warn("------------------------------------------------")}}return Su.NestApplicationContext=p,Su}var Tu={},st={},MR;function wb(){if(MR)return st;MR=1,Object.defineProperty(st,"__esModule",{value:!0}),st.INVALID_EXECUTION_CONTEXT=st.VERSIONED_CONTROLLER_MAPPING_MESSAGE=st.CONTROLLER_MAPPING_MESSAGE=st.VERSIONED_ROUTE_MAPPED_MESSAGE=st.ROUTE_MAPPED_MESSAGE=st.MODULE_INIT_MESSAGE=void 0;const e=ui(),t=$I(),r=(c,u)=>`${u} dependencies initialized`;st.MODULE_INIT_MESSAGE=r;const i=(c,u)=>`Mapped {${c}, ${e.RequestMethod[u]}} route`;st.ROUTE_MAPPED_MESSAGE=i;const o=(c,u,p)=>{const d=(Array.isArray(p)?p:[p]).map(f=>f===t.VERSION_NEUTRAL?"Neutral":f).join(",");return`Mapped {${c}, ${e.RequestMethod[u]}} (version: ${d}) route`};st.VERSIONED_ROUTE_MAPPED_MESSAGE=o;const n=(c,u)=>`${c} {${u}}:`;st.CONTROLLER_MAPPING_MESSAGE=n;const s=(c,u,p)=>{const d=(Array.isArray(p)?p:[p]).map(f=>f===t.VERSION_NEUTRAL?"Neutral":f).join(",");return`${c} {${u}} (version: ${d}):`};st.VERSIONED_CONTROLLER_MAPPING_MESSAGE=s;const a=(c,u)=>`Calling ${c} is not allowed in this context. Your current execution context is "${u}".`;return st.INVALID_EXECUTION_CONTEXT=a,st}var Au={},Ru={},IR;function Y3(){if(IR)return Ru;IR=1,Object.defineProperty(Ru,"__esModule",{value:!0}),Ru.UnknownRequestMappingException=void 0;const e=et(),t=gt();class r extends e.RuntimeException{constructor(o){super((0,t.UNKNOWN_REQUEST_MAPPING)(o))}}return Ru.UnknownRequestMappingException=r,Ru}var Wm={},CR;function RN(){return CR||(CR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RouterMethodFactory=e.REQUEST_METHOD_MAP=void 0;const t=ui();e.REQUEST_METHOD_MAP={[t.RequestMethod.GET]:"get",[t.RequestMethod.POST]:"post",[t.RequestMethod.PUT]:"put",[t.RequestMethod.DELETE]:"delete",[t.RequestMethod.PATCH]:"patch",[t.RequestMethod.ALL]:"all",[t.RequestMethod.OPTIONS]:"options",[t.RequestMethod.HEAD]:"head",[t.RequestMethod.SEARCH]:"search",[t.RequestMethod.PROPFIND]:"propfind",[t.RequestMethod.PROPPATCH]:"proppatch",[t.RequestMethod.MKCOL]:"mkcol",[t.RequestMethod.COPY]:"copy",[t.RequestMethod.MOVE]:"move",[t.RequestMethod.LOCK]:"lock",[t.RequestMethod.UNLOCK]:"unlock"};class r{get(o,n){const s=e.REQUEST_METHOD_MAP[n],a=o[s];return a||o.use}}e.RouterMethodFactory=r})(Wm)),Wm}var Mu={},jR;function X3(){if(jR)return Mu;jR=1,Object.defineProperty(Mu,"__esModule",{value:!0}),Mu.RouteParamsFactory=void 0;const e=fp();class t{exchangeKeyForValue(i,o,{req:n,res:s,next:a}){switch(i){case e.RouteParamtypes.NEXT:return a;case e.RouteParamtypes.REQUEST:return n;case e.RouteParamtypes.RESPONSE:return s;case e.RouteParamtypes.BODY:return o&&n.body?n.body[o]:n.body;case e.RouteParamtypes.RAW_BODY:return n.rawBody;case e.RouteParamtypes.PARAM:return o?n.params[o]:n.params;case e.RouteParamtypes.HOST:const c=n.hosts||{};return o?c[o]:c;case e.RouteParamtypes.QUERY:return o?n.query[o]:n.query;case e.RouteParamtypes.HEADERS:return o?n.headers[o.toLowerCase()]:n.headers;case e.RouteParamtypes.SESSION:return n.session;case e.RouteParamtypes.FILE:return n[o||"file"];case e.RouteParamtypes.FILES:return n.files;case e.RouteParamtypes.IP:return n.ip;default:return null}}}return Mu.RouteParamsFactory=t,Mu}var Iu={},Cu={},ju={},qR;function Q3(){if(qR)return ju;qR=1,Object.defineProperty(ju,"__esModule",{value:!0}),ju.SseStream=void 0;const e=ne(),t=lp;function r(o){return(0,e.isObject)(o)?r(JSON.stringify(o)):o.split(/\r\n|\r|\n/).map(n=>`data: ${n}
102
+ `);Ae.UNKNOWN_EXPORT_MESSAGE=l;const d=(m,v)=>`ModuleRef cannot instantiate class (${v} is not constructable).`;Ae.INVALID_CLASS_MESSAGE=d;const f=(m,v)=>`${v||"This class"} is marked as a scoped provider. Request and transient-scoped providers can't be used in combination with "get()" method. Please, use "resolve()" instead.`;Ae.INVALID_CLASS_SCOPE_MESSAGE=f;const h=m=>{const v=m.name;return v?`An invalid controller has been detected. "${v}" does not have the @Controller() decorator but it is being listed in the "controllers" array of some module.`:"An invalid controller has been detected. Perhaps, one of your controllers is missing the @Controller() decorator."};return Ae.UNKNOWN_REQUEST_MAPPING=h,Ae.INVALID_MIDDLEWARE_CONFIGURATION="An invalid middleware configuration has been passed inside the module 'configure()' method.",Ae.UNHANDLED_RUNTIME_EXCEPTION="Unhandled Runtime Exception.",Ae.INVALID_EXCEPTION_FILTER="Invalid exception filters (@UseFilters()).",Ae.MICROSERVICES_PACKAGE_NOT_FOUND_EXCEPTION="Unable to load @nestjs/microservices package. (Please make sure that it's already installed.)",Ae}var VT;function iN(){if(VT)return bc;VT=1,Object.defineProperty(bc,"__esModule",{value:!0}),bc.InvalidExceptionFilterException=void 0;const e=et(),t=gt();class r extends e.RuntimeException{constructor(){super(t.INVALID_EXCEPTION_FILTER)}}return bc.InvalidExceptionFilterException=r,bc}var Ec={},GT;function r3(){if(GT)return Ec;GT=1,Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.ExternalExceptionFilter=void 0;const e=ve();class t{catch(i,o){throw i instanceof Error&&!(i instanceof e.IntrinsicException)&&t.logger.error(i),i}}return Ec.ExternalExceptionFilter=t,t.logger=new e.Logger("ExceptionsHandler"),Ec}var WT;function n3(){if(WT)return _c;WT=1,Object.defineProperty(_c,"__esModule",{value:!0}),_c.ExternalExceptionsHandler=void 0;const e=nN(),t=ne(),r=iN(),i=r3();class o extends i.ExternalExceptionFilter{constructor(){super(...arguments),this.filters=[]}next(s,a){const c=this.invokeCustomFilters(s,a);return c||super.catch(s,a)}setCustomFilters(s){if(!Array.isArray(s))throw new r.InvalidExceptionFilterException;this.filters=s}invokeCustomFilters(s,a){if((0,t.isEmpty)(this.filters))return null;const c=(0,e.selectExceptionFilterMetadata)(this.filters,s);return c?c.func(s,a):null}}return _c.ExternalExceptionsHandler=o,_c}var ZT;function i3(){if(ZT)return hc;ZT=1,Object.defineProperty(hc,"__esModule",{value:!0}),hc.ExternalExceptionFilterContext=void 0;const e=xe(),t=ne(),r=Ve(),i=it(),o=rN(),n=n3();class s extends o.BaseExceptionFilterContext{constructor(c,u){super(c),this.config=u}create(c,u,p,l=i.STATIC_CONTEXT,d){this.moduleContext=p;const f=new n.ExternalExceptionsHandler,h=this.createContext(c,u,e.EXCEPTION_FILTERS_METADATA,l,d);return(0,t.isEmpty)(h)||f.setCustomFilters(h.reverse()),f}getGlobalMetadata(c=i.STATIC_CONTEXT,u){if(!this.config)return[];const p=this.config.getGlobalFilters();if(c===i.STATIC_CONTEXT&&!u)return p;const l=this.config.getGlobalRequestFilters(),d=(0,r.iterate)(l).map(f=>f.getInstanceByContextId(c,u)).filter(f=>!!f).map(f=>f.instance).toArray();return p.concat(d)}}return hc.ExternalExceptionFilterContext=s,hc}var Rm={},xc={},KT;function aN(){return KT||(KT=1,Object.defineProperty(xc,"__esModule",{value:!0}),xc.FORBIDDEN_MESSAGE=void 0,xc.FORBIDDEN_MESSAGE="Forbidden resource"),xc}var Oc={},wc={},YT;function Sn(){if(YT)return wc;YT=1,Object.defineProperty(wc,"__esModule",{value:!0}),wc.ExecutionContextHost=void 0;class e{constructor(r,i=null,o=null){this.args=r,this.constructorRef=i,this.handler=o,this.contextType="http"}setType(r){r&&(this.contextType=r)}getType(){return this.contextType}getClass(){return this.constructorRef}getHandler(){return this.handler}getArgs(){return this.args}getArgByIndex(r){return this.args[r]}switchToRpc(){return Object.assign(this,{getData:()=>this.getArgByIndex(0),getContext:()=>this.getArgByIndex(1)})}switchToHttp(){return Object.assign(this,{getRequest:()=>this.getArgByIndex(0),getResponse:()=>this.getArgByIndex(1),getNext:()=>this.getArgByIndex(2)})}switchToWs(){return Object.assign(this,{getClient:()=>this.getArgByIndex(0),getData:()=>this.getArgByIndex(1),getPattern:()=>this.getArgByIndex(this.getArgs().length-1)})}}return wc.ExecutionContextHost=e,wc}var XT;function a3(){if(XT)return Oc;XT=1,Object.defineProperty(Oc,"__esModule",{value:!0}),Oc.GuardsConsumer=void 0;const e=ne(),t=gn(),r=Sn();class i{async tryActivate(n,s,a,c,u){if(!n||(0,e.isEmpty)(n))return!0;const p=this.createContext(s,a,c);p.setType(u);for(const l of n){const d=l.canActivate(p);if(typeof d=="boolean"){if(!d)return!1;continue}if(!await this.pickResult(d))return!1}return!0}createContext(n,s,a){return new r.ExecutionContextHost(n,s.constructor,a)}async pickResult(n){return n instanceof t.Observable?(0,t.lastValueFrom)(n):n}}return Oc.GuardsConsumer=i,Oc}var Sc={},QT;function o3(){if(QT)return Sc;QT=1,Object.defineProperty(Sc,"__esModule",{value:!0}),Sc.GuardsContextCreator=void 0;const e=xe(),t=ne(),r=Ve(),i=qp(),o=it();class n extends i.ContextCreator{constructor(a,c){super(),this.container=a,this.config=c}create(a,c,u,p=o.STATIC_CONTEXT,l){return this.moduleContext=u,this.createContext(a,c,e.GUARDS_METADATA,p,l)}createConcreteContext(a,c=o.STATIC_CONTEXT,u){return(0,t.isEmpty)(a)?[]:(0,r.iterate)(a).filter(p=>p&&(p.name||p.canActivate)).map(p=>this.getGuardInstance(p,c,u)).filter(p=>!!p&&(0,t.isFunction)(p.canActivate)).toArray()}getGuardInstance(a,c=o.STATIC_CONTEXT,u){if(!!a.canActivate)return a;const l=this.getInstanceByMetatype(a);if(!l)return null;const d=l.getInstanceByContextId(this.getContextId(c,l),u);return d&&d.instance}getInstanceByMetatype(a){if(!this.moduleContext)return;const u=this.container.getModules().get(this.moduleContext);return u?u.injectables.get(a):void 0}getGlobalMetadata(a=o.STATIC_CONTEXT,c){if(!this.config)return[];const u=this.config.getGlobalGuards();if(a===o.STATIC_CONTEXT&&!c)return u;const p=this.config.getGlobalRequestGuards(),l=(0,r.iterate)(p).map(d=>d.getInstanceByContextId(this.getContextId(a,d),c)).filter(d=>!!d).map(d=>d.instance).toArray();return u.concat(l)}}return Sc.GuardsContextCreator=n,Sc}var JT;function fb(){return JT||(JT=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(aN(),e),t.__exportStar(a3(),e),t.__exportStar(o3(),e)})(Rm)),Rm}var Mm={},Pc={},$T;function s3(){if($T)return Pc;$T=1,Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.InterceptorsConsumer=void 0;const e=ne(),t=JF,r=gn(),i=Bg(),o=Sn();class n{async intercept(a,c,u,p,l,d){if((0,e.isEmpty)(a))return l();const f=this.createContext(c,u,p);f.setType(d);const h=async(m=0)=>{if(m>=a.length)return(0,r.defer)(t.AsyncResource.bind(()=>this.transformDeferred(l)));const v={handle:()=>(0,r.defer)(t.AsyncResource.bind(()=>h(m+1))).pipe((0,i.mergeAll)())};return a[m].intercept(f,v)};return(0,r.defer)(()=>h()).pipe((0,i.mergeAll)())}createContext(a,c,u){return new o.ExecutionContextHost(a,c.constructor,u)}transformDeferred(a){return(0,r.from)(a()).pipe((0,i.switchMap)(c=>c instanceof Promise||c instanceof r.Observable?c:Promise.resolve(c)))}}return Pc.InterceptorsConsumer=n,Pc}var Tc={},eA;function c3(){if(eA)return Tc;eA=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.InterceptorsContextCreator=void 0;const e=xe(),t=ne(),r=Ve(),i=qp(),o=it();class n extends i.ContextCreator{constructor(a,c){super(),this.container=a,this.config=c}create(a,c,u,p=o.STATIC_CONTEXT,l){return this.moduleContext=u,this.createContext(a,c,e.INTERCEPTORS_METADATA,p,l)}createConcreteContext(a,c=o.STATIC_CONTEXT,u){return(0,t.isEmpty)(a)?[]:(0,r.iterate)(a).filter(p=>p&&(p.name||p.intercept)).map(p=>this.getInterceptorInstance(p,c,u)).filter(p=>p?(0,t.isFunction)(p.intercept):!1).toArray()}getInterceptorInstance(a,c=o.STATIC_CONTEXT,u){if(!!a.intercept)return a;const l=this.getInstanceByMetatype(a);if(!l)return null;const d=l.getInstanceByContextId(this.getContextId(c,l),u);return d&&d.instance}getInstanceByMetatype(a){if(!this.moduleContext)return;const u=this.container.getModules().get(this.moduleContext);if(u)return u.injectables.get(a)}getGlobalMetadata(a=o.STATIC_CONTEXT,c){if(!this.config)return[];const u=this.config.getGlobalInterceptors();if(a===o.STATIC_CONTEXT&&!c)return u;const p=this.config.getGlobalRequestInterceptors(),l=(0,r.iterate)(p).map(d=>d.getInstanceByContextId(this.getContextId(a,d),c)).filter(d=>!!d).map(d=>d.instance).toArray();return u.concat(l)}}return Tc.InterceptorsContextCreator=n,Tc}var tA;function oN(){return tA||(tA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(s3(),e),t.__exportStar(c3(),e)})(Mm)),Mm}var Im={},Ac={},rA;function sN(){if(rA)return Ac;rA=1,Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.ParamsTokenFactory=void 0;const e=fp();class t{exchangeEnumForString(i){switch(i){case e.RouteParamtypes.BODY:return"body";case e.RouteParamtypes.PARAM:return"param";case e.RouteParamtypes.QUERY:return"query";default:return"custom"}}}return Ac.ParamsTokenFactory=t,Ac}var Rc={},nA;function u3(){if(nA)return Rc;nA=1,Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.PipesConsumer=void 0;const e=sN();class t{constructor(){this.paramsTokenFactory=new e.ParamsTokenFactory}async apply(i,{metatype:o,type:n,data:s},a){const c=this.paramsTokenFactory.exchangeEnumForString(n);return this.applyPipes(i,{metatype:o,type:c,data:s},a)}async applyPipes(i,{metatype:o,type:n,data:s},a){return a.reduce(async(c,u)=>{const p=await c;return u.transform(p,{metatype:o,type:n,data:s})},Promise.resolve(i))}}return Rc.PipesConsumer=t,Rc}var Mc={},iA;function l3(){if(iA)return Mc;iA=1,Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.PipesContextCreator=void 0;const e=xe(),t=ne(),r=Ve(),i=qp(),o=it();class n extends i.ContextCreator{constructor(a,c){super(),this.container=a,this.config=c}create(a,c,u,p=o.STATIC_CONTEXT,l){return this.moduleContext=u,this.createContext(a,c,e.PIPES_METADATA,p,l)}createConcreteContext(a,c=o.STATIC_CONTEXT,u){return(0,t.isEmpty)(a)?[]:(0,r.iterate)(a).filter(p=>p&&(p.name||p.transform)).map(p=>this.getPipeInstance(p,c,u)).filter(p=>!!p&&p.transform&&(0,t.isFunction)(p.transform)).toArray()}getPipeInstance(a,c=o.STATIC_CONTEXT,u){if(!!a.transform)return a;const l=this.getInstanceByMetatype(a);if(!l)return null;const d=l.getInstanceByContextId(this.getContextId(c,l),u);return d&&d.instance}getInstanceByMetatype(a){if(!this.moduleContext)return;const u=this.container.getModules().get(this.moduleContext);if(u)return u.injectables.get(a)}getGlobalMetadata(a=o.STATIC_CONTEXT,c){if(!this.config)return[];const u=this.config.getGlobalPipes();if(a===o.STATIC_CONTEXT&&!c)return u;const p=this.config.getGlobalRequestPipes(),l=(0,r.iterate)(p).map(d=>d.getInstanceByContextId(this.getContextId(a,d),c)).filter(d=>!!d).map(d=>d.instance).toArray();return u.concat(l)}setModuleContext(a){this.moduleContext=a}}return Mc.PipesContextCreator=n,Mc}var aA;function cN(){return aA||(aA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(sN(),e),t.__exportStar(u3(),e),t.__exportStar(l3(),e)})(Im)),Im}var Ic={},oA;function uN(){if(oA)return Ic;oA=1,Object.defineProperty(Ic,"__esModule",{value:!0}),Ic.ContextUtils=void 0;const e=xe(),t=ne(),r=Sn();class i{mapParamType(n){return n.split(":")[0]}reflectCallbackParamtypes(n,s){return Reflect.getMetadata(e.PARAMTYPES_METADATA,n,s)}reflectCallbackMetadata(n,s,a){return Reflect.getMetadata(a,n.constructor,s)}reflectPassthrough(n,s){return Reflect.getMetadata(e.RESPONSE_PASSTHROUGH_METADATA,n.constructor,s)}getArgumentsLength(n,s){return n.length?Math.max(...n.map(a=>s[a].index))+1:0}createNullArray(n){const s=new Array(n);for(let a=0;a<n;++a)s[a]=void 0;return s}mergeParamsMetatypes(n,s){return s?n.map(a=>({...a,metatype:s[a.index]})):n}getCustomFactory(n,s,a){return(0,t.isFunction)(n)?(...c)=>n(s,a(c)):()=>null}getContextFactory(n,s,a){const c=s&&s.constructor;return u=>{const p=new r.ExecutionContextHost(u,c,a);return p.setType(n),p}}}return Ic.ContextUtils=i,Ic}var Cc={},sA;function d3(){if(sA)return Cc;sA=1,Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.ExternalErrorProxy=void 0;const e=Sn();class t{createProxy(i,o,n){return async(...s)=>{try{return await i(...s)}catch(a){const c=new e.ExecutionContextHost(s);return c.setType(n),o.next(a,c)}}}}return Cc.ExternalErrorProxy=t,Cc}var Cm={},cA;function lN(){return cA||(cA=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.HandlerMetadataStorage=e.HANDLER_METADATA_SYMBOL=void 0;const r=it();e.HANDLER_METADATA_SYMBOL=Symbol.for("handler_metadata:cache");class i{constructor(){this[t]=new Map}set(n,s,a){const c=this.getMetadataKey(n,s);this[e.HANDLER_METADATA_SYMBOL].set(c,a)}get(n,s){const a=this.getMetadataKey(n,s);return this[e.HANDLER_METADATA_SYMBOL].get(a)}getMetadataKey(n,s){const a=n.constructor;return(a&&(a[r.CONTROLLER_ID_KEY]||a.name))+s}}e.HandlerMetadataStorage=i,t=e.HANDLER_METADATA_SYMBOL})(Cm)),Cm}var uA;function hb(){if(uA)return fc;uA=1,Object.defineProperty(fc,"__esModule",{value:!0}),fc.ExternalContextCreator=void 0;const e=ve(),t=xe(),r=ne(),i=gn(),o=i3(),n=fb(),s=aN(),a=it(),c=oN(),u=cN(),p=uN(),l=d3(),d=lN();class f{constructor(m,v,g,_,b,y,E,x){this.guardsContextCreator=m,this.guardsConsumer=v,this.interceptorsContextCreator=g,this.interceptorsConsumer=_,this.modulesContainer=b,this.pipesContextCreator=y,this.pipesConsumer=E,this.filtersContextCreator=x,this.contextUtils=new p.ContextUtils,this.externalErrorProxy=new l.ExternalErrorProxy,this.handlerMetadataStorage=new d.HandlerMetadataStorage}static fromContainer(m){const v=new n.GuardsContextCreator(m,m.applicationConfig),g=new n.GuardsConsumer,_=new c.InterceptorsContextCreator(m,m.applicationConfig),b=new c.InterceptorsConsumer,y=new u.PipesContextCreator(m,m.applicationConfig),E=new u.PipesConsumer,x=new o.ExternalExceptionFilterContext(m,m.applicationConfig),O=new f(v,g,_,b,m.getModules(),y,E,x);return O.container=m,O}create(m,v,g,_,b,y=a.STATIC_CONTEXT,E,x={interceptors:!0,guards:!0,filters:!0},O="http"){const S=this.getContextModuleKey(m.constructor),{argsLength:w,paramtypes:T,getParamsMetadata:R}=this.getMetadata(m,g,_,b,O),P=this.pipesContextCreator.create(m,v,S,y,E),N=this.guardsContextCreator.create(m,v,S,y,E),L=this.filtersContextCreator.create(m,v,S,y,E),V=x.interceptors?this.interceptorsContextCreator.create(m,v,S,y,E):[],F=R(S,y,E),H=F?this.contextUtils.mergeParamsMetatypes(F,T):[],X=x.guards?this.createGuardsFn(N,m,v,O):null,te=this.createPipesFn(P,H),U=(j,...q)=>async()=>te?(await te(j,...q),v.apply(m,j)):v.apply(m,q),re=async(...j)=>{const q=this.contextUtils.createNullArray(w);X&&await X(j);const D=await this.interceptorsConsumer.intercept(V,j,m,v,U(q,...j),O);return this.transformToResult(D)};return x.filters?this.externalErrorProxy.createProxy(re,L,O):re}getMetadata(m,v,g,_,b){const y=this.handlerMetadataStorage.get(m,v);if(y)return y;const E=this.contextUtils.reflectCallbackMetadata(m,v,g||"")||{},x=Object.keys(E),O=this.contextUtils.getArgumentsLength(x,E),S=this.contextUtils.reflectCallbackParamtypes(m,v),w=this.contextUtils.getContextFactory(b,m,m[v]),R={argsLength:O,paramtypes:S,getParamsMetadata:(P,N=a.STATIC_CONTEXT,L)=>_?this.exchangeKeysForValues(x,E,P,_,N,L,w):null};return this.handlerMetadataStorage.set(m,v,R),R}getContextModuleKey(m){if(!m)return"";const g=this.modulesContainer.entries();for(const[_,b]of g)if(b.hasProvider(m))return _;return""}exchangeKeysForValues(m,v,g,_,b=a.STATIC_CONTEXT,y,E=this.contextUtils.getContextFactory("http")){return this.pipesContextCreator.setModuleContext(g),m.map(x=>{const{index:O,data:S,pipes:w}=v[x],T=this.pipesContextCreator.createConcreteContext(w,b,y),R=this.contextUtils.mapParamType(x);if(x.includes(t.CUSTOM_ROUTE_ARGS_METADATA)){const{factory:L}=v[x],V=this.contextUtils.getCustomFactory(L,S,E);return{index:O,extractValue:V,type:R,data:S,pipes:T}}const P=Number(R);return{index:O,extractValue:(...L)=>_.exchangeKeyForValue(P,S,L),type:P,data:S,pipes:T}})}createPipesFn(m,v){const g=async(_,...b)=>{const y=async E=>{const{index:x,extractValue:O,type:S,data:w,metatype:T,pipes:R}=E,P=O(...b);_[x]=await this.getParamValue(P,{metatype:T,type:S,data:w},m.concat(R))};await Promise.all(v.map(y))};return v.length?g:null}async getParamValue(m,{metatype:v,type:g,data:_},b){return(0,r.isEmpty)(b)?m:this.pipesConsumer.apply(m,{metatype:v,type:g,data:_},b)}async transformToResult(m){return(0,i.isObservable)(m)?(0,i.lastValueFrom)(m):m}createGuardsFn(m,v,g,_){const b=async y=>{if(!await this.guardsConsumer.tryActivate(m,y,v,g,_))throw new e.ForbiddenException(s.FORBIDDEN_MESSAGE)};return m.length?b:null}registerRequestProvider(m,v){this.container.registerRequestProvider(m,v)}}return fc.ExternalContextCreator=f,fc}var lA;function p3(){return lA||(lA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(jl(),e),t.__exportStar(hb(),e),t.__exportStar(Cl(),e)})(Am)),Am}var jm={},jc={},qm={},qc={},dA;function dN(){if(dA)return qc;dA=1,Object.defineProperty(qc,"__esModule",{value:!0}),qc.CircularDependencyException=void 0;const e=et();class t extends e.RuntimeException{constructor(i){const o=i?` inside ${i}`:"";super(`A circular dependency has been detected${o}. Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()". Note that circular relationships between custom providers (e.g., factories) are not supported since functions cannot be called more than once.`)}}return qc.CircularDependencyException=t,qc}var Nc={},pA;function pN(){if(pA)return Nc;pA=1,Object.defineProperty(Nc,"__esModule",{value:!0}),Nc.UnknownElementException=void 0;const e=et();class t extends e.RuntimeException{constructor(i){i=i&&i.toString(),super(`Nest could not find ${i||"given"} element (this provider does not exist in the current context)`)}}return Nc.UnknownElementException=t,Nc}var Fc={},fA;function f3(){if(fA)return Fc;fA=1,Object.defineProperty(Fc,"__esModule",{value:!0}),Fc.InvalidClassScopeException=void 0;const e=ne(),t=gt(),r=et();class i extends r.RuntimeException{constructor(n){let s=(0,e.isFunction)(n)?n.name:n;s=s&&s.toString(),super((0,t.INVALID_CLASS_SCOPE_MESSAGE)`${s}`)}}return Fc.InvalidClassScopeException=i,Fc}var Dc={},hA;function h3(){if(hA)return Dc;hA=1,Object.defineProperty(Dc,"__esModule",{value:!0}),Dc.InvalidClassException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o){super((0,e.INVALID_CLASS_MESSAGE)`${o}`)}}return Dc.InvalidClassException=r,Dc}var kc={},vA;function v3(){if(vA)return kc;vA=1,Object.defineProperty(kc,"__esModule",{value:!0}),kc.UnknownExportException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n){super((0,e.UNKNOWN_EXPORT_MESSAGE)(o,n))}}return kc.UnknownExportException=r,kc}var Lc={},mA;function m3(){if(mA)return Lc;mA=1,Object.defineProperty(Lc,"__esModule",{value:!0}),Lc.UnknownModuleException=void 0;const e=et();class t extends e.RuntimeException{constructor(i){super(`Nest could not select the given module (${i?`"${i}"`:"it"} does not exist in current context).`)}}return Lc.UnknownModuleException=t,Lc}var Uc={},_A;function _3(){if(_A)return Uc;_A=1,Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.UndefinedForwardRefException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o){super((0,e.UNDEFINED_FORWARDREF_MESSAGE)(o))}}return Uc.UndefinedForwardRefException=r,Uc}var gA;function ql(){return gA||(gA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(dN(),e),t.__exportStar(et(),e),t.__exportStar(pN(),e),t.__exportStar(f3(),e),t.__exportStar(h3(),e),t.__exportStar(v3(),e),t.__exportStar(m3(),e),t.__exportStar(_3(),e)})(qm)),qm}var zc={},bA;function vb(){if(bA)return zc;bA=1,Object.defineProperty(zc,"__esModule",{value:!0}),zc.InitializeOnPreviewAllowlist=void 0;class e{static add(r){this.allowlist.set(r,!0)}static has(r){return this.allowlist.has(r)}}return zc.InitializeOnPreviewAllowlist=e,e.allowlist=new WeakMap,zc}var Bc={},Hc={},yA;function mb(){return yA||(yA=1,Object.defineProperty(Hc,"__esModule",{value:!0}),Hc.INQUIRER=void 0,Hc.INQUIRER="INQUIRER"),Hc}var Vc={},Gc={},EA;function g3(){if(EA)return Gc;EA=1,Object.defineProperty(Gc,"__esModule",{value:!0}),Gc.SilentLogger=void 0;const e=ve(),t=()=>{};class r extends e.Logger{constructor(){super(...arguments),this.log=t,this.error=t,this.warn=t,this.debug=t,this.verbose=t,this.fatal=t,this.setLogLevels=t}}return Gc.SilentLogger=r,Gc}var Wc={},Md={},xA;function Np(){if(xA)return Md;xA=1,Object.defineProperty(Md,"__esModule",{value:!0}),Md.getClassScope=t;const e=xe();function t(r){const i=Reflect.getMetadata(e.SCOPE_OPTIONS_METADATA,r);return i&&i.scope}return Md}var Id={},OA;function _b(){if(OA)return Id;OA=1,Object.defineProperty(Id,"__esModule",{value:!0}),Id.isDurable=t;const e=xe();function t(r){const i=Reflect.getMetadata(e.SCOPE_OPTIONS_METADATA,r);return i&&i.durable}return Id}var Zc={},wA;function fN(){if(wA)return Zc;wA=1,Object.defineProperty(Zc,"__esModule",{value:!0}),Zc.AbstractInstanceResolver=void 0;const e=ve(),t=ql();class r{find(o,n){const s=this.instanceLinksHost.get(o,n),a=({wrapperRef:c})=>{if(c.scope===e.Scope.REQUEST||c.scope===e.Scope.TRANSIENT||!c.isDependencyTreeStatic())throw new t.InvalidClassScopeException(o);return c.instance};return Array.isArray(s)?s.map(a):a(s)}async resolvePerContext(o,n,s,a){const c=a?.strict?this.instanceLinksHost.get(o,{moduleId:n.id,each:a.each}):this.instanceLinksHost.get(o,{each:a?.each}),u=async p=>{const{wrapperRef:l,collection:d}=p;if(l.isDependencyTreeStatic()&&!l.isTransient)return this.get(o,{strict:a?.strict});const f=l.instance||{constructor:o},h=await this.injector.loadPerContext(f,l.host,d,s,l);if(!h)throw new t.UnknownElementException;return h};return Array.isArray(c)?Promise.all(c.map(p=>u(p))):u(c)}}return Zc.AbstractInstanceResolver=r,Zc}var Kc={},Yc={},SA;function b3(){if(SA)return Yc;SA=1,Object.defineProperty(Yc,"__esModule",{value:!0}),Yc.UndefinedDependencyException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n,s){super((0,e.UNKNOWN_DEPENDENCIES_MESSAGE)(o,n,s))}}return Yc.UndefinedDependencyException=r,Yc}var Xc={},PA;function hN(){if(PA)return Xc;PA=1,Object.defineProperty(Xc,"__esModule",{value:!0}),Xc.UnknownDependenciesException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n,s,a){super((0,e.UNKNOWN_DEPENDENCIES_MESSAGE)(o,n,s)),this.type=o,this.context=n,this.metadata=a,this.moduleRef=s&&{id:s.id}}}return Xc.UnknownDependenciesException=r,Xc}var Qc={},TA;function y3(){if(TA)return Qc;TA=1,Object.defineProperty(Qc,"__esModule",{value:!0}),Qc.Barrier=void 0;class e{constructor(r){this.currentCount=0,this.targetCount=r,this.promise=new Promise(i=>{this.resolve=i})}signal(){this.currentCount+=1,this.currentCount===this.targetCount&&this.resolve()}async wait(){return this.promise}async signalAndWait(){return this.signal(),this.wait()}}return Qc.Barrier=e,Qc}var Nm={},AA;function vN(){return AA||(AA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(mb(),e)})(Nm)),Nm}var Fm={},rn={},Jc={},RA;function gb(){if(RA)return Jc;RA=1,Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.DeterministicUuidRegistry=void 0;class e{static get(r,i=0){const o=i?this.hashCode(`${r}_${i}`):this.hashCode(r);return this.registry.has(o)?this.get(r,i+1):(this.registry.set(o,!0),o)}static clear(){this.registry.clear()}static hashCode(r){let i=0;for(let o=0;o<r.length;o++)i=Math.imul(31,i)+r.charCodeAt(o)|0;return i.toString()}}return Jc.DeterministicUuidRegistry=e,e.registry=new Map,Jc}var MA;function Nl(){if(MA)return rn;MA=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.UuidFactory=rn.UuidFactoryMode=void 0;const e=nr(),t=gb();var r;(function(o){o.Random="random",o.Deterministic="deterministic"})(r||(rn.UuidFactoryMode=r={}));class i{static set mode(n){this._mode=n}static get(n=""){return this._mode===r.Deterministic?t.DeterministicUuidRegistry.get(n):(0,e.randomStringGenerator)()}}return rn.UuidFactory=i,i._mode=r.Random,rn}var Yn={},IA;function E3(){if(IA)return Yn;IA=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.isClassProvider=t,Yn.isValueProvider=r,Yn.isFactoryProvider=i;const e=ne();function t(o){return!!o?.useClass}function r(o){const n=o?.useValue;return!(0,e.isUndefined)(n)}function i(o){return!!o.useFactory}return Yn}var CA;function Fl(){return CA||(CA=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.InstanceWrapper=e.INSTANCE_ID_SYMBOL=e.INSTANCE_METADATA_SYMBOL=void 0;const r=ve(),i=rr(),o=nr(),n=ne(),s=Ve(),a=Nl(),c=it(),u=E3();e.INSTANCE_METADATA_SYMBOL=Symbol.for("instance_metadata:cache"),e.INSTANCE_ID_SYMBOL=Symbol.for("instance_metadata:id");class p{constructor(d={}){this.isAlias=!1,this.scope=r.Scope.DEFAULT,this.values=new WeakMap,this[t]={},this.initialize(d),this[e.INSTANCE_ID_SYMBOL]=d[e.INSTANCE_ID_SYMBOL]??this.generateUuid()}get id(){return this[e.INSTANCE_ID_SYMBOL]}set instance(d){this.values.set(c.STATIC_CONTEXT,{instance:d})}get instance(){return this.getInstanceByContextId(c.STATIC_CONTEXT).instance}get isNotMetatype(){return!this.metatype||this.isFactory}get isFactory(){return!!this.metatype&&!(0,n.isNil)(this.inject)}get isTransient(){return this.scope===r.Scope.TRANSIENT}getInstanceByContextId(d,f){if(this.scope===r.Scope.TRANSIENT&&f)return this.getInstanceByInquirerId(d,f);const h=this.values.get(d);return h||(d!==c.STATIC_CONTEXT?this.cloneStaticInstance(d):{instance:null,isResolved:!0,isPending:!1})}getInstanceByInquirerId(d,f){let h=this.transientMap.get(f);h||(h=new WeakMap,this.transientMap.set(f,h));const m=h.get(d);return m||this.cloneTransientInstance(d,f)}setInstanceByContextId(d,f,h){if(this.scope===r.Scope.TRANSIENT&&h)return this.setInstanceByInquirerId(d,h,f);this.values.set(d,f)}setInstanceByInquirerId(d,f,h){let m=this.transientMap.get(f);m||(m=new WeakMap,this.transientMap.set(f,m)),m.set(d,h)}removeInstanceByContextId(d,f){if(this.scope===r.Scope.TRANSIENT&&f)return this.removeInstanceByInquirerId(d,f);this.values.delete(d)}removeInstanceByInquirerId(d,f){const h=this.transientMap.get(f);h&&h.delete(d)}addCtorMetadata(d,f){this[e.INSTANCE_METADATA_SYMBOL].dependencies||(this[e.INSTANCE_METADATA_SYMBOL].dependencies=[]),this[e.INSTANCE_METADATA_SYMBOL].dependencies[d]=f}getCtorMetadata(){return this[e.INSTANCE_METADATA_SYMBOL].dependencies}addPropertiesMetadata(d,f){this[e.INSTANCE_METADATA_SYMBOL].properties||(this[e.INSTANCE_METADATA_SYMBOL].properties=[]),this[e.INSTANCE_METADATA_SYMBOL].properties.push({key:d,wrapper:f})}getPropertiesMetadata(){return this[e.INSTANCE_METADATA_SYMBOL].properties}addEnhancerMetadata(d){this[e.INSTANCE_METADATA_SYMBOL].enhancers||(this[e.INSTANCE_METADATA_SYMBOL].enhancers=[]),this[e.INSTANCE_METADATA_SYMBOL].enhancers.push(d)}getEnhancersMetadata(){return this[e.INSTANCE_METADATA_SYMBOL].enhancers}isDependencyTreeDurable(d=[]){if(!(0,n.isUndefined)(this.isTreeDurable))return this.isTreeDurable;if(this.scope===r.Scope.REQUEST)return this.isTreeDurable=this.durable===void 0?!1:this.durable,this.isTreeDurable&&this.printIntrospectedAsDurable(),this.isTreeDurable;if(this.isDependencyTreeStatic())return!1;const h=this.introspectDepsAttribute((m,v)=>m.some(g=>!g.isDependencyTreeStatic()&&!g.isDependencyTreeDurable(v)),d);return this.isTreeDurable=!h,this.isTreeDurable&&this.printIntrospectedAsDurable(),this.isTreeDurable}introspectDepsAttribute(d,f=[]){if(f.includes(this[e.INSTANCE_ID_SYMBOL]))return!1;f=f.concat(this[e.INSTANCE_ID_SYMBOL]);const{dependencies:h,properties:m,enhancers:v}=this[e.INSTANCE_METADATA_SYMBOL];let g=h?d(h,f):!1;return g||!(m||v)||(g=m?d(m.map(_=>_.wrapper),f):!1,g||!v)?g:v?d(v,f):!1}isDependencyTreeStatic(d=[]){return(0,n.isUndefined)(this.isTreeStatic)?this.scope===r.Scope.REQUEST?(this.isTreeStatic=!1,this.printIntrospectedAsRequestScoped(),this.isTreeStatic):(this.isTreeStatic=!this.introspectDepsAttribute((f,h)=>f.some(m=>!m.isDependencyTreeStatic(h)),d),this.isTreeStatic||this.printIntrospectedAsRequestScoped(),this.isTreeStatic):this.isTreeStatic}cloneStaticInstance(d){const f=this.getInstanceByContextId(c.STATIC_CONTEXT);if(this.isDependencyTreeStatic())return f;const h={...f,instance:void 0,isResolved:!1,isPending:!1};return this.isNewable()&&(h.instance=Object.create(this.metatype.prototype)),this.setInstanceByContextId(d,h),h}cloneTransientInstance(d,f){const m={...this.getInstanceByContextId(c.STATIC_CONTEXT),instance:void 0,isResolved:!1,isPending:!1};return this.isNewable()&&(m.instance=Object.create(this.metatype.prototype)),this.setInstanceByInquirerId(d,f,m),m}createPrototype(d){const f=this.getInstanceByContextId(d);if(!(!this.isNewable()||f.isResolved))return Object.create(this.metatype.prototype)}isInRequestScope(d,f){return!this.isDependencyTreeStatic()&&d!==c.STATIC_CONTEXT&&(!this.isTransient||this.isTransient&&!!f)}isLazyTransient(d,f){const h=!!(f&&!f.isDependencyTreeStatic());return this.isDependencyTreeStatic()&&d!==c.STATIC_CONTEXT&&this.isTransient&&h}isExplicitlyRequested(d,f){const h=f===this;return this.isDependencyTreeStatic()&&d!==c.STATIC_CONTEXT&&(h||!!(f&&f.scope===r.Scope.TRANSIENT))}isStatic(d,f){const h=f&&!f.isDependencyTreeStatic(),m=this.isTransient&&!h,v=f?.getRootInquirer();return this.isDependencyTreeStatic()&&d===c.STATIC_CONTEXT&&(!this.isTransient||m&&!!f&&!f.isTransient||m&&!!v&&!v.isTransient)}attachRootInquirer(d){this.isTransient&&(this.rootInquirer=d.getRootInquirer()??d)}getRootInquirer(){return this.rootInquirer}getStaticTransientInstances(){if(!this.transientMap)return[];const d=[...this.transientMap.values()];return(0,s.iterate)(d).map(f=>f.get(c.STATIC_CONTEXT)).filter(f=>!!(f&&f.isConstructorCalled)).toArray()}mergeWith(d){(0,u.isValueProvider)(d)?(this.metatype=null,this.inject=null,this.scope=r.Scope.DEFAULT,this.setInstanceByContextId(c.STATIC_CONTEXT,{instance:d.useValue,isResolved:!0,isPending:!1})):(0,u.isClassProvider)(d)?(this.inject=null,this.metatype=d.useClass):(0,u.isFactoryProvider)(d)&&(this.metatype=d.useFactory,this.inject=d.inject||[])}isNewable(){return(0,n.isNil)(this.inject)&&this.metatype&&this.metatype.prototype}initialize(d){const{instance:f,isResolved:h,...m}=d;Object.assign(this,m),this.setInstanceByContextId(c.STATIC_CONTEXT,{instance:f,isResolved:h}),this.scope===r.Scope.TRANSIENT&&(this.transientMap=new Map)}printIntrospectedAsRequestScoped(){!this.isDebugMode()||this.name==="REQUEST"||(0,n.isString)(this.name)&&p.logger.log(`${i.clc.cyanBright(this.name)}${i.clc.green(" introspected as ")}${i.clc.magentaBright("request-scoped")}`)}printIntrospectedAsDurable(){this.isDebugMode()&&(0,n.isString)(this.name)&&p.logger.log(`${i.clc.cyanBright(this.name)}${i.clc.green(" introspected as ")}${i.clc.magentaBright("durable")}`)}isDebugMode(){return!!process.env.NEST_DEBUG}generateUuid(){let d=this.name?.toString()??this.token?.toString();return d+=this.host?.name??"",d?a.UuidFactory.get(d):(0,o.randomStringGenerator)()}}e.InstanceWrapper=p,t=e.INSTANCE_METADATA_SYMBOL,p.logger=new r.Logger(p.name)})(Fm)),Fm}var $c={},jA;function x3(){if(jA)return $c;jA=1,Object.defineProperty($c,"__esModule",{value:!0}),$c.SettlementSignal=void 0;class e{constructor(){this._refs=new Set,this.completed=!1,this.settledPromise=new Promise(r=>{this.settleFn=r})}complete(){this.completed=!0,this.settleFn()}error(r){this.completed=!0,this.settleFn(r)}asPromise(){return this.settledPromise}insertRef(r){this._refs.add(r)}isCycle(r){return!this.completed&&this._refs.has(r)}}return $c.SettlementSignal=e,$c}var qA;function fi(){if(qA)return Kc;qA=1,Object.defineProperty(Kc,"__esModule",{value:!0}),Kc.Injector=void 0;const e=ve(),t=xe(),r=rr(),i=ne(),o=Ve(),n=$F,s=ql(),a=et(),c=b3(),u=hN(),p=y3(),l=it(),d=vN(),f=Fl(),h=x3();class m{constructor(g){this.options=g,this.logger=new e.Logger("InjectorLogger"),this.instanceDecorator=_=>_,g?.instanceDecorator&&(this.instanceDecorator=g.instanceDecorator)}loadPrototype({token:g},_,b=l.STATIC_CONTEXT){if(!_)return;const y=_.get(g),E=y.createPrototype(b);if(E){const x=new f.InstanceWrapper({...y,instance:E});_.set(g,x)}}async loadInstance(g,_,b,y=l.STATIC_CONTEXT,E){const x=this.getInquirerId(E),O=g.getInstanceByContextId(this.getContextId(y,g),x);if(O.isPending){const P=g.settlementSignal;if(E&&P?.isCycle(E.id))throw new s.CircularDependencyException(`"${g.name}"`);return O.donePromise.then(N=>{if(N)throw N})}const S=this.applySettlementSignal(O,g),w=g.token||g.name,{inject:T}=g,R=_.get(w);if((0,i.isUndefined)(R))throw new a.RuntimeException;if(O.isResolved)return S.complete();try{const P=this.getNowTimestamp(),N=async L=>{const V=await this.resolveProperties(g,b,T,y,g,E),F=await this.instantiateClass(L,g,R,y,E);this.applyProperties(F,V),g.initTime=this.getNowTimestamp()-P,S.complete()};await this.resolveConstructorParams(g,b,T,N,y,g,E)}catch(P){throw g.removeInstanceByContextId(this.getContextId(y,g),x),S.error(P),P}}async loadMiddleware(g,_,b,y=l.STATIC_CONTEXT,E){const{metatype:x,token:O}=g,S=_.get(O);(0,i.isUndefined)(S.instance)&&(S.instance=Object.create(x.prototype),await this.loadInstance(g,_,b,y,E||g))}async loadController(g,_,b=l.STATIC_CONTEXT){const y=_.controllers;await this.loadInstance(g,y,_,b,g),await this.loadEnhancersPerContext(g,b,g)}async loadInjectable(g,_,b=l.STATIC_CONTEXT,y){const E=_.injectables;await this.loadInstance(g,E,_,b,y)}async loadProvider(g,_,b=l.STATIC_CONTEXT,y){const E=_.providers;await this.loadInstance(g,E,_,b,y),await this.loadEnhancersPerContext(g,b,g)}applySettlementSignal(g,_){const b=new h.SettlementSignal;return g.donePromise=b.asPromise(),g.isPending=!0,_.settlementSignal=b,b}async resolveConstructorParams(g,_,b,y,E=l.STATIC_CONTEXT,x,O){const S=g.getCtorMetadata();if(S&&E!==l.STATIC_CONTEXT){const F=await this.loadCtorMetadata(S,E,x,O);return y(F)}const w=!(0,i.isNil)(b),[T,R]=w?this.getFactoryProviderDependencies(g):this.getClassDependencies(g),P=new p.Barrier(T.length);let N=!0;const L=async(F,H)=>{try{if(this.isInquirer(F,O))return P.signal(),O&&O.instance;x?.isTransient&&O&&x.attachRootInquirer(O);const X=await this.resolveSingleParam(g,F,{index:H,dependencies:T},_,E,x,H);await P.signalAndWait();const te=this.getEffectiveInquirer(X,x,O,E),U=await this.resolveComponentHost(_,X,E,te),re=U.getInstanceByContextId(this.getContextId(E,U),this.getInquirerId(te));return!re.isResolved&&!U.forwardRef&&(N=!1),re?.instance}catch(X){if(P.signal(),!R.includes(H))throw X;return}},V=await Promise.all(T.map(L));N&&await y(V)}getClassDependencies(g){const _=g.metatype;return[this.reflectConstructorParams(_),this.reflectOptionalParams(_)]}getFactoryProviderDependencies(g){const _=[];function b(E){return!(0,i.isUndefined)(E.token)&&!(0,i.isUndefined)(E.optional)&&!E.prototype}const y=(E,x)=>typeof E!="object"?E:b(E)?(E.optional&&_.push(x),E?.token):E;return[g.inject?.map?.(y),_]}reflectConstructorParams(g){const _=[...Reflect.getMetadata(t.PARAMTYPES_METADATA,g)||[]];return this.reflectSelfParams(g).forEach(({index:y,param:E})=>_[y]=E),_}reflectOptionalParams(g){return Reflect.getMetadata(t.OPTIONAL_DEPS_METADATA,g)||[]}reflectSelfParams(g){return Reflect.getMetadata(t.SELF_DECLARED_DEPS_METADATA,g)||[]}async resolveSingleParam(g,_,b,y,E=l.STATIC_CONTEXT,x,O){if((0,i.isUndefined)(_))throw this.logger.log("Nest encountered an undefined dependency. This may be due to a circular import or a missing dependency declaration."),new c.UndefinedDependencyException(g.name,b,y);const S=this.resolveParamToken(g,_);return this.resolveComponentWrapper(y,S,b,g,E,x,O)}resolveParamToken(g,_){return typeof _=="object"&&"forwardRef"in _?(g.forwardRef=!0,_.forwardRef()):_}async resolveComponentWrapper(g,_,b,y,E=l.STATIC_CONTEXT,x,O){this.printResolvingDependenciesLog(_,x),this.printLookingForProviderLog(_,g);const S=g.providers;return this.lookupComponent(S,g,{...b,name:_},y,E,x,O)}async resolveComponentHost(g,_,b=l.STATIC_CONTEXT,y){const E=this.getInquirerId(y),x=_.getInstanceByContextId(this.getContextId(b,_),E);if(!x.isResolved&&!_.forwardRef?(y?.settlementSignal?.insertRef(_.id),await this.loadProvider(_,_.host??g,b,y)):!x.isResolved&&_.forwardRef&&(b!==l.STATIC_CONTEXT||E)&&x.donePromise&&x.donePromise.then(()=>this.loadProvider(_,g,b,y)),_.async){const O=_.getInstanceByContextId(this.getContextId(b,_),E);O.instance=await O.instance,_.setInstanceByContextId(b,O,E)}return _}async lookupComponent(g,_,b,y,E=l.STATIC_CONTEXT,x,O){const S=y.token||y.name,{name:w}=b;if(y&&S===w)throw new u.UnknownDependenciesException(y.name,b,_,{id:y.id});if(w&&g.has(w)){const T=g.get(w);return this.printFoundInModuleLog(w,_),this.addDependencyMetadata(O,y,T),T}return this.lookupComponentInParentModules(b,_,y,E,x,O)}async lookupComponentInParentModules(g,_,b,y=l.STATIC_CONTEXT,E,x){const O=await this.lookupComponentInImports(_,g.name,b,[],y,E,x);if((0,i.isNil)(O))throw new u.UnknownDependenciesException(b.name,g,_,{id:b.id});return O}async lookupComponentInImports(g,_,b,y=[],E=l.STATIC_CONTEXT,x,O,S){let w=null;const T=g.imports||new Set,R=N=>N;let P=[...T.values()].filter(R);if(S){const N=g.exports;P=P.filter(L=>N.has(L.metatype))}for(const N of P){if(y.includes(N.id))continue;this.printLookingForProviderLog(_,N),y.push(N.id);const{providers:L,exports:V}=N;if(!V.has(_)||!L.has(_)){const X=await this.lookupComponentInImports(N,_,b,y,E,x,O,!0);if(X)return this.addDependencyMetadata(O,b,X),X;continue}this.printFoundInModuleLog(_,N),w=L.get(_),this.addDependencyMetadata(O,b,w);const F=this.getInquirerId(x);if(!w.getInstanceByContextId(this.getContextId(E,w),F).isResolved&&!w.forwardRef)break}return w}async resolveProperties(g,_,b,y=l.STATIC_CONTEXT,E,x){if(!(0,i.isNil)(b))return[];const O=g.getPropertiesMetadata();if(O&&y!==l.STATIC_CONTEXT)return this.loadPropertiesMetadata(O,y,E);const S=this.reflectProperties(g.metatype),w=new p.Barrier(S.length),T=await Promise.all(S.map(async R=>{try{const P={key:R.key,name:R.name};if(this.isInquirer(R.name,x))return w.signal(),x&&x.instance;const N=await this.resolveSingleParam(g,R.name,P,_,y,E,R.key);await w.signalAndWait();const L=this.getEffectiveInquirer(N,E,x,y),V=await this.resolveComponentHost(_,N,y,L);return V?V.getInstanceByContextId(this.getContextId(y,V),this.getInquirerId(L)).instance:void 0}catch(P){if(w.signal(),!R.isOptional)throw P;return}}));return S.map((R,P)=>({...R,instance:T[P]}))}reflectProperties(g){const _=Reflect.getMetadata(t.PROPERTY_DEPS_METADATA,g)||[],b=Reflect.getMetadata(t.OPTIONAL_PROPERTY_DEPS_METADATA,g)||[];return _.map(y=>({...y,name:y.type,isOptional:b.includes(y.key)}))}applyProperties(g,_){(0,i.isObject)(g)&&(0,o.iterate)(_).filter(b=>!(0,i.isNil)(b.instance)).forEach(b=>g[b.key]=b.instance)}async instantiateClass(g,_,b,y=l.STATIC_CONTEXT,E){const{metatype:x,inject:O}=_,S=this.getInquirerId(E),w=b.getInstanceByContextId(this.getContextId(y,b),S),T=_.isStatic(y,E)||_.isInRequestScope(y,E)||_.isLazyTransient(y,E)||_.isExplicitlyRequested(y,E);if(this.options?.preview&&!_.host?.initOnPreview)return w.isResolved=!0,w.instance;if((0,i.isNil)(O)&&T)w.instance=_.forwardRef?Object.assign(w.instance,new x(...g)):new x(...g),w.instance=this.instanceDecorator(w.instance),w.isConstructorCalled=!0;else if(T){const R=b.metatype(...g);w.instance=await R,w.instance=this.instanceDecorator(w.instance),w.isConstructorCalled=!0}return w.isResolved=!0,w.instance}async loadPerContext(g,_,b,y,E){if(!E){const O=g.constructor;E=b.get(O)}await this.loadInstance(E,b,_,y,E),await this.loadEnhancersPerContext(E,y,E);const x=E.getInstanceByContextId(this.getContextId(y,E),E.id);return x&&x.instance}async loadEnhancersPerContext(g,_,b){const y=g.getEnhancersMetadata()||[],E=x=>{const O=x.host;return this.loadInstance(x,O.injectables,O,_,b)};await Promise.all(y.map(E))}async loadCtorMetadata(g,_,b,y){return(await Promise.all(g.map(async x=>this.resolveScopedComponentHost(x,_,b,y)))).map((x,O)=>{const S=g[O],w=this.getEffectiveInquirer(S,b,y,_);return x?.getInstanceByContextId(this.getContextId(_,x),this.getInquirerId(w)).instance})}async loadPropertiesMetadata(g,_,b){const y=await Promise.all(g.map(async({wrapper:x,key:O})=>({key:O,host:await this.resolveComponentHost(x.host,x,_,b)}))),E=this.getInquirerId(b);return y.map(({key:x,host:O})=>({key:x,name:x,instance:O.getInstanceByContextId(this.getContextId(_,O),E).instance}))}getInquirerId(g){return g?g.id:void 0}getEffectiveInquirer(g,_,b,y){return g?.isTransient&&_?.isTransient&&b&&y!==l.STATIC_CONTEXT?b:_}resolveScopedComponentHost(g,_,b,y){return this.isInquirerRequest(g,y)?y:this.resolveComponentHost(g.host,g,_,this.getEffectiveInquirer(g,b,y,_))}isInquirerRequest(g,_){return g.isTransient&&g.name===d.INQUIRER&&_}isInquirer(g,_){return g===d.INQUIRER&&_}addDependencyMetadata(g,_,b){(0,i.isSymbol)(g)||(0,i.isString)(g)?_.addPropertiesMetadata(g,b):_.addCtorMetadata(g,b)}getTokenName(g){return(0,i.isFunction)(g)?g.name:g.toString()}printResolvingDependenciesLog(g,_){if(!this.isDebugMode())return;const b=this.getTokenName(g),y=(_?.name&&_.name.toString?.())??"unknown",E=y===b,x=`Resolving dependency ${r.clc.cyanBright(b)}${r.clc.green(" in the ")}${r.clc.yellow(y)}${r.clc.green(` provider ${E?"(alias)":""}`)}`;this.logger.log(x)}printLookingForProviderLog(g,_){if(!this.isDebugMode())return;const b=this.getTokenName(g),y=_?.metatype?.name??"unknown";this.logger.log(`Looking for ${r.clc.cyanBright(b)}${r.clc.green(" in ")}${r.clc.magentaBright(y)}`)}printFoundInModuleLog(g,_){if(!this.isDebugMode())return;const b=this.getTokenName(g),y=_?.metatype?.name??"unknown";this.logger.log(`Found ${r.clc.cyanBright(b)}${r.clc.green(" in ")}${r.clc.magentaBright(y)}`)}isDebugMode(){return!!process.env.NEST_DEBUG}getContextId(g,_){return g.getParent?g.getParent({token:_.token,isTreeDurable:_.isDependencyTreeDurable()}):g}getNowTimestamp(){return n.performance.now()}}return Kc.Injector=m,Kc}var eu={},NA;function mN(){if(NA)return eu;NA=1,Object.defineProperty(eu,"__esModule",{value:!0}),eu.InstanceLinksHost=void 0;const e=ne(),t=pN();class r{constructor(o){this.container=o,this.instanceLinks=new Map,this.initialize()}get(o,n={}){const s=this.instanceLinks.get(o);if(!s)throw new t.UnknownElementException(this.getInstanceNameByToken(o));if(n.each)return s;const a=n.moduleId?s.find(c=>c.moduleId===n.moduleId):s[s.length-1];if(!a)throw new t.UnknownElementException(this.getInstanceNameByToken(o));return a}initialize(){this.container.getModules().forEach(n=>{const{providers:s,injectables:a,controllers:c}=n;s.forEach((u,p)=>this.addLink(u,p,n,"providers")),a.forEach((u,p)=>this.addLink(u,p,n,"injectables")),c.forEach((u,p)=>this.addLink(u,p,n,"controllers"))})}addLink(o,n,s,a){const c={moduleId:s.id,wrapperRef:o,collection:s[a],token:n},u=this.instanceLinks.get(n);u?u.push(c):this.instanceLinks.set(n,[c])}getInstanceNameByToken(o){return(0,e.isFunction)(o)?o?.name:o}}return eu.InstanceLinksHost=r,eu}var FA;function Fp(){if(FA)return Wc;FA=1,Object.defineProperty(Wc,"__esModule",{value:!0}),Wc.ModuleRef=void 0;const e=ve(),t=Np(),r=_b(),i=fN(),o=fi(),n=mN(),s=Fl();class a extends i.AbstractInstanceResolver{get instanceLinksHost(){return this._instanceLinksHost||(this._instanceLinksHost=new n.InstanceLinksHost(this.container)),this._instanceLinksHost}constructor(u){super(),this.container=u,this.injector=new o.Injector({preview:u.contextOptions?.preview,instanceDecorator:u.contextOptions?.instrument?.instanceDecorator})}introspect(u){const{wrapperRef:p}=this.instanceLinksHost.get(u);let l=e.Scope.DEFAULT;return p.isDependencyTreeStatic()?p.isTransient&&(l=e.Scope.TRANSIENT):l=e.Scope.REQUEST,{scope:l}}registerRequestByContextId(u,p){this.container.registerRequestProvider(u,p)}async instantiateClass(u,p,l){const d=new s.InstanceWrapper({name:u&&u.name,metatype:u,isResolved:!1,scope:(0,t.getClassScope)(u),durable:(0,r.isDurable)(u),host:p});return new Promise(async(f,h)=>{try{const m=async v=>{const g=await this.injector.resolveProperties(d,p,void 0,l),_=new u(...v);this.injector.applyProperties(_,g),f(_)};await this.injector.resolveConstructorParams(d,p,void 0,m,l)}catch(m){h(m)}})}}return Wc.ModuleRef=a,Wc}var DA;function bb(){if(DA)return Vc;DA=1,Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.LazyModuleLoader=void 0;const e=g3(),t=Fp();class r{constructor(o,n,s,a,c){this.dependenciesScanner=o,this.instanceLoader=n,this.moduleCompiler=s,this.modulesContainer=a,this.moduleOverrides=c}async load(o,n){this.registerLoggerConfiguration(n);const s=await o(),a=await this.dependenciesScanner.scanForModules({moduleDefinition:s,overrides:this.moduleOverrides,lazy:!0});if(a.length===0){const{token:p}=await this.moduleCompiler.compile(s),l=this.modulesContainer.get(p);return l&&this.getTargetModuleRef(l)}const c=this.createLazyModulesContainer(a);await this.dependenciesScanner.scanModulesForDependencies(c),await this.instanceLoader.createInstancesOfDependencies(c);const[u]=a;return this.getTargetModuleRef(u)}registerLoggerConfiguration(o){o?.logger===!1&&this.instanceLoader.setLogger(new e.SilentLogger)}createLazyModulesContainer(o){return o=Array.from(new Set(o)),new Map(o.map(n=>[n.token,n]))}getTargetModuleRef(o){return o.getProviderByKey(t.ModuleRef).instance}}return Vc.LazyModuleLoader=r,Vc}var tu={},kA;function _N(){if(kA)return tu;kA=1,Object.defineProperty(tu,"__esModule",{value:!0}),tu.Reflector=void 0;const e=ve(),t=ne(),r=dn();class i{static createDecorator(n={}){const s=n.key??(0,r.uid)(21),a=c=>(u,p,l)=>{const d=n.transform?n.transform(c):c;(0,e.SetMetadata)(s,d??{})(u,p,l)};return a.KEY=s,a}get(n,s){const a=n.KEY??n;return Reflect.getMetadata(a,s)}getAll(n,s){return(s||[]).map(a=>this.get(n,a))}getAllAndMerge(n,s){const a=this.getAll(n,s).filter(c=>c!==void 0);if((0,t.isEmpty)(a))return a;if(a.length===1){const c=a[0];return(0,t.isObject)(c)?c:a}return a.reduce((c,u)=>Array.isArray(c)?c.concat(u):(0,t.isObject)(c)&&(0,t.isObject)(u)?{...c,...u}:[c,u])}getAllAndOverride(n,s){for(const a of s){const c=this.get(n,a);if(c!==void 0)return c}}}return tu.Reflector=i,tu}var LA;function yb(){if(LA)return Bc;LA=1,Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.SerializedGraph=void 0;const e=dr(),t=hb(),r=Cl(),i=mb(),o=bb(),n=Fp(),s=pi(),a=wn(),c=_N(),u=gb();class p{constructor(){this.nodes=new Map,this.edges=new Map,this.entrypoints=new Map,this.extras={orphanedEnhancers:[],attachedEnhancers:[]},this._status="complete"}set status(d){this._status=d}set metadata(d){this._metadata=d}insertNode(d){return d.metadata.type==="provider"&&p.INTERNAL_PROVIDERS.includes(d.metadata.token)&&(d.metadata={...d.metadata,internal:!0}),this.nodes.has(d.id)?this.nodes.get(d.id):(this.nodes.set(d.id,d),d)}insertEdge(d){d.metadata.type==="class-to-class"&&(p.INTERNAL_PROVIDERS.includes(d.metadata.sourceClassToken)||p.INTERNAL_PROVIDERS.includes(d.metadata.targetClassToken))&&(d.metadata={...d.metadata,internal:!0});const f=d.id??this.generateUuidByEdgeDefinition(d),h={...d,id:f};return this.edges.set(f,h),h}insertEntrypoint(d,f){this.entrypoints.has(f)?this.entrypoints.get(f).push(d):this.entrypoints.set(f,[d])}insertOrphanedEnhancer(d){this.extras.orphanedEnhancers.push(d)}insertAttachedEnhancer(d){this.extras.attachedEnhancers.push({nodeId:d})}getNodeById(d){return this.nodes.get(d)}toJSON(){const d={nodes:Object.fromEntries(this.nodes),edges:Object.fromEntries(this.edges),entrypoints:Object.fromEntries(this.entrypoints),extras:this.extras};return this._status&&(d.status=this._status),this._metadata&&(d.metadata=this._metadata),d}toString(){const d=(f,h)=>typeof h=="symbol"?h.toString():typeof h=="function"?h.name??"Function":h;return JSON.stringify(this.toJSON(),d,2)}generateUuidByEdgeDefinition(d){return u.DeterministicUuidRegistry.get(JSON.stringify(d))}}return Bc.SerializedGraph=p,p.INTERNAL_PROVIDERS=[e.ApplicationConfig,n.ModuleRef,r.HttpAdapterHost,o.LazyModuleLoader,t.ExternalContextCreator,s.ModulesContainer,c.Reflector,p,r.HttpAdapterHost.name,c.Reflector.name,a.REQUEST,i.INQUIRER],Bc}var ru={},UA;function O3(){if(UA)return ru;UA=1,Object.defineProperty(ru,"__esModule",{value:!0}),ru.ModuleCompiler=void 0;class e{constructor(r){this._moduleOpaqueKeyFactory=r}get moduleOpaqueKeyFactory(){return this._moduleOpaqueKeyFactory}async compile(r){r=await r;const{type:i,dynamicMetadata:o}=this.extractMetadata(r),n=o?this._moduleOpaqueKeyFactory.createForDynamic(i,o,r):this._moduleOpaqueKeyFactory.createForStatic(i,r);return{type:i,dynamicMetadata:o,token:n}}extractMetadata(r){if(!this.isDynamicModule(r))return{type:r?.forwardRef?r.forwardRef():r,dynamicMetadata:void 0};const{module:i,...o}=r;return{type:i,dynamicMetadata:o}}isDynamicModule(r){return!!r.module}}return ru.ModuleCompiler=e,ru}var Xn={},nu={},zA;function w3(){if(zA)return nu;zA=1,Object.defineProperty(nu,"__esModule",{value:!0}),nu.requestProvider=void 0;const e=ve(),t=wn(),r=()=>{};return nu.requestProvider={provide:t.REQUEST,scope:e.Scope.REQUEST,useFactory:r},nu}var Dm={},BA;function gN(){return BA||(BA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(_N(),e)})(Dm)),Dm}var iu={},HA;function S3(){if(HA)return iu;HA=1,Object.defineProperty(iu,"__esModule",{value:!0}),iu.inquirerProvider=void 0;const e=ve(),t=mb(),r=()=>{};return iu.inquirerProvider={provide:t.INQUIRER,scope:e.Scope.TRANSIENT,useFactory:r},iu}var VA;function Dp(){if(VA)return Xn;VA=1;var e;Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.InternalCoreModule=void 0;const t=ae(),r=ve(),i=w3(),o=gN(),n=S3(),s={provide:o.Reflector.name,useExisting:o.Reflector};let a=e=class{static register(u){return{module:e,providers:[...u],exports:[...u.map(p=>p.provide)]}}};return Xn.InternalCoreModule=a,Xn.InternalCoreModule=a=e=t.__decorate([(0,r.Global)(),(0,r.Module)({providers:[o.Reflector,s,i.requestProvider,n.inquirerProvider],exports:[o.Reflector,s,i.requestProvider,n.inquirerProvider]})],a),Xn}var au={},GA;function P3(){if(GA)return au;GA=1,Object.defineProperty(au,"__esModule",{value:!0}),au.InternalProvidersStorage=void 0;const e=Cl();class t{constructor(){this._httpAdapterHost=new e.HttpAdapterHost}get httpAdapterHost(){return this._httpAdapterHost}get httpAdapter(){return this._httpAdapter}set httpAdapter(i){this._httpAdapter=i}}return au.InternalProvidersStorage=t,au}var ou={},WA;function T3(){if(WA)return ou;WA=1,Object.defineProperty(ou,"__esModule",{value:!0}),ou.Module=void 0;const e=xe(),t=hp(),r=nr(),i=ne(),o=Ve(),n=dr(),s=ql(),a=jl(),c=Np(),u=_b(),p=Nl(),l=it(),d=Fl(),f=Fp();class h{constructor(v,g){this._metatype=v,this.container=g,this._imports=new Set,this._providers=new Map,this._injectables=new Map,this._middlewares=new Map,this._controllers=new Map,this._entryProviderKeys=new Set,this._exports=new Set,this._distance=0,this._initOnPreview=!1,this._isGlobal=!1,this.addCoreProviders(),this._id=this.generateUuid()}get id(){return this._id}get token(){return this._token}set token(v){this._token=v}get name(){return this.metatype.name}get isGlobal(){return this._isGlobal}set isGlobal(v){this._isGlobal=v}get initOnPreview(){return this._initOnPreview}set initOnPreview(v){this._initOnPreview=v}get providers(){return this._providers}get middlewares(){return this._middlewares}get imports(){return this._imports}get injectables(){return this._injectables}get controllers(){return this._controllers}get entryProviders(){return Array.from(this._entryProviderKeys).map(v=>this.providers.get(v))}get exports(){return this._exports}get instance(){if(!this._providers.has(this._metatype))throw new s.RuntimeException;return this._providers.get(this._metatype).instance}get metatype(){return this._metatype}get distance(){return this._distance}set distance(v){this._distance=v}addCoreProviders(){this.addModuleAsProvider(),this.addModuleRef(),this.addApplicationConfig()}addModuleRef(){const v=this.createModuleReferenceType();this._providers.set(f.ModuleRef,new d.InstanceWrapper({token:f.ModuleRef,name:f.ModuleRef.name,metatype:f.ModuleRef,isResolved:!0,instance:new v,host:this}))}addModuleAsProvider(){this._providers.set(this._metatype,new d.InstanceWrapper({token:this._metatype,name:this._metatype.name,metatype:this._metatype,isResolved:!1,instance:null,host:this}))}addApplicationConfig(){this._providers.set(n.ApplicationConfig,new d.InstanceWrapper({token:n.ApplicationConfig,name:n.ApplicationConfig.name,isResolved:!0,instance:this.container.applicationConfig,host:this}))}addInjectable(v,g,_){if(this.isCustomProvider(v))return this.addCustomProvider(v,this._injectables,g);let b=this.injectables.get(v);if(b||(b=new d.InstanceWrapper({token:v,name:v.name,metatype:v,instance:null,isResolved:!1,scope:(0,c.getClassScope)(v),durable:(0,u.isDurable)(v),subtype:g,host:this}),this._injectables.set(v,b)),_){const y=this._controllers.get(_)||this._providers.get(_);y&&y.addEnhancerMetadata(b)}return b}addProvider(v,g){if(this.isCustomProvider(v))return this.isEntryProvider(v.provide)&&this._entryProviderKeys.add(v.provide),this.addCustomProvider(v,this._providers,g);const _=this._providers.has(v);return(this.isTransientProvider(v)||this.isRequestScopeProvider(v))&&_||(this._providers.set(v,new d.InstanceWrapper({token:v,name:v.name,metatype:v,instance:null,isResolved:!1,scope:(0,c.getClassScope)(v),durable:(0,u.isDurable)(v),host:this})),this.isEntryProvider(v)&&this._entryProviderKeys.add(v)),v}isCustomProvider(v){return!(0,i.isNil)(v.provide)}addCustomProvider(v,g,_){return this.isCustomClass(v)?this.addCustomClass(v,g,_):this.isCustomValue(v)?this.addCustomValue(v,g,_):this.isCustomFactory(v)?this.addCustomFactory(v,g,_):this.isCustomUseExisting(v)&&this.addCustomUseExisting(v,g,_),v.provide}isCustomClass(v){return!(0,i.isUndefined)(v.useClass)}isCustomValue(v){return(0,i.isObject)(v)&&Object.prototype.hasOwnProperty.call(v,"useValue")}isCustomFactory(v){return!(0,i.isUndefined)(v.useFactory)}isCustomUseExisting(v){return!(0,i.isUndefined)(v.useExisting)}isDynamicModule(v){return v&&v.module}addCustomClass(v,g,_){let{scope:b,durable:y}=v;const{useClass:E}=v;(0,i.isUndefined)(b)&&(b=(0,c.getClassScope)(E)),(0,i.isUndefined)(y)&&(y=(0,u.isDurable)(E));const x=v.provide;g.set(x,new d.InstanceWrapper({token:x,name:E?.name||E,metatype:E,instance:null,isResolved:!1,scope:b,durable:y,host:this,subtype:_}))}addCustomValue(v,g,_){const{useValue:b,provide:y}=v,E=this.container.contextOptions?.instrument?.instanceDecorator;g.set(y,new d.InstanceWrapper({token:y,name:y?.name||y,metatype:null,instance:E?E(b):b,isResolved:!0,async:b instanceof Promise,host:this,subtype:_}))}addCustomFactory(v,g,_){const{useFactory:b,inject:y,scope:E,durable:x,provide:O}=v;g.set(O,new d.InstanceWrapper({token:O,name:O?.name||O,metatype:b,instance:null,isResolved:!1,inject:y||[],scope:E,durable:x,host:this,subtype:_}))}addCustomUseExisting(v,g,_){const{useExisting:b,provide:y}=v;g.set(y,new d.InstanceWrapper({token:y,name:y?.name||y,metatype:(E=>E),instance:null,isResolved:!1,inject:[b],host:this,isAlias:!0,subtype:_}))}addExportedProviderOrModule(v){const g=_=>this._exports.add(this.validateExportedProvider(_));if(this.isCustomProvider(v))return this.addCustomExportedProvider(v);if((0,i.isString)(v)||(0,i.isSymbol)(v))return g(v);if(this.isDynamicModule(v)){const{module:_}=v;return g(_)}g(v)}addCustomExportedProvider(v){const g=v.provide;if((0,i.isString)(g)||(0,i.isSymbol)(g))return this._exports.add(this.validateExportedProvider(g));this._exports.add(this.validateExportedProvider(g))}validateExportedProvider(v){if(this._providers.has(v))return v;if(!(0,o.iterate)(this._imports.values()).filter(_=>!!_).map(({metatype:_})=>_).filter(_=>!!_).toArray().includes(v)){const{name:_}=this.metatype,b=(0,i.isFunction)(v)?v.name:v;throw new s.UnknownExportException(b,_)}return v}addController(v){this._controllers.set(v,new d.InstanceWrapper({token:v,name:v.name,metatype:v,instance:null,isResolved:!1,scope:(0,c.getClassScope)(v),durable:(0,u.isDurable)(v),host:this})),this.assignControllerUniqueId(v)}assignControllerUniqueId(v){Object.defineProperty(v,l.CONTROLLER_ID_KEY,{enumerable:!1,writable:!1,configurable:!0,value:(0,r.randomStringGenerator)()})}addImport(v){this._imports.add(v)}replace(v,g){if(g.isProvider&&this.hasProvider(v))return this._providers.get(v).mergeWith({provide:v,...g});if(!g.isProvider&&this.hasInjectable(v))return this._injectables.get(v).mergeWith({provide:v,...g})}hasProvider(v){return this._providers.has(v)}hasInjectable(v){return this._injectables.has(v)}getProviderByKey(v){return this._providers.get(v)}getProviderById(v){return Array.from(this._providers.values()).find(g=>g.id===v)}getControllerById(v){return Array.from(this._controllers.values()).find(g=>g.id===v)}getInjectableById(v){return Array.from(this._injectables.values()).find(g=>g.id===v)}getMiddlewareById(v){return Array.from(this._middlewares.values()).find(g=>g.id===v)}getNonAliasProviders(){return[...this._providers].filter(([v,g])=>!g.isAlias)}createModuleReferenceType(){const v=this;return class extends f.ModuleRef{constructor(){super(v.container)}get(g,_={}){return _.strict??=!0,_.each??=!1,this.find(g,_.strict?{moduleId:v.id,each:_.each}:_)}resolve(g,_=(0,a.createContextId)(),b={}){return b.strict??=!0,b.each??=!1,this.resolvePerContext(g,v,_,b)}async create(g,_){if(!(g&&(0,i.isFunction)(g)&&g.prototype))throw new s.InvalidClassException(g);return this.instantiateClass(g,v,_)}}}isEntryProvider(v){return typeof v=="function"?!!Reflect.getMetadata(e.ENTRY_PROVIDER_WATERMARK,v):!1}generateUuid(){const g=this.token?this.token.includes(":")?this.token.split(":")[1]:this.token:this.name;return g?p.UuidFactory.get(`M__${g}`):(0,r.randomStringGenerator)()}isTransientProvider(v){return(0,c.getClassScope)(v)===t.Scope.TRANSIENT}isRequestScopeProvider(v){return(0,c.getClassScope)(v)===t.Scope.REQUEST}}return ou.Module=h,ou}var su={},ZA;function A3(){if(ZA)return su;ZA=1,Object.defineProperty(su,"__esModule",{value:!0}),su.ByReferenceModuleOpaqueKeyFactory=void 0;const e=nr(),t=oi,r=Symbol("K_MODULE_ID");class i{constructor(n){this.keyGenerationStrategy=n?.keyGenerationStrategy??"random"}createForStatic(n,s=n){return this.getOrCreateModuleId(n,void 0,s)}createForDynamic(n,s,a){return this.getOrCreateModuleId(n,s,a)}getOrCreateModuleId(n,s,a){if(a[r])return a[r];let c;return this.keyGenerationStrategy==="random"?c=this.generateRandomString():c=s?`${this.generateRandomString()}:${this.hashString(n.name+JSON.stringify(s))}`:`${this.generateRandomString()}:${this.hashString(n.toString())}`,a[r]=c,c}hashString(n){return(0,t.createHash)("sha256").update(n).digest("hex")}generateRandomString(){return(0,e.randomStringGenerator)()}}return su.ByReferenceModuleOpaqueKeyFactory=i,su}var cu={},km,KA;function R3(){if(KA)return km;KA=1,km=n,n.default=n,n.stable=u,n.stableStringify=u;var e="[...]",t="[Circular]",r=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function n(d,f,h,m){typeof m>"u"&&(m=o()),a(d,"",0,[],void 0,0,m);var v;try{i.length===0?v=JSON.stringify(d,f,h):v=JSON.stringify(d,l(f),h)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var g=r.pop();g.length===4?Object.defineProperty(g[0],g[1],g[3]):g[0][g[1]]=g[2]}}return v}function s(d,f,h,m){var v=Object.getOwnPropertyDescriptor(m,h);v.get!==void 0?v.configurable?(Object.defineProperty(m,h,{value:d}),r.push([m,h,f,v])):i.push([f,h,d]):(m[h]=d,r.push([m,h,f]))}function a(d,f,h,m,v,g,_){g+=1;var b;if(typeof d=="object"&&d!==null){for(b=0;b<m.length;b++)if(m[b]===d){s(t,d,f,v);return}if(typeof _.depthLimit<"u"&&g>_.depthLimit){s(e,d,f,v);return}if(typeof _.edgesLimit<"u"&&h+1>_.edgesLimit){s(e,d,f,v);return}if(m.push(d),Array.isArray(d))for(b=0;b<d.length;b++)a(d[b],b,b,m,d,g,_);else{var y=Object.keys(d);for(b=0;b<y.length;b++){var E=y[b];a(d[E],E,b,m,d,g,_)}}m.pop()}}function c(d,f){return d<f?-1:d>f?1:0}function u(d,f,h,m){typeof m>"u"&&(m=o());var v=p(d,"",0,[],void 0,0,m)||d,g;try{i.length===0?g=JSON.stringify(v,f,h):g=JSON.stringify(v,l(f),h)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var _=r.pop();_.length===4?Object.defineProperty(_[0],_[1],_[3]):_[0][_[1]]=_[2]}}return g}function p(d,f,h,m,v,g,_){g+=1;var b;if(typeof d=="object"&&d!==null){for(b=0;b<m.length;b++)if(m[b]===d){s(t,d,f,v);return}try{if(typeof d.toJSON=="function")return}catch{return}if(typeof _.depthLimit<"u"&&g>_.depthLimit){s(e,d,f,v);return}if(typeof _.edgesLimit<"u"&&h+1>_.edgesLimit){s(e,d,f,v);return}if(m.push(d),Array.isArray(d))for(b=0;b<d.length;b++)p(d[b],b,b,m,d,g,_);else{var y={},E=Object.keys(d).sort(c);for(b=0;b<E.length;b++){var x=E[b];p(d[x],x,b,m,d,g,_),y[x]=d[x]}if(typeof v<"u")r.push([v,f,d]),v[f]=y;else return y}m.pop()}}function l(d){return d=typeof d<"u"?d:function(f,h){return h},function(f,h){if(i.length>0)for(var m=0;m<i.length;m++){var v=i[m];if(v[1]===f&&v[0]===h){h=v[2],i.splice(m,1);break}}return d.call(this,f,h)}}return km}var YA;function M3(){if(YA)return cu;YA=1,Object.defineProperty(cu,"__esModule",{value:!0}),cu.DeepHashedModuleOpaqueKeyFactory=void 0;const e=xt(),t=nr(),r=ne(),i=oi,o=R3(),n="class ",s=n.length;class a{constructor(){this.moduleIdsCache=new WeakMap,this.moduleTokenCache=new Map,this.logger=new e.Logger(a.name,{timestamp:!0})}createForStatic(u){const p=this.getModuleId(u),l=this.getModuleName(u),d=`${p}_${l}`;if(this.moduleTokenCache.has(d))return this.moduleTokenCache.get(d);const f=this.hashString(d);return this.moduleTokenCache.set(d,f),f}createForDynamic(u,p){const l=this.getModuleId(u),d=this.getModuleName(u),f={id:l,module:d,dynamic:p},h=performance.now(),m=this.getStringifiedOpaqueToken(f),v=performance.now()-h;if(v>10){const g=v.toFixed(2);this.logger.warn(`The module "${f.module}" is taking ${g}ms to serialize, this may be caused by larger objects statically assigned to the module. Consider changing the "moduleIdGeneratorAlgorithm" option to "reference" to improve the performance.`)}return this.hashString(m)}getStringifiedOpaqueToken(u){return u?(0,o.default)(u,this.replacer):""}getModuleId(u){let p=this.moduleIdsCache.get(u);return p||(p=(0,t.randomStringGenerator)(),this.moduleIdsCache.set(u,p),p)}getModuleName(u){return u.name}hashString(u){return(0,i.createHash)("sha256").update(u).digest("hex")}replacer(u,p){if((0,r.isFunction)(p)){const l=p.toString();return l.slice(0,s)===n?p.name:l}return(0,r.isSymbol)(p)?p.toString():p}}return cu.DeepHashedModuleOpaqueKeyFactory=a,cu}var XA;function Eb(){if(XA)return jc;XA=1,Object.defineProperty(jc,"__esModule",{value:!0}),jc.NestContainer=void 0;const e=xe(),t=$q(),r=ql(),i=vb(),o=yb(),n=wn(),s=O3(),a=Dp(),c=P3(),u=T3(),p=pi(),l=A3(),d=M3();class f{constructor(m=void 0,v=void 0){this._applicationConfig=m,this._contextOptions=v,this.globalModules=new Set,this.modules=new p.ModulesContainer,this.dynamicModulesMetadata=new Map,this.internalProvidersStorage=new c.InternalProvidersStorage,this._serializedGraph=new o.SerializedGraph;const g=this._contextOptions?.moduleIdGeneratorAlgorithm==="deep-hash"?new d.DeepHashedModuleOpaqueKeyFactory:new l.ByReferenceModuleOpaqueKeyFactory({keyGenerationStrategy:this._contextOptions?.snapshot?"shallow":"random"});this.moduleCompiler=new s.ModuleCompiler(g)}get serializedGraph(){return this._serializedGraph}get applicationConfig(){return this._applicationConfig}get contextOptions(){return this._contextOptions}setHttpAdapter(m){if(this.internalProvidersStorage.httpAdapter=m,!this.internalProvidersStorage.httpAdapterHost)return;const v=this.internalProvidersStorage.httpAdapterHost;v.httpAdapter=m}getHttpAdapterRef(){return this.internalProvidersStorage.httpAdapter}getHttpAdapterHostRef(){return this.internalProvidersStorage.httpAdapterHost}async addModule(m,v){if(!m)throw new r.UndefinedForwardRefException(v);const{type:g,dynamicMetadata:_,token:b}=await this.moduleCompiler.compile(m);return this.modules.has(b)?{moduleRef:this.modules.get(b),inserted:!0}:{moduleRef:await this.setModule({token:b,type:g,dynamicMetadata:_},v),inserted:!0}}async replaceModule(m,v,g){if(!m||!v)throw new r.UndefinedForwardRefException(g);const{token:_}=await this.moduleCompiler.compile(m),{type:b,dynamicMetadata:y}=await this.moduleCompiler.compile(v);return{moduleRef:await this.setModule({token:_,type:b,dynamicMetadata:y},g),inserted:!1}}async setModule({token:m,dynamicMetadata:v,type:g},_){const b=new u.Module(g,this);b.token=m,b.initOnPreview=this.shouldInitOnPreview(g),this.modules.set(m,b);const y=[].concat(_,g);return await this.addDynamicMetadata(m,v,y),this.isGlobalModule(g,v)&&(b.isGlobal=!0,b.distance=Number.MAX_VALUE,this.addGlobalModule(b)),b}async addDynamicMetadata(m,v,g){if(!v)return;this.dynamicModulesMetadata.set(m,v);const{imports:_}=v;await this.addDynamicModules(_,g)}async addDynamicModules(m,v){m&&await Promise.all(m.map(g=>this.addModule(g,v)))}isGlobalModule(m,v){return v&&v.global?!0:!!Reflect.getMetadata(e.GLOBAL_MODULE_METADATA,m)}addGlobalModule(m){this.globalModules.add(m)}getModules(){return this.modules}getModuleCompiler(){return this.moduleCompiler}getModuleByKey(m){return this.modules.get(m)}getInternalCoreModuleRef(){return this.internalCoreModule}async addImport(m,v){if(!this.modules.has(v))return;const g=this.modules.get(v),{token:_}=await this.moduleCompiler.compile(m),b=this.modules.get(_);g.addImport(b)}addProvider(m,v,g){const _=this.modules.get(v);if(!m)throw new r.CircularDependencyException(_?.metatype.name);if(!_)throw new r.UnknownModuleException;const b=_.addProvider(m,g),y=_.getProviderByKey(b);return t.DiscoverableMetaHostCollection.inspectProvider(this.modules,y),b}addInjectable(m,v,g,_){if(!this.modules.has(v))throw new r.UnknownModuleException;return this.modules.get(v).addInjectable(m,g,_)}addExportedProviderOrModule(m,v){if(!this.modules.has(v))throw new r.UnknownModuleException;this.modules.get(v).addExportedProviderOrModule(m)}addController(m,v){if(!this.modules.has(v))throw new r.UnknownModuleException;const g=this.modules.get(v);g.addController(m);const _=g.controllers.get(m);t.DiscoverableMetaHostCollection.inspectController(this.modules,_)}clear(){this.modules.clear()}replace(m,v){this.modules.forEach(g=>g.replace(m,v))}bindGlobalScope(){this.modules.forEach(m=>this.bindGlobalsToImports(m))}bindGlobalsToImports(m){this.globalModules.forEach(v=>this.bindGlobalModuleToModule(m,v))}bindGlobalModuleToModule(m,v){m===v||m===this.internalCoreModule||m.addImport(v)}getDynamicMetadataByToken(m,v){const g=this.dynamicModulesMetadata.get(m);return v?g?.[v]??[]:g}registerCoreModuleRef(m){this.internalCoreModule=m,this.modules[a.InternalCoreModule.name]=m}getModuleTokenFactory(){return this.moduleCompiler.moduleOpaqueKeyFactory}registerRequestProvider(m,v){this.internalCoreModule.getProviderByKey(n.REQUEST).setInstanceByContextId(v,{instance:m,isResolved:!0})}shouldInitOnPreview(m){return i.InitializeOnPreviewAllowlist.has(m)}}return jc.NestContainer=f,jc}var QA;function bN(){return QA||(QA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(Eb(),e),t.__exportStar(vN(),e),t.__exportStar(bb(),e),t.__exportStar(Fp(),e),t.__exportStar(pi(),e)})(jm)),jm}var Lm={},uu={},lu={},JA;function yN(){if(JA)return lu;JA=1,Object.defineProperty(lu,"__esModule",{value:!0}),lu.PartialGraphHost=void 0;class e{static toJSON(){return this.partialGraph?.toJSON()}static toString(){return this.partialGraph?.toString()}static register(r){this.partialGraph=r}}return lu.PartialGraphHost=e,lu}var $A;function kp(){if($A)return uu;$A=1,Object.defineProperty(uu,"__esModule",{value:!0}),uu.GraphInspector=void 0;const e=hN(),t=gb(),r=yN();class i{constructor(n){this.container=n,this.enhancersMetadataCache=new Array,this.graph=n.serializedGraph}inspectModules(n=this.container.getModules()){for(const s of n.values())this.insertModuleNode(s),this.insertClassNodes(s),this.insertModuleToModuleEdges(s);this.enhancersMetadataCache.forEach(s=>this.insertEnhancerEdge(s)),t.DeterministicUuidRegistry.clear()}registerPartial(n){this.graph.status="partial",n instanceof e.UnknownDependenciesException?this.graph.metadata={cause:{type:"unknown-dependencies",context:n.context,moduleId:n.moduleRef?.id,nodeId:n.metadata?.id}}:this.graph.metadata={cause:{type:"unknown",error:n}},r.PartialGraphHost.register(this.graph)}inspectInstanceWrapper(n,s){n.getCtorMetadata()?.forEach((u,p)=>this.insertClassToClassEdge(n,u,s,p,"constructor")),n.getPropertiesMetadata()?.forEach(({key:u,wrapper:p})=>this.insertClassToClassEdge(n,p,s,u,"property"))}insertEnhancerMetadataCache(n){this.enhancersMetadataCache.push(n)}insertOrphanedEnhancer(n){this.graph.insertOrphanedEnhancer({...n,ref:n.ref?.constructor?.name??"Object"})}insertAttachedEnhancer(n){const s=this.graph.getNodeById(n.id);s.metadata.global=!0,this.graph.insertAttachedEnhancer(s.id)}insertEntrypointDefinition(n,s){n={...n,id:`${n.classNodeId}_${n.methodName}`},this.graph.insertEntrypoint(n,s)}insertClassNode(n,s,a){this.graph.insertNode({id:s.id,label:s.name,parent:n.id,metadata:{type:a,internal:s.metatype===n.metatype,sourceModuleName:n.name,durable:s.isDependencyTreeDurable(),static:s.isDependencyTreeStatic(),scope:s.scope,transient:s.isTransient,exported:n.exports.has(s.token),token:s.token,subtype:s.subtype,initTime:s.initTime}})}insertModuleNode(n){const s=this.container.getDynamicMetadataByToken(n.token),a={id:n.id,label:n.name,metadata:{type:"module",global:n.isGlobal,dynamic:!!s,internal:n.name==="InternalCoreModule"}};this.graph.insertNode(a)}insertModuleToModuleEdges(n){for(const s of n.imports)this.graph.insertEdge({source:n.id,target:s.id,metadata:{type:"module-to-module",sourceModuleName:n.name,targetModuleName:s.name}})}insertEnhancerEdge(n){const s=this.container.getModuleByKey(n.moduleToken),a=s.controllers.get(n.classRef)??s.providers.get(n.classRef),c=this.graph.getNodeById(a.id),u=c.metadata.enhancers??[];if(n.enhancerInstanceWrapper)this.insertClassToClassEdge(a,n.enhancerInstanceWrapper,s,void 0,"decorator"),u.push({id:n.enhancerInstanceWrapper.id,methodKey:n.methodKey,subtype:n.subtype});else{const p=n.enhancerRef.constructor?.name??n.enhancerRef.name;u.push({name:p,methodKey:n.methodKey,subtype:n.subtype})}c.metadata.enhancers=u}insertClassToClassEdge(n,s,a,c,u){this.graph.insertEdge({source:n.id,target:s.id,metadata:{type:"class-to-class",sourceModuleName:a.name,sourceClassName:n.name,targetClassName:s.name,sourceClassToken:n.token,targetClassToken:s.token,targetModuleName:s.host?.name,keyOrIndex:c,injectionType:u}})}insertClassNodes(n){n.providers.forEach(s=>this.insertClassNode(n,s,"provider")),n.injectables.forEach(s=>this.insertClassNode(n,s,"injectable")),n.controllers.forEach(s=>this.insertClassNode(n,s,"controller"))}}return uu.GraphInspector=i,uu}var eR;function I3(){return eR||(eR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(kp(),e),t.__exportStar(vb(),e),t.__exportStar(yN(),e),t.__exportStar(yb(),e)})(Lm)),Lm}var Um={},du={},zm={},ht={},tR;function xb(){if(tR)return ht;tR=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.PathError=ht.TokenData=void 0,ht.parse=u,ht.compile=p,ht.match=f,ht.pathToRegexp=h,ht.stringify=y;const e="/",t=O=>O,r=/^[$_\p{ID_Start}]$/u,i=/^[$\u200c\u200d\p{ID_Continue}]$/u,o={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function n(O){return O.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}function s(O){return O.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class a{constructor(S,w){this.tokens=S,this.originalPath=w}}ht.TokenData=a;class c extends TypeError{constructor(S,w){let T=S;w&&(T+=`: ${w}`),T+="; visit https://git.new/pathToRegexpError for info",super(T),this.originalPath=w}}ht.PathError=c;function u(O,S={}){const{encodePath:w=t}=S,T=[...O],R=[];let P=0,N=0;function L(){let F="";if(r.test(T[P]))do F+=T[P++];while(i.test(T[P]));else if(T[P]==='"'){let H=P;for(;P++<T.length;){if(T[P]==='"'){P++,H=0;break}T[P]==="\\"&&P++,F+=T[P]}if(H)throw new c(`Unterminated quote at index ${H}`,O)}if(!F)throw new c(`Missing parameter name at index ${P}`,O);return F}for(;P<T.length;){const F=T[P],H=o[F];H?R.push({type:H,index:P++,value:F}):F==="\\"?R.push({type:"escape",index:P++,value:T[P++]}):F===":"?R.push({type:"param",index:P++,value:L()}):F==="*"?R.push({type:"wildcard",index:P++,value:L()}):R.push({type:"char",index:P++,value:F})}R.push({type:"end",index:P,value:""});function V(F){const H=[];for(;;){const X=R[N++];if(X.type===F)break;if(X.type==="char"||X.type==="escape"){let te=X.value,U=R[N];for(;U.type==="char"||U.type==="escape";)te+=U.value,U=R[++N];H.push({type:"text",value:w(te)});continue}if(X.type==="param"||X.type==="wildcard"){H.push({type:X.type,name:X.value});continue}if(X.type==="{"){H.push({type:"group",tokens:V("}")});continue}throw new c(`Unexpected ${X.type} at index ${X.index}, expected ${F}`,O)}return H}return new a(V("end"),O)}function p(O,S={}){const{encode:w=encodeURIComponent,delimiter:T=e}=S,R=typeof O=="object"?O:u(O,S),P=l(R.tokens,T,w);return function(L={}){const[V,...F]=P(L);if(F.length)throw new TypeError(`Missing parameters: ${F.join(", ")}`);return V}}function l(O,S,w){const T=O.map(R=>d(R,S,w));return R=>{const P=[""];for(const N of T){const[L,...V]=N(R);P[0]+=L,P.push(...V)}return P}}function d(O,S,w){if(O.type==="text")return()=>[O.value];if(O.type==="group"){const R=l(O.tokens,S,w);return P=>{const[N,...L]=R(P);return L.length?[""]:[N]}}const T=w||t;return O.type==="wildcard"&&w!==!1?R=>{const P=R[O.name];if(P==null)return["",O.name];if(!Array.isArray(P)||P.length===0)throw new TypeError(`Expected "${O.name}" to be a non-empty array`);return[P.map((N,L)=>{if(typeof N!="string")throw new TypeError(`Expected "${O.name}/${L}" to be a string`);return T(N)}).join(S)]}:R=>{const P=R[O.name];if(P==null)return["",O.name];if(typeof P!="string")throw new TypeError(`Expected "${O.name}" to be a string`);return[T(P)]}}function f(O,S={}){const{decode:w=decodeURIComponent,delimiter:T=e}=S,{regexp:R,keys:P}=h(O,S),N=P.map(L=>w===!1?t:L.type==="param"?w:V=>V.split(T).map(w));return function(V){const F=R.exec(V);if(!F)return!1;const H=F[0],X=Object.create(null);for(let te=1;te<F.length;te++){if(F[te]===void 0)continue;const U=P[te-1],re=N[te-1];X[U.name]=re(F[te])}return{path:H,params:X}}}function h(O,S={}){const{delimiter:w=e,end:T=!0,sensitive:R=!1,trailing:P=!0}=S,N=[],L=R?"":"i",V=[];for(const X of m(O,[])){const te=typeof X=="object"?X:u(X,S);for(const U of v(te.tokens,0,[]))V.push(g(U,w,N,te.originalPath))}let F=`^(?:${V.join("|")})`;return P&&(F+=`(?:${s(w)}$)?`),F+=T?"$":`(?=${s(w)}|$)`,{regexp:new RegExp(F,L),keys:N}}function m(O,S){if(Array.isArray(O))for(const w of O)m(w,S);else S.push(O);return S}function*v(O,S,w){if(S===O.length)return yield w;const T=O[S];if(T.type==="group")for(const R of v(T.tokens,0,w.slice()))yield*v(O,S+1,R);else w.push(T);yield*v(O,S+1,w)}function g(O,S,w,T){let R="",P="",N=!0;for(const L of O){if(L.type==="text"){R+=s(L.value),P+=L.value,N||(N=L.value.includes(S));continue}if(L.type==="param"||L.type==="wildcard"){if(!N&&!P)throw new c(`Missing text before "${L.name}" ${L.type}`,T);L.type==="param"?R+=`(${_(S,N?"":P)}+)`:R+="([\\s\\S]+)",w.push(L),P="",N=!1;continue}}return R}function _(O,S){return S.length<2?O.length<2?`[^${s(O+S)}]`:`(?:(?!${s(O)})[^${s(S)}])`:O.length<2?`(?:(?!${s(S)})[^${s(O)}])`:`(?:(?!${s(S)}|${s(O)})[\\s\\S])`}function b(O){let S="",w=0;function T(R){return E(R)&&x(O[w])?R:JSON.stringify(R)}for(;w<O.length;){const R=O[w++];if(R.type==="text"){S+=n(R.value);continue}if(R.type==="group"){S+=`{${b(R.tokens)}}`;continue}if(R.type==="param"){S+=`:${T(R.name)}`;continue}if(R.type==="wildcard"){S+=`*${T(R.name)}`;continue}throw new TypeError(`Unknown token type: ${R.type}`)}return S}function y(O){return b(O.tokens)}function E(O){const[S,...w]=O;return r.test(S)&&w.every(T=>i.test(T))}function x(O){return O&&O.type==="text"?!i.test(O.value[0]):!0}return ht}var pu={},rR;function EN(){if(rR)return pu;rR=1,Object.defineProperty(pu,"__esModule",{value:!0}),pu.LegacyRouteConverter=void 0;const e=ve(),t=(i,o)=>`Unsupported route path: "${o}". In previous versions, the symbols ?, *, and + were used to denote optional or repeating path parameters. The latest version of "path-to-regexp" now requires the use of named parameters. For example, instead of using a route like /users/* to capture all routes starting with "/users", you should use /users/*path. For more details, refer to the migration guide.`;class r{static tryConvert(o,n){const s=o.startsWith("/")?o:`/${o}`,a=o.endsWith("/")?s:`${s}/`,u=n?.logs??!0?this.printWarning.bind(this):()=>{};return a.endsWith("/(.*)/")?(a!=="/(.*)/"&&u(o),o.replace("(.*)","{*path}")):a.endsWith("/*/")?(a!=="/*/"&&u(o),o.replace("*","{*path}")):a.endsWith("/+/")?(u(o),o.replace("/+","/*path")):a.includes("/*/")?(u(o),o.replaceAll("/*/",(p,l)=>`/*path${l}/`)):o}static printError(o){this.logger.error(t`${o}`)}static printWarning(o){this.logger.warn(t`${o}`+" Attempting to auto-convert...")}}return pu.LegacyRouteConverter=r,r.logger=new e.Logger(r.name),pu}var Bm={},Hm={},nR;function C3(){return nR||(nR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isRequestMethodAll=void 0,e.isRouteExcluded=o;const t=ve(),r=ne(),i=n=>t.RequestMethod.ALL===n||n===-1;e.isRequestMethodAll=i;function o(n,s,a){return n.some(c=>(0,e.isRequestMethodAll)(c.requestMethod)||c.requestMethod===a?c.pathRegex.exec((0,r.addLeadingSlash)(s)):!1)}})(Hm)),Hm}var Cd={},iR;function j3(){if(iR)return Cd;iR=1,Object.defineProperty(Cd,"__esModule",{value:!0}),Cd.flattenRoutePaths=t;const e=ne();function t(r){const i=[];return r.forEach(o=>{if(o.module&&o.path&&i.push({module:o.module,path:o.path}),o.children){const n=o.children;n.forEach(s=>{!(0,e.isString)(s)&&(0,e.isString)(s.path)?s.path=(0,e.normalizePath)((0,e.normalizePath)(o.path)+(0,e.normalizePath)(s.path)):i.push({path:o.path,module:s})}),i.push(...t(n))}}),i}return Cd}var aR;function Dl(){return aR||(aR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(C3(),e),t.__exportStar(j3(),e)})(Bm)),Bm}var oR;function xN(){return oR||(oR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.mapToClass=e.filterMiddleware=e.mapToExcludeRoute=void 0,e.isMiddlewareClass=l,e.assignToken=d,e.isMiddlewareRouteExcluded=f;const t=ve(),r=ne(),i=Ve(),o=xb(),n=dn(),s=EN(),a=Dl(),c=h=>h.map(m=>{const v=(0,r.isString)(m)?m:m.path,g=s.LegacyRouteConverter.tryConvert(v);try{return(0,r.isString)(m)?{path:g,requestMethod:t.RequestMethod.ALL,pathRegex:(0,o.pathToRegexp)((0,r.addLeadingSlash)(g)).regexp}:{path:g,requestMethod:m.method,pathRegex:(0,o.pathToRegexp)((0,r.addLeadingSlash)(g)).regexp}}catch(_){throw _ instanceof TypeError&&s.LegacyRouteConverter.printError(v),_}});e.mapToExcludeRoute=c;const u=(h,m,v)=>{const g=(0,e.mapToExcludeRoute)(m);return(0,i.iterate)([]).concat(h).filter(r.isFunction).map(_=>(0,e.mapToClass)(_,g,v)).toArray()};e.filterMiddleware=u;const p=(h,m,v)=>l(h)?m.length<=0?h:d(class extends h{use(..._){const[b,y,E]=_;return f(b,m,v)?E():super.use(..._)}},h.name):d(class{constructor(){this.use=(...g)=>{const[_,b,y]=g;return f(_,m,v)?y():h(...g)}}});e.mapToClass=p;function l(h){const m=h.toString();if(m.substring(0,5)==="class")return!0;const v=m.split(" ");return v[0]==="function"&&/[A-Z]/.test(v[1]?.[0])&&(0,r.isFunction)(h.prototype?.use)}function d(h,m=(0,n.uid)(21)){return Object.defineProperty(h,"name",{value:m}),h}function f(h,m,v){if(m.length<=0)return!1;const g=v.getRequestMethod(h),_=v.getRequestUrl(h),b=_?_.indexOf("?"):-1,y=b>=0?_.slice(0,b):_;return(0,a.isRouteExcluded)(m,y,t.RequestMethod[g])}})(zm)),zm}var sR;function ON(){if(sR)return du;sR=1,Object.defineProperty(du,"__esModule",{value:!0}),du.MiddlewareBuilder=void 0;const e=ne(),t=Ve(),r=xN();class i{constructor(n,s,a){this.routesMapper=n,this.httpAdapter=s,this.routeInfoPathExtractor=a,this.middlewareCollection=new Set}apply(...n){return new i.ConfigProxy(this,n.flat(),this.routeInfoPathExtractor)}build(){return[...this.middlewareCollection]}getHttpAdapter(){return this.httpAdapter}}return du.MiddlewareBuilder=i,i.ConfigProxy=class{constructor(o,n,s){this.builder=o,this.middleware=n,this.routeInfoPathExtractor=s,this.excludedRoutes=[]}getExcludedRoutes(){return this.excludedRoutes}exclude(...o){return this.excludedRoutes=[...this.excludedRoutes,...this.getRoutesFlatList(o).reduce((n,s)=>{for(const a of this.routeInfoPathExtractor.extractPathFrom(s))n.push({...s,path:a});return n},[])],this}forRoutes(...o){const{middlewareCollection:n}=this.builder,s=this.getRoutesFlatList(o),a=this.removeOverlappedRoutes(s),c={middleware:(0,r.filterMiddleware)(this.middleware,this.excludedRoutes,this.builder.getHttpAdapter()),forRoutes:a};return n.add(c),this.builder}getRoutesFlatList(o){const{routesMapper:n}=this.builder;return(0,t.iterate)(o).map(s=>n.mapRouteToRouteInfo(s)).flatten().toArray()}removeOverlappedRoutes(o){const n=/(:[^/]*)/g,s="([^/]*)",a=o.filter(c=>c.path.includes(":")).map(c=>({method:c.method,path:c.path,regex:new RegExp("^("+c.path.replace(n,s)+")$","g")}));return o.filter(c=>{const u=l=>{if(c.method!==l.method)return!1;const d=(0,e.stripEndSlash)(c.path);return d!==l.path&&l.regex.test(d)};return a.find(u)===void 0})}},du}var cR;function q3(){return cR||(cR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(ON(),e)})(Um)),Um}var fu={},jd={},uR;function N3(){if(uR)return jd;uR=1,Object.defineProperty(jd,"__esModule",{value:!0}),jd.optionalRequire=e;function e(t,r){try{return r?r():pg(t)}catch{return{}}}return jd}var hu={},lR;function F3(){if(lR)return hu;lR=1,Object.defineProperty(hu,"__esModule",{value:!0}),hu.MiddlewareContainer=void 0;const e=Np(),t=_b(),r=Fl();class i{constructor(n){this.container=n,this.middleware=new Map,this.configurationSets=new Map}getMiddlewareCollection(n){if(!this.middleware.has(n)){const s=this.container.getModuleByKey(n);this.middleware.set(n,s.middlewares)}return this.middleware.get(n)}getConfigurations(){return this.configurationSets}insertConfig(n,s){const a=this.getMiddlewareCollection(s),c=this.getTargetConfig(s),u=n||[],p=l=>{const d=l;a.set(d,new r.InstanceWrapper({scope:(0,e.getClassScope)(l),durable:(0,t.isDurable)(l),name:d?.name??d,metatype:l,token:d}))};u.forEach(l=>{[].concat(l.middleware).map(p),c.add(l)})}getTargetConfig(n){return this.configurationSets.has(n)||this.configurationSets.set(n,new Set),this.configurationSets.get(n)}}return hu.MiddlewareContainer=i,hu}var vu={},mu={},dR;function D3(){if(dR)return mu;dR=1,Object.defineProperty(mu,"__esModule",{value:!0}),mu.InvalidMiddlewareException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o){super((0,e.INVALID_MIDDLEWARE_MESSAGE)`${o}`)}}return mu.InvalidMiddlewareException=r,mu}var _u={},gu={},pR;function k3(){if(pR)return gu;pR=1,Object.defineProperty(gu,"__esModule",{value:!0}),gu.ExceptionsHandler=void 0;const e=nN(),t=ne(),r=iN(),i=tN();class o extends i.BaseExceptionFilter{constructor(){super(...arguments),this.filters=[]}next(s,a){this.invokeCustomFilters(s,a)||super.catch(s,a)}setCustomFilters(s){if(!Array.isArray(s))throw new r.InvalidExceptionFilterException;this.filters=s}invokeCustomFilters(s,a){if((0,t.isEmpty)(this.filters))return!1;const c=(0,e.selectExceptionFilterMetadata)(this.filters,s);return c&&c.func(s,a),!!c}}return gu.ExceptionsHandler=o,gu}var fR;function wN(){if(fR)return _u;fR=1,Object.defineProperty(_u,"__esModule",{value:!0}),_u.RouterExceptionFilters=void 0;const e=xe(),t=ne(),r=Ve(),i=rN(),o=k3(),n=it();class s extends i.BaseExceptionFilterContext{constructor(c,u,p){super(c),this.config=u,this.applicationRef=p}create(c,u,p,l=n.STATIC_CONTEXT,d){this.moduleContext=p;const f=new o.ExceptionsHandler(this.applicationRef),h=this.createContext(c,u,e.EXCEPTION_FILTERS_METADATA,l,d);return(0,t.isEmpty)(h)||f.setCustomFilters(h.reverse()),f}getGlobalMetadata(c=n.STATIC_CONTEXT,u){const p=this.config.getGlobalFilters();if(c===n.STATIC_CONTEXT&&!u)return p;const l=this.config.getGlobalRequestFilters(),d=(0,r.iterate)(l).map(f=>f.getInstanceByContextId(c,u)).filter(f=>!!f).map(f=>f.instance).toArray();return p.concat(d)}}return _u.RouterExceptionFilters=s,_u}var bu={},hR;function SN(){if(hR)return bu;hR=1,Object.defineProperty(bu,"__esModule",{value:!0}),bu.RouterProxy=void 0;const e=Sn();class t{createProxy(i,o){return async(n,s,a)=>{try{await i(n,s,a)}catch(c){const u=new e.ExecutionContextHost([n,s,a]);return o.next(c,u),s}}}createExceptionLayerProxy(i,o){return async(n,s,a,c)=>{try{await i(n,s,a,c)}catch(u){const p=new e.ExecutionContextHost([s,a,c]);return o.next(u,p),a}}}}return bu.RouterProxy=t,bu}var yu={},vR;function L3(){if(vR)return yu;vR=1,Object.defineProperty(yu,"__esModule",{value:!0}),yu.MiddlewareResolver=void 0;class e{constructor(r,i){this.middlewareContainer=r,this.injector=i}async resolveInstances(r,i){const o=this.middlewareContainer.getMiddlewareCollection(i),n=async s=>this.resolveMiddlewareInstance(s,o,r);await Promise.all([...o.values()].map(n))}async resolveMiddlewareInstance(r,i,o){await this.injector.loadMiddleware(r,i,o)}}return yu.MiddlewareResolver=e,yu}var Eu={},xu={},mR;function PN(){if(mR)return xu;mR=1,Object.defineProperty(xu,"__esModule",{value:!0}),xu.RoutePathFactory=void 0;const e=ve(),t=ne(),r=Dl();class i{constructor(n){this.applicationConfig=n}create(n,s){let a=[""];const c=this.getVersion(n);if(c&&n.versioningOptions?.type===e.VersioningType.URI){const u=this.getVersionPrefix(n.versioningOptions);Array.isArray(c)?a=(0,e.flatten)(a.map(p=>c.map(l=>l===e.VERSION_NEUTRAL?p:`${p}/${u}${l}`))):c!==e.VERSION_NEUTRAL&&(a=a.map(p=>`${p}/${u}${c}`))}return a=this.appendToAllIfDefined(a,n.modulePath),a=this.appendToAllIfDefined(a,n.ctrlPath),a=this.appendToAllIfDefined(a,n.methodPath),n.globalPrefix&&(a=a.map(u=>this.isExcludedFromGlobalPrefix(u,s,c,n.versioningOptions)?u:(0,t.stripEndSlash)(n.globalPrefix||"")+u)),a.map(u=>(0,t.addLeadingSlash)(u||"/")).map(u=>u!=="/"?(0,t.stripEndSlash)(u):u)}getVersion(n){return n.methodVersion||n.controllerVersion}getVersionPrefix(n){if(n.type===e.VersioningType.URI){if(n.prefix===!1)return"";if(n.prefix!==void 0)return n.prefix}return"v"}appendToAllIfDefined(n,s){if(!s)return n;const a=(c,u)=>(0,t.stripEndSlash)(c)+(0,t.addLeadingSlash)(u);if(Array.isArray(s)){const c=n.map(u=>s.map(p=>a(u,p)));return(0,e.flatten)(c)}return n.map(c=>a(c,s))}isExcludedFromGlobalPrefix(n,s,a,c){if((0,t.isUndefined)(s))return!1;const p=this.applicationConfig.getGlobalPrefixOptions().exclude;return a&&a!==e.VERSION_NEUTRAL&&c?.type===e.VersioningType.URI&&(n=this.truncateVersionPrefixFromPath(n,a,c)),Array.isArray(p)&&(0,r.isRouteExcluded)(p,n,s)}truncateVersionPrefixFromPath(n,s,a){if(typeof s!="string")return s.forEach(u=>{typeof u=="string"&&(n=this.truncateVersionPrefixFromPath(n,u,a))}),n;const c=`/${this.getVersionPrefix(a)}${s}`;return n.startsWith(c)?n.replace(c,""):n}}return xu.RoutePathFactory=i,xu}var _R;function U3(){if(_R)return Eu;_R=1,Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.RouteInfoPathExtractor=void 0;const e=ve(),t=ne(),r=Dl(),i=PN();class o{constructor(s){this.applicationConfig=s,this.routePathFactory=new i.RoutePathFactory(s),this.prefixPath=(0,t.stripEndSlash)((0,t.addLeadingSlash)(this.applicationConfig.getGlobalPrefix())),this.excludedGlobalPrefixRoutes=this.applicationConfig.getGlobalPrefixOptions().exclude,this.versioningConfig=this.applicationConfig.getVersioning()}extractPathsFrom({path:s,method:a,version:c}){const u=this.extractVersionPathFrom(c);if(this.isAWildcard(s)){const p=u.length>0?u.map(l=>[this.prefixPath+l+"$",this.prefixPath+l+(0,t.addLeadingSlash)(s)]).flat():this.prefixPath?[this.prefixPath+"$",this.prefixPath+(0,t.addLeadingSlash)(s)]:[(0,t.addLeadingSlash)(s)];return Array.isArray(this.excludedGlobalPrefixRoutes)?[...p,...this.excludedGlobalPrefixRoutes.map(l=>Array.isArray(u)&&u.length>0?u.map(d=>d+(0,t.addLeadingSlash)(l.path)):(0,t.addLeadingSlash)(l.path)).flat()]:p}return this.extractNonWildcardPathsFrom({path:s,method:a,version:c})}extractPathFrom(s){return this.isAWildcard(s.path)&&!s.version?[(0,t.addLeadingSlash)(s.path)]:this.extractNonWildcardPathsFrom(s)}isAWildcard(s){return["*","/*","/*/","(.*)","/(.*)"].includes(s)?!0:/^\/\{.*\}.*|^\/\*.*$/.test(s)}extractNonWildcardPathsFrom({path:s,method:a,version:c}){const u=this.extractVersionPathFrom(c);return Array.isArray(this.excludedGlobalPrefixRoutes)&&(0,r.isRouteExcluded)(this.excludedGlobalPrefixRoutes,s,a)?u.length?u.map(p=>p+(0,t.addLeadingSlash)(s)):[(0,t.addLeadingSlash)(s)]:u.length?u.map(p=>this.prefixPath+p+(0,t.addLeadingSlash)(s)):[this.prefixPath+(0,t.addLeadingSlash)(s)]}extractVersionPathFrom(s){if(!s||this.versioningConfig?.type!==e.VersioningType.URI)return[];const a=this.routePathFactory.getVersionPrefix(this.versioningConfig);return Array.isArray(s)?s.map(c=>(0,t.addLeadingSlash)(a+c.toString())):[(0,t.addLeadingSlash)(a+s.toString())]}}return Eu.RouteInfoPathExtractor=o,Eu}var Ou={},wu={},gR;function TN(){if(gR)return wu;gR=1,Object.defineProperty(wu,"__esModule",{value:!0}),wu.PathsExplorer=void 0;const e=xe(),t=ne();class r{constructor(o){this.metadataScanner=o}scanForPaths(o,n){const s=(0,t.isUndefined)(n)?Object.getPrototypeOf(o):n;return this.metadataScanner.getAllMethodNames(s).reduce((a,c)=>{const u=this.exploreMethodMetadata(o,s,c);return u&&a.push(u),a},[])}exploreMethodMetadata(o,n,s){const a=o[s],c=n[s],u=Reflect.getMetadata(e.PATH_METADATA,c);if((0,t.isUndefined)(u))return null;const p=Reflect.getMetadata(e.METHOD_METADATA,c),l=Reflect.getMetadata(e.VERSION_METADATA,c);return{path:(0,t.isString)(u)?[(0,t.addLeadingSlash)(u)]:u.map(f=>(0,t.addLeadingSlash)(f)),requestMethod:p,targetCallback:a,methodName:s,version:l}}}return wu.PathsExplorer=r,wu}var Vm={},bR;function AN(){return bR||(bR=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.RouterModule=e.targetModulesByContainer=e.ROUTES=void 0;const r=ae(),i=ve(),o=xe(),n=ne(),s=pi(),a=Dl();e.ROUTES=Symbol("ROUTES"),e.targetModulesByContainer=new WeakMap;let c=t=class{constructor(p,l){this.modulesContainer=p,this.routes=l,this.routes=this.deepCloneRoutes(l),this.initialize()}static register(p){return{module:t,providers:[{provide:e.ROUTES,useValue:p}]}}deepCloneRoutes(p){return p.map(l=>typeof l=="function"?l:l.children?{...l,children:this.deepCloneRoutes(l.children)}:{...l})}initialize(){(0,a.flattenRoutePaths)(this.routes).forEach(l=>{const d=(0,n.normalizePath)(l.path);this.registerModulePathMetadata(l.module,d),this.updateTargetModulesCache(l.module)})}registerModulePathMetadata(p,l){Reflect.defineMetadata(o.MODULE_PATH+this.modulesContainer.applicationId,l,p)}updateTargetModulesCache(p){let l;e.targetModulesByContainer.has(this.modulesContainer)?l=e.targetModulesByContainer.get(this.modulesContainer):(l=new WeakSet,e.targetModulesByContainer.set(this.modulesContainer,l));const d=Array.from(this.modulesContainer.values()).find(f=>f?.metatype===p);d&&l.add(d)}};e.RouterModule=c,e.RouterModule=c=t=r.__decorate([(0,i.Module)({}),r.__param(1,(0,i.Inject)(e.ROUTES)),r.__metadata("design:paramtypes",[s.ModulesContainer,Array])],c)})(Vm)),Vm}var yR;function z3(){if(yR)return Ou;yR=1,Object.defineProperty(Ou,"__esModule",{value:!0}),Ou.RoutesMapper=void 0;const e=xe(),t=hp(),r=ne(),i=On(),o=TN(),n=AN();class s{constructor(c,u){this.container=c,this.applicationConfig=u,this.pathsExplorer=new o.PathsExplorer(new i.MetadataScanner)}mapRouteToRouteInfo(c){if((0,r.isString)(c))return this.getRouteInfoFromPath(c);const u=this.getRoutePath(c);return this.isRouteInfo(u,c)?this.getRouteInfoFromObject(c):this.getRouteInfoFromController(c,u)}getRouteInfoFromPath(c){return[{path:(0,r.addLeadingSlash)(c),method:-1}]}getRouteInfoFromObject(c){const u={path:(0,r.addLeadingSlash)(c.path),method:c.method};return c.version&&(u.version=c.version),[u]}getRouteInfoFromController(c,u){const p=this.pathsExplorer.scanForPaths(Object.create(c),c.prototype),l=this.getVersionMetadata(c),d=this.applicationConfig.getVersioning(),f=this.getHostModuleOfController(c),h=this.getModulePath(f?.metatype),m=(_,b)=>_.concat(b),v=_=>_===t.VERSION_NEUTRAL?void 0:_,g=(_,b)=>_.path?.flatMap(y=>{let E=h??"";E+=this.normalizeGlobalPath(b)+(0,r.addLeadingSlash)(y);const x={path:E,method:_.requestMethod},O=_.version??l;if(O&&d){if(typeof O!="string"&&Array.isArray(O))return O.map(S=>({...x,version:v(S)}));x.version=v(O)}return x});return[].concat(u).map(_=>p.map(b=>g(b,_)).reduce(m,[])).reduce(m,[])}isRouteInfo(c,u){return(0,r.isUndefined)(c)}normalizeGlobalPath(c){const u=(0,r.addLeadingSlash)(c);return u==="/"?"":u}getRoutePath(c){return Reflect.getMetadata(e.PATH_METADATA,c)}getHostModuleOfController(c){if(!c)return;const u=this.container.getModules(),p=n.targetModulesByContainer.get(u);return p?Array.from(u.values()).filter(d=>p.has(d)).find(({controllers:d})=>d.has(c)):void 0}getModulePath(c){if(!c)return;const u=this.container.getModules();return Reflect.getMetadata(e.MODULE_PATH+u.applicationId,c)??Reflect.getMetadata(e.MODULE_PATH,c)}getVersionMetadata(c){const u=this.applicationConfig.getVersioning();if(u)return Reflect.getMetadata(e.VERSION_METADATA,c)??u.defaultVersion}}return Ou.RoutesMapper=s,Ou}var ER;function B3(){if(ER)return vu;ER=1,Object.defineProperty(vu,"__esModule",{value:!0}),vu.MiddlewareModule=void 0;const e=ve(),t=ui(),r=ne(),i=D3(),o=et(),n=jl(),s=Sn(),a=it(),c=wn(),u=wN(),p=SN(),l=Dl(),d=ON(),f=L3(),h=U3(),m=z3();class v{constructor(){this.routerProxy=new p.RouterProxy,this.exceptionFiltersCache=new WeakMap,this.logger=new e.Logger(v.name)}async register(_,b,y,E,x,O,S){this.appOptions=S;const w=b.getHttpAdapterRef();this.routerExceptionFilter=new u.RouterExceptionFilters(b,y,w),this.routesMapper=new m.RoutesMapper(b,y),this.resolver=new f.MiddlewareResolver(_,E),this.routeInfoPathExtractor=new h.RouteInfoPathExtractor(y),this.injector=E,this.container=b,this.httpAdapter=x,this.graphInspector=O;const T=b.getModules();await this.resolveMiddleware(_,T)}async resolveMiddleware(_,b){const y=[...b.entries()],E=async([x,O])=>{await this.loadConfiguration(_,O,x),await this.resolver.resolveInstances(O,x)};await Promise.all(y.map(E))}async loadConfiguration(_,b,y){const{instance:E}=b;if(!E.configure)return;const x=new d.MiddlewareBuilder(this.routesMapper,this.httpAdapter,this.routeInfoPathExtractor);try{await E.configure(x)}catch(S){if(!this.appOptions.preview)throw S;const w=`Warning! "${b.name}" module exposes a "configure" method that throws an exception in the preview mode (possibly due to missing dependencies). Note: you can ignore this message, just be aware that some of those conditional middlewares will not be reflected in your graph.`;this.logger.warn(w)}if(!(x instanceof d.MiddlewareBuilder))return;const O=x.build();_.insertConfig(O,y)}async registerMiddleware(_,b){const y=_.getConfigurations(),E=async(O,S)=>{for(const w of S)await this.registerMiddlewareConfig(_,w,O,b)},x=[...y.entries()].sort(([O],[S])=>{const w=this.container.getModuleByKey(O),T=this.container.getModuleByKey(S),R=w.distance===Number.MAX_VALUE,P=T.distance===Number.MAX_VALUE;return R&&P?0:R?-1:P?1:w.distance-T.distance});for(const[O,S]of x)await E(O,[...S])}async registerMiddlewareConfig(_,b,y,E){const{forRoutes:x}=b;for(const O of x)await this.registerRouteMiddleware(_,O,b,y,E)}async registerRouteMiddleware(_,b,y,E,x){const O=[].concat(y.middleware),S=this.container.getModuleByKey(E);for(const w of O){const T=_.getMiddlewareCollection(E),R=T.get(w);if((0,r.isUndefined)(R))throw new o.RuntimeException;if(R.isTransient)return;this.graphInspector.insertClassNode(S,R,"middleware");const P={type:"middleware",methodName:"use",className:R.name,classNodeId:R.id,metadata:{key:b.path,path:b.path,requestMethod:t.RequestMethod[b.method]??"ALL",version:b.version}};this.graphInspector.insertEntrypointDefinition(P,R.id),await this.bindHandler(R,x,b,S,T)}}async bindHandler(_,b,y,E,x){const{instance:O,metatype:S}=_;if((0,r.isUndefined)(O?.use))throw new i.InvalidMiddlewareException(S.name);if(_.isDependencyTreeStatic()){const R=await this.createProxy(O);return this.registerHandler(b,y,R)}const T=_.isDependencyTreeDurable();await this.registerHandler(b,y,async(R,P,N)=>{try{const L=this.getContextId(R,T),V=await this.injector.loadPerContext(O,E,x,L);return(await this.createProxy(V,L))(R,P,N)}catch(L){let V=this.exceptionFiltersCache.get(O.use);V||(V=this.routerExceptionFilter.create(O,O.use,void 0),this.exceptionFiltersCache.set(O.use,V));const F=new s.ExecutionContextHost([R,P,N]);V.next(L,F)}})}async createProxy(_,b=a.STATIC_CONTEXT){const y=this.routerExceptionFilter.create(_,_.use,void 0,b),E=_.use.bind(_);return this.routerProxy.createProxy(E,y)}async registerHandler(_,b,y){const{method:E}=b,x=this.routeInfoPathExtractor.extractPathsFrom(b),O=(0,l.isRequestMethodAll)(E),S=t.RequestMethod[E],w=await _.createMiddlewareFactory(E),T=O?y:(P,N,L)=>_.getRequestMethod?.(P)===S?y(P,N,L):L(),R=[];x.some(P=>P.match(/^\/?$/))?R.push("/"):R.push(...x),R.forEach(P=>w(P,T))}getContextId(_,b){const y=n.ContextIdFactory.getByRequest(_);if(!_[c.REQUEST_CONTEXT_ID]){Object.defineProperty(_,c.REQUEST_CONTEXT_ID,{value:y,enumerable:!1,writable:!1,configurable:!1});const E=b?y.payload:Object.assign(_,y.payload);this.container.registerRequestProvider(E,y)}return y}}return vu.MiddlewareModule=v,vu}var Su={},Gm={},qd={},Pu={},xR;function kl(){if(xR)return Pu;xR=1,Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.getTransientInstances=t,Pu.getNonTransientInstances=r;const e=Ve();function t(i){return(0,e.iterate)(i).filter(([o,n])=>n.isDependencyTreeStatic()).map(([o,n])=>n.getStaticTransientInstances()).flatten().filter(o=>!!o).map(({instance:o})=>o).toArray()}function r(i){return(0,e.iterate)(i).filter(([o,n])=>n.isDependencyTreeStatic()&&!n.isTransient).map(([o,{instance:n}])=>n).toArray()}return Pu}var OR;function H3(){if(OR)return qd;OR=1,Object.defineProperty(qd,"__esModule",{value:!0}),qd.callModuleBootstrapHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.onApplicationBootstrap)}function o(s){return(0,t.iterate)(s).filter(a=>!(0,e.isNil)(a)).filter(i).map(async a=>a.onApplicationBootstrap()).toArray()}async function n(s){const a=s.getNonAliasProviders(),[c,u]=a.shift(),p=[...s.controllers,...a,...s.injectables,...s.middlewares],l=(0,r.getNonTransientInstances)(p);await Promise.all(o(l));const d=(0,r.getTransientInstances)(p);await Promise.all(o(d));const f=u.instance;f&&i(f)&&u.isDependencyTreeStatic()&&await f.onApplicationBootstrap()}return qd}var Nd={},wR;function V3(){if(wR)return Nd;wR=1,Object.defineProperty(Nd,"__esModule",{value:!0}),Nd.callAppShutdownHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.onApplicationShutdown)}function o(s,a){return(0,t.iterate)(s).filter(c=>!(0,e.isNil)(c)).filter(i).map(async c=>c.onApplicationShutdown(a)).toArray()}async function n(s,a){const c=s.getNonAliasProviders(),[u,p]=c.shift(),l=[...s.controllers,...c,...s.injectables,...s.middlewares],d=(0,r.getNonTransientInstances)(l);await Promise.all(o(d,a));const f=(0,r.getTransientInstances)(l);await Promise.all(o(f,a));const h=p.instance;h&&i(h)&&p.isDependencyTreeStatic()&&await h.onApplicationShutdown(a)}return Nd}var Fd={},SR;function G3(){if(SR)return Fd;SR=1,Object.defineProperty(Fd,"__esModule",{value:!0}),Fd.callModuleDestroyHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.onModuleDestroy)}function o(s){return(0,t.iterate)(s).filter(a=>!(0,e.isNil)(a)).filter(i).map(async a=>a.onModuleDestroy()).toArray()}async function n(s){const a=s.getNonAliasProviders(),[c,u]=a.shift(),p=[...s.controllers,...a,...s.injectables,...s.middlewares],l=(0,r.getNonTransientInstances)(p);await Promise.all(o(l));const d=(0,r.getTransientInstances)(p);await Promise.all(o(d));const f=u.instance;f&&i(f)&&u.isDependencyTreeStatic()&&await f.onModuleDestroy()}return Fd}var Dd={},PR;function W3(){if(PR)return Dd;PR=1,Object.defineProperty(Dd,"__esModule",{value:!0}),Dd.callModuleInitHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.onModuleInit)}function o(s){return(0,t.iterate)(s).filter(a=>!(0,e.isNil)(a)).filter(i).map(async a=>a.onModuleInit()).toArray()}async function n(s){const a=s.getNonAliasProviders(),[c,u]=a.shift(),p=[...s.controllers,...a,...s.injectables,...s.middlewares],l=(0,r.getNonTransientInstances)(p);await Promise.all(o(l));const d=(0,r.getTransientInstances)(p);await Promise.all(o(d));const f=u.instance;f&&i(f)&&u.isDependencyTreeStatic()&&await f.onModuleInit()}return Dd}var kd={},TR;function Z3(){if(TR)return kd;TR=1,Object.defineProperty(kd,"__esModule",{value:!0}),kd.callBeforeAppShutdownHook=n;const e=ne(),t=Ve(),r=kl();function i(s){return(0,e.isFunction)(s.beforeApplicationShutdown)}function o(s,a){return(0,t.iterate)(s).filter(c=>!(0,e.isNil)(c)).filter(i).map(async c=>c.beforeApplicationShutdown(a)).toArray()}async function n(s,a){const c=s.getNonAliasProviders(),[u,p]=c.shift(),l=[...s.controllers,...c,...s.injectables,...s.middlewares],d=(0,r.getNonTransientInstances)(l);await Promise.all(o(d,a));const f=(0,r.getTransientInstances)(l);await Promise.all(o(f,a));const h=p.instance;h&&i(h)&&p.isDependencyTreeStatic()&&await h.beforeApplicationShutdown(a)}return kd}var AR;function K3(){return AR||(AR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(H3(),e),t.__exportStar(V3(),e),t.__exportStar(G3(),e),t.__exportStar(W3(),e),t.__exportStar(Z3(),e)})(Gm)),Gm}var RR;function Ob(){if(RR)return Su;RR=1,Object.defineProperty(Su,"__esModule",{value:!0}),Su.NestApplicationContext=void 0;const e=ve(),t=ne(),r=Ve(),i=di(),o=ql(),n=jl(),s=K3(),a=fN(),c=fi(),u=mN();class p extends a.AbstractInstanceResolver{get instanceLinksHost(){return this._instanceLinksHost||(this._instanceLinksHost=new u.InstanceLinksHost(this.container)),this._instanceLinksHost}constructor(d,f={},h=null,m=new Array){super(),this.container=d,this.appOptions=f,this.contextModule=h,this.scope=m,this.isInitialized=!1,this.logger=new e.Logger(p.name,{timestamp:!0}),this.shouldFlushLogsOnOverride=!1,this.activeShutdownSignals=new Array,this.injector=new c.Injector,this.moduleCompiler=d.getModuleCompiler(),this.appOptions.preview&&this.printInPreviewModeWarning()}selectContextModule(){const d=this.container.getModules().values();this.contextModule=d.next().value}select(d,f){const h=this.container.getModules(),m=this.contextModule.metatype,v=this.scope.concat(m),g=this.container.getModuleTokenFactory(),{type:_,dynamicMetadata:b}=this.moduleCompiler.extractMetadata(d),y=b?g.createForDynamic(_,b,d):g.createForStatic(_,d),E=h.get(y);if(!E)throw new o.UnknownModuleException(_.name);const x=typeof f?.abortOnError<"u"?{...this.appOptions,...f}:this.appOptions;return new p(this.container,x,E,v)}get(d,f={strict:!1}){return f&&f.strict?this.find(d,{moduleId:this.contextModule?.id,each:f.each}):this.find(d,f)}resolve(d,f=(0,n.createContextId)(),h={strict:!1}){return this.resolvePerContext(d,this.contextModule,f,h)}registerRequestByContextId(d,f){this.container.registerRequestProvider(d,f)}async init(){return this.isInitialized?this:(this.initializationPromise=new Promise(async(d,f)=>{try{await this.callInitHook(),await this.callBootstrapHook(),d()}catch(h){f(h)}}),await this.initializationPromise,this.isInitialized=!0,this)}async close(d){await this.initializationPromise,await this.callDestroyHook(),await this.callBeforeShutdownHook(d),await this.dispose(),await this.callShutdownHook(d),this.unsubscribeFromProcessSignals()}useLogger(d){e.Logger.overrideLogger(d),this.shouldFlushLogsOnOverride&&this.flushLogs()}flushLogs(){e.Logger.flush()}flushLogsOnOverride(){this.shouldFlushLogsOnOverride=!0}enableShutdownHooks(d=[]){return(0,t.isEmpty)(d)?d=Object.keys(e.ShutdownSignal).map(f=>e.ShutdownSignal[f]):d=Array.from(new Set(d)),d=(0,r.iterate)(d).map(f=>f.toString().toUpperCase().trim()).filter(f=>!this.activeShutdownSignals.includes(f)).toArray(),this.listenToShutdownSignals(d),this}async dispose(){return Promise.resolve()}listenToShutdownSignals(d){let f=!1;const h=async m=>{try{if(f)return;f=!0,await this.initializationPromise,await this.callDestroyHook(),await this.callBeforeShutdownHook(m),await this.dispose(),await this.callShutdownHook(m),d.forEach(v=>process.removeListener(v,h)),process.kill(process.pid,m)}catch(v){e.Logger.error(i.MESSAGES.ERROR_DURING_SHUTDOWN,v?.stack,p.name),process.exit(1)}};this.shutdownCleanupRef=h,d.forEach(m=>{this.activeShutdownSignals.push(m),process.on(m,h)})}unsubscribeFromProcessSignals(){this.shutdownCleanupRef&&this.activeShutdownSignals.forEach(d=>{process.removeListener(d,this.shutdownCleanupRef)})}async callInitHook(){const d=this.getModulesToTriggerHooksOn();for(const f of d)await(0,s.callModuleInitHook)(f)}async callDestroyHook(){const d=[...this.getModulesToTriggerHooksOn()].reverse();for(const f of d)await(0,s.callModuleDestroyHook)(f)}async callBootstrapHook(){const d=this.getModulesToTriggerHooksOn();for(const f of d)await(0,s.callModuleBootstrapHook)(f)}async callShutdownHook(d){const f=[...this.getModulesToTriggerHooksOn()].reverse();for(const h of f)await(0,s.callAppShutdownHook)(h,d)}async callBeforeShutdownHook(d){const f=[...this.getModulesToTriggerHooksOn()].reverse();for(const h of f)await(0,s.callBeforeAppShutdownHook)(h,d)}assertNotInPreviewMode(d){if(this.appOptions.preview){const f=`Calling the "${d}" in the preview mode is not supported.`;throw this.logger.error(f),new Error(f)}}getModulesToTriggerHooksOn(){if(this._moduleRefsForHooksByDistance)return this._moduleRefsForHooksByDistance;const d=this.container.getModules(),f=(m,v)=>v.distance-m.distance,h=Array.from(d.values()).sort(f);return this._moduleRefsForHooksByDistance=this.appOptions?.preview?h.filter(m=>m.initOnPreview):h,this._moduleRefsForHooksByDistance}printInPreviewModeWarning(){this.logger.warn("------------------------------------------------"),this.logger.warn("Application is running in the PREVIEW mode!"),this.logger.warn("Providers/controllers will not be instantiated."),this.logger.warn("------------------------------------------------")}}return Su.NestApplicationContext=p,Su}var Tu={},st={},MR;function wb(){if(MR)return st;MR=1,Object.defineProperty(st,"__esModule",{value:!0}),st.INVALID_EXECUTION_CONTEXT=st.VERSIONED_CONTROLLER_MAPPING_MESSAGE=st.CONTROLLER_MAPPING_MESSAGE=st.VERSIONED_ROUTE_MAPPED_MESSAGE=st.ROUTE_MAPPED_MESSAGE=st.MODULE_INIT_MESSAGE=void 0;const e=ui(),t=$I(),r=(c,u)=>`${u} dependencies initialized`;st.MODULE_INIT_MESSAGE=r;const i=(c,u)=>`Mapped {${c}, ${e.RequestMethod[u]}} route`;st.ROUTE_MAPPED_MESSAGE=i;const o=(c,u,p)=>{const d=(Array.isArray(p)?p:[p]).map(f=>f===t.VERSION_NEUTRAL?"Neutral":f).join(",");return`Mapped {${c}, ${e.RequestMethod[u]}} (version: ${d}) route`};st.VERSIONED_ROUTE_MAPPED_MESSAGE=o;const n=(c,u)=>`${c} {${u}}:`;st.CONTROLLER_MAPPING_MESSAGE=n;const s=(c,u,p)=>{const d=(Array.isArray(p)?p:[p]).map(f=>f===t.VERSION_NEUTRAL?"Neutral":f).join(",");return`${c} {${u}} (version: ${d}):`};st.VERSIONED_CONTROLLER_MAPPING_MESSAGE=s;const a=(c,u)=>`Calling ${c} is not allowed in this context. Your current execution context is "${u}".`;return st.INVALID_EXECUTION_CONTEXT=a,st}var Au={},Ru={},IR;function Y3(){if(IR)return Ru;IR=1,Object.defineProperty(Ru,"__esModule",{value:!0}),Ru.UnknownRequestMappingException=void 0;const e=et(),t=gt();class r extends e.RuntimeException{constructor(o){super((0,t.UNKNOWN_REQUEST_MAPPING)(o))}}return Ru.UnknownRequestMappingException=r,Ru}var Wm={},CR;function RN(){return CR||(CR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RouterMethodFactory=e.REQUEST_METHOD_MAP=void 0;const t=ui();e.REQUEST_METHOD_MAP={[t.RequestMethod.GET]:"get",[t.RequestMethod.POST]:"post",[t.RequestMethod.PUT]:"put",[t.RequestMethod.DELETE]:"delete",[t.RequestMethod.PATCH]:"patch",[t.RequestMethod.ALL]:"all",[t.RequestMethod.OPTIONS]:"options",[t.RequestMethod.HEAD]:"head",[t.RequestMethod.SEARCH]:"search",[t.RequestMethod.PROPFIND]:"propfind",[t.RequestMethod.PROPPATCH]:"proppatch",[t.RequestMethod.MKCOL]:"mkcol",[t.RequestMethod.COPY]:"copy",[t.RequestMethod.MOVE]:"move",[t.RequestMethod.LOCK]:"lock",[t.RequestMethod.UNLOCK]:"unlock"};class r{get(o,n){const s=e.REQUEST_METHOD_MAP[n],a=o[s];return a||o.use}}e.RouterMethodFactory=r})(Wm)),Wm}var Mu={},jR;function X3(){if(jR)return Mu;jR=1,Object.defineProperty(Mu,"__esModule",{value:!0}),Mu.RouteParamsFactory=void 0;const e=fp();class t{exchangeKeyForValue(i,o,{req:n,res:s,next:a}){switch(i){case e.RouteParamtypes.NEXT:return a;case e.RouteParamtypes.REQUEST:return n;case e.RouteParamtypes.RESPONSE:return s;case e.RouteParamtypes.BODY:return o&&n.body?n.body[o]:n.body;case e.RouteParamtypes.RAW_BODY:return n.rawBody;case e.RouteParamtypes.PARAM:return o?n.params[o]:n.params;case e.RouteParamtypes.HOST:const c=n.hosts||{};return o?c[o]:c;case e.RouteParamtypes.QUERY:return o?n.query[o]:n.query;case e.RouteParamtypes.HEADERS:return o?n.headers[o.toLowerCase()]:n.headers;case e.RouteParamtypes.SESSION:return n.session;case e.RouteParamtypes.FILE:return n[o||"file"];case e.RouteParamtypes.FILES:return n.files;case e.RouteParamtypes.IP:return n.ip;default:return null}}}return Mu.RouteParamsFactory=t,Mu}var Iu={},Cu={},ju={},qR;function Q3(){if(qR)return ju;qR=1,Object.defineProperty(ju,"__esModule",{value:!0}),ju.SseStream=void 0;const e=ne(),t=lp;function r(o){return(0,e.isObject)(o)?r(JSON.stringify(o)):o.split(/\r\n|\r|\n/).map(n=>`data: ${n}
116
103
  `).join("")}class i extends t.Transform{constructor(n){super({objectMode:!0}),this.lastEventId=null,n&&n.socket&&(n.socket.setKeepAlive(!0),n.socket.setNoDelay(!0),n.socket.setTimeout(0))}pipe(n,s){return n.writeHead&&(n.writeHead(200,{...s?.additionalHeaders,"Content-Type":"text/event-stream",Connection:"keep-alive","Cache-Control":"private, no-cache, no-store, must-revalidate, max-age=0, no-transform",Pragma:"no-cache",Expire:"0","X-Accel-Buffering":"no"}),n.flushHeaders?.()),n.write(`
117
104
  `),super.pipe(n,s)}_transform(n,s,a){let c=n.type?`event: ${n.type}
118
105
  `:"";c+=n.id?`id: ${n.id}
119
106
  `:"",c+=n.retry?`retry: ${n.retry}
120
107
  `:"",c+=n.data?r(n.data):"",c+=`
121
- `,this.push(c),a()}writeMessage(n,s){n.id||(this.lastEventId++,n.id=this.lastEventId.toString()),this.write(n,"utf-8")?process.nextTick(s):this.once("drain",s)}}return ju.SseStream=i,ju}var NR;function J3(){if(NR)return Cu;NR=1,Object.defineProperty(Cu,"__esModule",{value:!0}),Cu.RouterResponseController=void 0;const e=ve(),t=ne(),r=gn(),i=Bg(),o=Q3();class n{constructor(a){this.applicationRef=a,this.logger=new e.Logger(n.name)}async apply(a,c,u){return this.applicationRef.reply(c,a,u)}async redirect(a,c,u){const p=await this.transformToResult(a),l=p&&p.statusCode?p.statusCode:u.statusCode?u.statusCode:e.HttpStatus.FOUND,d=p&&p.url?p.url:u.url;this.applicationRef.redirect(c,l,d)}async render(a,c,u){const p=await this.transformToResult(a);return this.applicationRef.render(c,u,p)}async transformToResult(a){return(0,r.isObservable)(a)?(0,r.lastValueFrom)(a):a}getStatusByMethod(a){switch(a){case e.RequestMethod.POST:return e.HttpStatus.CREATED;default:return e.HttpStatus.OK}}setHeaders(a,c){c.forEach(({name:u,value:p})=>this.applicationRef.setHeader(a,u,typeof p=="function"?p():p))}setStatus(a,c){this.applicationRef.status(a,c)}sse(a,c,u,p){if(c.writableEnded)return;this.assertObservable(a);const l=new o.SseStream(u);l.pipe(c,p);const d=a.pipe((0,i.map)(f=>(0,t.isObject)(f)?f:{data:f}),(0,i.concatMap)(f=>new Promise(h=>l.writeMessage(f,()=>h()))),(0,i.catchError)(f=>{const h=f instanceof Error?f.message:f;return l.writeMessage({type:"error",data:h},m=>{m&&this.logger.error(m)}),r.EMPTY})).subscribe({complete:()=>{c.end()}});u.on("close",()=>{d.unsubscribe(),l.writableEnded||l.end()})}assertObservable(a){if(!(0,r.isObservable)(a))throw new ReferenceError("You must return an Observable stream to use Server-Sent Events (SSE).")}}return Cu.RouterResponseController=n,Cu}var FR;function $3(){if(FR)return Iu;FR=1,Object.defineProperty(Iu,"__esModule",{value:!0}),Iu.RouterExecutionContext=void 0;const e=ve(),t=xe(),r=fp(),i=ne(),o=fb(),n=uN(),s=lN(),a=it(),c=J3();class u{constructor(l,d,f,h,m,v,g,_){this.paramsFactory=l,this.pipesContextCreator=d,this.pipesConsumer=f,this.guardsContextCreator=h,this.guardsConsumer=m,this.interceptorsContextCreator=v,this.interceptorsConsumer=g,this.applicationRef=_,this.handlerMetadataStorage=new s.HandlerMetadataStorage,this.contextUtils=new n.ContextUtils,this.responseController=new c.RouterResponseController(_)}create(l,d,f,h,m,v=a.STATIC_CONTEXT,g){const _="http",{argsLength:b,fnHandleResponse:y,paramtypes:E,getParamsMetadata:x,httpStatusCode:O,responseHeaders:S,hasCustomHeaders:w}=this.getMetadata(l,d,f,h,m,_),T=this.contextUtils.mergeParamsMetatypes(x(h,v,g),E),R=this.pipesContextCreator.create(l,d,h,v,g),P=this.guardsContextCreator.create(l,d,h,v,g),N=this.interceptorsContextCreator.create(l,d,h,v,g),L=this.createGuardsFn(P,l,d,_),V=this.createPipesFn(R,T),F=(H,X,te,U)=>async()=>(V&&await V(H,X,te,U),d.apply(l,H));return async(H,X,te)=>{const U=this.contextUtils.createNullArray(b);L&&await L([H,X,te]),this.responseController.setStatus(X,O),w&&this.responseController.setHeaders(X,S);const re=await this.interceptorsConsumer.intercept(N,[H,X,te],l,d,F(U,H,X,te),_);await y(re,X,H)}}getMetadata(l,d,f,h,m,v){const g=this.handlerMetadataStorage.get(l,f);if(g)return g;const _=this.contextUtils.reflectCallbackMetadata(l,f,t.ROUTE_ARGS_METADATA)||{},b=Object.keys(_),y=this.contextUtils.getArgumentsLength(b,_),E=this.contextUtils.reflectCallbackParamtypes(l,f),x=this.contextUtils.getContextFactory(v,l,d),O=(H,X=a.STATIC_CONTEXT,te)=>this.exchangeKeysForValues(b,_,H,X,te,x),S=O(h),w=this.isResponseHandled(l,f,S),T=this.reflectRedirect(d),R=this.createHandleResponseFn(d,w,T),P=this.reflectHttpStatusCode(d),N=P||this.responseController.getStatusByMethod(m),L=this.reflectResponseHeaders(d),V=!(0,i.isEmpty)(L),F={argsLength:y,fnHandleResponse:R,paramtypes:E,getParamsMetadata:O,httpStatusCode:N,hasCustomHeaders:V,responseHeaders:L};return this.handlerMetadataStorage.set(l,f,F),F}reflectRedirect(l){return Reflect.getMetadata(t.REDIRECT_METADATA,l)}reflectHttpStatusCode(l){return Reflect.getMetadata(t.HTTP_CODE_METADATA,l)}reflectRenderTemplate(l){return Reflect.getMetadata(t.RENDER_METADATA,l)}reflectResponseHeaders(l){return Reflect.getMetadata(t.HEADERS_METADATA,l)||[]}reflectSse(l){return Reflect.getMetadata(t.SSE_METADATA,l)}exchangeKeysForValues(l,d,f,h=a.STATIC_CONTEXT,m,v){return this.pipesContextCreator.setModuleContext(f),l.map(g=>{const{index:_,data:b,pipes:y}=d[g],E=this.pipesContextCreator.createConcreteContext(y,h,m),x=this.contextUtils.mapParamType(g);if(g.includes(t.CUSTOM_ROUTE_ARGS_METADATA)){const{factory:w}=d[g],T=this.contextUtils.getCustomFactory(w,b,v);return{index:_,extractValue:T,type:x,data:b,pipes:E}}const O=Number(x);return{index:_,extractValue:(w,T,R)=>this.paramsFactory.exchangeKeyForValue(O,b,{req:w,res:T,next:R}),type:O,data:b,pipes:E}})}async getParamValue(l,{metatype:d,type:f,data:h},m){return(0,i.isEmpty)(m)?l:this.pipesConsumer.apply(l,{metatype:d,type:f,data:h},m)}isPipeable(l){return l===r.RouteParamtypes.BODY||l===r.RouteParamtypes.RAW_BODY||l===r.RouteParamtypes.QUERY||l===r.RouteParamtypes.PARAM||l===r.RouteParamtypes.FILE||l===r.RouteParamtypes.FILES||(0,i.isString)(l)}createGuardsFn(l,d,f,h){const m=async v=>{if(!await this.guardsConsumer.tryActivate(l,v,d,f,h))throw new e.ForbiddenException(o.FORBIDDEN_MESSAGE)};return l.length?m:null}createPipesFn(l,d){const f=async(h,m,v,g)=>{const _=async b=>{const{index:y,extractValue:E,type:x,data:O,metatype:S,pipes:w}=b,T=E(m,v,g);h[y]=this.isPipeable(x)?await this.getParamValue(T,{metatype:S,type:x,data:O},l.concat(w)):T};await Promise.all(d.map(_))};return d.length?f:null}createHandleResponseFn(l,d,f,h){const m=this.reflectRenderTemplate(l);return m?async(g,_)=>await this.responseController.render(g,_,m):f&&(0,i.isString)(f.url)?async(g,_)=>{await this.responseController.redirect(g,_,f)}:this.reflectSse(l)?(g,_,b)=>{this.responseController.sse(g,_.raw||_,b.raw||b,{additionalHeaders:_.getHeaders?.()})}:async(g,_)=>(g=await this.responseController.transformToResult(g),!d&&await this.responseController.apply(g,_,h),_)}isResponseHandled(l,d,f){const h=f.some(({type:v})=>v===r.RouteParamtypes.RESPONSE||v===r.RouteParamtypes.NEXT),m=this.contextUtils.reflectPassthrough(l,d);return h&&!m}}return Iu.RouterExecutionContext=u,Iu}var DR;function MN(){if(DR)return Au;DR=1,Object.defineProperty(Au,"__esModule",{value:!0}),Au.RouterExplorer=void 0;const e=xe(),t=_l(),r=ug(),i=xt(),o=ne(),n=xb(),s=Y3(),a=fb(),c=jl(),u=Sn(),p=wb(),l=RN(),d=it(),f=oN(),h=cN(),m=TN(),v=wn(),g=X3(),_=$3();class b{constructor(E,x,O,S,w,T,R,P){this.container=x,this.injector=O,this.routerProxy=S,this.exceptionsFilter=w,this.routePathFactory=R,this.graphInspector=P,this.routerMethodFactory=new l.RouterMethodFactory,this.logger=new i.Logger(b.name,{timestamp:!0}),this.exceptionFiltersCache=new WeakMap,this.pathsExplorer=new m.PathsExplorer(E);const N=new g.RouteParamsFactory,L=new h.PipesContextCreator(x,T),V=new h.PipesConsumer,F=new a.GuardsContextCreator(x,T),H=new a.GuardsConsumer,X=new f.InterceptorsContextCreator(x,T),te=new f.InterceptorsConsumer;this.executionContextCreator=new _.RouterExecutionContext(N,L,V,F,H,X,te,x.getHttpAdapterRef())}explore(E,x,O,S,w){const{instance:T}=E,R=this.pathsExplorer.scanForPaths(T);this.applyPathsToRouterProxy(O,R,E,x,w,S)}extractRouterPath(E){const x=Reflect.getMetadata(e.PATH_METADATA,E);if((0,o.isUndefined)(x))throw new s.UnknownRequestMappingException(E);return Array.isArray(x)?x.map(O=>(0,o.addLeadingSlash)(O)):[(0,o.addLeadingSlash)(x)]}applyPathsToRouterProxy(E,x,O,S,w,T){(x||[]).forEach(R=>{const{version:P}=R;w.methodVersion=P,this.applyCallbackToRouter(E,R,O,S,w,T)})}applyCallbackToRouter(E,x,O,S,w,T){const{path:R,requestMethod:P,targetCallback:N,methodName:L}=x,{instance:V}=O,F=this.routerMethodFactory.get(E,P).bind(E),X=!O.isDependencyTreeStatic()?this.createRequestScopedHandler(O,P,this.container.getModuleByKey(S),S,L):this.createCallbackProxy(V,N,L,S,P),te=(w.methodVersion||w.controllerVersion)&&w.versioningOptions;let U=this.applyHostFilter(T,X);R.forEach(re=>{te&&w.versioningOptions.type!==t.VersioningType.URI&&(U=this.applyVersionFilter(E,w,U)),w.methodPath=re,this.routePathFactory.create(w,P).forEach(D=>{const z={type:"http-endpoint",methodName:L,className:O.name,classNodeId:O.id,metadata:{key:D,path:D,requestMethod:t.RequestMethod[P],methodVersion:w.methodVersion,controllerVersion:w.controllerVersion}};this.copyMetadataToCallback(N,U);const M=E.normalizePath?E.normalizePath(D):D,k=this.container.getHttpAdapterRef().getOnRouteTriggered?.();k?F(M,(...K)=>(k(P,D),U(...K))):F(M,U),this.graphInspector.insertEntrypointDefinition(z,O.id)}),this.routePathFactory.create({...w,versioningOptions:void 0},P).forEach(D=>{if(te){const z=this.routePathFactory.getVersion(w);this.logger.log((0,p.VERSIONED_ROUTE_MAPPED_MESSAGE)(D,P,z))}else this.logger.log((0,p.ROUTE_MAPPED_MESSAGE)(D,P))})})}applyHostFilter(E,x){if(!E)return x;const O=this.container.getHttpAdapterRef(),w=(Array.isArray(E)?E:[E]).map(R=>{if(typeof R=="string")try{return(0,n.pathToRegexp)(R)}catch(P){throw P instanceof TypeError&&this.logger.error(`Unsupported host "${R}" syntax. In past releases, ?, *, and + were used to denote optional or repeating path parameters. The latest version of "path-to-regexp" now requires the use of named parameters. For example, instead of using a route like /users/* to capture all routes starting with "/users", you should use /users/*path. Please see the migration guide for more information.`),P}return{regexp:R,keys:[]}}),T=Array.isArray(E)?`HTTP adapter does not support filtering on hosts: ["${E.join('", "')}"]`:`HTTP adapter does not support filtering on host: "${E}"`;return(R,P,N)=>{R.hosts={};const L=O.getRequestHostname(R)||"";for(const V of w){const F=L.match(V.regexp);if(F){if(V.keys.length>0)V.keys.forEach((H,X)=>R.hosts[H.name]=F[X+1]);else if(V.regexp&&F.groups)for(const H in F.groups)R.hosts[H]=F.groups[H];return x(R,P,N)}}if(!N)throw new r.InternalServerErrorException(T);return N()}}applyVersionFilter(E,x,O){const S=this.routePathFactory.getVersion(x);return E.applyVersionFilter(O,S,x.versioningOptions)}createCallbackProxy(E,x,O,S,w,T=d.STATIC_CONTEXT,R){const P=this.executionContextCreator.create(E,x,O,S,w,T,R),N=this.exceptionsFilter.create(E,x,S,T,R);return this.routerProxy.createProxy(P,N)}createRequestScopedHandler(E,x,O,S,w){const{instance:T}=E,R=O.controllers,P=E.isDependencyTreeDurable();return async(N,L,V)=>{try{const F=this.getContextId(N,P),H=await this.injector.loadPerContext(T,O,R,F);await this.createCallbackProxy(H,H[w],w,S,x,F,E.id)(N,L,V)}catch(F){let H=this.exceptionFiltersCache.get(T[w]);H||(H=this.exceptionsFilter.create(T,T[w],S),this.exceptionFiltersCache.set(T[w],H));const X=new u.ExecutionContextHost([N,L,V]);H.next(F,X)}}}getContextId(E,x){const O=c.ContextIdFactory.getByRequest(E);if(!E[v.REQUEST_CONTEXT_ID]){Object.defineProperty(E,v.REQUEST_CONTEXT_ID,{value:O,enumerable:!1,writable:!1,configurable:!1});const S=x?O.payload:Object.assign(E,O.payload);this.container.registerRequestProvider(S,O)}return O}copyMetadataToCallback(E,x){for(const O of Reflect.getMetadataKeys(E))Reflect.defineMetadata(O,Reflect.getMetadata(O,E),x)}}return Au.RouterExplorer=b,Au}var kR;function IN(){if(kR)return Tu;kR=1,Object.defineProperty(Tu,"__esModule",{value:!0}),Tu.RoutesResolver=void 0;const e=ve(),t=xe(),r=xt(),i=wb(),o=On(),n=PN(),s=wN(),a=MN(),c=SN();class u{constructor(l,d,f,h){this.container=l,this.applicationConfig=d,this.injector=f,this.logger=new r.Logger(u.name,{timestamp:!0}),this.routerProxy=new c.RouterProxy;const m=l.getHttpAdapterRef();this.routerExceptionsFilter=new s.RouterExceptionFilters(l,d,m),this.routePathFactory=new n.RoutePathFactory(this.applicationConfig);const v=new o.MetadataScanner;this.routerExplorer=new a.RouterExplorer(v,this.container,this.injector,this.routerProxy,this.routerExceptionsFilter,this.applicationConfig,this.routePathFactory,h)}resolve(l,d){this.container.getModules().forEach(({controllers:h,metatype:m},v)=>{const g=this.getModulePathMetadata(m);this.registerRouters(h,v,d,g,l)})}registerRouters(l,d,f,h,m){l.forEach(v=>{const{metatype:g}=v,_=this.getHostMetadata(g),b=this.routerExplorer.extractRouterPath(g),y=this.getVersionMetadata(g),E=g.name;b.forEach(x=>{const O=this.routePathFactory.create({ctrlPath:x,modulePath:h,globalPrefix:f});y?O.forEach(T=>{const R=(0,i.VERSIONED_CONTROLLER_MAPPING_MESSAGE)(E,T,y);this.logger.log(R)}):O.forEach(T=>{const R=(0,i.CONTROLLER_MAPPING_MESSAGE)(E,T);this.logger.log(R)});const S=this.applicationConfig.getVersioning(),w={ctrlPath:x,modulePath:h,globalPrefix:f,controllerVersion:y,versioningOptions:S};this.routerExplorer.explore(v,d,m,_,w)})})}registerNotFoundHandler(){const l=this.container.getHttpAdapterRef(),d=(m,v)=>{const g=l.getRequestMethod(m),_=l.getRequestUrl(m);throw new e.NotFoundException(`Cannot ${g} ${_}`)},f=this.routerExceptionsFilter.create({},d,void 0),h=this.routerProxy.createProxy(d,f);l.setNotFoundHandler&&l.setNotFoundHandler(h,this.applicationConfig.getGlobalPrefix())}registerExceptionHandler(){const l=(m,v,g,_)=>{throw this.mapExternalException(m)},d=this.routerExceptionsFilter.create({},l,void 0),f=this.routerProxy.createExceptionLayerProxy(l,d),h=this.container.getHttpAdapterRef();h.setErrorHandler&&h.setErrorHandler(f,this.applicationConfig.getGlobalPrefix())}mapExternalException(l){switch(!0){case(l instanceof SyntaxError||l instanceof URIError):return new e.BadRequestException(l.message);case this.isHttpFastifyError(l):return new e.HttpException(l.message,l.statusCode);default:return l}}isHttpFastifyError(l){return l.statusCode!==void 0&&l instanceof Error&&l.name==="FastifyError"}getModulePathMetadata(l){const d=this.container.getModules();return Reflect.getMetadata(t.MODULE_PATH+d.applicationId,l)??Reflect.getMetadata(t.MODULE_PATH,l)}getHostMetadata(l){return Reflect.getMetadata(t.HOST_METADATA,l)}getVersionMetadata(l){const d=this.applicationConfig.getVersioning();if(d)return Reflect.getMetadata(t.VERSION_METADATA,l)??d.defaultVersion}}return Tu.RoutesResolver=u,Tu}const eZ={},tZ=Object.freeze(Object.defineProperty({__proto__:null,default:eZ},Symbol.toStringTag,{value:"Module"})),rZ=ci(tZ),nZ={},iZ=Object.freeze(Object.defineProperty({__proto__:null,default:nZ},Symbol.toStringTag,{value:"Module"})),aZ=ci(iZ),oZ={},sZ=Object.freeze(Object.defineProperty({__proto__:null,default:oZ},Symbol.toStringTag,{value:"Module"})),CN=ci(sZ);var LR;function Sb(){if(LR)return fu;LR=1,Object.defineProperty(fu,"__esModule",{value:!0}),fu.NestApplication=void 0;const e=ve(),t=xt(),r=gl(),i=ne(),o=Ve(),n=up,s=dr(),a=di(),c=N3(),u=fi(),p=F3(),l=B3(),d=xN(),f=Ob(),h=IN(),{SocketModule:m}=(0,c.optionalRequire)("@nestjs/websockets/socket-module",()=>rZ),{MicroservicesModule:v}=(0,c.optionalRequire)("@nestjs/microservices/microservices-module",()=>aZ);class g extends f.NestApplicationContext{constructor(b,y,E,x,O={}){super(b,O),this.httpAdapter=y,this.config=E,this.graphInspector=x,this.logger=new t.Logger(g.name,{timestamp:!0}),this.middlewareContainer=new p.MiddlewareContainer(this.container),this.microservicesModule=v&&new v,this.socketModule=m&&new m,this.microservices=[],this.isListening=!1,this.selectContextModule(),this.registerHttpServer(),this.injector=new u.Injector({preview:this.appOptions.preview,instanceDecorator:O.instrument?.instanceDecorator}),this.middlewareModule=new l.MiddlewareModule,this.routesResolver=new h.RoutesResolver(this.container,this.config,this.injector,this.graphInspector)}async dispose(){this.socketModule&&await this.socketModule.close(),this.microservicesModule&&await this.microservicesModule.close(),this.httpAdapter&&await this.httpAdapter.close(),await Promise.all((0,o.iterate)(this.microservices).map(async b=>{b.setIsTerminated(!0),await b.close()}))}getHttpAdapter(){return this.httpAdapter}registerHttpServer(){this.httpServer=this.createServer()}getUnderlyingHttpServer(){return this.httpAdapter.getHttpServer()}applyOptions(){return!this.appOptions||!this.appOptions.cors?void 0:(0,i.isObject)(this.appOptions.cors)||(0,i.isFunction)(this.appOptions.cors)?this.enableCors(this.appOptions.cors):this.enableCors()}createServer(){return this.httpAdapter.initHttpServer(this.appOptions),this.httpAdapter.getHttpServer()}async registerModules(){this.registerWsModule(),this.microservicesModule&&(this.microservicesModule.register(this.container,this.graphInspector,this.config,this.appOptions),this.microservicesModule.setupClients(this.container)),await this.middlewareModule.register(this.middlewareContainer,this.container,this.config,this.injector,this.httpAdapter,this.graphInspector,this.appOptions)}registerWsModule(){this.socketModule&&this.socketModule.register(this.container,this.config,this.graphInspector,this.appOptions,this.httpServer)}async init(){return this.isInitialized?this:(this.applyOptions(),await this.httpAdapter?.init?.(),this.appOptions&&this.appOptions.bodyParser!==!1&&this.registerParserMiddleware(),await this.registerModules(),await this.registerRouter(),await this.callInitHook(),await this.registerRouterHooks(),await this.callBootstrapHook(),this.isInitialized=!0,this.logger.log(a.MESSAGES.APPLICATION_READY),this)}registerParserMiddleware(){const b=this.config.getGlobalPrefix(),y=!!this.appOptions?.rawBody;this.httpAdapter.registerParserMiddleware(b,y)}async registerRouter(){await this.registerMiddleware(this.httpAdapter);const b=this.config.getGlobalPrefix(),y=(0,i.addLeadingSlash)(b);this.routesResolver.resolve(this.httpAdapter,y)}async registerRouterHooks(){this.routesResolver.registerNotFoundHandler(),this.routesResolver.registerExceptionHandler()}connectMicroservice(b,y={}){const{NestMicroservice:E}=(0,r.loadPackage)("@nestjs/microservices","NestFactory",()=>CN),{inheritAppConfig:x}=y,O=x?this.config:new s.ApplicationConfig,S=new E(this.container,b,this.graphInspector,O);return y.deferInitialization||(S.registerListeners(),S.setIsInitialized(!0),S.setIsInitHookCalled(!0)),this.microservices.push(S),S}getMicroservices(){return this.microservices}getHttpServer(){return this.httpServer}async startAllMicroservices(){return this.assertNotInPreviewMode("startAllMicroservices"),await Promise.all(this.microservices.map(b=>b.listen())),this}use(...b){return this.httpAdapter.use(...b),this}useBodyParser(...b){if(!("useBodyParser"in this.httpAdapter))return this.logger.warn("Your HTTP Adapter does not support `.useBodyParser`."),this;const[y,...E]=b,x=!!this.appOptions.rawBody;return this.httpAdapter.useBodyParser?.(y,x,...E),this}enableCors(b){this.httpAdapter.enableCors(b)}enableVersioning(b={type:e.VersioningType.URI}){return this.config.enableVersioning(b),this}async listen(b,...y){this.assertNotInPreviewMode("listen"),this.isInitialized||await this.init();const E=this.container.getHttpAdapterHostRef();return new Promise((x,O)=>{const S=R=>{this.logger.error(R?.toString?.()),O(R)};this.httpServer.once("error",S);const w=(0,i.isFunction)(y[y.length-1]),T=w?y.slice(0,y.length-1):y;this.httpAdapter.listen(b,...T,(...R)=>{if((this.appOptions?.autoFlushLogs??!0)&&this.flushLogs(),R[0]instanceof Error)return O(R[0]);this.httpServer.address()&&(this.httpServer.removeListener("error",S),this.isListening=!0,E.listening=!0,x(this.httpServer)),w&&y[y.length-1](...R)})})}async getUrl(){return new Promise((b,y)=>{if(!this.isListening){this.logger.error(a.MESSAGES.CALL_LISTEN_FIRST),y(a.MESSAGES.CALL_LISTEN_FIRST);return}const E=this.httpServer.address();b(this.formatAddress(E))})}formatAddress(b){if((0,i.isString)(b)){if((0,n.platform)()==="win32")return b;const E=encodeURIComponent(b);return`${this.getProtocol()}+unix://${E}`}let y=this.host();return b&&b.family==="IPv6"?y==="::"?y="[::1]":y=`[${y}]`:y==="0.0.0.0"&&(y="127.0.0.1"),`${this.getProtocol()}://${y}:${b.port}`}setGlobalPrefix(b,y){if(this.config.setGlobalPrefix(b),y){const E=y?.exclude?(0,d.mapToExcludeRoute)(y.exclude):[];this.config.setGlobalPrefixOptions({...y,exclude:E})}return this}useWebSocketAdapter(b){return this.config.setIoAdapter(b),this}useGlobalFilters(...b){return this.config.useGlobalFilters(...b),b.forEach(y=>this.graphInspector.insertOrphanedEnhancer({subtype:"filter",ref:y})),this}useGlobalPipes(...b){return this.config.useGlobalPipes(...b),b.forEach(y=>this.graphInspector.insertOrphanedEnhancer({subtype:"pipe",ref:y})),this}useGlobalInterceptors(...b){return this.config.useGlobalInterceptors(...b),b.forEach(y=>this.graphInspector.insertOrphanedEnhancer({subtype:"interceptor",ref:y})),this}useGlobalGuards(...b){return this.config.useGlobalGuards(...b),b.forEach(y=>this.graphInspector.insertOrphanedEnhancer({subtype:"guard",ref:y})),this}useStaticAssets(b,y){return this.httpAdapter.useStaticAssets&&this.httpAdapter.useStaticAssets(b,y),this}setBaseViewsDir(b){return this.httpAdapter.setBaseViewsDir&&this.httpAdapter.setBaseViewsDir(b),this}setViewEngine(b){return this.httpAdapter.setViewEngine&&this.httpAdapter.setViewEngine(b),this}host(){const b=this.httpServer.address();if(!(0,i.isString)(b))return b&&b.address}getProtocol(){return this.appOptions&&this.appOptions.httpsOptions?"https":"http"}async registerMiddleware(b){await this.middlewareModule.registerMiddleware(this.middlewareContainer,b)}}return fu.NestApplication=g,fu}var nn={},qu={},Nu={},UR;function cZ(){if(UR)return Nu;UR=1,Object.defineProperty(Nu,"__esModule",{value:!0}),Nu.ExceptionHandler=void 0;const e=xt();class t{handle(i){t.logger.error(i)}}return Nu.ExceptionHandler=t,t.logger=new e.Logger(t.name),Nu}var zR;function uZ(){if(zR)return qu;zR=1,Object.defineProperty(qu,"__esModule",{value:!0}),qu.ExceptionsZone=void 0;const e=ve(),t=cZ(),r=()=>process.exit(1);class i{static run(n,s=r,a){try{n()}catch(c){this.exceptionHandler.handle(c),a&&e.Logger.flush(),s(c)}}static async asyncRun(n,s=r,a){try{await n()}catch(c){this.exceptionHandler.handle(c),a&&e.Logger.flush(),s(c)}}}return qu.ExceptionsZone=i,i.exceptionHandler=new t.ExceptionHandler,qu}var Ld={},BR;function lZ(){if(BR)return Ld;BR=1,Object.defineProperty(Ld,"__esModule",{value:!0}),Ld.loadAdapter=i;const e=ve(),t=(o,n)=>`No driver (${n}) has been selected. In order to take advantage of the default driver, please, ensure to install the "${o}" package ($ npm install ${o}).`,r=new e.Logger("PackageLoader");function i(o,n,s){try{return s?s():pg(o)}catch{r.error(t(o,n)),process.exit(1)}}return Ld}var Fu={},HR;function dZ(){if(HR)return Fu;HR=1,Object.defineProperty(Fu,"__esModule",{value:!0}),Fu.rethrow=void 0;const e=t=>{throw t};return Fu.rethrow=e,Fu}var Du={},VR;function Pb(){if(VR)return Du;VR=1,Object.defineProperty(Du,"__esModule",{value:!0}),Du.InstanceLoader=void 0;const e=ve(),t=wb(),r=Dp();class i{constructor(n,s,a,c=new e.Logger(i.name,{timestamp:!0})){this.container=n,this.injector=s,this.graphInspector=a,this.logger=c}setLogger(n){this.logger=n}async createInstancesOfDependencies(n=this.container.getModules()){this.createPrototypes(n);try{await this.createInstances(n)}catch(s){throw this.graphInspector.inspectModules(n),this.graphInspector.registerPartial(s),s}this.graphInspector.inspectModules(n)}createPrototypes(n){n.forEach(s=>{this.createPrototypesOfProviders(s),this.createPrototypesOfInjectables(s),this.createPrototypesOfControllers(s)})}async createInstances(n){await Promise.all([...n.values()].map(async s=>{await this.createInstancesOfProviders(s),await this.createInstancesOfInjectables(s),await this.createInstancesOfControllers(s);const{name:a}=s;this.isModuleWhitelisted(a)&&this.logger.log((0,t.MODULE_INIT_MESSAGE)`${a}`)}))}createPrototypesOfProviders(n){const{providers:s}=n;s.forEach(a=>this.injector.loadPrototype(a,s))}async createInstancesOfProviders(n){const{providers:s}=n,a=[...s.values()];await Promise.all(a.map(async c=>{await this.injector.loadProvider(c,n),this.graphInspector.inspectInstanceWrapper(c,n)}))}createPrototypesOfControllers(n){const{controllers:s}=n;s.forEach(a=>this.injector.loadPrototype(a,s))}async createInstancesOfControllers(n){const{controllers:s}=n,a=[...s.values()];await Promise.all(a.map(async c=>{await this.injector.loadController(c,n),this.graphInspector.inspectInstanceWrapper(c,n)}))}createPrototypesOfInjectables(n){const{injectables:s}=n;s.forEach(a=>this.injector.loadPrototype(a,s))}async createInstancesOfInjectables(n){const{injectables:s}=n,a=[...s.values()];await Promise.all(a.map(async c=>{await this.injector.loadInjectable(c,n),this.graphInspector.inspectInstanceWrapper(c,n)}))}isModuleWhitelisted(n){return n!==r.InternalCoreModule.name}}return Du.InstanceLoader=i,Du}var ku={},GR;function jN(){if(GR)return ku;GR=1,Object.defineProperty(ku,"__esModule",{value:!0}),ku.NoopGraphInspector=void 0;const e=kp(),t=()=>{};return ku.NoopGraphInspector=new Proxy(e.GraphInspector.prototype,{get:()=>t}),ku}var Lu={},Uu={},WR;function pZ(){if(WR)return Uu;WR=1,Object.defineProperty(Uu,"__esModule",{value:!0}),Uu.InvalidClassModuleException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n){super((0,e.USING_INVALID_CLASS_AS_A_MODULE_MESSAGE)(o,n))}}return Uu.InvalidClassModuleException=r,Uu}var zu={},ZR;function fZ(){if(ZR)return zu;ZR=1,Object.defineProperty(zu,"__esModule",{value:!0}),zu.InvalidModuleException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n,s){super((0,e.INVALID_MODULE_MESSAGE)(o,n,s))}}return zu.InvalidModuleException=r,zu}var Bu={},KR;function hZ(){if(KR)return Bu;KR=1,Object.defineProperty(Bu,"__esModule",{value:!0}),Bu.UndefinedModuleException=void 0;const e=et(),t=gt();class r extends e.RuntimeException{constructor(o,n,s){super((0,t.UNDEFINED_MODULE_MESSAGE)(o,n,s))}}return Bu.UndefinedModuleException=r,Bu}var Hu={},YR;function vZ(){if(YR)return Hu;YR=1,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.InternalCoreModuleFactory=void 0;const e=ve(),t=hb(),r=Cl(),i=vb(),o=yb(),n=fi(),s=Pb(),a=bb(),c=pi(),u=Dp();class p{static create(d,f,h,m,v,g){const _=()=>{const b=new e.Logger(a.LazyModuleLoader.name,{timestamp:!1}),y=new n.Injector({preview:d.contextOptions?.preview,instanceDecorator:d.contextOptions?.instrument?.instanceDecorator}),E=new s.InstanceLoader(d,y,v,b);return new a.LazyModuleLoader(f,E,h,d.getModules(),g)};return i.InitializeOnPreviewAllowlist.add(u.InternalCoreModule),u.InternalCoreModule.register([{provide:t.ExternalContextCreator,useFactory:()=>t.ExternalContextCreator.fromContainer(d)},{provide:c.ModulesContainer,useFactory:()=>d.getModules()},{provide:r.HttpAdapterHost,useFactory:()=>m},{provide:a.LazyModuleLoader,useFactory:_},{provide:o.SerializedGraph,useFactory:()=>d.serializedGraph}])}}return Hu.InternalCoreModuleFactory=p,Hu}var Vu={},Gu={},XR;function mZ(){if(XR)return Gu;XR=1,Object.defineProperty(Gu,"__esModule",{value:!0}),Gu.TreeNode=void 0;class e{constructor({value:r,parent:i}){this.children=new Set,this.value=r,this.parent=i}addChild(r){this.children.add(r)}removeChild(r){this.children.delete(r)}relink(r){this.parent?.removeChild(this),this.parent=r,this.parent.addChild(this)}getDepth(){const r=new Set;let i=0,o=this;for(;o;){if(i++,o=o.parent,r.has(o))return-1;r.add(o)}return i}hasCycleWith(r){const i=new Set;let o=this;for(;o;){if(o.value===r)return!0;if(o=o.parent,i.has(o))return!1;i.add(o)}return!1}}return Gu.TreeNode=e,Gu}var QR;function _Z(){if(QR)return Vu;QR=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.TopologyTree=void 0;const e=mZ();class t{constructor(i){this.links=new Map,this.root=new e.TreeNode({value:i,parent:null}),this.links.set(i,this.root),this.traverseAndMapToTree(this.root)}walk(i){function o(n,s=1){i(n.value,s),n.children.forEach(a=>o(a,s+1))}o(this.root)}traverseAndMapToTree(i,o=1){i.value.imports&&i.value.imports.forEach(n=>{if(!n)return;if(this.links.has(n)){const a=this.links.get(n);if(i.hasCycleWith(n))return;a.getDepth()<o&&a.relink(i);return}const s=new e.TreeNode({value:n,parent:i});i.addChild(s),this.links.set(n,s),this.traverseAndMapToTree(s,o+1)})}}return Vu.TopologyTree=t,Vu}var JR;function qN(){if(JR)return Lu;JR=1,Object.defineProperty(Lu,"__esModule",{value:!0}),Lu.DependenciesScanner=void 0;const e=xe(),t=hp(),r=ne(),i=Ve(),o=dr(),n=di(),s=dN(),a=pZ(),c=fZ(),u=hZ(),p=Np(),l=vZ(),d=_Z(),f=Nl();class h{constructor(v,g,_,b=new o.ApplicationConfig){this.container=v,this.metadataScanner=g,this.graphInspector=_,this.applicationConfig=b,this.applicationProvidersApplyMap=[]}async scan(v,g){await this.registerCoreModule(g?.overrides),await this.scanForModules({moduleDefinition:v,overrides:g?.overrides}),await this.scanModulesForDependencies(),this.addScopedEnhancersMetadata(),this.calculateModulesDistance(),this.container.bindGlobalScope()}async scanForModules({moduleDefinition:v,lazy:g,scope:_=[],ctxRegistry:b=[],overrides:y=[]}){const{moduleRef:E,inserted:x}=await this.insertOrOverrideModule(v,y,_)??{};v=this.getOverrideModuleByModule(v,y)?.newModule??v,v=v instanceof Promise?await v:v,b.push(v),this.isForwardReference(v)&&(v=v.forwardRef());const O=this.isDynamicModule(v)?[...this.reflectMetadata(e.MODULE_METADATA.IMPORTS,v.module),...v.imports||[]]:this.reflectMetadata(e.MODULE_METADATA.IMPORTS,v);let S=[];for(const[w,T]of O.entries()){if(T===void 0)throw new u.UndefinedModuleException(v,w,_);if(!T)throw new c.InvalidModuleException(v,w,_);if(b.includes(T))continue;const R=await this.scanForModules({moduleDefinition:T,scope:[].concat(_,v),ctxRegistry:b,overrides:y,lazy:g});S=S.concat(R)}return E?(g&&x&&this.container.bindGlobalsToImports(E),[E].concat(S)):S}async insertModule(v,g){const _=this.isForwardReference(v)?v.forwardRef():v;if(this.isInjectable(_)||this.isController(_)||this.isExceptionFilter(_))throw new a.InvalidClassModuleException(v,g);return this.container.addModule(_,g)}async scanModulesForDependencies(v=this.container.getModules()){for(const[g,{metatype:_}]of v)await this.reflectImports(_,g,_.name),this.reflectProviders(_,g),this.reflectControllers(_,g),this.reflectExports(_,g)}async reflectImports(v,g,_){const b=[...this.reflectMetadata(e.MODULE_METADATA.IMPORTS,v),...this.container.getDynamicMetadataByToken(g,e.MODULE_METADATA.IMPORTS)];for(const y of b)await this.insertImport(y,g,_)}reflectProviders(v,g){[...this.reflectMetadata(e.MODULE_METADATA.PROVIDERS,v),...this.container.getDynamicMetadataByToken(g,e.MODULE_METADATA.PROVIDERS)].forEach(b=>{this.insertProvider(b,g),this.reflectDynamicMetadata(b,g)})}reflectControllers(v,g){[...this.reflectMetadata(e.MODULE_METADATA.CONTROLLERS,v),...this.container.getDynamicMetadataByToken(g,e.MODULE_METADATA.CONTROLLERS)].forEach(b=>{this.insertController(b,g),this.reflectDynamicMetadata(b,g)})}reflectDynamicMetadata(v,g){!v||!v.prototype||(this.reflectInjectables(v,g,e.GUARDS_METADATA),this.reflectInjectables(v,g,e.INTERCEPTORS_METADATA),this.reflectInjectables(v,g,e.EXCEPTION_FILTERS_METADATA),this.reflectInjectables(v,g,e.PIPES_METADATA),this.reflectParamInjectables(v,g,e.ROUTE_ARGS_METADATA))}reflectExports(v,g){[...this.reflectMetadata(e.MODULE_METADATA.EXPORTS,v),...this.container.getDynamicMetadataByToken(g,e.MODULE_METADATA.EXPORTS)].forEach(b=>this.insertExportedProviderOrModule(b,g))}reflectInjectables(v,g,_){const b=this.reflectMetadata(_,v),y=this.metadataScanner.getAllMethodNames(v.prototype).reduce((E,x)=>{const O=this.reflectKeyMetadata(v,_,x);return O&&E.push(O),E},[]);b.forEach(E=>this.insertInjectable(E,g,v,e.ENHANCER_KEY_TO_SUBTYPE_MAP[_])),y.forEach(E=>{E.metadata.forEach(x=>this.insertInjectable(x,g,v,e.ENHANCER_KEY_TO_SUBTYPE_MAP[_],E.methodKey))})}reflectParamInjectables(v,g,_){this.metadataScanner.getAllMethodNames(v.prototype).forEach(y=>{const E=Reflect.getMetadata(_,v,y);if(!E)return;Object.values(E).map(O=>O.pipes).flat(1).forEach(O=>this.insertInjectable(O,g,v,"pipe",y))})}reflectKeyMetadata(v,g,_){let b=v.prototype;do{const y=Reflect.getOwnPropertyDescriptor(b,_);if(!y)continue;const E=Reflect.getMetadata(g,y.value);return E?{methodKey:_,metadata:E}:void 0}while((b=Reflect.getPrototypeOf(b))&&b!==Object.prototype&&b)}calculateModulesDistance(){const v=this.container.getModules().values();v.next();const g=v.next().value;if(!g)return;new d.TopologyTree(g).walk((b,y)=>{b.isGlobal||(b.distance=y)})}async insertImport(v,g,_){if((0,r.isUndefined)(v))throw new s.CircularDependencyException(_);if(this.isForwardReference(v))return this.container.addImport(v.forwardRef(),g);await this.container.addImport(v,g)}isCustomProvider(v){return v&&!(0,r.isNil)(v.provide)}insertProvider(v,g){if(!this.isCustomProvider(v))return this.container.addProvider(v,g);const b=this.getApplyProvidersMap(),y=Object.keys(b),E=v.provide;if(!y.includes(E))return this.container.addProvider(v,g);const x=f.UuidFactory.get(E.toString()),O=`${E} (UUID: ${x})`;let S=v.scope;(0,r.isNil)(S)&&v.useClass&&(S=(0,p.getClassScope)(v.useClass)),this.applicationProvidersApplyMap.push({type:E,moduleKey:g,providerKey:O,scope:S});const w={...v,provide:O,scope:S},T=n.ENHANCER_TOKEN_TO_SUBTYPE_MAP[E],R=w;if(this.isRequestOrTransient(R.scope))return this.container.addInjectable(w,g,T);this.container.addProvider(w,g,T)}insertInjectable(v,g,_,b,y){if((0,r.isFunction)(v)){const E=this.container.addInjectable(v,g,b,_);return this.graphInspector.insertEnhancerMetadataCache({moduleToken:g,classRef:_,enhancerInstanceWrapper:E,targetNodeId:E.id,subtype:b,methodKey:y}),E}else this.graphInspector.insertEnhancerMetadataCache({moduleToken:g,classRef:_,enhancerRef:v,methodKey:y,subtype:b})}insertExportedProviderOrModule(v,g){const _=this.isForwardReference(v)?v.forwardRef():v;this.container.addExportedProviderOrModule(_,g)}insertController(v,g){this.container.addController(v,g)}insertOrOverrideModule(v,g,_){const b=this.getOverrideModuleByModule(v,g);return b!==void 0?this.overrideModule(v,b.newModule,_):this.insertModule(v,_)}getOverrideModuleByModule(v,g){return this.isForwardReference(v)?g.find(_=>_.moduleToReplace===v.forwardRef()||_.moduleToReplace.forwardRef?.()===v.forwardRef()):g.find(_=>_.moduleToReplace===v)}async overrideModule(v,g,_){return this.container.replaceModule(this.isForwardReference(v)?v.forwardRef():v,this.isForwardReference(g)?g.forwardRef():g,_)}reflectMetadata(v,g){return Reflect.getMetadata(v,g)||[]}async registerCoreModule(v){const g=l.InternalCoreModuleFactory.create(this.container,this,this.container.getModuleCompiler(),this.container.getHttpAdapterHostRef(),this.graphInspector,v),[_]=await this.scanForModules({moduleDefinition:g,overrides:v});this.container.registerCoreModuleRef(_)}addScopedEnhancersMetadata(){(0,i.iterate)(this.applicationProvidersApplyMap).filter(v=>this.isRequestOrTransient(v.scope)).forEach(({moduleKey:v,providerKey:g})=>{const _=this.container.getModules(),{injectables:b}=_.get(v),y=b.get(g),E=_.values();(0,i.iterate)(E).map(x=>Array.from(x.controllers.values()).concat(x.entryProviders)).flatten().forEach(x=>x.addEnhancerMetadata(y))})}applyApplicationProviders(){const v=this.getApplyProvidersMap(),g=this.getApplyRequestProvidersMap(),_=(b,y,E)=>this.container.getModules().get(b)[E].get(y);this.applicationProvidersApplyMap.forEach(({moduleKey:b,providerKey:y,type:E,scope:x})=>{let O;if(this.isRequestOrTransient(x))return O=_(b,y,"injectables"),this.graphInspector.insertAttachedEnhancer(O),g[E](O);O=_(b,y,"providers"),this.graphInspector.insertAttachedEnhancer(O),v[E](O.instance)})}getApplyProvidersMap(){return{[n.APP_INTERCEPTOR]:v=>this.applicationConfig.addGlobalInterceptor(v),[n.APP_PIPE]:v=>this.applicationConfig.addGlobalPipe(v),[n.APP_GUARD]:v=>this.applicationConfig.addGlobalGuard(v),[n.APP_FILTER]:v=>this.applicationConfig.addGlobalFilter(v)}}getApplyRequestProvidersMap(){return{[n.APP_INTERCEPTOR]:v=>this.applicationConfig.addGlobalRequestInterceptor(v),[n.APP_PIPE]:v=>this.applicationConfig.addGlobalRequestPipe(v),[n.APP_GUARD]:v=>this.applicationConfig.addGlobalRequestGuard(v),[n.APP_FILTER]:v=>this.applicationConfig.addGlobalRequestFilter(v)}}isDynamicModule(v){return v&&!!v.module}isInjectable(v){return!!Reflect.getMetadata(e.INJECTABLE_WATERMARK,v)}isController(v){return!!Reflect.getMetadata(e.CONTROLLER_WATERMARK,v)}isExceptionFilter(v){return!!Reflect.getMetadata(e.CATCH_WATERMARK,v)}isForwardReference(v){return v&&!!v.forwardRef}isRequestOrTransient(v){return v===t.Scope.REQUEST||v===t.Scope.TRANSIENT}}return Lu.DependenciesScanner=h,Lu}var Zm={},Km={},Wu={},Ym={exports:{}};/*
122
- object-assign
123
- (c) Sindre Sorhus
124
- @license MIT
125
- */var Xm,$R;function NN(){if($R)return Xm;$R=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function o(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var s={},a=0;a<10;a++)s["_"+String.fromCharCode(a)]=a;var c=Object.getOwnPropertyNames(s).map(function(p){return s[p]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(p){u[p]=p}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Xm=o()?Object.assign:function(n,s){for(var a,c=i(n),u,p=1;p<arguments.length;p++){a=Object(arguments[p]);for(var l in a)t.call(a,l)&&(c[l]=a[l]);if(e){u=e(a);for(var d=0;d<u.length;d++)r.call(a,u[d])&&(c[u[d]]=a[u[d]])}}return c},Xm}var Ud={exports:{}};/*!
126
- * vary
127
- * Copyright(c) 2014-2017 Douglas Christopher Wilson
128
- * MIT Licensed
129
- */var eM;function gZ(){if(eM)return Ud.exports;eM=1,Ud.exports=i,Ud.exports.append=t;var e=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function t(o,n){if(typeof o!="string")throw new TypeError("header argument is required");if(!n)throw new TypeError("field argument is required");for(var s=Array.isArray(n)?n:r(String(n)),a=0;a<s.length;a++)if(!e.test(s[a]))throw new TypeError("field argument contains an invalid header name");if(o==="*")return o;var c=o,u=r(o.toLowerCase());if(s.indexOf("*")!==-1||u.indexOf("*")!==-1)return"*";for(var p=0;p<s.length;p++){var l=s[p].toLowerCase();u.indexOf(l)===-1&&(u.push(l),c=c?c+", "+s[p]:s[p])}return c}function r(o){for(var n=0,s=[],a=0,c=0,u=o.length;c<u;c++)switch(o.charCodeAt(c)){case 32:a===n&&(a=n=c+1);break;case 44:s.push(o.substring(a,n)),a=n=c+1;break;default:n=c+1;break}return s.push(o.substring(a,n)),s}function i(o,n){if(!o||!o.getHeader||!o.setHeader)throw new TypeError("res argument is required");var s=o.getHeader("Vary")||"",a=Array.isArray(s)?s.join(", "):String(s);(s=t(a,n))&&o.setHeader("Vary",s)}return Ud.exports}var tM;function bZ(){return tM||(tM=1,(function(){var e=NN(),t=gZ(),r={origin:"*",methods:"GET,HEAD,PUT,PATCH,POST,DELETE",preflightContinue:!1,optionsSuccessStatus:204};function i(h){return typeof h=="string"||h instanceof String}function o(h,m){if(Array.isArray(m)){for(var v=0;v<m.length;++v)if(o(h,m[v]))return!0;return!1}else return i(m)?h===m:m instanceof RegExp?m.test(h):!!m}function n(h,m){var v=m.headers.origin,g=[],_;return!h.origin||h.origin==="*"?g.push([{key:"Access-Control-Allow-Origin",value:"*"}]):i(h.origin)?(g.push([{key:"Access-Control-Allow-Origin",value:h.origin}]),g.push([{key:"Vary",value:"Origin"}])):(_=o(v,h.origin),g.push([{key:"Access-Control-Allow-Origin",value:_?v:!1}]),g.push([{key:"Vary",value:"Origin"}])),g}function s(h){var m=h.methods;return m.join&&(m=h.methods.join(",")),{key:"Access-Control-Allow-Methods",value:m}}function a(h){return h.credentials===!0?{key:"Access-Control-Allow-Credentials",value:"true"}:null}function c(h,m){var v=h.allowedHeaders||h.headers,g=[];return v?v.join&&(v=v.join(",")):(v=m.headers["access-control-request-headers"],g.push([{key:"Vary",value:"Access-Control-Request-Headers"}])),v&&v.length&&g.push([{key:"Access-Control-Allow-Headers",value:v}]),g}function u(h){var m=h.exposedHeaders;if(m)m.join&&(m=m.join(","));else return null;return m&&m.length?{key:"Access-Control-Expose-Headers",value:m}:null}function p(h){var m=(typeof h.maxAge=="number"||h.maxAge)&&h.maxAge.toString();return m&&m.length?{key:"Access-Control-Max-Age",value:m}:null}function l(h,m){for(var v=0,g=h.length;v<g;v++){var _=h[v];_&&(Array.isArray(_)?l(_,m):_.key==="Vary"&&_.value?t(m,_.value):_.value&&m.setHeader(_.key,_.value))}}function d(h,m,v,g){var _=[],b=m.method&&m.method.toUpperCase&&m.method.toUpperCase();b==="OPTIONS"?(_.push(n(h,m)),_.push(a(h)),_.push(s(h)),_.push(c(h,m)),_.push(p(h)),_.push(u(h)),l(_,v),h.preflightContinue?g():(v.statusCode=h.optionsSuccessStatus,v.setHeader("Content-Length","0"),v.end())):(_.push(n(h,m)),_.push(a(h)),_.push(u(h)),l(_,v),g())}function f(h){var m=null;return typeof h=="function"?m=h:m=function(v,g){g(null,h)},function(g,_,b){m(g,function(y,E){if(y)b(y);else{var x=e({},r,E),O=null;x.origin&&typeof x.origin=="function"?O=x.origin:x.origin&&(O=function(S,w){w(null,x.origin)}),O?O(g.headers.origin,function(S,w){S||!w?b(S):(x.origin=w,d(x,g,_,b))}):b()}})}}Ym.exports=f})()),Ym.exports}var zd={},rM;function yZ(){if(rM)return zd;rM=1,Object.defineProperty(zd,"__esModule",{value:!0}),zd.getBodyParserOptions=t;const e=(r,i,o)=>(Buffer.isBuffer(o)&&(r.rawBody=o),!0);function t(r,i){let o=i||{};return r===!0&&(o={...o,verify:e}),o}return zd}var nM;function EZ(){if(nM)return Wu;nM=1,Object.defineProperty(Wu,"__esModule",{value:!0}),Wu.ExpressAdapter=void 0;const e=ve(),t=ne(),r=Jq(),i=RN(),o=EN(),n=bZ(),s=eD,a=tD,c=rD,u=xb(),p=yZ();class l extends r.AbstractHttpAdapter{constructor(f){super(f||s()),this.routerMethodFactory=new i.RouterMethodFactory,this.logger=new e.Logger(l.name),this.openConnections=new Set,this.instance.use((h,m,v)=>{this.onResponseHook&&m.on("finish",()=>{this.onResponseHook.apply(this,[h,m])}),this.onRequestHook?this.onRequestHook.apply(this,[h,m,v]):v()})}setOnRequestHook(f){this.onRequestHook=f}setOnResponseHook(f){this.onResponseHook=f}reply(f,h,m){if(m&&f.status(m),(0,t.isNil)(h))return f.send();if(h instanceof e.StreamableFile){const g=h.getHeaders();f.getHeader("Content-Type")===void 0&&g.type!==void 0&&f.setHeader("Content-Type",g.type),f.getHeader("Content-Disposition")===void 0&&g.disposition!==void 0&&f.setHeader("Content-Disposition",g.disposition),f.getHeader("Content-Length")===void 0&&g.length!==void 0&&f.setHeader("Content-Length",g.length);const _=h.getStream();return _.once("error",b=>{h.errorHandler(b,f)}),_.pipe(f).on("error",b=>h.errorLogger(b))}const v=f.getHeader("Content-Type");return typeof v=="string"&&!v.startsWith("application/json")&&h?.statusCode>=e.HttpStatus.BAD_REQUEST&&(this.logger.warn("Content-Type doesn't match Reply body, you might need a custom ExceptionFilter for non-JSON responses"),f.setHeader("Content-Type","application/json")),(0,t.isObject)(h)?f.json(h):f.send(String(h))}status(f,h){return f.status(h)}end(f,h){return f.end(h)}render(f,h,m){return f.render(h,m)}redirect(f,h,m){return f.redirect(h,m)}setErrorHandler(f,h){return this.use(f)}setNotFoundHandler(f,h){return this.use(f)}isHeadersSent(f){return f.headersSent}getHeader(f,h){return f.get(h)}setHeader(f,h,m){return f.set(h,m)}appendHeader(f,h,m){return f.append(h,m)}normalizePath(f){try{const h=o.LegacyRouteConverter.tryConvert(f);return(0,u.pathToRegexp)(h),h}catch(h){throw h instanceof TypeError&&o.LegacyRouteConverter.printError(f),h}}listen(f,...h){return this.httpServer.listen(f,...h)}close(){if(this.closeOpenConnections(),!!this.httpServer)return new Promise(f=>this.httpServer.close(f))}set(...f){return this.instance.set(...f)}enable(...f){return this.instance.enable(...f)}disable(...f){return this.instance.disable(...f)}engine(...f){return this.instance.engine(...f)}useStaticAssets(f,h){return h&&h.prefix?this.use(h.prefix,s.static(f,h)):this.use(s.static(f,h))}setBaseViewsDir(f){return this.set("views",f)}setViewEngine(f){return this.set("view engine",f)}getRequestHostname(f){return f.hostname}getRequestMethod(f){return f.method}getRequestUrl(f){return f.originalUrl}enableCors(f){return this.use(n(f))}createMiddlewareFactory(f){return(h,m)=>{try{const v=o.LegacyRouteConverter.tryConvert(h);return this.routerMethodFactory.get(this.instance,f).call(this.instance,v,m)}catch(v){throw v instanceof TypeError&&o.LegacyRouteConverter.printError(h),v}}}initHttpServer(f){f&&f.httpsOptions?this.httpServer=c.createServer(f.httpsOptions,this.getInstance()):this.httpServer=a.createServer(this.getInstance()),f?.forceCloseConnections&&this.trackOpenConnections()}registerParserMiddleware(f,h){const m=(0,p.getBodyParserOptions)(h),v=(0,p.getBodyParserOptions)(h,{extended:!0}),g={jsonParser:s.json(m),urlencodedParser:s.urlencoded(v)};Object.keys(g).filter(_=>!this.isMiddlewareApplied(_)).forEach(_=>this.use(g[_]))}useBodyParser(f,h,m){const v=(0,p.getBodyParserOptions)(h,m),g=s[f](v);return this.use(g),this}setLocal(f,h){return this.instance.locals[f]=h,this}getType(){return"express"}applyVersionFilter(f,h,m){const v=(g,_,b)=>{if(!b)throw new e.InternalServerErrorException("HTTP adapter does not support filtering on version");return b()};if(h===e.VERSION_NEUTRAL||m.type===e.VersioningType.URI)return(_,b,y)=>f(_,b,y);if(m.type===e.VersioningType.CUSTOM)return(_,b,y)=>{const E=m.extractor(_);if(Array.isArray(h)){if(Array.isArray(E)&&h.filter(x=>E.includes(x)).length||(0,t.isString)(E)&&h.includes(E))return f(_,b,y)}else if((0,t.isString)(h)&&(Array.isArray(E)&&E.includes(h)||(0,t.isString)(E)&&h===E))return f(_,b,y);return v(_,b,y)};if(m.type===e.VersioningType.MEDIA_TYPE)return(_,b,y)=>{const E="Accept",x=_.headers?.[E]||_.headers?.[E.toLowerCase()],O=x?x.split(";")[1]:void 0;if((0,t.isUndefined)(O)){if(Array.isArray(h)&&h.includes(e.VERSION_NEUTRAL))return f(_,b,y)}else{const S=O.split(m.key)[1];if(Array.isArray(h)){if(h.includes(S))return f(_,b,y)}else if((0,t.isString)(h)&&h===S)return f(_,b,y)}return v(_,b,y)};if(m.type===e.VersioningType.HEADER)return(_,b,y)=>{const E=_.headers?.[m.header]||_.headers?.[m.header.toLowerCase()];if((0,t.isUndefined)(E)){if(Array.isArray(h)&&h.includes(e.VERSION_NEUTRAL))return f(_,b,y)}else if(Array.isArray(h)){if(h.includes(E))return f(_,b,y)}else if((0,t.isString)(h)&&h===E)return f(_,b,y);return v(_,b,y)};throw new Error("Unsupported versioning options")}trackOpenConnections(){this.httpServer.on("connection",f=>{this.openConnections.add(f),f.on("close",()=>this.openConnections.delete(f))})}closeOpenConnections(){for(const f of this.openConnections)f.destroy(),this.openConnections.delete(f)}isMiddlewareApplied(f){const h=this.getInstance();return!!h.router&&!!h.router.stack&&(0,t.isFunction)(h.router.stack.filter)&&h.router.stack.some(m=>m&&m.handle&&m.handle.name===f)}}return Wu.ExpressAdapter=l,Wu}var iM;function xZ(){return iM||(iM=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(EZ(),e)})(Km)),Km}var Qm={},Jm={},aM;function OZ(){return aM||(aM=1,Object.defineProperty(Jm,"__esModule",{value:!0})),Jm}var $m={},oM;function wZ(){return oM||(oM=1,Object.defineProperty($m,"__esModule",{value:!0})),$m}var sM;function SZ(){return sM||(sM=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(OZ(),e),t.__exportStar(wZ(),e)})(Qm)),Qm}var e_={},t_={},Bd={},Qn={exports:{}},an={exports:{}},Hd={};/*!
130
- * media-typer
131
- * Copyright(c) 2014 Douglas Christopher Wilson
132
- * MIT Licensed
133
- */var cM;function PZ(){if(cM)return Hd;cM=1;var e=/; *([!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) *= *("(?:[ !\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u0020-\u007e])*"|[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) */g,t=/^[\u0020-\u007e\u0080-\u00ff]+$/,r=/^[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+$/,i=/\\([\u0000-\u007f])/g,o=/([\\"])/g,n=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,s=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,a=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;Hd.format=c,Hd.parse=u;function c(f){if(!f||typeof f!="object")throw new TypeError("argument obj is required");var h=f.parameters,m=f.subtype,v=f.suffix,g=f.type;if(!g||!s.test(g))throw new TypeError("invalid type");if(!m||!n.test(m))throw new TypeError("invalid subtype");var _=g+"/"+m;if(v){if(!s.test(v))throw new TypeError("invalid suffix");_+="+"+v}if(h&&typeof h=="object")for(var b,y=Object.keys(h).sort(),E=0;E<y.length;E++){if(b=y[E],!r.test(b))throw new TypeError("invalid parameter name");_+="; "+b+"="+l(h[b])}return _}function u(f){if(!f)throw new TypeError("argument string is required");if(typeof f=="object"&&(f=p(f)),typeof f!="string")throw new TypeError("argument string is required to be a string");var h=f.indexOf(";"),m=h!==-1?f.substr(0,h):f,v,g,_=d(m),b={},y;for(e.lastIndex=h;g=e.exec(f);){if(g.index!==h)throw new TypeError("invalid parameter format");h+=g[0].length,v=g[1].toLowerCase(),y=g[2],y[0]==='"'&&(y=y.substr(1,y.length-2).replace(i,"$1")),b[v]=y}if(h!==-1&&h!==f.length)throw new TypeError("invalid parameter format");return _.parameters=b,_}function p(f){if(typeof f.getHeader=="function")return f.getHeader("content-type");if(typeof f.headers=="object")return f.headers&&f.headers["content-type"]}function l(f){var h=String(f);if(r.test(h))return h;if(h.length>0&&!t.test(h))throw new TypeError("invalid parameter value");return'"'+h.replace(o,"\\$1")+'"'}function d(f){var h=a.exec(f.toLowerCase());if(!h)throw new TypeError("invalid media type");var m=h[1],v=h[2],g,_=v.lastIndexOf("+");_!==-1&&(g=v.substr(_+1),v=v.substr(0,_));var b={type:m,subtype:v,suffix:g};return b}return Hd}var r_={};const TZ={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};/*!
134
- * mime-db
135
- * Copyright(c) 2014 Jonathan Ong
136
- * Copyright(c) 2015-2022 Douglas Christopher Wilson
137
- * MIT Licensed
138
- */var n_,uM;function AZ(){return uM||(uM=1,n_=TZ),n_}/*!
139
- * mime-types
140
- * Copyright(c) 2014 Jonathan Ong
141
- * Copyright(c) 2015 Douglas Christopher Wilson
142
- * MIT Licensed
143
- */var lM;function RZ(){return lM||(lM=1,(function(e){var t=AZ(),r=Yt.extname,i=/^\s*([^;\s]*)(?:;|\s|$)/,o=/^text\//i;e.charset=n,e.charsets={lookup:n},e.contentType=s,e.extension=a,e.extensions=Object.create(null),e.lookup=c,e.types=Object.create(null),u(e.extensions,e.types);function n(p){if(!p||typeof p!="string")return!1;var l=i.exec(p),d=l&&t[l[1].toLowerCase()];return d&&d.charset?d.charset:l&&o.test(l[1])?"UTF-8":!1}function s(p){if(!p||typeof p!="string")return!1;var l=p.indexOf("/")===-1?e.lookup(p):p;if(!l)return!1;if(l.indexOf("charset")===-1){var d=e.charset(l);d&&(l+="; charset="+d.toLowerCase())}return l}function a(p){if(!p||typeof p!="string")return!1;var l=i.exec(p),d=l&&e.extensions[l[1].toLowerCase()];return!d||!d.length?!1:d[0]}function c(p){if(!p||typeof p!="string")return!1;var l=r("x."+p).toLowerCase().substr(1);return l&&e.types[l]||!1}function u(p,l){var d=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(h){var m=t[h],v=m.extensions;if(!(!v||!v.length)){p[h]=v;for(var g=0;g<v.length;g++){var _=v[g];if(l[_]){var b=d.indexOf(t[l[_]].source),y=d.indexOf(m.source);if(l[_]!=="application/octet-stream"&&(b>y||b===y&&l[_].substr(0,12)==="application/"))continue}l[_]=h}}})}})(r_)),r_}/*!
144
- * type-is
145
- * Copyright(c) 2014 Jonathan Ong
146
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
147
- * MIT Licensed
148
- */var dM;function MZ(){if(dM)return an.exports;dM=1;var e=PZ(),t=RZ();an.exports=o,an.exports.is=r,an.exports.hasBody=i,an.exports.normalize=n,an.exports.match=s;function r(u,p){var l,d=p,f=c(u);if(!f)return!1;if(d&&!Array.isArray(d))for(d=new Array(arguments.length-1),l=0;l<d.length;l++)d[l]=arguments[l+1];if(!d||!d.length)return f;var h;for(l=0;l<d.length;l++)if(s(n(h=d[l]),f))return h[0]==="+"||h.indexOf("*")!==-1?f:h;return!1}function i(u){return u.headers["transfer-encoding"]!==void 0||!isNaN(u.headers["content-length"])}function o(u,p){var l=p;if(!i(u))return null;if(arguments.length>2){l=new Array(arguments.length-1);for(var d=0;d<l.length;d++)l[d]=arguments[d+1]}var f=u.headers["content-type"];return r(f,l)}function n(u){if(typeof u!="string")return!1;switch(u){case"urlencoded":return"application/x-www-form-urlencoded";case"multipart":return"multipart/*"}return u[0]==="+"?"*/*"+u:u.indexOf("/")===-1?t.lookup(u):u}function s(u,p){if(u===!1)return!1;var l=p.split("/"),d=u.split("/");return l.length!==2||d.length!==2||d[0]!=="*"&&d[0]!==l[0]?!1:d[1].substr(0,2)==="*+"?d[1].length<=l[1].length+1&&d[1].substr(1)===l[1].substr(1-d[1].length):!(d[1]!=="*"&&d[1]!==l[1])}function a(u){var p=e.parse(u);return p.parameters=void 0,e.format(p)}function c(u){if(!u)return null;try{return a(u)}catch{return null}}return an.exports}var i_,pM;function Tb(){if(pM)return i_;pM=1;function e(f){if(f.length===0)return;const h=Object.create(null);let m=0;for(;m<f.length;++m){const b=f.charCodeAt(m);if(c[b]!==1){if(b!==47||m===0)return;break}}if(m===f.length)return;const v=f.slice(0,m).toLowerCase(),g=++m;for(;m<f.length;++m){const b=f.charCodeAt(m);if(c[b]!==1){if(m===g||t(f,m,h)===void 0)return;break}}if(m===g)return;const _=f.slice(g,m).toLowerCase();return{type:v,subtype:_,params:h}}function t(f,h,m){for(;h<f.length;){for(;h<f.length;++h){const y=f.charCodeAt(h);if(y!==32&&y!==9)break}if(h===f.length)break;if(f.charCodeAt(h++)!==59)return;for(;h<f.length;++h){const y=f.charCodeAt(h);if(y!==32&&y!==9)break}if(h===f.length)return;let v;const g=h;for(;h<f.length;++h){const y=f.charCodeAt(h);if(c[y]!==1){if(y!==61)return;break}}if(h===f.length||(v=f.slice(g,h),++h,h===f.length))return;let _="",b;if(f.charCodeAt(h)===34){b=++h;let y=!1;for(;h<f.length;++h){const E=f.charCodeAt(h);if(E===92){y?(b=h,y=!1):(_+=f.slice(b,h),y=!0);continue}if(E===34){if(y){b=h,y=!1;continue}_+=f.slice(b,h);break}if(y&&(b=h-1,y=!1),u[E]!==1)return}if(h===f.length)return;++h}else{for(b=h;h<f.length;++h){const y=f.charCodeAt(h);if(c[y]!==1){if(h===b)return;break}}_=f.slice(b,h)}v=v.toLowerCase(),m[v]===void 0&&(m[v]=_)}return m}function r(f,h){if(f.length===0)return;const m=Object.create(null);let v=0;for(;v<f.length;++v){const _=f.charCodeAt(v);if(c[_]!==1){if(i(f,v,m,h)===void 0)return;break}}return{type:f.slice(0,v).toLowerCase(),params:m}}function i(f,h,m,v){for(;h<f.length;){for(;h<f.length;++h){const x=f.charCodeAt(h);if(x!==32&&x!==9)break}if(h===f.length)break;if(f.charCodeAt(h++)!==59)return;for(;h<f.length;++h){const x=f.charCodeAt(h);if(x!==32&&x!==9)break}if(h===f.length)return;let g;const _=h;for(;h<f.length;++h){const x=f.charCodeAt(h);if(c[x]!==1){if(x===61)break;return}}if(h===f.length)return;let b="",y,E;if(g=f.slice(_,h),g.charCodeAt(g.length-1)===42){const x=++h;for(;h<f.length;++h){const S=f.charCodeAt(h);if(p[S]!==1){if(S!==39)return;break}}if(h===f.length)return;for(E=f.slice(x,h),++h;h<f.length&&f.charCodeAt(h)!==39;++h);if(h===f.length||(++h,h===f.length))return;y=h;let O=0;for(;h<f.length;++h){const S=f.charCodeAt(h);if(l[S]!==1){if(S===37){let w,T;if(h+2<f.length&&(w=d[f.charCodeAt(h+1)])!==-1&&(T=d[f.charCodeAt(h+2)])!==-1){const R=(w<<4)+T;b+=f.slice(y,h),b+=String.fromCharCode(R),h+=2,y=h+1,R>=128?O=2:O===0&&(O=1);continue}return}break}}if(b+=f.slice(y,h),b=s(b,E,O),b===void 0)return}else{if(++h,h===f.length)return;if(f.charCodeAt(h)===34){y=++h;let x=!1;for(;h<f.length;++h){const O=f.charCodeAt(h);if(O===92){x?(y=h,x=!1):(b+=f.slice(y,h),x=!0);continue}if(O===34){if(x){y=h,x=!1;continue}b+=f.slice(y,h);break}if(x&&(y=h-1,x=!1),u[O]!==1)return}if(h===f.length)return;++h}else{for(y=h;h<f.length;++h){const x=f.charCodeAt(h);if(c[x]!==1){if(h===y)return;break}}b=f.slice(y,h)}if(b=v(b,2),b===void 0)return}g=g.toLowerCase(),m[g]===void 0&&(m[g]=b)}return m}function o(f){let h;for(;;)switch(f){case"utf-8":case"utf8":return n.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return n.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return n.utf16le;case"base64":return n.base64;default:if(h===void 0){h=!0,f=f.toLowerCase();continue}return n.other.bind(f)}}const n={utf8:(f,h)=>{if(f.length===0)return"";if(typeof f=="string"){if(h<2)return f;f=Buffer.from(f,"latin1")}return f.utf8Slice(0,f.length)},latin1:(f,h)=>f.length===0?"":typeof f=="string"?f:f.latin1Slice(0,f.length),utf16le:(f,h)=>f.length===0?"":(typeof f=="string"&&(f=Buffer.from(f,"latin1")),f.ucs2Slice(0,f.length)),base64:(f,h)=>f.length===0?"":(typeof f=="string"&&(f=Buffer.from(f,"latin1")),f.base64Slice(0,f.length)),other:(f,h)=>{if(f.length===0)return"";typeof f=="string"&&(f=Buffer.from(f,"latin1"));try{return new TextDecoder(this).decode(f)}catch{}}};function s(f,h,m){const v=o(h);if(v)return v(f,m)}function a(f){if(typeof f!="string")return"";for(let h=f.length-1;h>=0;--h)switch(f.charCodeAt(h)){case 47:case 92:return f=f.slice(h+1),f===".."||f==="."?"":f}return f===".."||f==="."?"":f}const c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],u=[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,0,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];return i_={basename:a,convertToUTF8:s,getDecoder:o,parseContentType:e,parseDisposition:r},i_}var a_,fM;function IZ(){if(fM)return a_;fM=1;function e(o,n,s,a,c){for(let u=0;u<c;++u)if(o[n+u]!==s[a+u])return!1;return!0}class t{constructor(n,s){if(typeof s!="function")throw new Error("Missing match callback");if(typeof n=="string")n=Buffer.from(n);else if(!Buffer.isBuffer(n))throw new Error(`Expected Buffer for needle, got ${typeof n}`);const a=n.length;if(this.maxMatches=1/0,this.matches=0,this._cb=s,this._lookbehindSize=0,this._needle=n,this._bufPos=0,this._lookbehind=Buffer.allocUnsafe(a),this._occ=[a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a],a>1)for(let c=0;c<a-1;++c)this._occ[n[c]]=a-1-c}reset(){this.matches=0,this._lookbehindSize=0,this._bufPos=0}push(n,s){let a;Buffer.isBuffer(n)||(n=Buffer.from(n,"latin1"));const c=n.length;for(this._bufPos=s||0;a!==c&&this.matches<this.maxMatches;)a=r(this,n);return a}destroy(){const n=this._lookbehindSize;n&&this._cb(!1,this._lookbehind,0,n,!1),this.reset()}}function r(o,n){const s=n.length,a=o._needle,c=a.length;let u=-o._lookbehindSize;const p=c-1,l=a[p],d=s-c,f=o._occ,h=o._lookbehind;if(u<0){for(;u<0&&u<=d;){const v=u+p,g=v<0?h[o._lookbehindSize+v]:n[v];if(g===l&&i(o,n,u,p))return o._lookbehindSize=0,++o.matches,u>-o._lookbehindSize?o._cb(!0,h,0,o._lookbehindSize+u,!1):o._cb(!0,void 0,0,0,!0),o._bufPos=u+c;u+=f[g]}for(;u<0&&!i(o,n,u,s-u);)++u;if(u<0){const v=o._lookbehindSize+u;return v>0&&o._cb(!1,h,0,v,!1),o._lookbehindSize-=v,h.copy(h,0,v,o._lookbehindSize),h.set(n,o._lookbehindSize),o._lookbehindSize+=s,o._bufPos=s,s}o._cb(!1,h,0,o._lookbehindSize,!1),o._lookbehindSize=0}u+=o._bufPos;const m=a[0];for(;u<=d;){const v=n[u+p];if(v===l&&n[u]===m&&e(a,0,n,u,p))return++o.matches,u>0?o._cb(!0,n,o._bufPos,u,!0):o._cb(!0,void 0,0,0,!0),o._bufPos=u+c;u+=f[v]}for(;u<s;){if(n[u]!==m||!e(n,u,a,0,s-u)){++u;continue}n.copy(h,0,u,s),o._lookbehindSize=s-u;break}return u>0&&o._cb(!1,n,o._bufPos,u<s?u:s,!0),o._bufPos=s,s}function i(o,n,s,a){const c=o._lookbehind,u=o._lookbehindSize,p=o._needle;for(let l=0;l<a;++l,++s)if((s<0?c[u+s]:n[s])!==p[l])return!1;return!0}return a_=t,a_}var o_,hM;function CZ(){if(hM)return o_;hM=1;const{Readable:e,Writable:t}=lp,r=IZ(),{basename:i,convertToUTF8:o,getDecoder:n,parseContentType:s,parseDisposition:a}=Tb(),c=Buffer.from(`\r
108
+ `,this.push(c),a()}writeMessage(n,s){n.id||(this.lastEventId++,n.id=this.lastEventId.toString()),this.write(n,"utf-8")?process.nextTick(s):this.once("drain",s)}}return ju.SseStream=i,ju}var NR;function J3(){if(NR)return Cu;NR=1,Object.defineProperty(Cu,"__esModule",{value:!0}),Cu.RouterResponseController=void 0;const e=ve(),t=ne(),r=gn(),i=Bg(),o=Q3();class n{constructor(a){this.applicationRef=a,this.logger=new e.Logger(n.name)}async apply(a,c,u){return this.applicationRef.reply(c,a,u)}async redirect(a,c,u){const p=await this.transformToResult(a),l=p&&p.statusCode?p.statusCode:u.statusCode?u.statusCode:e.HttpStatus.FOUND,d=p&&p.url?p.url:u.url;this.applicationRef.redirect(c,l,d)}async render(a,c,u){const p=await this.transformToResult(a);return this.applicationRef.render(c,u,p)}async transformToResult(a){return(0,r.isObservable)(a)?(0,r.lastValueFrom)(a):a}getStatusByMethod(a){switch(a){case e.RequestMethod.POST:return e.HttpStatus.CREATED;default:return e.HttpStatus.OK}}setHeaders(a,c){c.forEach(({name:u,value:p})=>this.applicationRef.setHeader(a,u,typeof p=="function"?p():p))}setStatus(a,c){this.applicationRef.status(a,c)}sse(a,c,u,p){if(c.writableEnded)return;this.assertObservable(a);const l=new o.SseStream(u);l.pipe(c,p);const d=a.pipe((0,i.map)(f=>(0,t.isObject)(f)?f:{data:f}),(0,i.concatMap)(f=>new Promise(h=>l.writeMessage(f,()=>h()))),(0,i.catchError)(f=>{const h=f instanceof Error?f.message:f;return l.writeMessage({type:"error",data:h},m=>{m&&this.logger.error(m)}),r.EMPTY})).subscribe({complete:()=>{c.end()}});u.on("close",()=>{d.unsubscribe(),l.writableEnded||l.end()})}assertObservable(a){if(!(0,r.isObservable)(a))throw new ReferenceError("You must return an Observable stream to use Server-Sent Events (SSE).")}}return Cu.RouterResponseController=n,Cu}var FR;function $3(){if(FR)return Iu;FR=1,Object.defineProperty(Iu,"__esModule",{value:!0}),Iu.RouterExecutionContext=void 0;const e=ve(),t=xe(),r=fp(),i=ne(),o=fb(),n=uN(),s=lN(),a=it(),c=J3();class u{constructor(l,d,f,h,m,v,g,_){this.paramsFactory=l,this.pipesContextCreator=d,this.pipesConsumer=f,this.guardsContextCreator=h,this.guardsConsumer=m,this.interceptorsContextCreator=v,this.interceptorsConsumer=g,this.applicationRef=_,this.handlerMetadataStorage=new s.HandlerMetadataStorage,this.contextUtils=new n.ContextUtils,this.responseController=new c.RouterResponseController(_)}create(l,d,f,h,m,v=a.STATIC_CONTEXT,g){const _="http",{argsLength:b,fnHandleResponse:y,paramtypes:E,getParamsMetadata:x,httpStatusCode:O,responseHeaders:S,hasCustomHeaders:w}=this.getMetadata(l,d,f,h,m,_),T=this.contextUtils.mergeParamsMetatypes(x(h,v,g),E),R=this.pipesContextCreator.create(l,d,h,v,g),P=this.guardsContextCreator.create(l,d,h,v,g),N=this.interceptorsContextCreator.create(l,d,h,v,g),L=this.createGuardsFn(P,l,d,_),V=this.createPipesFn(R,T),F=(H,X,te,U)=>async()=>(V&&await V(H,X,te,U),d.apply(l,H));return async(H,X,te)=>{const U=this.contextUtils.createNullArray(b);L&&await L([H,X,te]),this.responseController.setStatus(X,O),w&&this.responseController.setHeaders(X,S);const re=await this.interceptorsConsumer.intercept(N,[H,X,te],l,d,F(U,H,X,te),_);await y(re,X,H)}}getMetadata(l,d,f,h,m,v){const g=this.handlerMetadataStorage.get(l,f);if(g)return g;const _=this.contextUtils.reflectCallbackMetadata(l,f,t.ROUTE_ARGS_METADATA)||{},b=Object.keys(_),y=this.contextUtils.getArgumentsLength(b,_),E=this.contextUtils.reflectCallbackParamtypes(l,f),x=this.contextUtils.getContextFactory(v,l,d),O=(H,X=a.STATIC_CONTEXT,te)=>this.exchangeKeysForValues(b,_,H,X,te,x),S=O(h),w=this.isResponseHandled(l,f,S),T=this.reflectRedirect(d),R=this.createHandleResponseFn(d,w,T),P=this.reflectHttpStatusCode(d),N=P||this.responseController.getStatusByMethod(m),L=this.reflectResponseHeaders(d),V=!(0,i.isEmpty)(L),F={argsLength:y,fnHandleResponse:R,paramtypes:E,getParamsMetadata:O,httpStatusCode:N,hasCustomHeaders:V,responseHeaders:L};return this.handlerMetadataStorage.set(l,f,F),F}reflectRedirect(l){return Reflect.getMetadata(t.REDIRECT_METADATA,l)}reflectHttpStatusCode(l){return Reflect.getMetadata(t.HTTP_CODE_METADATA,l)}reflectRenderTemplate(l){return Reflect.getMetadata(t.RENDER_METADATA,l)}reflectResponseHeaders(l){return Reflect.getMetadata(t.HEADERS_METADATA,l)||[]}reflectSse(l){return Reflect.getMetadata(t.SSE_METADATA,l)}exchangeKeysForValues(l,d,f,h=a.STATIC_CONTEXT,m,v){return this.pipesContextCreator.setModuleContext(f),l.map(g=>{const{index:_,data:b,pipes:y}=d[g],E=this.pipesContextCreator.createConcreteContext(y,h,m),x=this.contextUtils.mapParamType(g);if(g.includes(t.CUSTOM_ROUTE_ARGS_METADATA)){const{factory:w}=d[g],T=this.contextUtils.getCustomFactory(w,b,v);return{index:_,extractValue:T,type:x,data:b,pipes:E}}const O=Number(x);return{index:_,extractValue:(w,T,R)=>this.paramsFactory.exchangeKeyForValue(O,b,{req:w,res:T,next:R}),type:O,data:b,pipes:E}})}async getParamValue(l,{metatype:d,type:f,data:h},m){return(0,i.isEmpty)(m)?l:this.pipesConsumer.apply(l,{metatype:d,type:f,data:h},m)}isPipeable(l){return l===r.RouteParamtypes.BODY||l===r.RouteParamtypes.RAW_BODY||l===r.RouteParamtypes.QUERY||l===r.RouteParamtypes.PARAM||l===r.RouteParamtypes.FILE||l===r.RouteParamtypes.FILES||(0,i.isString)(l)}createGuardsFn(l,d,f,h){const m=async v=>{if(!await this.guardsConsumer.tryActivate(l,v,d,f,h))throw new e.ForbiddenException(o.FORBIDDEN_MESSAGE)};return l.length?m:null}createPipesFn(l,d){const f=async(h,m,v,g)=>{const _=async b=>{const{index:y,extractValue:E,type:x,data:O,metatype:S,pipes:w}=b,T=E(m,v,g);h[y]=this.isPipeable(x)?await this.getParamValue(T,{metatype:S,type:x,data:O},l.concat(w)):T};await Promise.all(d.map(_))};return d.length?f:null}createHandleResponseFn(l,d,f,h){const m=this.reflectRenderTemplate(l);return m?async(g,_)=>await this.responseController.render(g,_,m):f&&(0,i.isString)(f.url)?async(g,_)=>{await this.responseController.redirect(g,_,f)}:this.reflectSse(l)?(g,_,b)=>{this.responseController.sse(g,_.raw||_,b.raw||b,{additionalHeaders:_.getHeaders?.()})}:async(g,_)=>(g=await this.responseController.transformToResult(g),!d&&await this.responseController.apply(g,_,h),_)}isResponseHandled(l,d,f){const h=f.some(({type:v})=>v===r.RouteParamtypes.RESPONSE||v===r.RouteParamtypes.NEXT),m=this.contextUtils.reflectPassthrough(l,d);return h&&!m}}return Iu.RouterExecutionContext=u,Iu}var DR;function MN(){if(DR)return Au;DR=1,Object.defineProperty(Au,"__esModule",{value:!0}),Au.RouterExplorer=void 0;const e=xe(),t=_l(),r=ug(),i=xt(),o=ne(),n=xb(),s=Y3(),a=fb(),c=jl(),u=Sn(),p=wb(),l=RN(),d=it(),f=oN(),h=cN(),m=TN(),v=wn(),g=X3(),_=$3();class b{constructor(E,x,O,S,w,T,R,P){this.container=x,this.injector=O,this.routerProxy=S,this.exceptionsFilter=w,this.routePathFactory=R,this.graphInspector=P,this.routerMethodFactory=new l.RouterMethodFactory,this.logger=new i.Logger(b.name,{timestamp:!0}),this.exceptionFiltersCache=new WeakMap,this.pathsExplorer=new m.PathsExplorer(E);const N=new g.RouteParamsFactory,L=new h.PipesContextCreator(x,T),V=new h.PipesConsumer,F=new a.GuardsContextCreator(x,T),H=new a.GuardsConsumer,X=new f.InterceptorsContextCreator(x,T),te=new f.InterceptorsConsumer;this.executionContextCreator=new _.RouterExecutionContext(N,L,V,F,H,X,te,x.getHttpAdapterRef())}explore(E,x,O,S,w){const{instance:T}=E,R=this.pathsExplorer.scanForPaths(T);this.applyPathsToRouterProxy(O,R,E,x,w,S)}extractRouterPath(E){const x=Reflect.getMetadata(e.PATH_METADATA,E);if((0,o.isUndefined)(x))throw new s.UnknownRequestMappingException(E);return Array.isArray(x)?x.map(O=>(0,o.addLeadingSlash)(O)):[(0,o.addLeadingSlash)(x)]}applyPathsToRouterProxy(E,x,O,S,w,T){(x||[]).forEach(R=>{const{version:P}=R;w.methodVersion=P,this.applyCallbackToRouter(E,R,O,S,w,T)})}applyCallbackToRouter(E,x,O,S,w,T){const{path:R,requestMethod:P,targetCallback:N,methodName:L}=x,{instance:V}=O,F=this.routerMethodFactory.get(E,P).bind(E),X=!O.isDependencyTreeStatic()?this.createRequestScopedHandler(O,P,this.container.getModuleByKey(S),S,L):this.createCallbackProxy(V,N,L,S,P),te=(w.methodVersion||w.controllerVersion)&&w.versioningOptions;let U=this.applyHostFilter(T,X);R.forEach(re=>{te&&w.versioningOptions.type!==t.VersioningType.URI&&(U=this.applyVersionFilter(E,w,U)),w.methodPath=re,this.routePathFactory.create(w,P).forEach(D=>{const z={type:"http-endpoint",methodName:L,className:O.name,classNodeId:O.id,metadata:{key:D,path:D,requestMethod:t.RequestMethod[P],methodVersion:w.methodVersion,controllerVersion:w.controllerVersion}};this.copyMetadataToCallback(N,U);const M=E.normalizePath?E.normalizePath(D):D,k=this.container.getHttpAdapterRef().getOnRouteTriggered?.();k?F(M,(...K)=>(k(P,D),U(...K))):F(M,U),this.graphInspector.insertEntrypointDefinition(z,O.id)}),this.routePathFactory.create({...w,versioningOptions:void 0},P).forEach(D=>{if(te){const z=this.routePathFactory.getVersion(w);this.logger.log((0,p.VERSIONED_ROUTE_MAPPED_MESSAGE)(D,P,z))}else this.logger.log((0,p.ROUTE_MAPPED_MESSAGE)(D,P))})})}applyHostFilter(E,x){if(!E)return x;const O=this.container.getHttpAdapterRef(),w=(Array.isArray(E)?E:[E]).map(R=>{if(typeof R=="string")try{return(0,n.pathToRegexp)(R)}catch(P){throw P instanceof TypeError&&this.logger.error(`Unsupported host "${R}" syntax. In past releases, ?, *, and + were used to denote optional or repeating path parameters. The latest version of "path-to-regexp" now requires the use of named parameters. For example, instead of using a route like /users/* to capture all routes starting with "/users", you should use /users/*path. Please see the migration guide for more information.`),P}return{regexp:R,keys:[]}}),T=Array.isArray(E)?`HTTP adapter does not support filtering on hosts: ["${E.join('", "')}"]`:`HTTP adapter does not support filtering on host: "${E}"`;return(R,P,N)=>{R.hosts={};const L=O.getRequestHostname(R)||"";for(const V of w){const F=L.match(V.regexp);if(F){if(V.keys.length>0)V.keys.forEach((H,X)=>R.hosts[H.name]=F[X+1]);else if(V.regexp&&F.groups)for(const H in F.groups)R.hosts[H]=F.groups[H];return x(R,P,N)}}if(!N)throw new r.InternalServerErrorException(T);return N()}}applyVersionFilter(E,x,O){const S=this.routePathFactory.getVersion(x);return E.applyVersionFilter(O,S,x.versioningOptions)}createCallbackProxy(E,x,O,S,w,T=d.STATIC_CONTEXT,R){const P=this.executionContextCreator.create(E,x,O,S,w,T,R),N=this.exceptionsFilter.create(E,x,S,T,R);return this.routerProxy.createProxy(P,N)}createRequestScopedHandler(E,x,O,S,w){const{instance:T}=E,R=O.controllers,P=E.isDependencyTreeDurable();return async(N,L,V)=>{try{const F=this.getContextId(N,P),H=await this.injector.loadPerContext(T,O,R,F);await this.createCallbackProxy(H,H[w],w,S,x,F,E.id)(N,L,V)}catch(F){let H=this.exceptionFiltersCache.get(T[w]);H||(H=this.exceptionsFilter.create(T,T[w],S),this.exceptionFiltersCache.set(T[w],H));const X=new u.ExecutionContextHost([N,L,V]);H.next(F,X)}}}getContextId(E,x){const O=c.ContextIdFactory.getByRequest(E);if(!E[v.REQUEST_CONTEXT_ID]){Object.defineProperty(E,v.REQUEST_CONTEXT_ID,{value:O,enumerable:!1,writable:!1,configurable:!1});const S=x?O.payload:Object.assign(E,O.payload);this.container.registerRequestProvider(S,O)}return O}copyMetadataToCallback(E,x){for(const O of Reflect.getMetadataKeys(E))Reflect.defineMetadata(O,Reflect.getMetadata(O,E),x)}}return Au.RouterExplorer=b,Au}var kR;function IN(){if(kR)return Tu;kR=1,Object.defineProperty(Tu,"__esModule",{value:!0}),Tu.RoutesResolver=void 0;const e=ve(),t=xe(),r=xt(),i=wb(),o=On(),n=PN(),s=wN(),a=MN(),c=SN();class u{constructor(l,d,f,h){this.container=l,this.applicationConfig=d,this.injector=f,this.logger=new r.Logger(u.name,{timestamp:!0}),this.routerProxy=new c.RouterProxy;const m=l.getHttpAdapterRef();this.routerExceptionsFilter=new s.RouterExceptionFilters(l,d,m),this.routePathFactory=new n.RoutePathFactory(this.applicationConfig);const v=new o.MetadataScanner;this.routerExplorer=new a.RouterExplorer(v,this.container,this.injector,this.routerProxy,this.routerExceptionsFilter,this.applicationConfig,this.routePathFactory,h)}resolve(l,d){this.container.getModules().forEach(({controllers:h,metatype:m},v)=>{const g=this.getModulePathMetadata(m);this.registerRouters(h,v,d,g,l)})}registerRouters(l,d,f,h,m){l.forEach(v=>{const{metatype:g}=v,_=this.getHostMetadata(g),b=this.routerExplorer.extractRouterPath(g),y=this.getVersionMetadata(g),E=g.name;b.forEach(x=>{const O=this.routePathFactory.create({ctrlPath:x,modulePath:h,globalPrefix:f});y?O.forEach(T=>{const R=(0,i.VERSIONED_CONTROLLER_MAPPING_MESSAGE)(E,T,y);this.logger.log(R)}):O.forEach(T=>{const R=(0,i.CONTROLLER_MAPPING_MESSAGE)(E,T);this.logger.log(R)});const S=this.applicationConfig.getVersioning(),w={ctrlPath:x,modulePath:h,globalPrefix:f,controllerVersion:y,versioningOptions:S};this.routerExplorer.explore(v,d,m,_,w)})})}registerNotFoundHandler(){const l=this.container.getHttpAdapterRef(),d=(m,v)=>{const g=l.getRequestMethod(m),_=l.getRequestUrl(m);throw new e.NotFoundException(`Cannot ${g} ${_}`)},f=this.routerExceptionsFilter.create({},d,void 0),h=this.routerProxy.createProxy(d,f);l.setNotFoundHandler&&l.setNotFoundHandler(h,this.applicationConfig.getGlobalPrefix())}registerExceptionHandler(){const l=(m,v,g,_)=>{throw this.mapExternalException(m)},d=this.routerExceptionsFilter.create({},l,void 0),f=this.routerProxy.createExceptionLayerProxy(l,d),h=this.container.getHttpAdapterRef();h.setErrorHandler&&h.setErrorHandler(f,this.applicationConfig.getGlobalPrefix())}mapExternalException(l){switch(!0){case(l instanceof SyntaxError||l instanceof URIError):return new e.BadRequestException(l.message);case this.isHttpFastifyError(l):return new e.HttpException(l.message,l.statusCode);default:return l}}isHttpFastifyError(l){return l.statusCode!==void 0&&l instanceof Error&&l.name==="FastifyError"}getModulePathMetadata(l){const d=this.container.getModules();return Reflect.getMetadata(t.MODULE_PATH+d.applicationId,l)??Reflect.getMetadata(t.MODULE_PATH,l)}getHostMetadata(l){return Reflect.getMetadata(t.HOST_METADATA,l)}getVersionMetadata(l){const d=this.applicationConfig.getVersioning();if(d)return Reflect.getMetadata(t.VERSION_METADATA,l)??d.defaultVersion}}return Tu.RoutesResolver=u,Tu}const eZ={},tZ=Object.freeze(Object.defineProperty({__proto__:null,default:eZ},Symbol.toStringTag,{value:"Module"})),rZ=ci(tZ),nZ={},iZ=Object.freeze(Object.defineProperty({__proto__:null,default:nZ},Symbol.toStringTag,{value:"Module"})),aZ=ci(iZ),oZ={},sZ=Object.freeze(Object.defineProperty({__proto__:null,default:oZ},Symbol.toStringTag,{value:"Module"})),CN=ci(sZ);var LR;function Sb(){if(LR)return fu;LR=1,Object.defineProperty(fu,"__esModule",{value:!0}),fu.NestApplication=void 0;const e=ve(),t=xt(),r=gl(),i=ne(),o=Ve(),n=up,s=dr(),a=di(),c=N3(),u=fi(),p=F3(),l=B3(),d=xN(),f=Ob(),h=IN(),{SocketModule:m}=(0,c.optionalRequire)("@nestjs/websockets/socket-module",()=>rZ),{MicroservicesModule:v}=(0,c.optionalRequire)("@nestjs/microservices/microservices-module",()=>aZ);class g extends f.NestApplicationContext{constructor(b,y,E,x,O={}){super(b,O),this.httpAdapter=y,this.config=E,this.graphInspector=x,this.logger=new t.Logger(g.name,{timestamp:!0}),this.middlewareContainer=new p.MiddlewareContainer(this.container),this.microservicesModule=v&&new v,this.socketModule=m&&new m,this.microservices=[],this.isListening=!1,this.selectContextModule(),this.registerHttpServer(),this.injector=new u.Injector({preview:this.appOptions.preview,instanceDecorator:O.instrument?.instanceDecorator}),this.middlewareModule=new l.MiddlewareModule,this.routesResolver=new h.RoutesResolver(this.container,this.config,this.injector,this.graphInspector)}async dispose(){this.socketModule&&await this.socketModule.close(),this.microservicesModule&&await this.microservicesModule.close(),this.httpAdapter&&await this.httpAdapter.close(),await Promise.all((0,o.iterate)(this.microservices).map(async b=>{b.setIsTerminated(!0),await b.close()}))}getHttpAdapter(){return this.httpAdapter}registerHttpServer(){this.httpServer=this.createServer()}getUnderlyingHttpServer(){return this.httpAdapter.getHttpServer()}applyOptions(){return!this.appOptions||!this.appOptions.cors?void 0:(0,i.isObject)(this.appOptions.cors)||(0,i.isFunction)(this.appOptions.cors)?this.enableCors(this.appOptions.cors):this.enableCors()}createServer(){return this.httpAdapter.initHttpServer(this.appOptions),this.httpAdapter.getHttpServer()}async registerModules(){this.registerWsModule(),this.microservicesModule&&(this.microservicesModule.register(this.container,this.graphInspector,this.config,this.appOptions),this.microservicesModule.setupClients(this.container)),await this.middlewareModule.register(this.middlewareContainer,this.container,this.config,this.injector,this.httpAdapter,this.graphInspector,this.appOptions)}registerWsModule(){this.socketModule&&this.socketModule.register(this.container,this.config,this.graphInspector,this.appOptions,this.httpServer)}async init(){return this.isInitialized?this:(this.applyOptions(),await this.httpAdapter?.init?.(),this.appOptions&&this.appOptions.bodyParser!==!1&&this.registerParserMiddleware(),await this.registerModules(),await this.registerRouter(),await this.callInitHook(),await this.registerRouterHooks(),await this.callBootstrapHook(),this.isInitialized=!0,this.logger.log(a.MESSAGES.APPLICATION_READY),this)}registerParserMiddleware(){const b=this.config.getGlobalPrefix(),y=!!this.appOptions?.rawBody;this.httpAdapter.registerParserMiddleware(b,y)}async registerRouter(){await this.registerMiddleware(this.httpAdapter);const b=this.config.getGlobalPrefix(),y=(0,i.addLeadingSlash)(b);this.routesResolver.resolve(this.httpAdapter,y)}async registerRouterHooks(){this.routesResolver.registerNotFoundHandler(),this.routesResolver.registerExceptionHandler()}connectMicroservice(b,y={}){const{NestMicroservice:E}=(0,r.loadPackage)("@nestjs/microservices","NestFactory",()=>CN),{inheritAppConfig:x}=y,O=x?this.config:new s.ApplicationConfig,S=new E(this.container,b,this.graphInspector,O);return y.deferInitialization||(S.registerListeners(),S.setIsInitialized(!0),S.setIsInitHookCalled(!0)),this.microservices.push(S),S}getMicroservices(){return this.microservices}getHttpServer(){return this.httpServer}async startAllMicroservices(){return this.assertNotInPreviewMode("startAllMicroservices"),await Promise.all(this.microservices.map(b=>b.listen())),this}use(...b){return this.httpAdapter.use(...b),this}useBodyParser(...b){if(!("useBodyParser"in this.httpAdapter))return this.logger.warn("Your HTTP Adapter does not support `.useBodyParser`."),this;const[y,...E]=b,x=!!this.appOptions.rawBody;return this.httpAdapter.useBodyParser?.(y,x,...E),this}enableCors(b){this.httpAdapter.enableCors(b)}enableVersioning(b={type:e.VersioningType.URI}){return this.config.enableVersioning(b),this}async listen(b,...y){this.assertNotInPreviewMode("listen"),this.isInitialized||await this.init();const E=this.container.getHttpAdapterHostRef();return new Promise((x,O)=>{const S=R=>{this.logger.error(R?.toString?.()),O(R)};this.httpServer.once("error",S);const w=(0,i.isFunction)(y[y.length-1]),T=w?y.slice(0,y.length-1):y;this.httpAdapter.listen(b,...T,(...R)=>{if((this.appOptions?.autoFlushLogs??!0)&&this.flushLogs(),R[0]instanceof Error)return O(R[0]);this.httpServer.address()&&(this.httpServer.removeListener("error",S),this.isListening=!0,E.listening=!0,x(this.httpServer)),w&&y[y.length-1](...R)})})}async getUrl(){return new Promise((b,y)=>{if(!this.isListening){this.logger.error(a.MESSAGES.CALL_LISTEN_FIRST),y(a.MESSAGES.CALL_LISTEN_FIRST);return}const E=this.httpServer.address();b(this.formatAddress(E))})}formatAddress(b){if((0,i.isString)(b)){if((0,n.platform)()==="win32")return b;const E=encodeURIComponent(b);return`${this.getProtocol()}+unix://${E}`}let y=this.host();return b&&b.family==="IPv6"?y==="::"?y="[::1]":y=`[${y}]`:y==="0.0.0.0"&&(y="127.0.0.1"),`${this.getProtocol()}://${y}:${b.port}`}setGlobalPrefix(b,y){if(this.config.setGlobalPrefix(b),y){const E=y?.exclude?(0,d.mapToExcludeRoute)(y.exclude):[];this.config.setGlobalPrefixOptions({...y,exclude:E})}return this}useWebSocketAdapter(b){return this.config.setIoAdapter(b),this}useGlobalFilters(...b){return this.config.useGlobalFilters(...b),b.forEach(y=>this.graphInspector.insertOrphanedEnhancer({subtype:"filter",ref:y})),this}useGlobalPipes(...b){return this.config.useGlobalPipes(...b),b.forEach(y=>this.graphInspector.insertOrphanedEnhancer({subtype:"pipe",ref:y})),this}useGlobalInterceptors(...b){return this.config.useGlobalInterceptors(...b),b.forEach(y=>this.graphInspector.insertOrphanedEnhancer({subtype:"interceptor",ref:y})),this}useGlobalGuards(...b){return this.config.useGlobalGuards(...b),b.forEach(y=>this.graphInspector.insertOrphanedEnhancer({subtype:"guard",ref:y})),this}useStaticAssets(b,y){return this.httpAdapter.useStaticAssets&&this.httpAdapter.useStaticAssets(b,y),this}setBaseViewsDir(b){return this.httpAdapter.setBaseViewsDir&&this.httpAdapter.setBaseViewsDir(b),this}setViewEngine(b){return this.httpAdapter.setViewEngine&&this.httpAdapter.setViewEngine(b),this}host(){const b=this.httpServer.address();if(!(0,i.isString)(b))return b&&b.address}getProtocol(){return this.appOptions&&this.appOptions.httpsOptions?"https":"http"}async registerMiddleware(b){await this.middlewareModule.registerMiddleware(this.middlewareContainer,b)}}return fu.NestApplication=g,fu}var nn={},qu={},Nu={},UR;function cZ(){if(UR)return Nu;UR=1,Object.defineProperty(Nu,"__esModule",{value:!0}),Nu.ExceptionHandler=void 0;const e=xt();class t{handle(i){t.logger.error(i)}}return Nu.ExceptionHandler=t,t.logger=new e.Logger(t.name),Nu}var zR;function uZ(){if(zR)return qu;zR=1,Object.defineProperty(qu,"__esModule",{value:!0}),qu.ExceptionsZone=void 0;const e=ve(),t=cZ(),r=()=>process.exit(1);class i{static run(n,s=r,a){try{n()}catch(c){this.exceptionHandler.handle(c),a&&e.Logger.flush(),s(c)}}static async asyncRun(n,s=r,a){try{await n()}catch(c){this.exceptionHandler.handle(c),a&&e.Logger.flush(),s(c)}}}return qu.ExceptionsZone=i,i.exceptionHandler=new t.ExceptionHandler,qu}var Ld={},BR;function lZ(){if(BR)return Ld;BR=1,Object.defineProperty(Ld,"__esModule",{value:!0}),Ld.loadAdapter=i;const e=ve(),t=(o,n)=>`No driver (${n}) has been selected. In order to take advantage of the default driver, please, ensure to install the "${o}" package ($ npm install ${o}).`,r=new e.Logger("PackageLoader");function i(o,n,s){try{return s?s():pg(o)}catch{r.error(t(o,n)),process.exit(1)}}return Ld}var Fu={},HR;function dZ(){if(HR)return Fu;HR=1,Object.defineProperty(Fu,"__esModule",{value:!0}),Fu.rethrow=void 0;const e=t=>{throw t};return Fu.rethrow=e,Fu}var Du={},VR;function Pb(){if(VR)return Du;VR=1,Object.defineProperty(Du,"__esModule",{value:!0}),Du.InstanceLoader=void 0;const e=ve(),t=wb(),r=Dp();class i{constructor(n,s,a,c=new e.Logger(i.name,{timestamp:!0})){this.container=n,this.injector=s,this.graphInspector=a,this.logger=c}setLogger(n){this.logger=n}async createInstancesOfDependencies(n=this.container.getModules()){this.createPrototypes(n);try{await this.createInstances(n)}catch(s){throw this.graphInspector.inspectModules(n),this.graphInspector.registerPartial(s),s}this.graphInspector.inspectModules(n)}createPrototypes(n){n.forEach(s=>{this.createPrototypesOfProviders(s),this.createPrototypesOfInjectables(s),this.createPrototypesOfControllers(s)})}async createInstances(n){await Promise.all([...n.values()].map(async s=>{await this.createInstancesOfProviders(s),await this.createInstancesOfInjectables(s),await this.createInstancesOfControllers(s);const{name:a}=s;this.isModuleWhitelisted(a)&&this.logger.log((0,t.MODULE_INIT_MESSAGE)`${a}`)}))}createPrototypesOfProviders(n){const{providers:s}=n;s.forEach(a=>this.injector.loadPrototype(a,s))}async createInstancesOfProviders(n){const{providers:s}=n,a=[...s.values()];await Promise.all(a.map(async c=>{await this.injector.loadProvider(c,n),this.graphInspector.inspectInstanceWrapper(c,n)}))}createPrototypesOfControllers(n){const{controllers:s}=n;s.forEach(a=>this.injector.loadPrototype(a,s))}async createInstancesOfControllers(n){const{controllers:s}=n,a=[...s.values()];await Promise.all(a.map(async c=>{await this.injector.loadController(c,n),this.graphInspector.inspectInstanceWrapper(c,n)}))}createPrototypesOfInjectables(n){const{injectables:s}=n;s.forEach(a=>this.injector.loadPrototype(a,s))}async createInstancesOfInjectables(n){const{injectables:s}=n,a=[...s.values()];await Promise.all(a.map(async c=>{await this.injector.loadInjectable(c,n),this.graphInspector.inspectInstanceWrapper(c,n)}))}isModuleWhitelisted(n){return n!==r.InternalCoreModule.name}}return Du.InstanceLoader=i,Du}var ku={},GR;function jN(){if(GR)return ku;GR=1,Object.defineProperty(ku,"__esModule",{value:!0}),ku.NoopGraphInspector=void 0;const e=kp(),t=()=>{};return ku.NoopGraphInspector=new Proxy(e.GraphInspector.prototype,{get:()=>t}),ku}var Lu={},Uu={},WR;function pZ(){if(WR)return Uu;WR=1,Object.defineProperty(Uu,"__esModule",{value:!0}),Uu.InvalidClassModuleException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n){super((0,e.USING_INVALID_CLASS_AS_A_MODULE_MESSAGE)(o,n))}}return Uu.InvalidClassModuleException=r,Uu}var zu={},ZR;function fZ(){if(ZR)return zu;ZR=1,Object.defineProperty(zu,"__esModule",{value:!0}),zu.InvalidModuleException=void 0;const e=gt(),t=et();class r extends t.RuntimeException{constructor(o,n,s){super((0,e.INVALID_MODULE_MESSAGE)(o,n,s))}}return zu.InvalidModuleException=r,zu}var Bu={},KR;function hZ(){if(KR)return Bu;KR=1,Object.defineProperty(Bu,"__esModule",{value:!0}),Bu.UndefinedModuleException=void 0;const e=et(),t=gt();class r extends e.RuntimeException{constructor(o,n,s){super((0,t.UNDEFINED_MODULE_MESSAGE)(o,n,s))}}return Bu.UndefinedModuleException=r,Bu}var Hu={},YR;function vZ(){if(YR)return Hu;YR=1,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.InternalCoreModuleFactory=void 0;const e=ve(),t=hb(),r=Cl(),i=vb(),o=yb(),n=fi(),s=Pb(),a=bb(),c=pi(),u=Dp();class p{static create(d,f,h,m,v,g){const _=()=>{const b=new e.Logger(a.LazyModuleLoader.name,{timestamp:!1}),y=new n.Injector({preview:d.contextOptions?.preview,instanceDecorator:d.contextOptions?.instrument?.instanceDecorator}),E=new s.InstanceLoader(d,y,v,b);return new a.LazyModuleLoader(f,E,h,d.getModules(),g)};return i.InitializeOnPreviewAllowlist.add(u.InternalCoreModule),u.InternalCoreModule.register([{provide:t.ExternalContextCreator,useFactory:()=>t.ExternalContextCreator.fromContainer(d)},{provide:c.ModulesContainer,useFactory:()=>d.getModules()},{provide:r.HttpAdapterHost,useFactory:()=>m},{provide:a.LazyModuleLoader,useFactory:_},{provide:o.SerializedGraph,useFactory:()=>d.serializedGraph}])}}return Hu.InternalCoreModuleFactory=p,Hu}var Vu={},Gu={},XR;function mZ(){if(XR)return Gu;XR=1,Object.defineProperty(Gu,"__esModule",{value:!0}),Gu.TreeNode=void 0;class e{constructor({value:r,parent:i}){this.children=new Set,this.value=r,this.parent=i}addChild(r){this.children.add(r)}removeChild(r){this.children.delete(r)}relink(r){this.parent?.removeChild(this),this.parent=r,this.parent.addChild(this)}getDepth(){const r=new Set;let i=0,o=this;for(;o;){if(i++,o=o.parent,r.has(o))return-1;r.add(o)}return i}hasCycleWith(r){const i=new Set;let o=this;for(;o;){if(o.value===r)return!0;if(o=o.parent,i.has(o))return!1;i.add(o)}return!1}}return Gu.TreeNode=e,Gu}var QR;function _Z(){if(QR)return Vu;QR=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.TopologyTree=void 0;const e=mZ();class t{constructor(i){this.links=new Map,this.root=new e.TreeNode({value:i,parent:null}),this.links.set(i,this.root),this.traverseAndMapToTree(this.root)}walk(i){function o(n,s=1){i(n.value,s),n.children.forEach(a=>o(a,s+1))}o(this.root)}traverseAndMapToTree(i,o=1){i.value.imports&&i.value.imports.forEach(n=>{if(!n)return;if(this.links.has(n)){const a=this.links.get(n);if(i.hasCycleWith(n))return;a.getDepth()<o&&a.relink(i);return}const s=new e.TreeNode({value:n,parent:i});i.addChild(s),this.links.set(n,s),this.traverseAndMapToTree(s,o+1)})}}return Vu.TopologyTree=t,Vu}var JR;function qN(){if(JR)return Lu;JR=1,Object.defineProperty(Lu,"__esModule",{value:!0}),Lu.DependenciesScanner=void 0;const e=xe(),t=hp(),r=ne(),i=Ve(),o=dr(),n=di(),s=dN(),a=pZ(),c=fZ(),u=hZ(),p=Np(),l=vZ(),d=_Z(),f=Nl();class h{constructor(v,g,_,b=new o.ApplicationConfig){this.container=v,this.metadataScanner=g,this.graphInspector=_,this.applicationConfig=b,this.applicationProvidersApplyMap=[]}async scan(v,g){await this.registerCoreModule(g?.overrides),await this.scanForModules({moduleDefinition:v,overrides:g?.overrides}),await this.scanModulesForDependencies(),this.addScopedEnhancersMetadata(),this.calculateModulesDistance(),this.container.bindGlobalScope()}async scanForModules({moduleDefinition:v,lazy:g,scope:_=[],ctxRegistry:b=[],overrides:y=[]}){const{moduleRef:E,inserted:x}=await this.insertOrOverrideModule(v,y,_)??{};v=this.getOverrideModuleByModule(v,y)?.newModule??v,v=v instanceof Promise?await v:v,b.push(v),this.isForwardReference(v)&&(v=v.forwardRef());const O=this.isDynamicModule(v)?[...this.reflectMetadata(e.MODULE_METADATA.IMPORTS,v.module),...v.imports||[]]:this.reflectMetadata(e.MODULE_METADATA.IMPORTS,v);let S=[];for(const[w,T]of O.entries()){if(T===void 0)throw new u.UndefinedModuleException(v,w,_);if(!T)throw new c.InvalidModuleException(v,w,_);if(b.includes(T))continue;const R=await this.scanForModules({moduleDefinition:T,scope:[].concat(_,v),ctxRegistry:b,overrides:y,lazy:g});S=S.concat(R)}return E?(g&&x&&this.container.bindGlobalsToImports(E),[E].concat(S)):S}async insertModule(v,g){const _=this.isForwardReference(v)?v.forwardRef():v;if(this.isInjectable(_)||this.isController(_)||this.isExceptionFilter(_))throw new a.InvalidClassModuleException(v,g);return this.container.addModule(_,g)}async scanModulesForDependencies(v=this.container.getModules()){for(const[g,{metatype:_}]of v)await this.reflectImports(_,g,_.name),this.reflectProviders(_,g),this.reflectControllers(_,g),this.reflectExports(_,g)}async reflectImports(v,g,_){const b=[...this.reflectMetadata(e.MODULE_METADATA.IMPORTS,v),...this.container.getDynamicMetadataByToken(g,e.MODULE_METADATA.IMPORTS)];for(const y of b)await this.insertImport(y,g,_)}reflectProviders(v,g){[...this.reflectMetadata(e.MODULE_METADATA.PROVIDERS,v),...this.container.getDynamicMetadataByToken(g,e.MODULE_METADATA.PROVIDERS)].forEach(b=>{this.insertProvider(b,g),this.reflectDynamicMetadata(b,g)})}reflectControllers(v,g){[...this.reflectMetadata(e.MODULE_METADATA.CONTROLLERS,v),...this.container.getDynamicMetadataByToken(g,e.MODULE_METADATA.CONTROLLERS)].forEach(b=>{this.insertController(b,g),this.reflectDynamicMetadata(b,g)})}reflectDynamicMetadata(v,g){!v||!v.prototype||(this.reflectInjectables(v,g,e.GUARDS_METADATA),this.reflectInjectables(v,g,e.INTERCEPTORS_METADATA),this.reflectInjectables(v,g,e.EXCEPTION_FILTERS_METADATA),this.reflectInjectables(v,g,e.PIPES_METADATA),this.reflectParamInjectables(v,g,e.ROUTE_ARGS_METADATA))}reflectExports(v,g){[...this.reflectMetadata(e.MODULE_METADATA.EXPORTS,v),...this.container.getDynamicMetadataByToken(g,e.MODULE_METADATA.EXPORTS)].forEach(b=>this.insertExportedProviderOrModule(b,g))}reflectInjectables(v,g,_){const b=this.reflectMetadata(_,v),y=this.metadataScanner.getAllMethodNames(v.prototype).reduce((E,x)=>{const O=this.reflectKeyMetadata(v,_,x);return O&&E.push(O),E},[]);b.forEach(E=>this.insertInjectable(E,g,v,e.ENHANCER_KEY_TO_SUBTYPE_MAP[_])),y.forEach(E=>{E.metadata.forEach(x=>this.insertInjectable(x,g,v,e.ENHANCER_KEY_TO_SUBTYPE_MAP[_],E.methodKey))})}reflectParamInjectables(v,g,_){this.metadataScanner.getAllMethodNames(v.prototype).forEach(y=>{const E=Reflect.getMetadata(_,v,y);if(!E)return;Object.values(E).map(O=>O.pipes).flat(1).forEach(O=>this.insertInjectable(O,g,v,"pipe",y))})}reflectKeyMetadata(v,g,_){let b=v.prototype;do{const y=Reflect.getOwnPropertyDescriptor(b,_);if(!y)continue;const E=Reflect.getMetadata(g,y.value);return E?{methodKey:_,metadata:E}:void 0}while((b=Reflect.getPrototypeOf(b))&&b!==Object.prototype&&b)}calculateModulesDistance(){const v=this.container.getModules().values();v.next();const g=v.next().value;if(!g)return;new d.TopologyTree(g).walk((b,y)=>{b.isGlobal||(b.distance=y)})}async insertImport(v,g,_){if((0,r.isUndefined)(v))throw new s.CircularDependencyException(_);if(this.isForwardReference(v))return this.container.addImport(v.forwardRef(),g);await this.container.addImport(v,g)}isCustomProvider(v){return v&&!(0,r.isNil)(v.provide)}insertProvider(v,g){if(!this.isCustomProvider(v))return this.container.addProvider(v,g);const b=this.getApplyProvidersMap(),y=Object.keys(b),E=v.provide;if(!y.includes(E))return this.container.addProvider(v,g);const x=f.UuidFactory.get(E.toString()),O=`${E} (UUID: ${x})`;let S=v.scope;(0,r.isNil)(S)&&v.useClass&&(S=(0,p.getClassScope)(v.useClass)),this.applicationProvidersApplyMap.push({type:E,moduleKey:g,providerKey:O,scope:S});const w={...v,provide:O,scope:S},T=n.ENHANCER_TOKEN_TO_SUBTYPE_MAP[E],R=w;if(this.isRequestOrTransient(R.scope))return this.container.addInjectable(w,g,T);this.container.addProvider(w,g,T)}insertInjectable(v,g,_,b,y){if((0,r.isFunction)(v)){const E=this.container.addInjectable(v,g,b,_);return this.graphInspector.insertEnhancerMetadataCache({moduleToken:g,classRef:_,enhancerInstanceWrapper:E,targetNodeId:E.id,subtype:b,methodKey:y}),E}else this.graphInspector.insertEnhancerMetadataCache({moduleToken:g,classRef:_,enhancerRef:v,methodKey:y,subtype:b})}insertExportedProviderOrModule(v,g){const _=this.isForwardReference(v)?v.forwardRef():v;this.container.addExportedProviderOrModule(_,g)}insertController(v,g){this.container.addController(v,g)}insertOrOverrideModule(v,g,_){const b=this.getOverrideModuleByModule(v,g);return b!==void 0?this.overrideModule(v,b.newModule,_):this.insertModule(v,_)}getOverrideModuleByModule(v,g){return this.isForwardReference(v)?g.find(_=>_.moduleToReplace===v.forwardRef()||_.moduleToReplace.forwardRef?.()===v.forwardRef()):g.find(_=>_.moduleToReplace===v)}async overrideModule(v,g,_){return this.container.replaceModule(this.isForwardReference(v)?v.forwardRef():v,this.isForwardReference(g)?g.forwardRef():g,_)}reflectMetadata(v,g){return Reflect.getMetadata(v,g)||[]}async registerCoreModule(v){const g=l.InternalCoreModuleFactory.create(this.container,this,this.container.getModuleCompiler(),this.container.getHttpAdapterHostRef(),this.graphInspector,v),[_]=await this.scanForModules({moduleDefinition:g,overrides:v});this.container.registerCoreModuleRef(_)}addScopedEnhancersMetadata(){(0,i.iterate)(this.applicationProvidersApplyMap).filter(v=>this.isRequestOrTransient(v.scope)).forEach(({moduleKey:v,providerKey:g})=>{const _=this.container.getModules(),{injectables:b}=_.get(v),y=b.get(g),E=_.values();(0,i.iterate)(E).map(x=>Array.from(x.controllers.values()).concat(x.entryProviders)).flatten().forEach(x=>x.addEnhancerMetadata(y))})}applyApplicationProviders(){const v=this.getApplyProvidersMap(),g=this.getApplyRequestProvidersMap(),_=(b,y,E)=>this.container.getModules().get(b)[E].get(y);this.applicationProvidersApplyMap.forEach(({moduleKey:b,providerKey:y,type:E,scope:x})=>{let O;if(this.isRequestOrTransient(x))return O=_(b,y,"injectables"),this.graphInspector.insertAttachedEnhancer(O),g[E](O);O=_(b,y,"providers"),this.graphInspector.insertAttachedEnhancer(O),v[E](O.instance)})}getApplyProvidersMap(){return{[n.APP_INTERCEPTOR]:v=>this.applicationConfig.addGlobalInterceptor(v),[n.APP_PIPE]:v=>this.applicationConfig.addGlobalPipe(v),[n.APP_GUARD]:v=>this.applicationConfig.addGlobalGuard(v),[n.APP_FILTER]:v=>this.applicationConfig.addGlobalFilter(v)}}getApplyRequestProvidersMap(){return{[n.APP_INTERCEPTOR]:v=>this.applicationConfig.addGlobalRequestInterceptor(v),[n.APP_PIPE]:v=>this.applicationConfig.addGlobalRequestPipe(v),[n.APP_GUARD]:v=>this.applicationConfig.addGlobalRequestGuard(v),[n.APP_FILTER]:v=>this.applicationConfig.addGlobalRequestFilter(v)}}isDynamicModule(v){return v&&!!v.module}isInjectable(v){return!!Reflect.getMetadata(e.INJECTABLE_WATERMARK,v)}isController(v){return!!Reflect.getMetadata(e.CONTROLLER_WATERMARK,v)}isExceptionFilter(v){return!!Reflect.getMetadata(e.CATCH_WATERMARK,v)}isForwardReference(v){return v&&!!v.forwardRef}isRequestOrTransient(v){return v===t.Scope.REQUEST||v===t.Scope.TRANSIENT}}return Lu.DependenciesScanner=h,Lu}var Zm={},Km={},Wu={},Ym={exports:{}};var Xm,$R;function NN(){if($R)return Xm;$R=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function o(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var s={},a=0;a<10;a++)s["_"+String.fromCharCode(a)]=a;var c=Object.getOwnPropertyNames(s).map(function(p){return s[p]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(p){u[p]=p}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Xm=o()?Object.assign:function(n,s){for(var a,c=i(n),u,p=1;p<arguments.length;p++){a=Object(arguments[p]);for(var l in a)t.call(a,l)&&(c[l]=a[l]);if(e){u=e(a);for(var d=0;d<u.length;d++)r.call(a,u[d])&&(c[u[d]]=a[u[d]])}}return c},Xm}var Ud={exports:{}};var eM;function gZ(){if(eM)return Ud.exports;eM=1,Ud.exports=i,Ud.exports.append=t;var e=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function t(o,n){if(typeof o!="string")throw new TypeError("header argument is required");if(!n)throw new TypeError("field argument is required");for(var s=Array.isArray(n)?n:r(String(n)),a=0;a<s.length;a++)if(!e.test(s[a]))throw new TypeError("field argument contains an invalid header name");if(o==="*")return o;var c=o,u=r(o.toLowerCase());if(s.indexOf("*")!==-1||u.indexOf("*")!==-1)return"*";for(var p=0;p<s.length;p++){var l=s[p].toLowerCase();u.indexOf(l)===-1&&(u.push(l),c=c?c+", "+s[p]:s[p])}return c}function r(o){for(var n=0,s=[],a=0,c=0,u=o.length;c<u;c++)switch(o.charCodeAt(c)){case 32:a===n&&(a=n=c+1);break;case 44:s.push(o.substring(a,n)),a=n=c+1;break;default:n=c+1;break}return s.push(o.substring(a,n)),s}function i(o,n){if(!o||!o.getHeader||!o.setHeader)throw new TypeError("res argument is required");var s=o.getHeader("Vary")||"",a=Array.isArray(s)?s.join(", "):String(s);(s=t(a,n))&&o.setHeader("Vary",s)}return Ud.exports}var tM;function bZ(){return tM||(tM=1,(function(){var e=NN(),t=gZ(),r={origin:"*",methods:"GET,HEAD,PUT,PATCH,POST,DELETE",preflightContinue:!1,optionsSuccessStatus:204};function i(h){return typeof h=="string"||h instanceof String}function o(h,m){if(Array.isArray(m)){for(var v=0;v<m.length;++v)if(o(h,m[v]))return!0;return!1}else return i(m)?h===m:m instanceof RegExp?m.test(h):!!m}function n(h,m){var v=m.headers.origin,g=[],_;return!h.origin||h.origin==="*"?g.push([{key:"Access-Control-Allow-Origin",value:"*"}]):i(h.origin)?(g.push([{key:"Access-Control-Allow-Origin",value:h.origin}]),g.push([{key:"Vary",value:"Origin"}])):(_=o(v,h.origin),g.push([{key:"Access-Control-Allow-Origin",value:_?v:!1}]),g.push([{key:"Vary",value:"Origin"}])),g}function s(h){var m=h.methods;return m.join&&(m=h.methods.join(",")),{key:"Access-Control-Allow-Methods",value:m}}function a(h){return h.credentials===!0?{key:"Access-Control-Allow-Credentials",value:"true"}:null}function c(h,m){var v=h.allowedHeaders||h.headers,g=[];return v?v.join&&(v=v.join(",")):(v=m.headers["access-control-request-headers"],g.push([{key:"Vary",value:"Access-Control-Request-Headers"}])),v&&v.length&&g.push([{key:"Access-Control-Allow-Headers",value:v}]),g}function u(h){var m=h.exposedHeaders;if(m)m.join&&(m=m.join(","));else return null;return m&&m.length?{key:"Access-Control-Expose-Headers",value:m}:null}function p(h){var m=(typeof h.maxAge=="number"||h.maxAge)&&h.maxAge.toString();return m&&m.length?{key:"Access-Control-Max-Age",value:m}:null}function l(h,m){for(var v=0,g=h.length;v<g;v++){var _=h[v];_&&(Array.isArray(_)?l(_,m):_.key==="Vary"&&_.value?t(m,_.value):_.value&&m.setHeader(_.key,_.value))}}function d(h,m,v,g){var _=[],b=m.method&&m.method.toUpperCase&&m.method.toUpperCase();b==="OPTIONS"?(_.push(n(h,m)),_.push(a(h)),_.push(s(h)),_.push(c(h,m)),_.push(p(h)),_.push(u(h)),l(_,v),h.preflightContinue?g():(v.statusCode=h.optionsSuccessStatus,v.setHeader("Content-Length","0"),v.end())):(_.push(n(h,m)),_.push(a(h)),_.push(u(h)),l(_,v),g())}function f(h){var m=null;return typeof h=="function"?m=h:m=function(v,g){g(null,h)},function(g,_,b){m(g,function(y,E){if(y)b(y);else{var x=e({},r,E),O=null;x.origin&&typeof x.origin=="function"?O=x.origin:x.origin&&(O=function(S,w){w(null,x.origin)}),O?O(g.headers.origin,function(S,w){S||!w?b(S):(x.origin=w,d(x,g,_,b))}):b()}})}}Ym.exports=f})()),Ym.exports}var zd={},rM;function yZ(){if(rM)return zd;rM=1,Object.defineProperty(zd,"__esModule",{value:!0}),zd.getBodyParserOptions=t;const e=(r,i,o)=>(Buffer.isBuffer(o)&&(r.rawBody=o),!0);function t(r,i){let o=i||{};return r===!0&&(o={...o,verify:e}),o}return zd}var nM;function EZ(){if(nM)return Wu;nM=1,Object.defineProperty(Wu,"__esModule",{value:!0}),Wu.ExpressAdapter=void 0;const e=ve(),t=ne(),r=Jq(),i=RN(),o=EN(),n=bZ(),s=eD,a=tD,c=rD,u=xb(),p=yZ();class l extends r.AbstractHttpAdapter{constructor(f){super(f||s()),this.routerMethodFactory=new i.RouterMethodFactory,this.logger=new e.Logger(l.name),this.openConnections=new Set,this.instance.use((h,m,v)=>{this.onResponseHook&&m.on("finish",()=>{this.onResponseHook.apply(this,[h,m])}),this.onRequestHook?this.onRequestHook.apply(this,[h,m,v]):v()})}setOnRequestHook(f){this.onRequestHook=f}setOnResponseHook(f){this.onResponseHook=f}reply(f,h,m){if(m&&f.status(m),(0,t.isNil)(h))return f.send();if(h instanceof e.StreamableFile){const g=h.getHeaders();f.getHeader("Content-Type")===void 0&&g.type!==void 0&&f.setHeader("Content-Type",g.type),f.getHeader("Content-Disposition")===void 0&&g.disposition!==void 0&&f.setHeader("Content-Disposition",g.disposition),f.getHeader("Content-Length")===void 0&&g.length!==void 0&&f.setHeader("Content-Length",g.length);const _=h.getStream();return _.once("error",b=>{h.errorHandler(b,f)}),_.pipe(f).on("error",b=>h.errorLogger(b))}const v=f.getHeader("Content-Type");return typeof v=="string"&&!v.startsWith("application/json")&&h?.statusCode>=e.HttpStatus.BAD_REQUEST&&(this.logger.warn("Content-Type doesn't match Reply body, you might need a custom ExceptionFilter for non-JSON responses"),f.setHeader("Content-Type","application/json")),(0,t.isObject)(h)?f.json(h):f.send(String(h))}status(f,h){return f.status(h)}end(f,h){return f.end(h)}render(f,h,m){return f.render(h,m)}redirect(f,h,m){return f.redirect(h,m)}setErrorHandler(f,h){return this.use(f)}setNotFoundHandler(f,h){return this.use(f)}isHeadersSent(f){return f.headersSent}getHeader(f,h){return f.get(h)}setHeader(f,h,m){return f.set(h,m)}appendHeader(f,h,m){return f.append(h,m)}normalizePath(f){try{const h=o.LegacyRouteConverter.tryConvert(f);return(0,u.pathToRegexp)(h),h}catch(h){throw h instanceof TypeError&&o.LegacyRouteConverter.printError(f),h}}listen(f,...h){return this.httpServer.listen(f,...h)}close(){if(this.closeOpenConnections(),!!this.httpServer)return new Promise(f=>this.httpServer.close(f))}set(...f){return this.instance.set(...f)}enable(...f){return this.instance.enable(...f)}disable(...f){return this.instance.disable(...f)}engine(...f){return this.instance.engine(...f)}useStaticAssets(f,h){return h&&h.prefix?this.use(h.prefix,s.static(f,h)):this.use(s.static(f,h))}setBaseViewsDir(f){return this.set("views",f)}setViewEngine(f){return this.set("view engine",f)}getRequestHostname(f){return f.hostname}getRequestMethod(f){return f.method}getRequestUrl(f){return f.originalUrl}enableCors(f){return this.use(n(f))}createMiddlewareFactory(f){return(h,m)=>{try{const v=o.LegacyRouteConverter.tryConvert(h);return this.routerMethodFactory.get(this.instance,f).call(this.instance,v,m)}catch(v){throw v instanceof TypeError&&o.LegacyRouteConverter.printError(h),v}}}initHttpServer(f){f&&f.httpsOptions?this.httpServer=c.createServer(f.httpsOptions,this.getInstance()):this.httpServer=a.createServer(this.getInstance()),f?.forceCloseConnections&&this.trackOpenConnections()}registerParserMiddleware(f,h){const m=(0,p.getBodyParserOptions)(h),v=(0,p.getBodyParserOptions)(h,{extended:!0}),g={jsonParser:s.json(m),urlencodedParser:s.urlencoded(v)};Object.keys(g).filter(_=>!this.isMiddlewareApplied(_)).forEach(_=>this.use(g[_]))}useBodyParser(f,h,m){const v=(0,p.getBodyParserOptions)(h,m),g=s[f](v);return this.use(g),this}setLocal(f,h){return this.instance.locals[f]=h,this}getType(){return"express"}applyVersionFilter(f,h,m){const v=(g,_,b)=>{if(!b)throw new e.InternalServerErrorException("HTTP adapter does not support filtering on version");return b()};if(h===e.VERSION_NEUTRAL||m.type===e.VersioningType.URI)return(_,b,y)=>f(_,b,y);if(m.type===e.VersioningType.CUSTOM)return(_,b,y)=>{const E=m.extractor(_);if(Array.isArray(h)){if(Array.isArray(E)&&h.filter(x=>E.includes(x)).length||(0,t.isString)(E)&&h.includes(E))return f(_,b,y)}else if((0,t.isString)(h)&&(Array.isArray(E)&&E.includes(h)||(0,t.isString)(E)&&h===E))return f(_,b,y);return v(_,b,y)};if(m.type===e.VersioningType.MEDIA_TYPE)return(_,b,y)=>{const E="Accept",x=_.headers?.[E]||_.headers?.[E.toLowerCase()],O=x?x.split(";")[1]:void 0;if((0,t.isUndefined)(O)){if(Array.isArray(h)&&h.includes(e.VERSION_NEUTRAL))return f(_,b,y)}else{const S=O.split(m.key)[1];if(Array.isArray(h)){if(h.includes(S))return f(_,b,y)}else if((0,t.isString)(h)&&h===S)return f(_,b,y)}return v(_,b,y)};if(m.type===e.VersioningType.HEADER)return(_,b,y)=>{const E=_.headers?.[m.header]||_.headers?.[m.header.toLowerCase()];if((0,t.isUndefined)(E)){if(Array.isArray(h)&&h.includes(e.VERSION_NEUTRAL))return f(_,b,y)}else if(Array.isArray(h)){if(h.includes(E))return f(_,b,y)}else if((0,t.isString)(h)&&h===E)return f(_,b,y);return v(_,b,y)};throw new Error("Unsupported versioning options")}trackOpenConnections(){this.httpServer.on("connection",f=>{this.openConnections.add(f),f.on("close",()=>this.openConnections.delete(f))})}closeOpenConnections(){for(const f of this.openConnections)f.destroy(),this.openConnections.delete(f)}isMiddlewareApplied(f){const h=this.getInstance();return!!h.router&&!!h.router.stack&&(0,t.isFunction)(h.router.stack.filter)&&h.router.stack.some(m=>m&&m.handle&&m.handle.name===f)}}return Wu.ExpressAdapter=l,Wu}var iM;function xZ(){return iM||(iM=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(EZ(),e)})(Km)),Km}var Qm={},Jm={},aM;function OZ(){return aM||(aM=1,Object.defineProperty(Jm,"__esModule",{value:!0})),Jm}var $m={},oM;function wZ(){return oM||(oM=1,Object.defineProperty($m,"__esModule",{value:!0})),$m}var sM;function SZ(){return sM||(sM=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(OZ(),e),t.__exportStar(wZ(),e)})(Qm)),Qm}var e_={},t_={},Bd={},Qn={exports:{}},an={exports:{}},Hd={};var cM;function PZ(){if(cM)return Hd;cM=1;var e=/; *([!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) *= *("(?:[ !\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u0020-\u007e])*"|[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) */g,t=/^[\u0020-\u007e\u0080-\u00ff]+$/,r=/^[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+$/,i=/\\([\u0000-\u007f])/g,o=/([\\"])/g,n=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,s=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,a=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;Hd.format=c,Hd.parse=u;function c(f){if(!f||typeof f!="object")throw new TypeError("argument obj is required");var h=f.parameters,m=f.subtype,v=f.suffix,g=f.type;if(!g||!s.test(g))throw new TypeError("invalid type");if(!m||!n.test(m))throw new TypeError("invalid subtype");var _=g+"/"+m;if(v){if(!s.test(v))throw new TypeError("invalid suffix");_+="+"+v}if(h&&typeof h=="object")for(var b,y=Object.keys(h).sort(),E=0;E<y.length;E++){if(b=y[E],!r.test(b))throw new TypeError("invalid parameter name");_+="; "+b+"="+l(h[b])}return _}function u(f){if(!f)throw new TypeError("argument string is required");if(typeof f=="object"&&(f=p(f)),typeof f!="string")throw new TypeError("argument string is required to be a string");var h=f.indexOf(";"),m=h!==-1?f.substr(0,h):f,v,g,_=d(m),b={},y;for(e.lastIndex=h;g=e.exec(f);){if(g.index!==h)throw new TypeError("invalid parameter format");h+=g[0].length,v=g[1].toLowerCase(),y=g[2],y[0]==='"'&&(y=y.substr(1,y.length-2).replace(i,"$1")),b[v]=y}if(h!==-1&&h!==f.length)throw new TypeError("invalid parameter format");return _.parameters=b,_}function p(f){if(typeof f.getHeader=="function")return f.getHeader("content-type");if(typeof f.headers=="object")return f.headers&&f.headers["content-type"]}function l(f){var h=String(f);if(r.test(h))return h;if(h.length>0&&!t.test(h))throw new TypeError("invalid parameter value");return'"'+h.replace(o,"\\$1")+'"'}function d(f){var h=a.exec(f.toLowerCase());if(!h)throw new TypeError("invalid media type");var m=h[1],v=h[2],g,_=v.lastIndexOf("+");_!==-1&&(g=v.substr(_+1),v=v.substr(0,_));var b={type:m,subtype:v,suffix:g};return b}return Hd}var r_={};const TZ={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};var n_,uM;function AZ(){return uM||(uM=1,n_=TZ),n_}var lM;function RZ(){return lM||(lM=1,(function(e){var t=AZ(),r=Yt.extname,i=/^\s*([^;\s]*)(?:;|\s|$)/,o=/^text\//i;e.charset=n,e.charsets={lookup:n},e.contentType=s,e.extension=a,e.extensions=Object.create(null),e.lookup=c,e.types=Object.create(null),u(e.extensions,e.types);function n(p){if(!p||typeof p!="string")return!1;var l=i.exec(p),d=l&&t[l[1].toLowerCase()];return d&&d.charset?d.charset:l&&o.test(l[1])?"UTF-8":!1}function s(p){if(!p||typeof p!="string")return!1;var l=p.indexOf("/")===-1?e.lookup(p):p;if(!l)return!1;if(l.indexOf("charset")===-1){var d=e.charset(l);d&&(l+="; charset="+d.toLowerCase())}return l}function a(p){if(!p||typeof p!="string")return!1;var l=i.exec(p),d=l&&e.extensions[l[1].toLowerCase()];return!d||!d.length?!1:d[0]}function c(p){if(!p||typeof p!="string")return!1;var l=r("x."+p).toLowerCase().substr(1);return l&&e.types[l]||!1}function u(p,l){var d=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(h){var m=t[h],v=m.extensions;if(!(!v||!v.length)){p[h]=v;for(var g=0;g<v.length;g++){var _=v[g];if(l[_]){var b=d.indexOf(t[l[_]].source),y=d.indexOf(m.source);if(l[_]!=="application/octet-stream"&&(b>y||b===y&&l[_].substr(0,12)==="application/"))continue}l[_]=h}}})}})(r_)),r_}var dM;function MZ(){if(dM)return an.exports;dM=1;var e=PZ(),t=RZ();an.exports=o,an.exports.is=r,an.exports.hasBody=i,an.exports.normalize=n,an.exports.match=s;function r(u,p){var l,d=p,f=c(u);if(!f)return!1;if(d&&!Array.isArray(d))for(d=new Array(arguments.length-1),l=0;l<d.length;l++)d[l]=arguments[l+1];if(!d||!d.length)return f;var h;for(l=0;l<d.length;l++)if(s(n(h=d[l]),f))return h[0]==="+"||h.indexOf("*")!==-1?f:h;return!1}function i(u){return u.headers["transfer-encoding"]!==void 0||!isNaN(u.headers["content-length"])}function o(u,p){var l=p;if(!i(u))return null;if(arguments.length>2){l=new Array(arguments.length-1);for(var d=0;d<l.length;d++)l[d]=arguments[d+1]}var f=u.headers["content-type"];return r(f,l)}function n(u){if(typeof u!="string")return!1;switch(u){case"urlencoded":return"application/x-www-form-urlencoded";case"multipart":return"multipart/*"}return u[0]==="+"?"*/*"+u:u.indexOf("/")===-1?t.lookup(u):u}function s(u,p){if(u===!1)return!1;var l=p.split("/"),d=u.split("/");return l.length!==2||d.length!==2||d[0]!=="*"&&d[0]!==l[0]?!1:d[1].substr(0,2)==="*+"?d[1].length<=l[1].length+1&&d[1].substr(1)===l[1].substr(1-d[1].length):!(d[1]!=="*"&&d[1]!==l[1])}function a(u){var p=e.parse(u);return p.parameters=void 0,e.format(p)}function c(u){if(!u)return null;try{return a(u)}catch{return null}}return an.exports}var i_,pM;function Tb(){if(pM)return i_;pM=1;function e(f){if(f.length===0)return;const h=Object.create(null);let m=0;for(;m<f.length;++m){const b=f.charCodeAt(m);if(c[b]!==1){if(b!==47||m===0)return;break}}if(m===f.length)return;const v=f.slice(0,m).toLowerCase(),g=++m;for(;m<f.length;++m){const b=f.charCodeAt(m);if(c[b]!==1){if(m===g||t(f,m,h)===void 0)return;break}}if(m===g)return;const _=f.slice(g,m).toLowerCase();return{type:v,subtype:_,params:h}}function t(f,h,m){for(;h<f.length;){for(;h<f.length;++h){const y=f.charCodeAt(h);if(y!==32&&y!==9)break}if(h===f.length)break;if(f.charCodeAt(h++)!==59)return;for(;h<f.length;++h){const y=f.charCodeAt(h);if(y!==32&&y!==9)break}if(h===f.length)return;let v;const g=h;for(;h<f.length;++h){const y=f.charCodeAt(h);if(c[y]!==1){if(y!==61)return;break}}if(h===f.length||(v=f.slice(g,h),++h,h===f.length))return;let _="",b;if(f.charCodeAt(h)===34){b=++h;let y=!1;for(;h<f.length;++h){const E=f.charCodeAt(h);if(E===92){y?(b=h,y=!1):(_+=f.slice(b,h),y=!0);continue}if(E===34){if(y){b=h,y=!1;continue}_+=f.slice(b,h);break}if(y&&(b=h-1,y=!1),u[E]!==1)return}if(h===f.length)return;++h}else{for(b=h;h<f.length;++h){const y=f.charCodeAt(h);if(c[y]!==1){if(h===b)return;break}}_=f.slice(b,h)}v=v.toLowerCase(),m[v]===void 0&&(m[v]=_)}return m}function r(f,h){if(f.length===0)return;const m=Object.create(null);let v=0;for(;v<f.length;++v){const _=f.charCodeAt(v);if(c[_]!==1){if(i(f,v,m,h)===void 0)return;break}}return{type:f.slice(0,v).toLowerCase(),params:m}}function i(f,h,m,v){for(;h<f.length;){for(;h<f.length;++h){const x=f.charCodeAt(h);if(x!==32&&x!==9)break}if(h===f.length)break;if(f.charCodeAt(h++)!==59)return;for(;h<f.length;++h){const x=f.charCodeAt(h);if(x!==32&&x!==9)break}if(h===f.length)return;let g;const _=h;for(;h<f.length;++h){const x=f.charCodeAt(h);if(c[x]!==1){if(x===61)break;return}}if(h===f.length)return;let b="",y,E;if(g=f.slice(_,h),g.charCodeAt(g.length-1)===42){const x=++h;for(;h<f.length;++h){const S=f.charCodeAt(h);if(p[S]!==1){if(S!==39)return;break}}if(h===f.length)return;for(E=f.slice(x,h),++h;h<f.length&&f.charCodeAt(h)!==39;++h);if(h===f.length||(++h,h===f.length))return;y=h;let O=0;for(;h<f.length;++h){const S=f.charCodeAt(h);if(l[S]!==1){if(S===37){let w,T;if(h+2<f.length&&(w=d[f.charCodeAt(h+1)])!==-1&&(T=d[f.charCodeAt(h+2)])!==-1){const R=(w<<4)+T;b+=f.slice(y,h),b+=String.fromCharCode(R),h+=2,y=h+1,R>=128?O=2:O===0&&(O=1);continue}return}break}}if(b+=f.slice(y,h),b=s(b,E,O),b===void 0)return}else{if(++h,h===f.length)return;if(f.charCodeAt(h)===34){y=++h;let x=!1;for(;h<f.length;++h){const O=f.charCodeAt(h);if(O===92){x?(y=h,x=!1):(b+=f.slice(y,h),x=!0);continue}if(O===34){if(x){y=h,x=!1;continue}b+=f.slice(y,h);break}if(x&&(y=h-1,x=!1),u[O]!==1)return}if(h===f.length)return;++h}else{for(y=h;h<f.length;++h){const x=f.charCodeAt(h);if(c[x]!==1){if(h===y)return;break}}b=f.slice(y,h)}if(b=v(b,2),b===void 0)return}g=g.toLowerCase(),m[g]===void 0&&(m[g]=b)}return m}function o(f){let h;for(;;)switch(f){case"utf-8":case"utf8":return n.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return n.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return n.utf16le;case"base64":return n.base64;default:if(h===void 0){h=!0,f=f.toLowerCase();continue}return n.other.bind(f)}}const n={utf8:(f,h)=>{if(f.length===0)return"";if(typeof f=="string"){if(h<2)return f;f=Buffer.from(f,"latin1")}return f.utf8Slice(0,f.length)},latin1:(f,h)=>f.length===0?"":typeof f=="string"?f:f.latin1Slice(0,f.length),utf16le:(f,h)=>f.length===0?"":(typeof f=="string"&&(f=Buffer.from(f,"latin1")),f.ucs2Slice(0,f.length)),base64:(f,h)=>f.length===0?"":(typeof f=="string"&&(f=Buffer.from(f,"latin1")),f.base64Slice(0,f.length)),other:(f,h)=>{if(f.length===0)return"";typeof f=="string"&&(f=Buffer.from(f,"latin1"));try{return new TextDecoder(this).decode(f)}catch{}}};function s(f,h,m){const v=o(h);if(v)return v(f,m)}function a(f){if(typeof f!="string")return"";for(let h=f.length-1;h>=0;--h)switch(f.charCodeAt(h)){case 47:case 92:return f=f.slice(h+1),f===".."||f==="."?"":f}return f===".."||f==="."?"":f}const c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],u=[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,0,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];return i_={basename:a,convertToUTF8:s,getDecoder:o,parseContentType:e,parseDisposition:r},i_}var a_,fM;function IZ(){if(fM)return a_;fM=1;function e(o,n,s,a,c){for(let u=0;u<c;++u)if(o[n+u]!==s[a+u])return!1;return!0}class t{constructor(n,s){if(typeof s!="function")throw new Error("Missing match callback");if(typeof n=="string")n=Buffer.from(n);else if(!Buffer.isBuffer(n))throw new Error(`Expected Buffer for needle, got ${typeof n}`);const a=n.length;if(this.maxMatches=1/0,this.matches=0,this._cb=s,this._lookbehindSize=0,this._needle=n,this._bufPos=0,this._lookbehind=Buffer.allocUnsafe(a),this._occ=[a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a],a>1)for(let c=0;c<a-1;++c)this._occ[n[c]]=a-1-c}reset(){this.matches=0,this._lookbehindSize=0,this._bufPos=0}push(n,s){let a;Buffer.isBuffer(n)||(n=Buffer.from(n,"latin1"));const c=n.length;for(this._bufPos=s||0;a!==c&&this.matches<this.maxMatches;)a=r(this,n);return a}destroy(){const n=this._lookbehindSize;n&&this._cb(!1,this._lookbehind,0,n,!1),this.reset()}}function r(o,n){const s=n.length,a=o._needle,c=a.length;let u=-o._lookbehindSize;const p=c-1,l=a[p],d=s-c,f=o._occ,h=o._lookbehind;if(u<0){for(;u<0&&u<=d;){const v=u+p,g=v<0?h[o._lookbehindSize+v]:n[v];if(g===l&&i(o,n,u,p))return o._lookbehindSize=0,++o.matches,u>-o._lookbehindSize?o._cb(!0,h,0,o._lookbehindSize+u,!1):o._cb(!0,void 0,0,0,!0),o._bufPos=u+c;u+=f[g]}for(;u<0&&!i(o,n,u,s-u);)++u;if(u<0){const v=o._lookbehindSize+u;return v>0&&o._cb(!1,h,0,v,!1),o._lookbehindSize-=v,h.copy(h,0,v,o._lookbehindSize),h.set(n,o._lookbehindSize),o._lookbehindSize+=s,o._bufPos=s,s}o._cb(!1,h,0,o._lookbehindSize,!1),o._lookbehindSize=0}u+=o._bufPos;const m=a[0];for(;u<=d;){const v=n[u+p];if(v===l&&n[u]===m&&e(a,0,n,u,p))return++o.matches,u>0?o._cb(!0,n,o._bufPos,u,!0):o._cb(!0,void 0,0,0,!0),o._bufPos=u+c;u+=f[v]}for(;u<s;){if(n[u]!==m||!e(n,u,a,0,s-u)){++u;continue}n.copy(h,0,u,s),o._lookbehindSize=s-u;break}return u>0&&o._cb(!1,n,o._bufPos,u<s?u:s,!0),o._bufPos=s,s}function i(o,n,s,a){const c=o._lookbehind,u=o._lookbehindSize,p=o._needle;for(let l=0;l<a;++l,++s)if((s<0?c[u+s]:n[s])!==p[l])return!1;return!0}return a_=t,a_}var o_,hM;function CZ(){if(hM)return o_;hM=1;const{Readable:e,Writable:t}=lp,r=IZ(),{basename:i,convertToUTF8:o,getDecoder:n,parseContentType:s,parseDisposition:a}=Tb(),c=Buffer.from(`\r
149
109
  `),u=Buffer.from("\r"),p=Buffer.from("-");function l(){}const d=2e3,f=16*1024,h=0,m=1,v=2;class g{constructor(P){this.header=Object.create(null),this.pairCount=0,this.byteCount=0,this.state=h,this.name="",this.value="",this.crlf=0,this.cb=P}reset(){this.header=Object.create(null),this.pairCount=0,this.byteCount=0,this.state=h,this.name="",this.value="",this.crlf=0}push(P,N,L){let V=N;for(;N<L;)switch(this.state){case h:{let F=!1;for(;N<L;++N){if(this.byteCount===f)return-1;++this.byteCount;const H=P[N];if(w[H]!==1){if(H!==58||(this.name+=P.latin1Slice(V,N),this.name.length===0))return-1;++N,F=!0,this.state=m;break}}if(!F){this.name+=P.latin1Slice(V,N);break}}case m:{let F=!1;for(;N<L;++N){if(this.byteCount===f)return-1;++this.byteCount;const H=P[N];if(H!==32&&H!==9){V=N,F=!0,this.state=v;break}}if(!F)break}case v:switch(this.crlf){case 0:for(;N<L;++N){if(this.byteCount===f)return-1;++this.byteCount;const F=P[N];if(T[F]!==1){if(F!==13)return-1;++this.crlf;break}}this.value+=P.latin1Slice(V,N++);break;case 1:if(this.byteCount===f||(++this.byteCount,P[N++]!==10))return-1;++this.crlf;break;case 2:{if(this.byteCount===f)return-1;++this.byteCount;const F=P[N];F===32||F===9?(V=N,this.crlf=0):(++this.pairCount<d&&(this.name=this.name.toLowerCase(),this.header[this.name]===void 0?this.header[this.name]=[this.value]:this.header[this.name].push(this.value)),F===13?(++this.crlf,++N):(V=N,this.crlf=0,this.state=h,this.name="",this.value=""));break}case 3:{if(this.byteCount===f||(++this.byteCount,P[N++]!==10))return-1;const F=this.header;return this.reset(),this.cb(F),N}}break}return N}}class _ extends e{constructor(P,N){super(P),this.truncated=!1,this._readcb=null,this.once("end",()=>{if(this._read(),--N._fileEndsLeft===0&&N._finalcb){const L=N._finalcb;N._finalcb=null,process.nextTick(L)}})}_read(P){const N=this._readcb;N&&(this._readcb=null,N())}}const b={push:(R,P)=>{},destroy:()=>{}};function y(R,P){const N=R._writecb;R._writecb=null,N&&N()}function E(R,P){return R}class x extends t{constructor(P){const N={autoDestroy:!0,emitClose:!0,highWaterMark:typeof P.highWaterMark=="number"?P.highWaterMark:void 0};if(super(N),!P.conType.params||typeof P.conType.params.boundary!="string")throw new Error("Multipart: Boundary not found");const L=P.conType.params.boundary,V=typeof P.defParamCharset=="string"&&P.defParamCharset?n(P.defParamCharset):E,F=P.defCharset||"utf8",H=P.preservePath,X={autoDestroy:!0,emitClose:!0,highWaterMark:typeof P.fileHwm=="number"?P.fileHwm:void 0},te=P.limits,U=te&&typeof te.fieldSize=="number"?te.fieldSize:1*1024*1024,re=te&&typeof te.fileSize=="number"?te.fileSize:1/0,j=te&&typeof te.files=="number"?te.files:1/0,q=te&&typeof te.fields=="number"?te.fields:1/0,D=te&&typeof te.parts=="number"?te.parts:1/0;let z=-1,M=0,C=0,k=!1;this._fileEndsLeft=0,this._fileStream=void 0,this._complete=!1;let K=0,$,A=0,I,W,Q,oe,J=!1,le=!1,_e=!1;this._hparser=null;const ye=new g(Ee=>{this._hparser=null,k=!1,Q="text/plain",I=F,W="7bit",oe=void 0,J=!1;let Te;if(!Ee["content-disposition"]){k=!0;return}const me=a(Ee["content-disposition"][0],V);if(!me||me.type!=="form-data"){k=!0;return}if(me.params&&(me.params.name&&(oe=me.params.name),me.params["filename*"]?Te=me.params["filename*"]:me.params.filename&&(Te=me.params.filename),Te!==void 0&&!H&&(Te=i(Te))),Ee["content-type"]){const je=s(Ee["content-type"][0]);je&&(Q=`${je.type}/${je.subtype}`,je.params&&typeof je.params.charset=="string"&&(I=je.params.charset.toLowerCase()))}if(Ee["content-transfer-encoding"]&&(W=Ee["content-transfer-encoding"][0].toLowerCase()),Q==="application/octet-stream"||Te!==void 0){if(C===j){le||(le=!0,this.emit("filesLimit")),k=!0;return}if(++C,this.listenerCount("file")===0){k=!0;return}K=0,this._fileStream=new _(X,this),++this._fileEndsLeft,this.emit("file",oe,this._fileStream,{filename:Te,encoding:W,mimeType:Q})}else{if(M===q){_e||(_e=!0,this.emit("fieldsLimit")),k=!0;return}if(++M,this.listenerCount("field")===0){k=!0;return}$=[],A=0}});let Pe=0;const Re=(Ee,Te,me,je,Ke)=>{e:for(;Te;){if(this._hparser!==null){const be=this._hparser.push(Te,me,je);if(be===-1){this._hparser=null,ye.reset(),this.emit("error",new Error("Malformed part header"));break}me=be}if(me===je)break;if(Pe!==0){if(Pe===1){switch(Te[me]){case 45:Pe=2,++me;break;case 13:Pe=3,++me;break;default:Pe=0}if(me===je)return}if(Pe===2){if(Pe=0,Te[me]===45){this._complete=!0,this._bparser=b;return}const be=this._writecb;this._writecb=l,Re(!1,p,0,1,!1),this._writecb=be}else if(Pe===3)if(Pe=0,Te[me]===10){if(++me,z>=D||(this._hparser=ye,me===je))break;continue e}else{const be=this._writecb;this._writecb=l,Re(!1,u,0,1,!1),this._writecb=be}}if(!k){if(this._fileStream){let be;const Ge=Math.min(je-me,re-K);Ke?be=Te.slice(me,me+Ge):(be=Buffer.allocUnsafe(Ge),Te.copy(be,0,me,me+Ge)),K+=be.length,K===re?(be.length>0&&this._fileStream.push(be),this._fileStream.emit("limit"),this._fileStream.truncated=!0,k=!0):this._fileStream.push(be)||(this._writecb&&(this._fileStream._readcb=this._writecb),this._writecb=null)}else if($!==void 0){let be;const Ge=Math.min(je-me,U-A);Ke?be=Te.slice(me,me+Ge):(be=Buffer.allocUnsafe(Ge),Te.copy(be,0,me,me+Ge)),A+=Ge,$.push(be),A===U&&(k=!0,J=!0)}}break}if(Ee){if(Pe=1,this._fileStream)this._fileStream.push(null),this._fileStream=null;else if($!==void 0){let be;switch($.length){case 0:be="";break;case 1:be=o($[0],I,0);break;default:be=o(Buffer.concat($,A),I,0)}$=void 0,A=0,this.emit("field",oe,be,{nameTruncated:!1,valueTruncated:J,encoding:W,mimeType:Q})}++z===D&&this.emit("partsLimit")}};this._bparser=new r(`\r
150
- --${L}`,Re),this._writecb=null,this._finalcb=null,this.write(c)}static detect(P){return P.type==="multipart"&&P.subtype==="form-data"}_write(P,N,L){this._writecb=L,this._bparser.push(P,0),this._writecb&&y(this)}_destroy(P,N){this._hparser=null,this._bparser=b,P||(P=S(this));const L=this._fileStream;L&&(this._fileStream=null,L.destroy(P)),N(P)}_final(P){if(this._bparser.destroy(),!this._complete)return P(new Error("Unexpected end of form"));this._fileEndsLeft?this._finalcb=O.bind(null,this,P):O(this,P)}}function O(R,P,N){if(N)return P(N);N=S(R),P(N)}function S(R){if(R._hparser)return new Error("Malformed part header");const P=R._fileStream;if(P&&(R._fileStream=null,P.destroy(new Error("Unexpected end of file"))),!R._complete)return new Error("Unexpected end of form")}const w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],T=[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];return o_=x,o_}var s_,vM;function jZ(){if(vM)return s_;vM=1;const{Writable:e}=lp,{getDecoder:t}=Tb();class r extends e{constructor(c){const u={autoDestroy:!0,emitClose:!0,highWaterMark:typeof c.highWaterMark=="number"?c.highWaterMark:void 0};super(u);let p=c.defCharset||"utf8";c.conType.params&&typeof c.conType.params.charset=="string"&&(p=c.conType.params.charset),this.charset=p;const l=c.limits;this.fieldSizeLimit=l&&typeof l.fieldSize=="number"?l.fieldSize:1*1024*1024,this.fieldsLimit=l&&typeof l.fields=="number"?l.fields:1/0,this.fieldNameSizeLimit=l&&typeof l.fieldNameSize=="number"?l.fieldNameSize:100,this._inKey=!0,this._keyTrunc=!1,this._valTrunc=!1,this._bytesKey=0,this._bytesVal=0,this._fields=0,this._key="",this._val="",this._byte=-2,this._lastPos=0,this._encode=0,this._decoder=t(p)}static detect(c){return c.type==="application"&&c.subtype==="x-www-form-urlencoded"}_write(c,u,p){if(this._fields>=this.fieldsLimit)return p();let l=0;const d=c.length;if(this._lastPos=0,this._byte!==-2){if(l=i(this,c,l,d),l===-1)return p(new Error("Malformed urlencoded form"));if(l>=d)return p();this._inKey?++this._bytesKey:++this._bytesVal}e:for(;l<d;)if(this._inKey){for(l=o(this,c,l,d);l<d;){switch(c[l]){case 61:this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l)),this._lastPos=++l,this._key=this._decoder(this._key,this._encode),this._encode=0,this._inKey=!1;continue e;case 38:if(this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l)),this._lastPos=++l,this._key=this._decoder(this._key,this._encode),this._encode=0,this._bytesKey>0&&this.emit("field",this._key,"",{nameTruncated:this._keyTrunc,valueTruncated:!1,encoding:this.charset,mimeType:"text/plain"}),this._key="",this._val="",this._keyTrunc=!1,this._valTrunc=!1,this._bytesKey=0,this._bytesVal=0,++this._fields>=this.fieldsLimit)return this.emit("fieldsLimit"),p();continue;case 43:this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l)),this._key+=" ",this._lastPos=l+1;break;case 37:if(this._encode===0&&(this._encode=1),this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l)),this._lastPos=l+1,this._byte=-1,l=i(this,c,l+1,d),l===-1)return p(new Error("Malformed urlencoded form"));if(l>=d)return p();++this._bytesKey,l=o(this,c,l,d);continue}++l,++this._bytesKey,l=o(this,c,l,d)}this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l))}else{for(l=n(this,c,l,d);l<d;){switch(c[l]){case 38:if(this._lastPos<l&&(this._val+=c.latin1Slice(this._lastPos,l)),this._lastPos=++l,this._inKey=!0,this._val=this._decoder(this._val,this._encode),this._encode=0,(this._bytesKey>0||this._bytesVal>0)&&this.emit("field",this._key,this._val,{nameTruncated:this._keyTrunc,valueTruncated:this._valTrunc,encoding:this.charset,mimeType:"text/plain"}),this._key="",this._val="",this._keyTrunc=!1,this._valTrunc=!1,this._bytesKey=0,this._bytesVal=0,++this._fields>=this.fieldsLimit)return this.emit("fieldsLimit"),p();continue e;case 43:this._lastPos<l&&(this._val+=c.latin1Slice(this._lastPos,l)),this._val+=" ",this._lastPos=l+1;break;case 37:if(this._encode===0&&(this._encode=1),this._lastPos<l&&(this._val+=c.latin1Slice(this._lastPos,l)),this._lastPos=l+1,this._byte=-1,l=i(this,c,l+1,d),l===-1)return p(new Error("Malformed urlencoded form"));if(l>=d)return p();++this._bytesVal,l=n(this,c,l,d);continue}++l,++this._bytesVal,l=n(this,c,l,d)}this._lastPos<l&&(this._val+=c.latin1Slice(this._lastPos,l))}p()}_final(c){if(this._byte!==-2)return c(new Error("Malformed urlencoded form"));(!this._inKey||this._bytesKey>0||this._bytesVal>0)&&(this._inKey?this._key=this._decoder(this._key,this._encode):this._val=this._decoder(this._val,this._encode),this.emit("field",this._key,this._val,{nameTruncated:this._keyTrunc,valueTruncated:this._valTrunc,encoding:this.charset,mimeType:"text/plain"})),c()}}function i(a,c,u,p){if(u>=p)return p;if(a._byte===-1){const l=s[c[u++]];if(l===-1)return-1;if(l>=8&&(a._encode=2),u<p){const d=s[c[u++]];if(d===-1)return-1;a._inKey?a._key+=String.fromCharCode((l<<4)+d):a._val+=String.fromCharCode((l<<4)+d),a._byte=-2,a._lastPos=u}else a._byte=l}else{const l=s[c[u++]];if(l===-1)return-1;a._inKey?a._key+=String.fromCharCode((a._byte<<4)+l):a._val+=String.fromCharCode((a._byte<<4)+l),a._byte=-2,a._lastPos=u}return u}function o(a,c,u,p){if(a._bytesKey>a.fieldNameSizeLimit){for(a._keyTrunc||a._lastPos<u&&(a._key+=c.latin1Slice(a._lastPos,u-1)),a._keyTrunc=!0;u<p;++u){const l=c[u];if(l===61||l===38)break;++a._bytesKey}a._lastPos=u}return u}function n(a,c,u,p){if(a._bytesVal>a.fieldSizeLimit){for(a._valTrunc||a._lastPos<u&&(a._val+=c.latin1Slice(a._lastPos,u-1)),a._valTrunc=!0;u<p&&c[u]!==38;++u)++a._bytesVal;a._lastPos=u}return u}const s=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];return s_=r,s_}var c_,mM;function qZ(){if(mM)return c_;mM=1;const{parseContentType:e}=Tb();function t(i){const o=i.headers,n=e(o["content-type"]);if(!n)throw new Error("Malformed content type");for(const s of r){if(!s.detect(n))continue;const c={limits:i.limits,headers:o,conType:n,highWaterMark:void 0,fileHwm:void 0,defCharset:void 0,defParamCharset:void 0,preservePath:!1};return i.highWaterMark&&(c.highWaterMark=i.highWaterMark),i.fileHwm&&(c.fileHwm=i.fileHwm),c.defCharset=i.defCharset,c.defParamCharset=i.defParamCharset,c.preservePath=i.preservePath,new s(c)}throw new Error(`Unsupported content type: ${o["content-type"]}`)}const r=[CZ(),jZ()].filter(function(i){return typeof i.detect=="function"});return c_=i=>{if((typeof i!="object"||i===null)&&(i={}),typeof i.headers!="object"||i.headers===null||typeof i.headers["content-type"]!="string")throw new Error("Missing Content-Type");return t(i)},c_}var u_,_M;function NZ(){if(_M)return u_;_M=1,u_=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},i=0;i<arguments.length;i++){var o=arguments[i];for(var n in o)e.call(o,n)&&(r[n]=o[n])}return r}return u_}var l_,gM;function FZ(){if(gM)return l_;gM=1;var e=/^[^\[]*/,t=/^\[(\d+)\]/,r=/^\[([^\]]+)\]/;function i(o){function n(){return[{type:"object",key:o,last:!0}]}var s=e.exec(o)[0];if(!s)return n();for(var a=o.length,c=s.length,u={type:"object",key:s},p=[u];c<a;){var l;if(o[c]==="["&&o[c+1]==="]"){if(c+=2,u.append=!0,c!==a)return n();continue}if(l=t.exec(o.substring(c)),l!==null){c+=l[0].length,u.nextType="array",u={type:"array",key:parseInt(l[1],10)},p.push(u);continue}if(l=r.exec(o.substring(c)),l!==null){c+=l[0].length,u.nextType="object",u={type:"object",key:l[1]},p.push(u);continue}return n()}return u.last=!0,p}return l_=i,l_}var d_,bM;function DZ(){if(bM)return d_;bM=1;function e(i){return i===void 0?"undefined":Array.isArray(i)?"array":typeof i=="object"?"object":"scalar"}function t(i,o,n,s){switch(e(n)){case"undefined":o.append?i[o.key]=[s]:i[o.key]=s;break;case"array":i[o.key].push(s);break;case"object":return t(n,{key:""},n[""],s);case"scalar":i[o.key]=[i[o.key],s];break}return i}function r(i,o,n,s){if(o.last)return t(i,o,n,s);var a;switch(e(n)){case"undefined":return o.nextType==="array"?i[o.key]=[]:i[o.key]=Object.create(null),i[o.key];case"object":return i[o.key];case"array":return o.nextType==="array"?n:(a=Object.create(null),i[o.key]=a,n.forEach(function(c,u){c!==void 0&&(a[""+u]=c)}),a);case"scalar":return a=Object.create(null),a[""]=n,i[o.key]=a,a}}return d_=r,d_}var p_,yM;function kZ(){if(yM)return p_;yM=1;var e=FZ(),t=DZ();function r(i,o,n){var s=e(o);s.reduce(function(a,c){return t(a,c,a[c.key],n)},i)}return p_=r,p_}var f_,EM;function LZ(){if(EM)return f_;EM=1;var e=og.EventEmitter;function t(){e.call(this),this.value=0}return t.prototype=Object.create(e.prototype),t.prototype.increment=function(){this.value++},t.prototype.decrement=function(){--this.value===0&&this.emit("zero")},t.prototype.isZero=function(){return this.value===0},t.prototype.onceZero=function(i){if(this.isZero())return i();this.once("zero",i)},f_=t,f_}var h_,xM;function FN(){if(xM)return h_;xM=1;var e=si,t={LIMIT_PART_COUNT:"Too many parts",LIMIT_FILE_SIZE:"File too large",LIMIT_FILE_COUNT:"Too many files",LIMIT_FIELD_KEY:"Field name too long",LIMIT_FIELD_VALUE:"Field value too long",LIMIT_FIELD_COUNT:"Too many fields",LIMIT_UNEXPECTED_FILE:"Unexpected field",MISSING_FIELD_NAME:"Field name missing"};function r(i,o){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=t[i],this.code=i,o&&(this.field=o)}return e.inherits(r,Error),h_=r,h_}var v_,OM;function UZ(){if(OM)return v_;OM=1;var e=NN();function t(i,o){var n=i.indexOf(o);~n&&i.splice(n,1)}function r(i,o){switch(this.strategy=i,this.req=o,i){case"NONE":break;case"VALUE":break;case"ARRAY":o.files=[];break;case"OBJECT":o.files=Object.create(null);break;default:throw new Error("Unknown file strategy: "+i)}}return r.prototype.insertPlaceholder=function(i){var o={fieldname:i.fieldname};switch(this.strategy){case"NONE":break;case"VALUE":break;case"ARRAY":this.req.files.push(o);break;case"OBJECT":this.req.files[i.fieldname]?this.req.files[i.fieldname].push(o):this.req.files[i.fieldname]=[o];break}return o},r.prototype.removePlaceholder=function(i){switch(this.strategy){case"NONE":break;case"VALUE":break;case"ARRAY":t(this.req.files,i);break;case"OBJECT":this.req.files[i.fieldname].length===1?delete this.req.files[i.fieldname]:t(this.req.files[i.fieldname],i);break}},r.prototype.replacePlaceholder=function(i,o){if(this.strategy==="VALUE"){this.req.file=o;return}delete i.fieldname,e(i,o)},v_=r,v_}var m_,wM;function zZ(){if(wM)return m_;wM=1;function e(t,r,i){var o=t.length,n=[];if(o===0)return i(null,n);function s(a){var c=t[a];r(c,function(u){u&&(u.file=c,u.field=c.fieldname,n.push(u)),a<o-1?s(a+1):i(null,n)})}s(0)}return m_=e,m_}var __,SM;function BZ(){if(SM)return __;SM=1;var e=MZ(),t=qZ(),r=NZ(),i=kZ(),o=LZ(),n=FN(),s=UZ(),a=zZ();function c(p){p.on("readable",()=>{for(;p.read()!==null;);})}function u(p){return function(d,f,h){if(!e(d,["multipart"]))return h();var m=p(),v=m.limits,g=m.storage,_=m.fileFilter,b=m.fileStrategy,y=m.preservePath;d.body=Object.create(null),d.on("error",function(F){L(F)});var E;try{E=t({headers:d.headers,limits:v,preservePath:y})}catch(F){return h(F)}var x=new s(b,d),O=!1,S=!1,w=!1,T=new o,R=[];function P(F){O||(O=!0,d.unpipe(E),c(d),d.resume(),setImmediate(()=>{E.removeAllListeners()}),h(F))}function N(){S&&T.isZero()&&!w&&P()}function L(F){w||(w=!0,T.onceZero(function(){function H(X,te){g._removeFile(d,X,te)}a(R,H,function(X,te){if(X)return P(X);F.storageErrors=te,P(F)})}))}function V(F,H){L(new n(F,H))}E.on("field",function(F,H,{nameTruncated:X,valueTruncated:te}){if(F==null)return V("MISSING_FIELD_NAME");if(X)return V("LIMIT_FIELD_KEY");if(te)return V("LIMIT_FIELD_VALUE",F);if(v&&Object.prototype.hasOwnProperty.call(v,"fieldNameSize")&&F.length>v.fieldNameSize)return V("LIMIT_FIELD_KEY");i(d.body,F,H)}),E.on("file",function(F,H,{filename:X,encoding:te,mimeType:U}){var re=!1;if(H.on("error",function(D){re&&T.decrement(),L(D)}),F==null)return V("MISSING_FIELD_NAME");if(!X)return H.resume();if(v&&Object.prototype.hasOwnProperty.call(v,"fieldNameSize")&&F.length>v.fieldNameSize)return V("LIMIT_FIELD_KEY");var j={fieldname:F,originalname:X,encoding:te,mimetype:U},q=x.insertPlaceholder(j);_(d,j,function(D,z){if(D)return x.removePlaceholder(q),L(D);if(!z)return x.removePlaceholder(q),H.resume();var M=!1;re=!0,T.increment(),Object.defineProperty(j,"stream",{configurable:!0,enumerable:!1,value:H}),H.on("limit",function(){M=!0,V("LIMIT_FILE_SIZE",F)}),g._handleFile(d,j,function(C,k){if(M)return x.removePlaceholder(q),R.push(r(j,k)),T.decrement();if(C)return x.removePlaceholder(q),T.decrement(),L(C);var K=r(j,k);x.replacePlaceholder(q,K),R.push(K),T.decrement(),N()})})}),E.on("error",function(F){L(F)}),E.on("partsLimit",function(){V("LIMIT_PART_COUNT")}),E.on("filesLimit",function(){V("LIMIT_FILE_COUNT")}),E.on("fieldsLimit",function(){V("LIMIT_FIELD_COUNT")}),E.on("close",function(){S=!0,N()}),d.pipe(E)}}return __=u,__}var g_,PM;function HZ(){if(PM)return g_;PM=1;var e=Yt,t=ai,r=parseInt("0777",8);g_=i.mkdirp=i.mkdirP=i;function i(o,n,s,a){typeof n=="function"?(s=n,n={}):(!n||typeof n!="object")&&(n={mode:n});var c=n.mode,u=n.fs||t;c===void 0&&(c=r),a||(a=null);var p=s||function(){};o=e.resolve(o),u.mkdir(o,c,function(l){if(!l)return a=a||o,p(null,a);switch(l.code){case"ENOENT":if(e.dirname(o)===o)return p(l);i(e.dirname(o),n,function(d,f){d?p(d,f):i(o,n,p,f)});break;default:u.stat(o,function(d,f){d||!f.isDirectory()?p(l,a):p(null,a)});break}})}return i.sync=function o(n,s,a){(!s||typeof s!="object")&&(s={mode:s});var c=s.mode,u=s.fs||t;c===void 0&&(c=r),a||(a=null),n=e.resolve(n);try{u.mkdirSync(n,c),a=a||n}catch(l){switch(l.code){case"ENOENT":a=o(e.dirname(n),s,a),o(n,s,a);break;default:var p;try{p=u.statSync(n)}catch{throw l}if(!p.isDirectory())throw l;break}}return a},g_}var b_,TM;function VZ(){if(TM)return b_;TM=1;var e=ai,t=up,r=Yt,i=oi,o=HZ();function n(c,u,p){i.randomBytes(16,function(l,d){p(l,l?void 0:d.toString("hex"))})}function s(c,u,p){p(null,t.tmpdir())}function a(c){this.getFilename=c.filename||n,typeof c.destination=="string"?(o.sync(c.destination),this.getDestination=function(u,p,l){l(null,c.destination)}):this.getDestination=c.destination||s}return a.prototype._handleFile=function(u,p,l){var d=this;d.getDestination(u,p,function(f,h){if(f)return l(f);d.getFilename(u,p,function(m,v){if(m)return l(m);var g=r.join(h,v),_=e.createWriteStream(g);p.stream.pipe(_),_.on("error",l),_.on("finish",function(){l(null,{destination:h,filename:v,path:g,size:_.bytesWritten})})})})},a.prototype._removeFile=function(u,p,l){var d=p.path;delete p.destination,delete p.filename,delete p.path,e.unlink(d,l)},b_=function(c){return new a(c)},b_}var Vd={exports:{}},y_,AM;function DN(){return AM||(AM=1,y_=og.EventEmitter),y_}var E_,RM;function GZ(){if(RM)return E_;RM=1;function e(h,m){var v=Object.keys(h);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(h);m&&(g=g.filter(function(_){return Object.getOwnPropertyDescriptor(h,_).enumerable})),v.push.apply(v,g)}return v}function t(h){for(var m=1;m<arguments.length;m++){var v=arguments[m]!=null?arguments[m]:{};m%2?e(Object(v),!0).forEach(function(g){r(h,g,v[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(v)):e(Object(v)).forEach(function(g){Object.defineProperty(h,g,Object.getOwnPropertyDescriptor(v,g))})}return h}function r(h,m,v){return m=s(m),m in h?Object.defineProperty(h,m,{value:v,enumerable:!0,configurable:!0,writable:!0}):h[m]=v,h}function i(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,s(g.key),g)}}function n(h,m,v){return m&&o(h.prototype,m),Object.defineProperty(h,"prototype",{writable:!1}),h}function s(h){var m=a(h,"string");return typeof m=="symbol"?m:String(m)}function a(h,m){if(typeof h!="object"||h===null)return h;var v=h[Symbol.toPrimitive];if(v!==void 0){var g=v.call(h,m);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}var c=dp,u=c.Buffer,p=si,l=p.inspect,d=l&&l.custom||"inspect";function f(h,m,v){u.prototype.copy.call(h,m,v)}return E_=(function(){function h(){i(this,h),this.head=null,this.tail=null,this.length=0}return n(h,[{key:"push",value:function(v){var g={data:v,next:null};this.length>0?this.tail.next=g:this.head=g,this.tail=g,++this.length}},{key:"unshift",value:function(v){var g={data:v,next:this.head};this.length===0&&(this.tail=g),this.head=g,++this.length}},{key:"shift",value:function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(v){if(this.length===0)return"";for(var g=this.head,_=""+g.data;g=g.next;)_+=v+g.data;return _}},{key:"concat",value:function(v){if(this.length===0)return u.alloc(0);for(var g=u.allocUnsafe(v>>>0),_=this.head,b=0;_;)f(_.data,g,b),b+=_.data.length,_=_.next;return g}},{key:"consume",value:function(v,g){var _;return v<this.head.data.length?(_=this.head.data.slice(0,v),this.head.data=this.head.data.slice(v)):v===this.head.data.length?_=this.shift():_=g?this._getString(v):this._getBuffer(v),_}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(v){var g=this.head,_=1,b=g.data;for(v-=b.length;g=g.next;){var y=g.data,E=v>y.length?y.length:v;if(E===y.length?b+=y:b+=y.slice(0,v),v-=E,v===0){E===y.length?(++_,g.next?this.head=g.next:this.head=this.tail=null):(this.head=g,g.data=y.slice(E));break}++_}return this.length-=_,b}},{key:"_getBuffer",value:function(v){var g=u.allocUnsafe(v),_=this.head,b=1;for(_.data.copy(g),v-=_.data.length;_=_.next;){var y=_.data,E=v>y.length?y.length:v;if(y.copy(g,g.length-v,0,E),v-=E,v===0){E===y.length?(++b,_.next?this.head=_.next:this.head=this.tail=null):(this.head=_,_.data=y.slice(E));break}++b}return this.length-=b,g}},{key:d,value:function(v,g){return l(this,t(t({},g),{},{depth:0,customInspect:!1}))}}]),h})(),E_}var x_,MM;function kN(){if(MM)return x_;MM=1;function e(s,a){var c=this,u=this._readableState&&this._readableState.destroyed,p=this._writableState&&this._writableState.destroyed;return u||p?(a?a(s):s&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,s)):process.nextTick(o,this,s)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(s||null,function(l){!a&&l?c._writableState?c._writableState.errorEmitted?process.nextTick(r,c):(c._writableState.errorEmitted=!0,process.nextTick(t,c,l)):process.nextTick(t,c,l):a?(process.nextTick(r,c),a(l)):process.nextTick(r,c)}),this)}function t(s,a){o(s,a),r(s)}function r(s){s._writableState&&!s._writableState.emitClose||s._readableState&&!s._readableState.emitClose||s.emit("close")}function i(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(s,a){s.emit("error",a)}function n(s,a){var c=s._readableState,u=s._writableState;c&&c.autoDestroy||u&&u.autoDestroy?s.destroy(a):s.emit("error",a)}return x_={destroy:e,undestroy:i,errorOrDestroy:n},x_}var O_={},IM;function hi(){if(IM)return O_;IM=1;function e(a,c){a.prototype=Object.create(c.prototype),a.prototype.constructor=a,a.__proto__=c}var t={};function r(a,c,u){u||(u=Error);function p(d,f,h){return typeof c=="string"?c:c(d,f,h)}var l=(function(d){e(f,d);function f(h,m,v){return d.call(this,p(h,m,v))||this}return f})(u);l.prototype.name=u.name,l.prototype.code=a,t[a]=l}function i(a,c){if(Array.isArray(a)){var u=a.length;return a=a.map(function(p){return String(p)}),u>2?"one of ".concat(c," ").concat(a.slice(0,u-1).join(", "),", or ")+a[u-1]:u===2?"one of ".concat(c," ").concat(a[0]," or ").concat(a[1]):"of ".concat(c," ").concat(a[0])}else return"of ".concat(c," ").concat(String(a))}function o(a,c,u){return a.substr(0,c.length)===c}function n(a,c,u){return(u===void 0||u>a.length)&&(u=a.length),a.substring(u-c.length,u)===c}function s(a,c,u){return typeof u!="number"&&(u=0),u+c.length>a.length?!1:a.indexOf(c,u)!==-1}return r("ERR_INVALID_OPT_VALUE",function(a,c){return'The value "'+c+'" is invalid for option "'+a+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(a,c,u){var p;typeof c=="string"&&o(c,"not ")?(p="must not be",c=c.replace(/^not /,"")):p="must be";var l;if(n(a," argument"))l="The ".concat(a," ").concat(p," ").concat(i(c,"type"));else{var d=s(a,".")?"property":"argument";l='The "'.concat(a,'" ').concat(d," ").concat(p," ").concat(i(c,"type"))}return l+=". Received type ".concat(typeof u),l},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(a){return"The "+a+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(a){return"Cannot call "+a+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(a){return"Unknown encoding: "+a},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),O_.codes=t,O_}var w_,CM;function LN(){if(CM)return w_;CM=1;var e=hi().codes.ERR_INVALID_OPT_VALUE;function t(i,o,n){return i.highWaterMark!=null?i.highWaterMark:o?i[n]:null}function r(i,o,n,s){var a=t(o,s,n);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var c=s?n:"highWaterMark";throw new e(c,a)}return Math.floor(a)}return i.objectMode?16:16*1024}return w_={getHighWaterMark:r},w_}var Gd={exports:{}},jM;function vi(){return jM||(jM=1,typeof Object.create=="function"?Gd.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Gd.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}),Gd.exports}var S_,qM;function WZ(){if(qM)return S_;qM=1,S_=e;function e(r,i){if(t("noDeprecation"))return r;var o=!1;function n(){if(!o){if(t("throwDeprecation"))throw new Error(i);t("traceDeprecation")?console.trace(i):console.warn(i),o=!0}return r.apply(this,arguments)}return n}function t(r){try{if(!ut.localStorage)return!1}catch{return!1}var i=ut.localStorage[r];return i==null?!1:String(i).toLowerCase()==="true"}return S_}var P_,NM;function UN(){if(NM)return P_;NM=1,P_=S;function e(M){var C=this;this.next=null,this.entry=null,this.finish=function(){z(C,M)}}var t;S.WritableState=x;var r={deprecate:WZ()},i=DN(),o=dp.Buffer,n=(typeof ut<"u"?ut:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function s(M){return o.from(M)}function a(M){return o.isBuffer(M)||M instanceof n}var c=kN(),u=LN(),p=u.getHighWaterMark,l=hi().codes,d=l.ERR_INVALID_ARG_TYPE,f=l.ERR_METHOD_NOT_IMPLEMENTED,h=l.ERR_MULTIPLE_CALLBACK,m=l.ERR_STREAM_CANNOT_PIPE,v=l.ERR_STREAM_DESTROYED,g=l.ERR_STREAM_NULL_VALUES,_=l.ERR_STREAM_WRITE_AFTER_END,b=l.ERR_UNKNOWN_ENCODING,y=c.errorOrDestroy;vi()(S,i);function E(){}function x(M,C,k){t=t||ii(),M=M||{},typeof k!="boolean"&&(k=C instanceof t),this.objectMode=!!M.objectMode,k&&(this.objectMode=this.objectMode||!!M.writableObjectMode),this.highWaterMark=p(this,M,"writableHighWaterMark",k),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=M.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=M.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function($){F(C,$)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=M.emitClose!==!1,this.autoDestroy=!!M.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}x.prototype.getBuffer=function(){for(var C=this.bufferedRequest,k=[];C;)k.push(C),C=C.next;return k},(function(){try{Object.defineProperty(x.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var O;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(O=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(C){return O.call(this,C)?!0:this!==S?!1:C&&C._writableState instanceof x}})):O=function(C){return C instanceof this};function S(M){t=t||ii();var C=this instanceof t;if(!C&&!O.call(S,this))return new S(M);this._writableState=new x(M,this,C),this.writable=!0,M&&(typeof M.write=="function"&&(this._write=M.write),typeof M.writev=="function"&&(this._writev=M.writev),typeof M.destroy=="function"&&(this._destroy=M.destroy),typeof M.final=="function"&&(this._final=M.final)),i.call(this)}S.prototype.pipe=function(){y(this,new m)};function w(M,C){var k=new _;y(M,k),process.nextTick(C,k)}function T(M,C,k,K){var $;return k===null?$=new g:typeof k!="string"&&!C.objectMode&&($=new d("chunk",["string","Buffer"],k)),$?(y(M,$),process.nextTick(K,$),!1):!0}S.prototype.write=function(M,C,k){var K=this._writableState,$=!1,A=!K.objectMode&&a(M);return A&&!o.isBuffer(M)&&(M=s(M)),typeof C=="function"&&(k=C,C=null),A?C="buffer":C||(C=K.defaultEncoding),typeof k!="function"&&(k=E),K.ending?w(this,k):(A||T(this,K,M,k))&&(K.pendingcb++,$=P(this,K,A,M,C,k)),$},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var M=this._writableState;M.corked&&(M.corked--,!M.writing&&!M.corked&&!M.bufferProcessing&&M.bufferedRequest&&te(this,M))},S.prototype.setDefaultEncoding=function(C){if(typeof C=="string"&&(C=C.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((C+"").toLowerCase())>-1))throw new b(C);return this._writableState.defaultEncoding=C,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function R(M,C,k){return!M.objectMode&&M.decodeStrings!==!1&&typeof C=="string"&&(C=o.from(C,k)),C}Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function P(M,C,k,K,$,A){if(!k){var I=R(C,K,$);K!==I&&(k=!0,$="buffer",K=I)}var W=C.objectMode?1:K.length;C.length+=W;var Q=C.length<C.highWaterMark;if(Q||(C.needDrain=!0),C.writing||C.corked){var oe=C.lastBufferedRequest;C.lastBufferedRequest={chunk:K,encoding:$,isBuf:k,callback:A,next:null},oe?oe.next=C.lastBufferedRequest:C.bufferedRequest=C.lastBufferedRequest,C.bufferedRequestCount+=1}else N(M,C,!1,W,K,$,A);return Q}function N(M,C,k,K,$,A,I){C.writelen=K,C.writecb=I,C.writing=!0,C.sync=!0,C.destroyed?C.onwrite(new v("write")):k?M._writev($,C.onwrite):M._write($,A,C.onwrite),C.sync=!1}function L(M,C,k,K,$){--C.pendingcb,k?(process.nextTick($,K),process.nextTick(q,M,C),M._writableState.errorEmitted=!0,y(M,K)):($(K),M._writableState.errorEmitted=!0,y(M,K),q(M,C))}function V(M){M.writing=!1,M.writecb=null,M.length-=M.writelen,M.writelen=0}function F(M,C){var k=M._writableState,K=k.sync,$=k.writecb;if(typeof $!="function")throw new h;if(V(k),C)L(M,k,K,C,$);else{var A=U(k)||M.destroyed;!A&&!k.corked&&!k.bufferProcessing&&k.bufferedRequest&&te(M,k),K?process.nextTick(H,M,k,A,$):H(M,k,A,$)}}function H(M,C,k,K){k||X(M,C),C.pendingcb--,K(),q(M,C)}function X(M,C){C.length===0&&C.needDrain&&(C.needDrain=!1,M.emit("drain"))}function te(M,C){C.bufferProcessing=!0;var k=C.bufferedRequest;if(M._writev&&k&&k.next){var K=C.bufferedRequestCount,$=new Array(K),A=C.corkedRequestsFree;A.entry=k;for(var I=0,W=!0;k;)$[I]=k,k.isBuf||(W=!1),k=k.next,I+=1;$.allBuffers=W,N(M,C,!0,C.length,$,"",A.finish),C.pendingcb++,C.lastBufferedRequest=null,A.next?(C.corkedRequestsFree=A.next,A.next=null):C.corkedRequestsFree=new e(C),C.bufferedRequestCount=0}else{for(;k;){var Q=k.chunk,oe=k.encoding,J=k.callback,le=C.objectMode?1:Q.length;if(N(M,C,!1,le,Q,oe,J),k=k.next,C.bufferedRequestCount--,C.writing)break}k===null&&(C.lastBufferedRequest=null)}C.bufferedRequest=k,C.bufferProcessing=!1}S.prototype._write=function(M,C,k){k(new f("_write()"))},S.prototype._writev=null,S.prototype.end=function(M,C,k){var K=this._writableState;return typeof M=="function"?(k=M,M=null,C=null):typeof C=="function"&&(k=C,C=null),M!=null&&this.write(M,C),K.corked&&(K.corked=1,this.uncork()),K.ending||D(this,K,k),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function U(M){return M.ending&&M.length===0&&M.bufferedRequest===null&&!M.finished&&!M.writing}function re(M,C){M._final(function(k){C.pendingcb--,k&&y(M,k),C.prefinished=!0,M.emit("prefinish"),q(M,C)})}function j(M,C){!C.prefinished&&!C.finalCalled&&(typeof M._final=="function"&&!C.destroyed?(C.pendingcb++,C.finalCalled=!0,process.nextTick(re,M,C)):(C.prefinished=!0,M.emit("prefinish")))}function q(M,C){var k=U(C);if(k&&(j(M,C),C.pendingcb===0&&(C.finished=!0,M.emit("finish"),C.autoDestroy))){var K=M._readableState;(!K||K.autoDestroy&&K.endEmitted)&&M.destroy()}return k}function D(M,C,k){C.ending=!0,q(M,C),k&&(C.finished?process.nextTick(k):M.once("finish",k)),C.ended=!0,M.writable=!1}function z(M,C,k){var K=M.entry;for(M.entry=null;K;){var $=K.callback;C.pendingcb--,$(k),K=K.next}C.corkedRequestsFree.next=M}return Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(C){this._writableState&&(this._writableState.destroyed=C)}}),S.prototype.destroy=c.destroy,S.prototype._undestroy=c.undestroy,S.prototype._destroy=function(M,C){C(M)},P_}var T_,FM;function ii(){if(FM)return T_;FM=1;var e=Object.keys||function(u){var p=[];for(var l in u)p.push(l);return p};T_=s;var t=zN(),r=UN();vi()(s,t);for(var i=e(r.prototype),o=0;o<i.length;o++){var n=i[o];s.prototype[n]||(s.prototype[n]=r.prototype[n])}function s(u){if(!(this instanceof s))return new s(u);t.call(this,u),r.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",a)))}Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(s.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(s.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function a(){this._writableState.ended||process.nextTick(c,this)}function c(u){u.end()}return Object.defineProperty(s.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(p){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=p,this._writableState.destroyed=p)}}),T_}var A_={},Wd={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var DM;function ZZ(){return DM||(DM=1,(function(e,t){var r=dp,i=r.Buffer;function o(s,a){for(var c in s)a[c]=s[c]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=n);function n(s,a,c){return i(s,a,c)}n.prototype=Object.create(i.prototype),o(i,n),n.from=function(s,a,c){if(typeof s=="number")throw new TypeError("Argument must not be a number");return i(s,a,c)},n.alloc=function(s,a,c){if(typeof s!="number")throw new TypeError("Argument must be a number");var u=i(s);return a!==void 0?typeof c=="string"?u.fill(a,c):u.fill(a):u.fill(0),u},n.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return i(s)},n.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(s)}})(Wd,Wd.exports)),Wd.exports}var kM;function LM(){if(kM)return A_;kM=1;var e=ZZ().Buffer,t=e.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(g){if(!g)return"utf8";for(var _;;)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(_)return;g=(""+g).toLowerCase(),_=!0}}function i(g){var _=r(g);if(typeof _!="string"&&(e.isEncoding===t||!t(g)))throw new Error("Unknown encoding: "+g);return _||g}A_.StringDecoder=o;function o(g){this.encoding=i(g);var _;switch(this.encoding){case"utf16le":this.text=l,this.end=d,_=4;break;case"utf8":this.fillLast=c,_=4;break;case"base64":this.text=f,this.end=h,_=3;break;default:this.write=m,this.end=v;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(_)}o.prototype.write=function(g){if(g.length===0)return"";var _,b;if(this.lastNeed){if(_=this.fillLast(g),_===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<g.length?_?_+this.text(g,b):this.text(g,b):_||""},o.prototype.end=p,o.prototype.text=u,o.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function n(g){return g<=127?0:g>>5===6?2:g>>4===14?3:g>>3===30?4:g>>6===2?-1:-2}function s(g,_,b){var y=_.length-1;if(y<b)return 0;var E=n(_[y]);return E>=0?(E>0&&(g.lastNeed=E-1),E):--y<b||E===-2?0:(E=n(_[y]),E>=0?(E>0&&(g.lastNeed=E-2),E):--y<b||E===-2?0:(E=n(_[y]),E>=0?(E>0&&(E===2?E=0:g.lastNeed=E-3),E):0))}function a(g,_,b){if((_[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return g.lastNeed=2,"�"}}function c(g){var _=this.lastTotal-this.lastNeed,b=a(this,g);if(b!==void 0)return b;if(this.lastNeed<=g.length)return g.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,_,0,g.length),this.lastNeed-=g.length}function u(g,_){var b=s(this,g,_);if(!this.lastNeed)return g.toString("utf8",_);this.lastTotal=b;var y=g.length-(b-this.lastNeed);return g.copy(this.lastChar,0,y),g.toString("utf8",_,y)}function p(g){var _=g&&g.length?this.write(g):"";return this.lastNeed?_+"�":_}function l(g,_){if((g.length-_)%2===0){var b=g.toString("utf16le",_);if(b){var y=b.charCodeAt(b.length-1);if(y>=55296&&y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",_,g.length-1)}function d(g){var _=g&&g.length?this.write(g):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,b)}return _}function f(g,_){var b=(g.length-_)%3;return b===0?g.toString("base64",_):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",_,g.length-b))}function h(g){var _=g&&g.length?this.write(g):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function m(g){return g.toString(this.encoding)}function v(g){return g&&g.length?this.write(g):""}return A_}var R_,UM;function Ab(){if(UM)return R_;UM=1;var e=hi().codes.ERR_STREAM_PREMATURE_CLOSE;function t(n){var s=!1;return function(){if(!s){s=!0;for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];n.apply(this,c)}}}function r(){}function i(n){return n.setHeader&&typeof n.abort=="function"}function o(n,s,a){if(typeof s=="function")return o(n,null,s);s||(s={}),a=t(a||r);var c=s.readable||s.readable!==!1&&n.readable,u=s.writable||s.writable!==!1&&n.writable,p=function(){n.writable||d()},l=n._writableState&&n._writableState.finished,d=function(){u=!1,l=!0,c||a.call(n)},f=n._readableState&&n._readableState.endEmitted,h=function(){c=!1,f=!0,u||a.call(n)},m=function(b){a.call(n,b)},v=function(){var b;if(c&&!f)return(!n._readableState||!n._readableState.ended)&&(b=new e),a.call(n,b);if(u&&!l)return(!n._writableState||!n._writableState.ended)&&(b=new e),a.call(n,b)},g=function(){n.req.on("finish",d)};return i(n)?(n.on("complete",d),n.on("abort",v),n.req?g():n.on("request",g)):u&&!n._writableState&&(n.on("end",p),n.on("close",p)),n.on("end",h),n.on("finish",d),s.error!==!1&&n.on("error",m),n.on("close",v),function(){n.removeListener("complete",d),n.removeListener("abort",v),n.removeListener("request",g),n.req&&n.req.removeListener("finish",d),n.removeListener("end",p),n.removeListener("close",p),n.removeListener("finish",d),n.removeListener("end",h),n.removeListener("error",m),n.removeListener("close",v)}}return R_=o,R_}var M_,zM;function KZ(){if(zM)return M_;zM=1;var e;function t(b,y,E){return y=r(y),y in b?Object.defineProperty(b,y,{value:E,enumerable:!0,configurable:!0,writable:!0}):b[y]=E,b}function r(b){var y=i(b,"string");return typeof y=="symbol"?y:String(y)}function i(b,y){if(typeof b!="object"||b===null)return b;var E=b[Symbol.toPrimitive];if(E!==void 0){var x=E.call(b,y);if(typeof x!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(b)}var o=Ab(),n=Symbol("lastResolve"),s=Symbol("lastReject"),a=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),p=Symbol("handlePromise"),l=Symbol("stream");function d(b,y){return{value:b,done:y}}function f(b){var y=b[n];if(y!==null){var E=b[l].read();E!==null&&(b[u]=null,b[n]=null,b[s]=null,y(d(E,!1)))}}function h(b){process.nextTick(f,b)}function m(b,y){return function(E,x){b.then(function(){if(y[c]){E(d(void 0,!0));return}y[p](E,x)},x)}}var v=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((e={get stream(){return this[l]},next:function(){var y=this,E=this[a];if(E!==null)return Promise.reject(E);if(this[c])return Promise.resolve(d(void 0,!0));if(this[l].destroyed)return new Promise(function(w,T){process.nextTick(function(){y[a]?T(y[a]):w(d(void 0,!0))})});var x=this[u],O;if(x)O=new Promise(m(x,this));else{var S=this[l].read();if(S!==null)return Promise.resolve(d(S,!1));O=new Promise(this[p])}return this[u]=O,O}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var y=this;return new Promise(function(E,x){y[l].destroy(null,function(O){if(O){x(O);return}E(d(void 0,!0))})})}),e),v),_=function(y){var E,x=Object.create(g,(E={},t(E,l,{value:y,writable:!0}),t(E,n,{value:null,writable:!0}),t(E,s,{value:null,writable:!0}),t(E,a,{value:null,writable:!0}),t(E,c,{value:y._readableState.endEmitted,writable:!0}),t(E,p,{value:function(S,w){var T=x[l].read();T?(x[u]=null,x[n]=null,x[s]=null,S(d(T,!1))):(x[n]=S,x[s]=w)},writable:!0}),E));return x[u]=null,o(y,function(O){if(O&&O.code!=="ERR_STREAM_PREMATURE_CLOSE"){var S=x[s];S!==null&&(x[u]=null,x[n]=null,x[s]=null,S(O)),x[a]=O;return}var w=x[n];w!==null&&(x[u]=null,x[n]=null,x[s]=null,w(d(void 0,!0))),x[c]=!0}),y.on("readable",h.bind(null,x)),x};return M_=_,M_}var I_,BM;function YZ(){return BM||(BM=1,I_=function(){throw new Error("Readable.from is not available in the browser")}),I_}var C_,HM;function zN(){if(HM)return C_;HM=1,C_=w;var e;w.ReadableState=S,og.EventEmitter;var t=function(I,W){return I.listeners(W).length},r=DN(),i=dp.Buffer,o=(typeof ut<"u"?ut:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function n(A){return i.from(A)}function s(A){return i.isBuffer(A)||A instanceof o}var a=si,c;a&&a.debuglog?c=a.debuglog("stream"):c=function(){};var u=GZ(),p=kN(),l=LN(),d=l.getHighWaterMark,f=hi().codes,h=f.ERR_INVALID_ARG_TYPE,m=f.ERR_STREAM_PUSH_AFTER_EOF,v=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,_,b,y;vi()(w,r);var E=p.errorOrDestroy,x=["error","close","destroy","pause","resume"];function O(A,I,W){if(typeof A.prependListener=="function")return A.prependListener(I,W);!A._events||!A._events[I]?A.on(I,W):Array.isArray(A._events[I])?A._events[I].unshift(W):A._events[I]=[W,A._events[I]]}function S(A,I,W){e=e||ii(),A=A||{},typeof W!="boolean"&&(W=I instanceof e),this.objectMode=!!A.objectMode,W&&(this.objectMode=this.objectMode||!!A.readableObjectMode),this.highWaterMark=d(this,A,"readableHighWaterMark",W),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=A.emitClose!==!1,this.autoDestroy=!!A.autoDestroy,this.destroyed=!1,this.defaultEncoding=A.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,A.encoding&&(_||(_=LM().StringDecoder),this.decoder=new _(A.encoding),this.encoding=A.encoding)}function w(A){if(e=e||ii(),!(this instanceof w))return new w(A);var I=this instanceof e;this._readableState=new S(A,this,I),this.readable=!0,A&&(typeof A.read=="function"&&(this._read=A.read),typeof A.destroy=="function"&&(this._destroy=A.destroy)),r.call(this)}Object.defineProperty(w.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(I){this._readableState&&(this._readableState.destroyed=I)}}),w.prototype.destroy=p.destroy,w.prototype._undestroy=p.undestroy,w.prototype._destroy=function(A,I){I(A)},w.prototype.push=function(A,I){var W=this._readableState,Q;return W.objectMode?Q=!0:typeof A=="string"&&(I=I||W.defaultEncoding,I!==W.encoding&&(A=i.from(A,I),I=""),Q=!0),T(this,A,I,!1,Q)},w.prototype.unshift=function(A){return T(this,A,null,!0,!1)};function T(A,I,W,Q,oe){c("readableAddChunk",I);var J=A._readableState;if(I===null)J.reading=!1,F(A,J);else{var le;if(oe||(le=P(J,I)),le)E(A,le);else if(J.objectMode||I&&I.length>0)if(typeof I!="string"&&!J.objectMode&&Object.getPrototypeOf(I)!==i.prototype&&(I=n(I)),Q)J.endEmitted?E(A,new g):R(A,J,I,!0);else if(J.ended)E(A,new m);else{if(J.destroyed)return!1;J.reading=!1,J.decoder&&!W?(I=J.decoder.write(I),J.objectMode||I.length!==0?R(A,J,I,!1):te(A,J)):R(A,J,I,!1)}else Q||(J.reading=!1,te(A,J))}return!J.ended&&(J.length<J.highWaterMark||J.length===0)}function R(A,I,W,Q){I.flowing&&I.length===0&&!I.sync?(I.awaitDrain=0,A.emit("data",W)):(I.length+=I.objectMode?1:W.length,Q?I.buffer.unshift(W):I.buffer.push(W),I.needReadable&&H(A)),te(A,I)}function P(A,I){var W;return!s(I)&&typeof I!="string"&&I!==void 0&&!A.objectMode&&(W=new h("chunk",["string","Buffer","Uint8Array"],I)),W}w.prototype.isPaused=function(){return this._readableState.flowing===!1},w.prototype.setEncoding=function(A){_||(_=LM().StringDecoder);var I=new _(A);this._readableState.decoder=I,this._readableState.encoding=this._readableState.decoder.encoding;for(var W=this._readableState.buffer.head,Q="";W!==null;)Q+=I.write(W.data),W=W.next;return this._readableState.buffer.clear(),Q!==""&&this._readableState.buffer.push(Q),this._readableState.length=Q.length,this};var N=1073741824;function L(A){return A>=N?A=N:(A--,A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A++),A}function V(A,I){return A<=0||I.length===0&&I.ended?0:I.objectMode?1:A!==A?I.flowing&&I.length?I.buffer.head.data.length:I.length:(A>I.highWaterMark&&(I.highWaterMark=L(A)),A<=I.length?A:I.ended?I.length:(I.needReadable=!0,0))}w.prototype.read=function(A){c("read",A),A=parseInt(A,10);var I=this._readableState,W=A;if(A!==0&&(I.emittedReadable=!1),A===0&&I.needReadable&&((I.highWaterMark!==0?I.length>=I.highWaterMark:I.length>0)||I.ended))return c("read: emitReadable",I.length,I.ended),I.length===0&&I.ended?k(this):H(this),null;if(A=V(A,I),A===0&&I.ended)return I.length===0&&k(this),null;var Q=I.needReadable;c("need readable",Q),(I.length===0||I.length-A<I.highWaterMark)&&(Q=!0,c("length less than watermark",Q)),I.ended||I.reading?(Q=!1,c("reading or ended",Q)):Q&&(c("do read"),I.reading=!0,I.sync=!0,I.length===0&&(I.needReadable=!0),this._read(I.highWaterMark),I.sync=!1,I.reading||(A=V(W,I)));var oe;return A>0?oe=C(A,I):oe=null,oe===null?(I.needReadable=I.length<=I.highWaterMark,A=0):(I.length-=A,I.awaitDrain=0),I.length===0&&(I.ended||(I.needReadable=!0),W!==A&&I.ended&&k(this)),oe!==null&&this.emit("data",oe),oe};function F(A,I){if(c("onEofChunk"),!I.ended){if(I.decoder){var W=I.decoder.end();W&&W.length&&(I.buffer.push(W),I.length+=I.objectMode?1:W.length)}I.ended=!0,I.sync?H(A):(I.needReadable=!1,I.emittedReadable||(I.emittedReadable=!0,X(A)))}}function H(A){var I=A._readableState;c("emitReadable",I.needReadable,I.emittedReadable),I.needReadable=!1,I.emittedReadable||(c("emitReadable",I.flowing),I.emittedReadable=!0,process.nextTick(X,A))}function X(A){var I=A._readableState;c("emitReadable_",I.destroyed,I.length,I.ended),!I.destroyed&&(I.length||I.ended)&&(A.emit("readable"),I.emittedReadable=!1),I.needReadable=!I.flowing&&!I.ended&&I.length<=I.highWaterMark,M(A)}function te(A,I){I.readingMore||(I.readingMore=!0,process.nextTick(U,A,I))}function U(A,I){for(;!I.reading&&!I.ended&&(I.length<I.highWaterMark||I.flowing&&I.length===0);){var W=I.length;if(c("maybeReadMore read 0"),A.read(0),W===I.length)break}I.readingMore=!1}w.prototype._read=function(A){E(this,new v("_read()"))},w.prototype.pipe=function(A,I){var W=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=A;break;case 1:Q.pipes=[Q.pipes,A];break;default:Q.pipes.push(A);break}Q.pipesCount+=1,c("pipe count=%d opts=%j",Q.pipesCount,I);var oe=(!I||I.end!==!1)&&A!==process.stdout&&A!==process.stderr,J=oe?_e:Ke;Q.endEmitted?process.nextTick(J):W.once("end",J),A.on("unpipe",le);function le(be,Ge){c("onunpipe"),be===W&&Ge&&Ge.hasUnpiped===!1&&(Ge.hasUnpiped=!0,Re())}function _e(){c("onend"),A.end()}var ye=re(W);A.on("drain",ye);var Pe=!1;function Re(){c("cleanup"),A.removeListener("close",me),A.removeListener("finish",je),A.removeListener("drain",ye),A.removeListener("error",Te),A.removeListener("unpipe",le),W.removeListener("end",_e),W.removeListener("end",Ke),W.removeListener("data",Ee),Pe=!0,Q.awaitDrain&&(!A._writableState||A._writableState.needDrain)&&ye()}W.on("data",Ee);function Ee(be){c("ondata");var Ge=A.write(be);c("dest.write",Ge),Ge===!1&&((Q.pipesCount===1&&Q.pipes===A||Q.pipesCount>1&&$(Q.pipes,A)!==-1)&&!Pe&&(c("false write response, pause",Q.awaitDrain),Q.awaitDrain++),W.pause())}function Te(be){c("onerror",be),Ke(),A.removeListener("error",Te),t(A,"error")===0&&E(A,be)}O(A,"error",Te);function me(){A.removeListener("finish",je),Ke()}A.once("close",me);function je(){c("onfinish"),A.removeListener("close",me),Ke()}A.once("finish",je);function Ke(){c("unpipe"),W.unpipe(A)}return A.emit("pipe",W),Q.flowing||(c("pipe resume"),W.resume()),A};function re(A){return function(){var W=A._readableState;c("pipeOnDrain",W.awaitDrain),W.awaitDrain&&W.awaitDrain--,W.awaitDrain===0&&t(A,"data")&&(W.flowing=!0,M(A))}}w.prototype.unpipe=function(A){var I=this._readableState,W={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1)return A&&A!==I.pipes?this:(A||(A=I.pipes),I.pipes=null,I.pipesCount=0,I.flowing=!1,A&&A.emit("unpipe",this,W),this);if(!A){var Q=I.pipes,oe=I.pipesCount;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var J=0;J<oe;J++)Q[J].emit("unpipe",this,{hasUnpiped:!1});return this}var le=$(I.pipes,A);return le===-1?this:(I.pipes.splice(le,1),I.pipesCount-=1,I.pipesCount===1&&(I.pipes=I.pipes[0]),A.emit("unpipe",this,W),this)},w.prototype.on=function(A,I){var W=r.prototype.on.call(this,A,I),Q=this._readableState;return A==="data"?(Q.readableListening=this.listenerCount("readable")>0,Q.flowing!==!1&&this.resume()):A==="readable"&&!Q.endEmitted&&!Q.readableListening&&(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,c("on readable",Q.length,Q.reading),Q.length?H(this):Q.reading||process.nextTick(q,this)),W},w.prototype.addListener=w.prototype.on,w.prototype.removeListener=function(A,I){var W=r.prototype.removeListener.call(this,A,I);return A==="readable"&&process.nextTick(j,this),W},w.prototype.removeAllListeners=function(A){var I=r.prototype.removeAllListeners.apply(this,arguments);return(A==="readable"||A===void 0)&&process.nextTick(j,this),I};function j(A){var I=A._readableState;I.readableListening=A.listenerCount("readable")>0,I.resumeScheduled&&!I.paused?I.flowing=!0:A.listenerCount("data")>0&&A.resume()}function q(A){c("readable nexttick read 0"),A.read(0)}w.prototype.resume=function(){var A=this._readableState;return A.flowing||(c("resume"),A.flowing=!A.readableListening,D(this,A)),A.paused=!1,this};function D(A,I){I.resumeScheduled||(I.resumeScheduled=!0,process.nextTick(z,A,I))}function z(A,I){c("resume",I.reading),I.reading||A.read(0),I.resumeScheduled=!1,A.emit("resume"),M(A),I.flowing&&!I.reading&&A.read(0)}w.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function M(A){var I=A._readableState;for(c("flow",I.flowing);I.flowing&&A.read()!==null;);}w.prototype.wrap=function(A){var I=this,W=this._readableState,Q=!1;A.on("end",function(){if(c("wrapped end"),W.decoder&&!W.ended){var le=W.decoder.end();le&&le.length&&I.push(le)}I.push(null)}),A.on("data",function(le){if(c("wrapped data"),W.decoder&&(le=W.decoder.write(le)),!(W.objectMode&&le==null)&&!(!W.objectMode&&(!le||!le.length))){var _e=I.push(le);_e||(Q=!0,A.pause())}});for(var oe in A)this[oe]===void 0&&typeof A[oe]=="function"&&(this[oe]=(function(_e){return function(){return A[_e].apply(A,arguments)}})(oe));for(var J=0;J<x.length;J++)A.on(x[J],this.emit.bind(this,x[J]));return this._read=function(le){c("wrapped _read",le),Q&&(Q=!1,A.resume())},this},typeof Symbol=="function"&&(w.prototype[Symbol.asyncIterator]=function(){return b===void 0&&(b=KZ()),b(this)}),Object.defineProperty(w.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(w.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(w.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(I){this._readableState&&(this._readableState.flowing=I)}}),w._fromList=C,Object.defineProperty(w.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function C(A,I){if(I.length===0)return null;var W;return I.objectMode?W=I.buffer.shift():!A||A>=I.length?(I.decoder?W=I.buffer.join(""):I.buffer.length===1?W=I.buffer.first():W=I.buffer.concat(I.length),I.buffer.clear()):W=I.buffer.consume(A,I.decoder),W}function k(A){var I=A._readableState;c("endReadable",I.endEmitted),I.endEmitted||(I.ended=!0,process.nextTick(K,I,A))}function K(A,I){if(c("endReadableNT",A.endEmitted,A.length),!A.endEmitted&&A.length===0&&(A.endEmitted=!0,I.readable=!1,I.emit("end"),A.autoDestroy)){var W=I._writableState;(!W||W.autoDestroy&&W.finished)&&I.destroy()}}typeof Symbol=="function"&&(w.from=function(A,I){return y===void 0&&(y=YZ()),y(w,A,I)});function $(A,I){for(var W=0,Q=A.length;W<Q;W++)if(A[W]===I)return W;return-1}return C_}var j_,VM;function BN(){if(VM)return j_;VM=1,j_=a;var e=hi().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,i=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=e.ERR_TRANSFORM_WITH_LENGTH_0,n=ii();vi()(a,n);function s(p,l){var d=this._transformState;d.transforming=!1;var f=d.writecb;if(f===null)return this.emit("error",new r);d.writechunk=null,d.writecb=null,l!=null&&this.push(l),f(p);var h=this._readableState;h.reading=!1,(h.needReadable||h.length<h.highWaterMark)&&this._read(h.highWaterMark)}function a(p){if(!(this instanceof a))return new a(p);n.call(this,p),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,p&&(typeof p.transform=="function"&&(this._transform=p.transform),typeof p.flush=="function"&&(this._flush=p.flush)),this.on("prefinish",c)}function c(){var p=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(l,d){u(p,l,d)}):u(this,null,null)}a.prototype.push=function(p,l){return this._transformState.needTransform=!1,n.prototype.push.call(this,p,l)},a.prototype._transform=function(p,l,d){d(new t("_transform()"))},a.prototype._write=function(p,l,d){var f=this._transformState;if(f.writecb=d,f.writechunk=p,f.writeencoding=l,!f.transforming){var h=this._readableState;(f.needTransform||h.needReadable||h.length<h.highWaterMark)&&this._read(h.highWaterMark)}},a.prototype._read=function(p){var l=this._transformState;l.writechunk!==null&&!l.transforming?(l.transforming=!0,this._transform(l.writechunk,l.writeencoding,l.afterTransform)):l.needTransform=!0},a.prototype._destroy=function(p,l){n.prototype._destroy.call(this,p,function(d){l(d)})};function u(p,l,d){if(l)return p.emit("error",l);if(d!=null&&p.push(d),p._writableState.length)throw new o;if(p._transformState.transforming)throw new i;return p.push(null)}return j_}var q_,GM;function XZ(){if(GM)return q_;GM=1,q_=t;var e=BN();vi()(t,e);function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,i,o){o(null,r)},q_}var N_,WM;function QZ(){if(WM)return N_;WM=1;var e;function t(d){var f=!1;return function(){f||(f=!0,d.apply(void 0,arguments))}}var r=hi().codes,i=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function n(d){if(d)throw d}function s(d){return d.setHeader&&typeof d.abort=="function"}function a(d,f,h,m){m=t(m);var v=!1;d.on("close",function(){v=!0}),e===void 0&&(e=Ab()),e(d,{readable:f,writable:h},function(_){if(_)return m(_);v=!0,m()});var g=!1;return function(_){if(!v&&!g){if(g=!0,s(d))return d.abort();if(typeof d.destroy=="function")return d.destroy();m(_||new o("pipe"))}}}function c(d){d()}function u(d,f){return d.pipe(f)}function p(d){return!d.length||typeof d[d.length-1]!="function"?n:d.pop()}function l(){for(var d=arguments.length,f=new Array(d),h=0;h<d;h++)f[h]=arguments[h];var m=p(f);if(Array.isArray(f[0])&&(f=f[0]),f.length<2)throw new i("streams");var v,g=f.map(function(_,b){var y=b<f.length-1,E=b>0;return a(_,y,E,function(x){v||(v=x),x&&g.forEach(c),!y&&(g.forEach(c),m(v))})});return f.reduce(u)}return N_=l,N_}var ZM;function JZ(){return ZM||(ZM=1,(function(e,t){t=e.exports=zN(),t.Stream=t,t.Readable=t,t.Writable=UN(),t.Duplex=ii(),t.Transform=BN(),t.PassThrough=XZ(),t.finished=Ab(),t.pipeline=QZ()})(Vd,Vd.exports)),Vd.exports}var F_,KM;function $Z(){if(KM)return F_;KM=1;var e=Object.prototype.toString,t=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function r(s){return e.call(s).slice(8,-1)==="ArrayBuffer"}function i(s,a,c){a>>>=0;var u=s.byteLength-a;if(u<0)throw new RangeError("'offset' is out of bounds");if(c===void 0)c=u;else if(c>>>=0,c>u)throw new RangeError("'length' is out of bounds");return t?Buffer.from(s.slice(a,a+c)):new Buffer(new Uint8Array(s.slice(a,a+c)))}function o(s,a){if((typeof a!="string"||a==="")&&(a="utf8"),!Buffer.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');return t?Buffer.from(s,a):new Buffer(s,a)}function n(s,a,c){if(typeof s=="number")throw new TypeError('"value" argument must not be a number');return r(s)?i(s,a,c):typeof s=="string"?o(s,a):t?Buffer.from(s):new Buffer(s)}return F_=n,F_}var D_={},YM;function e4(){return YM||(YM=1,(function(e){var t=void 0,r=1e5,i=(function(){var U=Object.prototype.toString,re=Object.prototype.hasOwnProperty;return{Class:function(j){return U.call(j).replace(/^\[object *|\]$/g,"")},HasProperty:function(j,q){return q in j},HasOwnProperty:function(j,q){return re.call(j,q)},IsCallable:function(j){return typeof j=="function"},ToInt32:function(j){return j>>0},ToUint32:function(j){return j>>>0}}})(),o=Math.LN2,n=Math.abs,s=Math.floor,a=Math.log,c=Math.min,u=Math.pow,p=Math.round;function l(U){if(f&&d){var re=f(U),j;for(j=0;j<re.length;j+=1)d(U,re[j],{value:U[re[j]],writable:!1,enumerable:!1,configurable:!1})}}var d;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return!1}})()?d=Object.defineProperty:d=function(U,re,j){if(!U===Object(U))throw new TypeError("Object.defineProperty called on non-object");return i.HasProperty(j,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(U,re,j.get),i.HasProperty(j,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(U,re,j.set),i.HasProperty(j,"value")&&(U[re]=j.value),U};var f=Object.getOwnPropertyNames||function(U){if(U!==Object(U))throw new TypeError("Object.getOwnPropertyNames called on non-object");var re=[],j;for(j in U)i.HasOwnProperty(U,j)&&re.push(j);return re};function h(U){if(!d)return;if(U.length>r)throw new RangeError("Array too large for polyfill");function re(q){d(U,q,{get:function(){return U._getter(q)},set:function(D){U._setter(q,D)},enumerable:!0,configurable:!1})}var j;for(j=0;j<U.length;j+=1)re(j)}function m(U,re){var j=32-re;return U<<j>>j}function v(U,re){var j=32-re;return U<<j>>>j}function g(U){return[U&255]}function _(U){return m(U[0],8)}function b(U){return[U&255]}function y(U){return v(U[0],8)}function E(U){return U=p(Number(U)),[U<0?0:U>255?255:U&255]}function x(U){return[U>>8&255,U&255]}function O(U){return m(U[0]<<8|U[1],16)}function S(U){return[U>>8&255,U&255]}function w(U){return v(U[0]<<8|U[1],16)}function T(U){return[U>>24&255,U>>16&255,U>>8&255,U&255]}function R(U){return m(U[0]<<24|U[1]<<16|U[2]<<8|U[3],32)}function P(U){return[U>>24&255,U>>16&255,U>>8&255,U&255]}function N(U){return v(U[0]<<24|U[1]<<16|U[2]<<8|U[3],32)}function L(U,re,j){var q=(1<<re-1)-1,D,z,M,C,k,K,$;function A(I){var W=s(I),Q=I-W;return Q<.5?W:Q>.5||W%2?W+1:W}for(U!==U?(z=(1<<re)-1,M=u(2,j-1),D=0):U===1/0||U===-1/0?(z=(1<<re)-1,M=0,D=U<0?1:0):U===0?(z=0,M=0,D=1/U===-1/0?1:0):(D=U<0,U=n(U),U>=u(2,1-q)?(z=c(s(a(U)/o),1023),M=A(U/u(2,z)*u(2,j)),M/u(2,j)>=2&&(z=z+1,M=1),z>q?(z=(1<<re)-1,M=0):(z=z+q,M=M-u(2,j))):(z=0,M=A(U/u(2,1-q-j)))),k=[],C=j;C;C-=1)k.push(M%2?1:0),M=s(M/2);for(C=re;C;C-=1)k.push(z%2?1:0),z=s(z/2);for(k.push(D?1:0),k.reverse(),K=k.join(""),$=[];K.length;)$.push(parseInt(K.substring(0,8),2)),K=K.substring(8);return $}function V(U,re,j){var q=[],D,z,M,C,k,K,$,A;for(D=U.length;D;D-=1)for(M=U[D-1],z=8;z;z-=1)q.push(M%2?1:0),M=M>>1;return q.reverse(),C=q.join(""),k=(1<<re-1)-1,K=parseInt(C.substring(0,1),2)?-1:1,$=parseInt(C.substring(1,1+re),2),A=parseInt(C.substring(1+re),2),$===(1<<re)-1?A!==0?NaN:K*(1/0):$>0?K*u(2,$-k)*(1+A/u(2,j)):A!==0?K*u(2,-(k-1))*(A/u(2,j)):K<0?-0:0}function F(U){return V(U,11,52)}function H(U){return L(U,11,52)}function X(U){return V(U,8,23)}function te(U){return L(U,8,23)}(function(){var U=function(W){if(W=i.ToInt32(W),W<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=W,this._bytes=[],this._bytes.length=W;var Q;for(Q=0;Q<this.byteLength;Q+=1)this._bytes[Q]=0;l(this)};e.ArrayBuffer=e.ArrayBuffer||U;var re=function(){};function j(I,W,Q){var oe;return oe=function(J,le,_e){var ye,Pe,Re,Ee;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=i.ToInt32(arguments[0]),_e<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0}else if(typeof arguments[0]=="object"&&arguments[0].constructor===oe)for(ye=arguments[0],this.length=ye.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0,Re=0;Re<this.length;Re+=1)this._setter(Re,ye._getter(Re));else if(typeof arguments[0]=="object"&&!(arguments[0]instanceof U||i.Class(arguments[0])==="ArrayBuffer"))for(Pe=arguments[0],this.length=i.ToUint32(Pe.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0,Re=0;Re<this.length;Re+=1)Ee=Pe[Re],this._setter(Re,Number(Ee));else if(typeof arguments[0]=="object"&&(arguments[0]instanceof U||i.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=J,this.byteOffset=i.ToUint32(le),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=i.ToUint32(_e),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=oe,l(this),h(this)},oe.prototype=new re,oe.prototype.BYTES_PER_ELEMENT=I,oe.prototype._pack=W,oe.prototype._unpack=Q,oe.BYTES_PER_ELEMENT=I,oe.prototype._getter=function(J){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(J=i.ToUint32(J),J>=this.length)return t;var le=[],_e,ye;for(_e=0,ye=this.byteOffset+J*this.BYTES_PER_ELEMENT;_e<this.BYTES_PER_ELEMENT;_e+=1,ye+=1)le.push(this.buffer._bytes[ye]);return this._unpack(le)},oe.prototype.get=oe.prototype._getter,oe.prototype._setter=function(J,le){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(J=i.ToUint32(J),J>=this.length)return t;var _e=this._pack(le),ye,Pe;for(ye=0,Pe=this.byteOffset+J*this.BYTES_PER_ELEMENT;ye<this.BYTES_PER_ELEMENT;ye+=1,Pe+=1)this.buffer._bytes[Pe]=_e[ye]},oe.prototype.set=function(J,le){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var _e,ye,Pe,Re,Ee,Te,me,je,Ke,be;if(typeof arguments[0]=="object"&&arguments[0].constructor===this.constructor){if(_e=arguments[0],Pe=i.ToUint32(arguments[1]),Pe+_e.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(je=this.byteOffset+Pe*this.BYTES_PER_ELEMENT,Ke=_e.length*this.BYTES_PER_ELEMENT,_e.buffer===this.buffer){for(be=[],Ee=0,Te=_e.byteOffset;Ee<Ke;Ee+=1,Te+=1)be[Ee]=_e.buffer._bytes[Te];for(Ee=0,me=je;Ee<Ke;Ee+=1,me+=1)this.buffer._bytes[me]=be[Ee]}else for(Ee=0,Te=_e.byteOffset,me=je;Ee<Ke;Ee+=1,Te+=1,me+=1)this.buffer._bytes[me]=_e.buffer._bytes[Te]}else if(typeof arguments[0]=="object"&&typeof arguments[0].length<"u"){if(ye=arguments[0],Re=i.ToUint32(ye.length),Pe=i.ToUint32(arguments[1]),Pe+Re>this.length)throw new RangeError("Offset plus length of array is out of range");for(Ee=0;Ee<Re;Ee+=1)Te=ye[Ee],this._setter(Pe+Ee,Number(Te))}else throw new TypeError("Unexpected argument type(s)")},oe.prototype.subarray=function(J,le){function _e(Pe,Re,Ee){return Pe<Re?Re:Pe>Ee?Ee:Pe}J=i.ToInt32(J),le=i.ToInt32(le),arguments.length<1&&(J=0),arguments.length<2&&(le=this.length),J<0&&(J=this.length+J),le<0&&(le=this.length+le),J=_e(J,0,this.length),le=_e(le,0,this.length);var ye=le-J;return ye<0&&(ye=0),new this.constructor(this.buffer,this.byteOffset+J*this.BYTES_PER_ELEMENT,ye)},oe}var q=j(1,g,_),D=j(1,b,y),z=j(1,E,y),M=j(2,x,O),C=j(2,S,w),k=j(4,T,R),K=j(4,P,N),$=j(4,te,X),A=j(8,H,F);e.Int8Array=e.Int8Array||q,e.Uint8Array=e.Uint8Array||D,e.Uint8ClampedArray=e.Uint8ClampedArray||z,e.Int16Array=e.Int16Array||M,e.Uint16Array=e.Uint16Array||C,e.Int32Array=e.Int32Array||k,e.Uint32Array=e.Uint32Array||K,e.Float32Array=e.Float32Array||$,e.Float64Array=e.Float64Array||A})(),(function(){function U(z,M){return i.IsCallable(z.get)?z.get(M):z[M]}var re=(function(){var z=new e.Uint16Array([4660]),M=new e.Uint8Array(z.buffer);return U(M,0)===18})(),j=function(M,C,k){if(arguments.length===0)M=new e.ArrayBuffer(0);else if(!(M instanceof e.ArrayBuffer||i.Class(M)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=M||new e.ArrayBuffer(0),this.byteOffset=i.ToUint32(C),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=i.ToUint32(k),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");l(this)};function q(z){return function(M,C){if(M=i.ToUint32(M),M+z.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");M+=this.byteOffset;var k=new e.Uint8Array(this.buffer,M,z.BYTES_PER_ELEMENT),K=[],$;for($=0;$<z.BYTES_PER_ELEMENT;$+=1)K.push(U(k,$));return!!C==!!re&&K.reverse(),U(new z(new e.Uint8Array(K).buffer),0)}}j.prototype.getUint8=q(e.Uint8Array),j.prototype.getInt8=q(e.Int8Array),j.prototype.getUint16=q(e.Uint16Array),j.prototype.getInt16=q(e.Int16Array),j.prototype.getUint32=q(e.Uint32Array),j.prototype.getInt32=q(e.Int32Array),j.prototype.getFloat32=q(e.Float32Array),j.prototype.getFloat64=q(e.Float64Array);function D(z){return function(M,C,k){if(M=i.ToUint32(M),M+z.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var K=new z([C]),$=new e.Uint8Array(K.buffer),A=[],I,W;for(I=0;I<z.BYTES_PER_ELEMENT;I+=1)A.push(U($,I));!!k==!!re&&A.reverse(),W=new e.Uint8Array(this.buffer,M,z.BYTES_PER_ELEMENT),W.set(A)}}j.prototype.setUint8=D(e.Uint8Array),j.prototype.setInt8=D(e.Int8Array),j.prototype.setUint16=D(e.Uint16Array),j.prototype.setInt16=D(e.Int16Array),j.prototype.setUint32=D(e.Uint32Array),j.prototype.setInt32=D(e.Int32Array),j.prototype.setFloat32=D(e.Float32Array),j.prototype.setFloat64=D(e.Float64Array),e.DataView=e.DataView||j})()})(D_)),D_}var k_,XM;function t4(){if(XM)return k_;XM=1;var e=JZ().Writable,t=vi(),r=$Z();if(typeof Uint8Array>"u")var i=e4().Uint8Array;else var i=Uint8Array;function o(l,d){if(!(this instanceof o))return new o(l,d);typeof l=="function"&&(d=l,l={}),l||(l={});var f=l.encoding,h=!1;f?(f=String(f).toLowerCase(),(f==="u8"||f==="uint8")&&(f="uint8array")):h=!0,e.call(this,{objectMode:!0}),this.encoding=f,this.shouldInferEncoding=h,d&&this.on("finish",function(){d(this.getBody())}),this.body=[]}k_=o,t(o,e),o.prototype._write=function(l,d,f){this.body.push(l),f()},o.prototype.inferEncoding=function(l){var d=l===void 0?this.body[0]:l;return Buffer.isBuffer(d)?"buffer":typeof Uint8Array<"u"&&d instanceof Uint8Array?"uint8array":Array.isArray(d)?"array":typeof d=="string"?"string":Object.prototype.toString.call(d)==="[object Object]"?"object":"buffer"},o.prototype.getBody=function(){return!this.encoding&&this.body.length===0?[]:(this.shouldInferEncoding&&(this.encoding=this.inferEncoding()),this.encoding==="array"?u(this.body):this.encoding==="string"?a(this.body):this.encoding==="buffer"?c(this.body):this.encoding==="uint8array"?p(this.body):this.body)};function n(l){return/Array\]$/.test(Object.prototype.toString.call(l))}function s(l){return typeof l=="string"||n(l)||l&&typeof l.subarray=="function"}function a(l){for(var d=[],f=0;f<l.length;f++){var h=l[f];typeof h=="string"||Buffer.isBuffer(h)?d.push(h):s(h)?d.push(r(h)):d.push(r(String(h)))}return Buffer.isBuffer(l[0])?(d=Buffer.concat(d),d=d.toString("utf8")):d=d.join(""),d}function c(l){for(var d=[],f=0;f<l.length;f++){var h=l[f];Buffer.isBuffer(h)?d.push(h):s(h)?d.push(r(h)):d.push(r(String(h)))}return Buffer.concat(d)}function u(l){for(var d=[],f=0;f<l.length;f++)d.push.apply(d,l[f]);return d}function p(l){for(var d=0,f=0;f<l.length;f++)typeof l[f]=="string"&&(l[f]=r(l[f])),d+=l[f].length;for(var h=new i(d),f=0,m=0;f<l.length;f++)for(var v=l[f],g=0;g<v.length;g++)h[m++]=v[g];return h}return k_}var L_,QM;function r4(){if(QM)return L_;QM=1;var e=t4();function t(r){}return t.prototype._handleFile=function(i,o,n){o.stream.pipe(e({encoding:"buffer"},function(s){n(null,{buffer:s,size:s.length})}))},t.prototype._removeFile=function(i,o,n){delete o.buffer,n(null)},L_=function(r){return new t},L_}var JM;function Ll(){if(JM)return Qn.exports;JM=1;var e=BZ(),t=VZ(),r=r4(),i=FN();function o(a,c,u){u(null,!0)}function n(a){a.storage?this.storage=a.storage:a.dest?this.storage=t({destination:a.dest}):this.storage=r(),this.limits=a.limits,this.preservePath=a.preservePath,this.fileFilter=a.fileFilter||o}n.prototype._makeMiddleware=function(a,c){function u(){var p=this.fileFilter,l=Object.create(null);a.forEach(function(f){typeof f.maxCount=="number"?l[f.name]=f.maxCount:l[f.name]=1/0});function d(f,h,m){if((l[h.fieldname]||0)<=0)return m(new i("LIMIT_UNEXPECTED_FILE",h.fieldname));l[h.fieldname]-=1,p(f,h,m)}return{limits:this.limits,preservePath:this.preservePath,storage:this.storage,fileFilter:d,fileStrategy:c}}return e(u.bind(this))},n.prototype.single=function(a){return this._makeMiddleware([{name:a,maxCount:1}],"VALUE")},n.prototype.array=function(a,c){return this._makeMiddleware([{name:a,maxCount:c}],"ARRAY")},n.prototype.fields=function(a){return this._makeMiddleware(a,"OBJECT")},n.prototype.none=function(){return this._makeMiddleware([],"NONE")},n.prototype.any=function(){function a(){return{limits:this.limits,preservePath:this.preservePath,storage:this.storage,fileFilter:this.fileFilter,fileStrategy:"ARRAY"}}return e(a.bind(this))};function s(a){if(a===void 0)return new n({});if(typeof a=="object"&&a!==null)return new n(a);throw new TypeError("Expected object for argument options")}return Qn.exports=s,Qn.exports.diskStorage=t,Qn.exports.memoryStorage=r,Qn.exports.MulterError=i,Qn.exports}var Zu={},$M;function mi(){return $M||($M=1,Object.defineProperty(Zu,"__esModule",{value:!0}),Zu.MULTER_MODULE_OPTIONS=void 0,Zu.MULTER_MODULE_OPTIONS="MULTER_MODULE_OPTIONS"),Zu}var Zd={},on={},eI;function n4(){return eI||(eI=1,Object.defineProperty(on,"__esModule",{value:!0}),on.busboyExceptions=on.multerExceptions=void 0,on.multerExceptions={LIMIT_PART_COUNT:"Too many parts",LIMIT_FILE_SIZE:"File too large",LIMIT_FILE_COUNT:"Too many files",LIMIT_FIELD_KEY:"Field name too long",LIMIT_FIELD_VALUE:"Field value too long",LIMIT_FIELD_COUNT:"Too many fields",LIMIT_UNEXPECTED_FILE:"Unexpected field",MISSING_FIELD_NAME:"Field name missing"},on.busboyExceptions={MULTIPART_BOUNDARY_NOT_FOUND:"Multipart: Boundary not found",MULTIPART_MALFORMED_PART_HEADER:"Malformed part header",MULTIPART_UNEXPECTED_END_OF_FORM:"Unexpected end of form",MULTIPART_UNEXPECTED_END_OF_FILE:"Unexpected end of file"}),on}var tI;function Ul(){if(tI)return Zd;tI=1,Object.defineProperty(Zd,"__esModule",{value:!0}),Zd.transformException=r;const e=ve(),t=n4();function r(i){if(!i||i instanceof e.HttpException)return i;switch(i.message){case t.multerExceptions.LIMIT_FILE_SIZE:return new e.PayloadTooLargeException(i.message);case t.multerExceptions.LIMIT_FILE_COUNT:case t.multerExceptions.LIMIT_FIELD_KEY:case t.multerExceptions.LIMIT_FIELD_VALUE:case t.multerExceptions.LIMIT_FIELD_COUNT:case t.multerExceptions.LIMIT_UNEXPECTED_FILE:case t.multerExceptions.LIMIT_PART_COUNT:case t.multerExceptions.MISSING_FIELD_NAME:return i.field?new e.BadRequestException(`${i.message} - ${i.field}`):new e.BadRequestException(i.message);case t.busboyExceptions.MULTIPART_BOUNDARY_NOT_FOUND:return new e.BadRequestException(i.message);case t.busboyExceptions.MULTIPART_MALFORMED_PART_HEADER:case t.busboyExceptions.MULTIPART_UNEXPECTED_END_OF_FORM:case t.busboyExceptions.MULTIPART_UNEXPECTED_END_OF_FILE:return new e.BadRequestException(`Multipart: ${i.message}`)}return i}return Zd}var rI;function i4(){if(rI)return Bd;rI=1,Object.defineProperty(Bd,"__esModule",{value:!0}),Bd.AnyFilesInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s){let a=class{constructor(p={}){this.multer=r({...p,...s})}async intercept(p,l){const d=p.switchToHttp();return await new Promise((f,h)=>this.multer.any()(d.getRequest(),d.getResponse(),m=>{if(m){const v=(0,o.transformException)(m);return h(v)}f()})),l.handle()}};return a=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],a),(0,t.mixin)(a)}return Bd}var Kd={},nI;function a4(){if(nI)return Kd;nI=1,Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.FileFieldsInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s,a){let c=class{constructor(l={}){this.multer=r({...l,...a})}async intercept(l,d){const f=l.switchToHttp();return await new Promise((h,m)=>this.multer.fields(s)(f.getRequest(),f.getResponse(),v=>{if(v){const g=(0,o.transformException)(v);return m(g)}h()})),d.handle()}};return c=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],c),(0,t.mixin)(c)}return Kd}var Yd={},iI;function o4(){if(iI)return Yd;iI=1,Object.defineProperty(Yd,"__esModule",{value:!0}),Yd.FileInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s,a){let c=class{constructor(l={}){this.multer=r({...l,...a})}async intercept(l,d){const f=l.switchToHttp();return await new Promise((h,m)=>this.multer.single(s)(f.getRequest(),f.getResponse(),v=>{if(v){const g=(0,o.transformException)(v);return m(g)}h()})),d.handle()}};return c=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],c),(0,t.mixin)(c)}return Yd}var Xd={},aI;function s4(){if(aI)return Xd;aI=1,Object.defineProperty(Xd,"__esModule",{value:!0}),Xd.FilesInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s,a,c){let u=class{constructor(d={}){this.multer=r({...d,...c})}async intercept(d,f){const h=d.switchToHttp();return await new Promise((m,v)=>this.multer.array(s,a)(h.getRequest(),h.getResponse(),g=>{if(g){const _=(0,o.transformException)(g);return v(_)}m()})),f.handle()}};return u=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],u),(0,t.mixin)(u)}return Xd}var Qd={},oI;function c4(){if(oI)return Qd;oI=1,Object.defineProperty(Qd,"__esModule",{value:!0}),Qd.NoFilesInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s){let a=class{constructor(p={}){this.multer=r({...p,...s})}async intercept(p,l){const d=p.switchToHttp();return await new Promise((f,h)=>this.multer.none()(d.getRequest(),d.getResponse(),m=>{if(m){const v=(0,o.transformException)(m);return h(v)}f()})),l.handle()}};return a=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],a),(0,t.mixin)(a)}return Qd}var sI;function u4(){return sI||(sI=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(i4(),e),t.__exportStar(a4(),e),t.__exportStar(o4(),e),t.__exportStar(s4(),e),t.__exportStar(c4(),e)})(t_)),t_}var U_={},z_={},cI;function l4(){return cI||(cI=1,Object.defineProperty(z_,"__esModule",{value:!0})),z_}var uI;function d4(){return uI||(uI=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(l4(),e)})(U_)),U_}var Jn={},Ku={},lI;function p4(){return lI||(lI=1,Object.defineProperty(Ku,"__esModule",{value:!0}),Ku.MULTER_MODULE_ID=void 0,Ku.MULTER_MODULE_ID="MULTER_MODULE_ID"),Ku}var dI;function f4(){if(dI)return Jn;dI=1;var e;Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.MulterModule=void 0;const t=ae(),r=ve(),i=nr(),o=mi(),n=p4();let s=e=class{static register(c={}){return{module:e,providers:[{provide:o.MULTER_MODULE_OPTIONS,useFactory:()=>c},{provide:n.MULTER_MODULE_ID,useValue:(0,i.randomStringGenerator)()}],exports:[o.MULTER_MODULE_OPTIONS]}}static registerAsync(c){return{module:e,imports:c.imports,providers:[...this.createAsyncProviders(c),{provide:n.MULTER_MODULE_ID,useValue:(0,i.randomStringGenerator)()}],exports:[o.MULTER_MODULE_OPTIONS]}}static createAsyncProviders(c){return c.useExisting||c.useFactory?[this.createAsyncOptionsProvider(c)]:[this.createAsyncOptionsProvider(c),{provide:c.useClass,useClass:c.useClass}]}static createAsyncOptionsProvider(c){return c.useFactory?{provide:o.MULTER_MODULE_OPTIONS,useFactory:c.useFactory,inject:c.inject||[]}:{provide:o.MULTER_MODULE_OPTIONS,useFactory:async u=>u.createMulterOptions(),inject:[c.useExisting||c.useClass]}}};return Jn.MulterModule=s,Jn.MulterModule=s=e=t.__decorate([(0,r.Module)({})],s),Jn}var pI;function h4(){return pI||(pI=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(u4(),e),t.__exportStar(d4(),e),t.__exportStar(f4(),e)})(e_)),e_}var fI;function HN(){return fI||(fI=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(xZ(),e),t.__exportStar(SZ(),e),t.__exportStar(h4(),e)})(Zm)),Zm}var hI;function VN(){if(hI)return nn;hI=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.NestFactory=nn.NestFactoryStatic=void 0;const e=lg(),t=xt(),r=gl(),i=ne(),o=dr(),n=di(),s=uZ(),a=lZ(),c=dZ(),u=Eb(),p=fi(),l=Pb(),d=kp(),f=jN(),h=Nl(),m=On(),v=Sb(),g=Ob(),_=qN();class b{constructor(){this.logger=new t.Logger("NestFactory",{timestamp:!0}),this.abortOnError=!0,this.autoFlushLogs=!1}async create(E,x,O){const[S,w]=this.isHttpServer(x)?[x,O]:[this.createHttpAdapter(),x],T=new o.ApplicationConfig,R=new u.NestContainer(T,w),P=this.createGraphInspector(w,R);this.setAbortOnError(x,O),this.registerLoggerConfiguration(w),await this.initialize(E,R,P,T,w,S);const N=new v.NestApplication(R,S,T,P,w),L=this.createNestInstance(N);return this.createAdapterProxy(L,S)}async createMicroservice(E,x){const{NestMicroservice:O}=(0,r.loadPackage)("@nestjs/microservices","NestFactory",()=>CN),S=new o.ApplicationConfig,w=new u.NestContainer(S,x),T=this.createGraphInspector(x,w);return this.setAbortOnError(x),this.registerLoggerConfiguration(x),await this.initialize(E,w,T,S,x),this.createNestInstance(new O(w,x,T,S))}async createApplicationContext(E,x){const O=new o.ApplicationConfig,S=new u.NestContainer(O,x),w=this.createGraphInspector(x,S);this.setAbortOnError(x),this.registerLoggerConfiguration(x),await this.initialize(E,S,w,O,x);const R=S.getModules().values().next().value,P=this.createNestInstance(new g.NestApplicationContext(S,x,R));return this.autoFlushLogs&&P.flushLogsOnOverride(),P.init()}createNestInstance(E){return this.createProxy(E)}async initialize(E,x,O,S=new o.ApplicationConfig,w={},T=null){h.UuidFactory.mode=w.snapshot?h.UuidFactoryMode.Deterministic:h.UuidFactoryMode.Random;const R=new p.Injector({preview:w.preview,instanceDecorator:w.instrument?.instanceDecorator}),P=new l.InstanceLoader(x,R,O),N=new m.MetadataScanner,L=new _.DependenciesScanner(x,N,O,S);x.setHttpAdapter(T);const V=this.abortOnError===!1?c.rethrow:void 0;await T?.init?.();try{this.logger.log(n.MESSAGES.APPLICATION_START),await s.ExceptionsZone.asyncRun(async()=>{await L.scan(E),await P.createInstancesOfDependencies(),L.applyApplicationProviders()},V,this.autoFlushLogs)}catch(F){this.handleInitializationError(F)}}handleInitializationError(E){this.abortOnError&&process.abort(),(0,c.rethrow)(E)}createProxy(E){const x=this.createExceptionProxy();return new Proxy(E,{get:x,set:x})}createExceptionProxy(){return(E,x)=>{if(x in E)return(0,i.isFunction)(E[x])?this.createExceptionZone(E,x):E[x]}}createExceptionZone(E,x){const O=this.abortOnError===!1?c.rethrow:void 0;return(...S)=>{let w;return s.ExceptionsZone.run(()=>{w=E[x](...S)},O,this.autoFlushLogs),w}}registerLoggerConfiguration(E){if(!E)return;const{logger:x,bufferLogs:O,autoFlushLogs:S,forceConsole:w}=E;if(x!==!0&&!(0,i.isNil)(x))t.Logger.overrideLogger(x);else if(w){const T=new e.ConsoleLogger({forceConsole:!0});t.Logger.overrideLogger(T)}O&&t.Logger.attachBuffer(),this.autoFlushLogs=S??!0}createHttpAdapter(E){const{ExpressAdapter:x}=(0,a.loadAdapter)("@nestjs/platform-express","HTTP",()=>HN());return new x(E)}isHttpServer(E){return!!(E&&E.patch)}setAbortOnError(E,x){this.abortOnError=this.isHttpServer(E)?!(x&&x.abortOnError===!1):!(E&&E.abortOnError===!1)}createAdapterProxy(E,x){const O=new Proxy(E,{get:(S,w)=>{const T=R=>R instanceof Promise?R.then(T):R instanceof v.NestApplication?O:R;return!(w in S)&&w in x?(...R)=>{const P=this.createExceptionZone(x,w)(...R);return T(P)}:(0,i.isFunction)(S[w])?(...R)=>{const P=S[w](...R);return T(P)}:S[w]}});return O}createGraphInspector(E,x){return E?.snapshot?new d.GraphInspector(x):f.NoopGraphInspector}}return nn.NestFactoryStatic=b,nn.NestFactory=new b,nn}var B_={},Jd={},$d={},vI;function v4(){if(vI)return $d;vI=1,Object.defineProperty($d,"__esModule",{value:!0}),$d.assignToObject=e;function e(t,r){return Object.defineProperties(t,Object.keys(r).reduce((i,o)=>(i[o]=Object.getOwnPropertyDescriptor(r,o),i),Object.create(null))),t}return $d}var Yu={},mI;function m4(){return mI||(mI=1,Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.REPL_INITIALIZED_MESSAGE=void 0,Yu.REPL_INITIALIZED_MESSAGE="REPL initialized"),Yu}var Xu={},H_={},Qu={},Ju={},_I;function _i(){if(_I)return Ju;_I=1,Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.ReplFunction=void 0;const e=rr();class t{constructor(i){this.ctx=i,this.logger=i.logger}makeHelpMessage(){const{description:i,name:o,signature:n}=this.fnDefinition,s=`${o}${n}`;return`${e.clc.yellow(i)}
110
+ --${L}`,Re),this._writecb=null,this._finalcb=null,this.write(c)}static detect(P){return P.type==="multipart"&&P.subtype==="form-data"}_write(P,N,L){this._writecb=L,this._bparser.push(P,0),this._writecb&&y(this)}_destroy(P,N){this._hparser=null,this._bparser=b,P||(P=S(this));const L=this._fileStream;L&&(this._fileStream=null,L.destroy(P)),N(P)}_final(P){if(this._bparser.destroy(),!this._complete)return P(new Error("Unexpected end of form"));this._fileEndsLeft?this._finalcb=O.bind(null,this,P):O(this,P)}}function O(R,P,N){if(N)return P(N);N=S(R),P(N)}function S(R){if(R._hparser)return new Error("Malformed part header");const P=R._fileStream;if(P&&(R._fileStream=null,P.destroy(new Error("Unexpected end of file"))),!R._complete)return new Error("Unexpected end of form")}const w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],T=[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];return o_=x,o_}var s_,vM;function jZ(){if(vM)return s_;vM=1;const{Writable:e}=lp,{getDecoder:t}=Tb();class r extends e{constructor(c){const u={autoDestroy:!0,emitClose:!0,highWaterMark:typeof c.highWaterMark=="number"?c.highWaterMark:void 0};super(u);let p=c.defCharset||"utf8";c.conType.params&&typeof c.conType.params.charset=="string"&&(p=c.conType.params.charset),this.charset=p;const l=c.limits;this.fieldSizeLimit=l&&typeof l.fieldSize=="number"?l.fieldSize:1*1024*1024,this.fieldsLimit=l&&typeof l.fields=="number"?l.fields:1/0,this.fieldNameSizeLimit=l&&typeof l.fieldNameSize=="number"?l.fieldNameSize:100,this._inKey=!0,this._keyTrunc=!1,this._valTrunc=!1,this._bytesKey=0,this._bytesVal=0,this._fields=0,this._key="",this._val="",this._byte=-2,this._lastPos=0,this._encode=0,this._decoder=t(p)}static detect(c){return c.type==="application"&&c.subtype==="x-www-form-urlencoded"}_write(c,u,p){if(this._fields>=this.fieldsLimit)return p();let l=0;const d=c.length;if(this._lastPos=0,this._byte!==-2){if(l=i(this,c,l,d),l===-1)return p(new Error("Malformed urlencoded form"));if(l>=d)return p();this._inKey?++this._bytesKey:++this._bytesVal}e:for(;l<d;)if(this._inKey){for(l=o(this,c,l,d);l<d;){switch(c[l]){case 61:this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l)),this._lastPos=++l,this._key=this._decoder(this._key,this._encode),this._encode=0,this._inKey=!1;continue e;case 38:if(this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l)),this._lastPos=++l,this._key=this._decoder(this._key,this._encode),this._encode=0,this._bytesKey>0&&this.emit("field",this._key,"",{nameTruncated:this._keyTrunc,valueTruncated:!1,encoding:this.charset,mimeType:"text/plain"}),this._key="",this._val="",this._keyTrunc=!1,this._valTrunc=!1,this._bytesKey=0,this._bytesVal=0,++this._fields>=this.fieldsLimit)return this.emit("fieldsLimit"),p();continue;case 43:this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l)),this._key+=" ",this._lastPos=l+1;break;case 37:if(this._encode===0&&(this._encode=1),this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l)),this._lastPos=l+1,this._byte=-1,l=i(this,c,l+1,d),l===-1)return p(new Error("Malformed urlencoded form"));if(l>=d)return p();++this._bytesKey,l=o(this,c,l,d);continue}++l,++this._bytesKey,l=o(this,c,l,d)}this._lastPos<l&&(this._key+=c.latin1Slice(this._lastPos,l))}else{for(l=n(this,c,l,d);l<d;){switch(c[l]){case 38:if(this._lastPos<l&&(this._val+=c.latin1Slice(this._lastPos,l)),this._lastPos=++l,this._inKey=!0,this._val=this._decoder(this._val,this._encode),this._encode=0,(this._bytesKey>0||this._bytesVal>0)&&this.emit("field",this._key,this._val,{nameTruncated:this._keyTrunc,valueTruncated:this._valTrunc,encoding:this.charset,mimeType:"text/plain"}),this._key="",this._val="",this._keyTrunc=!1,this._valTrunc=!1,this._bytesKey=0,this._bytesVal=0,++this._fields>=this.fieldsLimit)return this.emit("fieldsLimit"),p();continue e;case 43:this._lastPos<l&&(this._val+=c.latin1Slice(this._lastPos,l)),this._val+=" ",this._lastPos=l+1;break;case 37:if(this._encode===0&&(this._encode=1),this._lastPos<l&&(this._val+=c.latin1Slice(this._lastPos,l)),this._lastPos=l+1,this._byte=-1,l=i(this,c,l+1,d),l===-1)return p(new Error("Malformed urlencoded form"));if(l>=d)return p();++this._bytesVal,l=n(this,c,l,d);continue}++l,++this._bytesVal,l=n(this,c,l,d)}this._lastPos<l&&(this._val+=c.latin1Slice(this._lastPos,l))}p()}_final(c){if(this._byte!==-2)return c(new Error("Malformed urlencoded form"));(!this._inKey||this._bytesKey>0||this._bytesVal>0)&&(this._inKey?this._key=this._decoder(this._key,this._encode):this._val=this._decoder(this._val,this._encode),this.emit("field",this._key,this._val,{nameTruncated:this._keyTrunc,valueTruncated:this._valTrunc,encoding:this.charset,mimeType:"text/plain"})),c()}}function i(a,c,u,p){if(u>=p)return p;if(a._byte===-1){const l=s[c[u++]];if(l===-1)return-1;if(l>=8&&(a._encode=2),u<p){const d=s[c[u++]];if(d===-1)return-1;a._inKey?a._key+=String.fromCharCode((l<<4)+d):a._val+=String.fromCharCode((l<<4)+d),a._byte=-2,a._lastPos=u}else a._byte=l}else{const l=s[c[u++]];if(l===-1)return-1;a._inKey?a._key+=String.fromCharCode((a._byte<<4)+l):a._val+=String.fromCharCode((a._byte<<4)+l),a._byte=-2,a._lastPos=u}return u}function o(a,c,u,p){if(a._bytesKey>a.fieldNameSizeLimit){for(a._keyTrunc||a._lastPos<u&&(a._key+=c.latin1Slice(a._lastPos,u-1)),a._keyTrunc=!0;u<p;++u){const l=c[u];if(l===61||l===38)break;++a._bytesKey}a._lastPos=u}return u}function n(a,c,u,p){if(a._bytesVal>a.fieldSizeLimit){for(a._valTrunc||a._lastPos<u&&(a._val+=c.latin1Slice(a._lastPos,u-1)),a._valTrunc=!0;u<p&&c[u]!==38;++u)++a._bytesVal;a._lastPos=u}return u}const s=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];return s_=r,s_}var c_,mM;function qZ(){if(mM)return c_;mM=1;const{parseContentType:e}=Tb();function t(i){const o=i.headers,n=e(o["content-type"]);if(!n)throw new Error("Malformed content type");for(const s of r){if(!s.detect(n))continue;const c={limits:i.limits,headers:o,conType:n,highWaterMark:void 0,fileHwm:void 0,defCharset:void 0,defParamCharset:void 0,preservePath:!1};return i.highWaterMark&&(c.highWaterMark=i.highWaterMark),i.fileHwm&&(c.fileHwm=i.fileHwm),c.defCharset=i.defCharset,c.defParamCharset=i.defParamCharset,c.preservePath=i.preservePath,new s(c)}throw new Error(`Unsupported content type: ${o["content-type"]}`)}const r=[CZ(),jZ()].filter(function(i){return typeof i.detect=="function"});return c_=i=>{if((typeof i!="object"||i===null)&&(i={}),typeof i.headers!="object"||i.headers===null||typeof i.headers["content-type"]!="string")throw new Error("Missing Content-Type");return t(i)},c_}var u_,_M;function NZ(){if(_M)return u_;_M=1,u_=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},i=0;i<arguments.length;i++){var o=arguments[i];for(var n in o)e.call(o,n)&&(r[n]=o[n])}return r}return u_}var l_,gM;function FZ(){if(gM)return l_;gM=1;var e=/^[^\[]*/,t=/^\[(\d+)\]/,r=/^\[([^\]]+)\]/;function i(o){function n(){return[{type:"object",key:o,last:!0}]}var s=e.exec(o)[0];if(!s)return n();for(var a=o.length,c=s.length,u={type:"object",key:s},p=[u];c<a;){var l;if(o[c]==="["&&o[c+1]==="]"){if(c+=2,u.append=!0,c!==a)return n();continue}if(l=t.exec(o.substring(c)),l!==null){c+=l[0].length,u.nextType="array",u={type:"array",key:parseInt(l[1],10)},p.push(u);continue}if(l=r.exec(o.substring(c)),l!==null){c+=l[0].length,u.nextType="object",u={type:"object",key:l[1]},p.push(u);continue}return n()}return u.last=!0,p}return l_=i,l_}var d_,bM;function DZ(){if(bM)return d_;bM=1;function e(i){return i===void 0?"undefined":Array.isArray(i)?"array":typeof i=="object"?"object":"scalar"}function t(i,o,n,s){switch(e(n)){case"undefined":o.append?i[o.key]=[s]:i[o.key]=s;break;case"array":i[o.key].push(s);break;case"object":return t(n,{key:""},n[""],s);case"scalar":i[o.key]=[i[o.key],s];break}return i}function r(i,o,n,s){if(o.last)return t(i,o,n,s);var a;switch(e(n)){case"undefined":return o.nextType==="array"?i[o.key]=[]:i[o.key]=Object.create(null),i[o.key];case"object":return i[o.key];case"array":return o.nextType==="array"?n:(a=Object.create(null),i[o.key]=a,n.forEach(function(c,u){c!==void 0&&(a[""+u]=c)}),a);case"scalar":return a=Object.create(null),a[""]=n,i[o.key]=a,a}}return d_=r,d_}var p_,yM;function kZ(){if(yM)return p_;yM=1;var e=FZ(),t=DZ();function r(i,o,n){var s=e(o);s.reduce(function(a,c){return t(a,c,a[c.key],n)},i)}return p_=r,p_}var f_,EM;function LZ(){if(EM)return f_;EM=1;var e=og.EventEmitter;function t(){e.call(this),this.value=0}return t.prototype=Object.create(e.prototype),t.prototype.increment=function(){this.value++},t.prototype.decrement=function(){--this.value===0&&this.emit("zero")},t.prototype.isZero=function(){return this.value===0},t.prototype.onceZero=function(i){if(this.isZero())return i();this.once("zero",i)},f_=t,f_}var h_,xM;function FN(){if(xM)return h_;xM=1;var e=si,t={LIMIT_PART_COUNT:"Too many parts",LIMIT_FILE_SIZE:"File too large",LIMIT_FILE_COUNT:"Too many files",LIMIT_FIELD_KEY:"Field name too long",LIMIT_FIELD_VALUE:"Field value too long",LIMIT_FIELD_COUNT:"Too many fields",LIMIT_UNEXPECTED_FILE:"Unexpected field",MISSING_FIELD_NAME:"Field name missing"};function r(i,o){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=t[i],this.code=i,o&&(this.field=o)}return e.inherits(r,Error),h_=r,h_}var v_,OM;function UZ(){if(OM)return v_;OM=1;var e=NN();function t(i,o){var n=i.indexOf(o);~n&&i.splice(n,1)}function r(i,o){switch(this.strategy=i,this.req=o,i){case"NONE":break;case"VALUE":break;case"ARRAY":o.files=[];break;case"OBJECT":o.files=Object.create(null);break;default:throw new Error("Unknown file strategy: "+i)}}return r.prototype.insertPlaceholder=function(i){var o={fieldname:i.fieldname};switch(this.strategy){case"NONE":break;case"VALUE":break;case"ARRAY":this.req.files.push(o);break;case"OBJECT":this.req.files[i.fieldname]?this.req.files[i.fieldname].push(o):this.req.files[i.fieldname]=[o];break}return o},r.prototype.removePlaceholder=function(i){switch(this.strategy){case"NONE":break;case"VALUE":break;case"ARRAY":t(this.req.files,i);break;case"OBJECT":this.req.files[i.fieldname].length===1?delete this.req.files[i.fieldname]:t(this.req.files[i.fieldname],i);break}},r.prototype.replacePlaceholder=function(i,o){if(this.strategy==="VALUE"){this.req.file=o;return}delete i.fieldname,e(i,o)},v_=r,v_}var m_,wM;function zZ(){if(wM)return m_;wM=1;function e(t,r,i){var o=t.length,n=[];if(o===0)return i(null,n);function s(a){var c=t[a];r(c,function(u){u&&(u.file=c,u.field=c.fieldname,n.push(u)),a<o-1?s(a+1):i(null,n)})}s(0)}return m_=e,m_}var __,SM;function BZ(){if(SM)return __;SM=1;var e=MZ(),t=qZ(),r=NZ(),i=kZ(),o=LZ(),n=FN(),s=UZ(),a=zZ();function c(p){p.on("readable",()=>{for(;p.read()!==null;);})}function u(p){return function(d,f,h){if(!e(d,["multipart"]))return h();var m=p(),v=m.limits,g=m.storage,_=m.fileFilter,b=m.fileStrategy,y=m.preservePath;d.body=Object.create(null),d.on("error",function(F){L(F)});var E;try{E=t({headers:d.headers,limits:v,preservePath:y})}catch(F){return h(F)}var x=new s(b,d),O=!1,S=!1,w=!1,T=new o,R=[];function P(F){O||(O=!0,d.unpipe(E),c(d),d.resume(),setImmediate(()=>{E.removeAllListeners()}),h(F))}function N(){S&&T.isZero()&&!w&&P()}function L(F){w||(w=!0,T.onceZero(function(){function H(X,te){g._removeFile(d,X,te)}a(R,H,function(X,te){if(X)return P(X);F.storageErrors=te,P(F)})}))}function V(F,H){L(new n(F,H))}E.on("field",function(F,H,{nameTruncated:X,valueTruncated:te}){if(F==null)return V("MISSING_FIELD_NAME");if(X)return V("LIMIT_FIELD_KEY");if(te)return V("LIMIT_FIELD_VALUE",F);if(v&&Object.prototype.hasOwnProperty.call(v,"fieldNameSize")&&F.length>v.fieldNameSize)return V("LIMIT_FIELD_KEY");i(d.body,F,H)}),E.on("file",function(F,H,{filename:X,encoding:te,mimeType:U}){var re=!1;if(H.on("error",function(D){re&&T.decrement(),L(D)}),F==null)return V("MISSING_FIELD_NAME");if(!X)return H.resume();if(v&&Object.prototype.hasOwnProperty.call(v,"fieldNameSize")&&F.length>v.fieldNameSize)return V("LIMIT_FIELD_KEY");var j={fieldname:F,originalname:X,encoding:te,mimetype:U},q=x.insertPlaceholder(j);_(d,j,function(D,z){if(D)return x.removePlaceholder(q),L(D);if(!z)return x.removePlaceholder(q),H.resume();var M=!1;re=!0,T.increment(),Object.defineProperty(j,"stream",{configurable:!0,enumerable:!1,value:H}),H.on("limit",function(){M=!0,V("LIMIT_FILE_SIZE",F)}),g._handleFile(d,j,function(C,k){if(M)return x.removePlaceholder(q),R.push(r(j,k)),T.decrement();if(C)return x.removePlaceholder(q),T.decrement(),L(C);var K=r(j,k);x.replacePlaceholder(q,K),R.push(K),T.decrement(),N()})})}),E.on("error",function(F){L(F)}),E.on("partsLimit",function(){V("LIMIT_PART_COUNT")}),E.on("filesLimit",function(){V("LIMIT_FILE_COUNT")}),E.on("fieldsLimit",function(){V("LIMIT_FIELD_COUNT")}),E.on("close",function(){S=!0,N()}),d.pipe(E)}}return __=u,__}var g_,PM;function HZ(){if(PM)return g_;PM=1;var e=Yt,t=ai,r=parseInt("0777",8);g_=i.mkdirp=i.mkdirP=i;function i(o,n,s,a){typeof n=="function"?(s=n,n={}):(!n||typeof n!="object")&&(n={mode:n});var c=n.mode,u=n.fs||t;c===void 0&&(c=r),a||(a=null);var p=s||function(){};o=e.resolve(o),u.mkdir(o,c,function(l){if(!l)return a=a||o,p(null,a);switch(l.code){case"ENOENT":if(e.dirname(o)===o)return p(l);i(e.dirname(o),n,function(d,f){d?p(d,f):i(o,n,p,f)});break;default:u.stat(o,function(d,f){d||!f.isDirectory()?p(l,a):p(null,a)});break}})}return i.sync=function o(n,s,a){(!s||typeof s!="object")&&(s={mode:s});var c=s.mode,u=s.fs||t;c===void 0&&(c=r),a||(a=null),n=e.resolve(n);try{u.mkdirSync(n,c),a=a||n}catch(l){switch(l.code){case"ENOENT":a=o(e.dirname(n),s,a),o(n,s,a);break;default:var p;try{p=u.statSync(n)}catch{throw l}if(!p.isDirectory())throw l;break}}return a},g_}var b_,TM;function VZ(){if(TM)return b_;TM=1;var e=ai,t=up,r=Yt,i=oi,o=HZ();function n(c,u,p){i.randomBytes(16,function(l,d){p(l,l?void 0:d.toString("hex"))})}function s(c,u,p){p(null,t.tmpdir())}function a(c){this.getFilename=c.filename||n,typeof c.destination=="string"?(o.sync(c.destination),this.getDestination=function(u,p,l){l(null,c.destination)}):this.getDestination=c.destination||s}return a.prototype._handleFile=function(u,p,l){var d=this;d.getDestination(u,p,function(f,h){if(f)return l(f);d.getFilename(u,p,function(m,v){if(m)return l(m);var g=r.join(h,v),_=e.createWriteStream(g);p.stream.pipe(_),_.on("error",l),_.on("finish",function(){l(null,{destination:h,filename:v,path:g,size:_.bytesWritten})})})})},a.prototype._removeFile=function(u,p,l){var d=p.path;delete p.destination,delete p.filename,delete p.path,e.unlink(d,l)},b_=function(c){return new a(c)},b_}var Vd={exports:{}},y_,AM;function DN(){return AM||(AM=1,y_=og.EventEmitter),y_}var E_,RM;function GZ(){if(RM)return E_;RM=1;function e(h,m){var v=Object.keys(h);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(h);m&&(g=g.filter(function(_){return Object.getOwnPropertyDescriptor(h,_).enumerable})),v.push.apply(v,g)}return v}function t(h){for(var m=1;m<arguments.length;m++){var v=arguments[m]!=null?arguments[m]:{};m%2?e(Object(v),!0).forEach(function(g){r(h,g,v[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(v)):e(Object(v)).forEach(function(g){Object.defineProperty(h,g,Object.getOwnPropertyDescriptor(v,g))})}return h}function r(h,m,v){return m=s(m),m in h?Object.defineProperty(h,m,{value:v,enumerable:!0,configurable:!0,writable:!0}):h[m]=v,h}function i(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,s(g.key),g)}}function n(h,m,v){return m&&o(h.prototype,m),Object.defineProperty(h,"prototype",{writable:!1}),h}function s(h){var m=a(h,"string");return typeof m=="symbol"?m:String(m)}function a(h,m){if(typeof h!="object"||h===null)return h;var v=h[Symbol.toPrimitive];if(v!==void 0){var g=v.call(h,m);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}var c=dp,u=c.Buffer,p=si,l=p.inspect,d=l&&l.custom||"inspect";function f(h,m,v){u.prototype.copy.call(h,m,v)}return E_=(function(){function h(){i(this,h),this.head=null,this.tail=null,this.length=0}return n(h,[{key:"push",value:function(v){var g={data:v,next:null};this.length>0?this.tail.next=g:this.head=g,this.tail=g,++this.length}},{key:"unshift",value:function(v){var g={data:v,next:this.head};this.length===0&&(this.tail=g),this.head=g,++this.length}},{key:"shift",value:function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(v){if(this.length===0)return"";for(var g=this.head,_=""+g.data;g=g.next;)_+=v+g.data;return _}},{key:"concat",value:function(v){if(this.length===0)return u.alloc(0);for(var g=u.allocUnsafe(v>>>0),_=this.head,b=0;_;)f(_.data,g,b),b+=_.data.length,_=_.next;return g}},{key:"consume",value:function(v,g){var _;return v<this.head.data.length?(_=this.head.data.slice(0,v),this.head.data=this.head.data.slice(v)):v===this.head.data.length?_=this.shift():_=g?this._getString(v):this._getBuffer(v),_}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(v){var g=this.head,_=1,b=g.data;for(v-=b.length;g=g.next;){var y=g.data,E=v>y.length?y.length:v;if(E===y.length?b+=y:b+=y.slice(0,v),v-=E,v===0){E===y.length?(++_,g.next?this.head=g.next:this.head=this.tail=null):(this.head=g,g.data=y.slice(E));break}++_}return this.length-=_,b}},{key:"_getBuffer",value:function(v){var g=u.allocUnsafe(v),_=this.head,b=1;for(_.data.copy(g),v-=_.data.length;_=_.next;){var y=_.data,E=v>y.length?y.length:v;if(y.copy(g,g.length-v,0,E),v-=E,v===0){E===y.length?(++b,_.next?this.head=_.next:this.head=this.tail=null):(this.head=_,_.data=y.slice(E));break}++b}return this.length-=b,g}},{key:d,value:function(v,g){return l(this,t(t({},g),{},{depth:0,customInspect:!1}))}}]),h})(),E_}var x_,MM;function kN(){if(MM)return x_;MM=1;function e(s,a){var c=this,u=this._readableState&&this._readableState.destroyed,p=this._writableState&&this._writableState.destroyed;return u||p?(a?a(s):s&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,s)):process.nextTick(o,this,s)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(s||null,function(l){!a&&l?c._writableState?c._writableState.errorEmitted?process.nextTick(r,c):(c._writableState.errorEmitted=!0,process.nextTick(t,c,l)):process.nextTick(t,c,l):a?(process.nextTick(r,c),a(l)):process.nextTick(r,c)}),this)}function t(s,a){o(s,a),r(s)}function r(s){s._writableState&&!s._writableState.emitClose||s._readableState&&!s._readableState.emitClose||s.emit("close")}function i(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(s,a){s.emit("error",a)}function n(s,a){var c=s._readableState,u=s._writableState;c&&c.autoDestroy||u&&u.autoDestroy?s.destroy(a):s.emit("error",a)}return x_={destroy:e,undestroy:i,errorOrDestroy:n},x_}var O_={},IM;function hi(){if(IM)return O_;IM=1;function e(a,c){a.prototype=Object.create(c.prototype),a.prototype.constructor=a,a.__proto__=c}var t={};function r(a,c,u){u||(u=Error);function p(d,f,h){return typeof c=="string"?c:c(d,f,h)}var l=(function(d){e(f,d);function f(h,m,v){return d.call(this,p(h,m,v))||this}return f})(u);l.prototype.name=u.name,l.prototype.code=a,t[a]=l}function i(a,c){if(Array.isArray(a)){var u=a.length;return a=a.map(function(p){return String(p)}),u>2?"one of ".concat(c," ").concat(a.slice(0,u-1).join(", "),", or ")+a[u-1]:u===2?"one of ".concat(c," ").concat(a[0]," or ").concat(a[1]):"of ".concat(c," ").concat(a[0])}else return"of ".concat(c," ").concat(String(a))}function o(a,c,u){return a.substr(0,c.length)===c}function n(a,c,u){return(u===void 0||u>a.length)&&(u=a.length),a.substring(u-c.length,u)===c}function s(a,c,u){return typeof u!="number"&&(u=0),u+c.length>a.length?!1:a.indexOf(c,u)!==-1}return r("ERR_INVALID_OPT_VALUE",function(a,c){return'The value "'+c+'" is invalid for option "'+a+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(a,c,u){var p;typeof c=="string"&&o(c,"not ")?(p="must not be",c=c.replace(/^not /,"")):p="must be";var l;if(n(a," argument"))l="The ".concat(a," ").concat(p," ").concat(i(c,"type"));else{var d=s(a,".")?"property":"argument";l='The "'.concat(a,'" ').concat(d," ").concat(p," ").concat(i(c,"type"))}return l+=". Received type ".concat(typeof u),l},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(a){return"The "+a+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(a){return"Cannot call "+a+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(a){return"Unknown encoding: "+a},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),O_.codes=t,O_}var w_,CM;function LN(){if(CM)return w_;CM=1;var e=hi().codes.ERR_INVALID_OPT_VALUE;function t(i,o,n){return i.highWaterMark!=null?i.highWaterMark:o?i[n]:null}function r(i,o,n,s){var a=t(o,s,n);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var c=s?n:"highWaterMark";throw new e(c,a)}return Math.floor(a)}return i.objectMode?16:16*1024}return w_={getHighWaterMark:r},w_}var Gd={exports:{}},jM;function vi(){return jM||(jM=1,typeof Object.create=="function"?Gd.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Gd.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}),Gd.exports}var S_,qM;function WZ(){if(qM)return S_;qM=1,S_=e;function e(r,i){if(t("noDeprecation"))return r;var o=!1;function n(){if(!o){if(t("throwDeprecation"))throw new Error(i);t("traceDeprecation")?console.trace(i):console.warn(i),o=!0}return r.apply(this,arguments)}return n}function t(r){try{if(!ut.localStorage)return!1}catch{return!1}var i=ut.localStorage[r];return i==null?!1:String(i).toLowerCase()==="true"}return S_}var P_,NM;function UN(){if(NM)return P_;NM=1,P_=S;function e(M){var C=this;this.next=null,this.entry=null,this.finish=function(){z(C,M)}}var t;S.WritableState=x;var r={deprecate:WZ()},i=DN(),o=dp.Buffer,n=(typeof ut<"u"?ut:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function s(M){return o.from(M)}function a(M){return o.isBuffer(M)||M instanceof n}var c=kN(),u=LN(),p=u.getHighWaterMark,l=hi().codes,d=l.ERR_INVALID_ARG_TYPE,f=l.ERR_METHOD_NOT_IMPLEMENTED,h=l.ERR_MULTIPLE_CALLBACK,m=l.ERR_STREAM_CANNOT_PIPE,v=l.ERR_STREAM_DESTROYED,g=l.ERR_STREAM_NULL_VALUES,_=l.ERR_STREAM_WRITE_AFTER_END,b=l.ERR_UNKNOWN_ENCODING,y=c.errorOrDestroy;vi()(S,i);function E(){}function x(M,C,k){t=t||ii(),M=M||{},typeof k!="boolean"&&(k=C instanceof t),this.objectMode=!!M.objectMode,k&&(this.objectMode=this.objectMode||!!M.writableObjectMode),this.highWaterMark=p(this,M,"writableHighWaterMark",k),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=M.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=M.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function($){F(C,$)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=M.emitClose!==!1,this.autoDestroy=!!M.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}x.prototype.getBuffer=function(){for(var C=this.bufferedRequest,k=[];C;)k.push(C),C=C.next;return k},(function(){try{Object.defineProperty(x.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var O;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(O=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(C){return O.call(this,C)?!0:this!==S?!1:C&&C._writableState instanceof x}})):O=function(C){return C instanceof this};function S(M){t=t||ii();var C=this instanceof t;if(!C&&!O.call(S,this))return new S(M);this._writableState=new x(M,this,C),this.writable=!0,M&&(typeof M.write=="function"&&(this._write=M.write),typeof M.writev=="function"&&(this._writev=M.writev),typeof M.destroy=="function"&&(this._destroy=M.destroy),typeof M.final=="function"&&(this._final=M.final)),i.call(this)}S.prototype.pipe=function(){y(this,new m)};function w(M,C){var k=new _;y(M,k),process.nextTick(C,k)}function T(M,C,k,K){var $;return k===null?$=new g:typeof k!="string"&&!C.objectMode&&($=new d("chunk",["string","Buffer"],k)),$?(y(M,$),process.nextTick(K,$),!1):!0}S.prototype.write=function(M,C,k){var K=this._writableState,$=!1,A=!K.objectMode&&a(M);return A&&!o.isBuffer(M)&&(M=s(M)),typeof C=="function"&&(k=C,C=null),A?C="buffer":C||(C=K.defaultEncoding),typeof k!="function"&&(k=E),K.ending?w(this,k):(A||T(this,K,M,k))&&(K.pendingcb++,$=P(this,K,A,M,C,k)),$},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var M=this._writableState;M.corked&&(M.corked--,!M.writing&&!M.corked&&!M.bufferProcessing&&M.bufferedRequest&&te(this,M))},S.prototype.setDefaultEncoding=function(C){if(typeof C=="string"&&(C=C.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((C+"").toLowerCase())>-1))throw new b(C);return this._writableState.defaultEncoding=C,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function R(M,C,k){return!M.objectMode&&M.decodeStrings!==!1&&typeof C=="string"&&(C=o.from(C,k)),C}Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function P(M,C,k,K,$,A){if(!k){var I=R(C,K,$);K!==I&&(k=!0,$="buffer",K=I)}var W=C.objectMode?1:K.length;C.length+=W;var Q=C.length<C.highWaterMark;if(Q||(C.needDrain=!0),C.writing||C.corked){var oe=C.lastBufferedRequest;C.lastBufferedRequest={chunk:K,encoding:$,isBuf:k,callback:A,next:null},oe?oe.next=C.lastBufferedRequest:C.bufferedRequest=C.lastBufferedRequest,C.bufferedRequestCount+=1}else N(M,C,!1,W,K,$,A);return Q}function N(M,C,k,K,$,A,I){C.writelen=K,C.writecb=I,C.writing=!0,C.sync=!0,C.destroyed?C.onwrite(new v("write")):k?M._writev($,C.onwrite):M._write($,A,C.onwrite),C.sync=!1}function L(M,C,k,K,$){--C.pendingcb,k?(process.nextTick($,K),process.nextTick(q,M,C),M._writableState.errorEmitted=!0,y(M,K)):($(K),M._writableState.errorEmitted=!0,y(M,K),q(M,C))}function V(M){M.writing=!1,M.writecb=null,M.length-=M.writelen,M.writelen=0}function F(M,C){var k=M._writableState,K=k.sync,$=k.writecb;if(typeof $!="function")throw new h;if(V(k),C)L(M,k,K,C,$);else{var A=U(k)||M.destroyed;!A&&!k.corked&&!k.bufferProcessing&&k.bufferedRequest&&te(M,k),K?process.nextTick(H,M,k,A,$):H(M,k,A,$)}}function H(M,C,k,K){k||X(M,C),C.pendingcb--,K(),q(M,C)}function X(M,C){C.length===0&&C.needDrain&&(C.needDrain=!1,M.emit("drain"))}function te(M,C){C.bufferProcessing=!0;var k=C.bufferedRequest;if(M._writev&&k&&k.next){var K=C.bufferedRequestCount,$=new Array(K),A=C.corkedRequestsFree;A.entry=k;for(var I=0,W=!0;k;)$[I]=k,k.isBuf||(W=!1),k=k.next,I+=1;$.allBuffers=W,N(M,C,!0,C.length,$,"",A.finish),C.pendingcb++,C.lastBufferedRequest=null,A.next?(C.corkedRequestsFree=A.next,A.next=null):C.corkedRequestsFree=new e(C),C.bufferedRequestCount=0}else{for(;k;){var Q=k.chunk,oe=k.encoding,J=k.callback,le=C.objectMode?1:Q.length;if(N(M,C,!1,le,Q,oe,J),k=k.next,C.bufferedRequestCount--,C.writing)break}k===null&&(C.lastBufferedRequest=null)}C.bufferedRequest=k,C.bufferProcessing=!1}S.prototype._write=function(M,C,k){k(new f("_write()"))},S.prototype._writev=null,S.prototype.end=function(M,C,k){var K=this._writableState;return typeof M=="function"?(k=M,M=null,C=null):typeof C=="function"&&(k=C,C=null),M!=null&&this.write(M,C),K.corked&&(K.corked=1,this.uncork()),K.ending||D(this,K,k),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function U(M){return M.ending&&M.length===0&&M.bufferedRequest===null&&!M.finished&&!M.writing}function re(M,C){M._final(function(k){C.pendingcb--,k&&y(M,k),C.prefinished=!0,M.emit("prefinish"),q(M,C)})}function j(M,C){!C.prefinished&&!C.finalCalled&&(typeof M._final=="function"&&!C.destroyed?(C.pendingcb++,C.finalCalled=!0,process.nextTick(re,M,C)):(C.prefinished=!0,M.emit("prefinish")))}function q(M,C){var k=U(C);if(k&&(j(M,C),C.pendingcb===0&&(C.finished=!0,M.emit("finish"),C.autoDestroy))){var K=M._readableState;(!K||K.autoDestroy&&K.endEmitted)&&M.destroy()}return k}function D(M,C,k){C.ending=!0,q(M,C),k&&(C.finished?process.nextTick(k):M.once("finish",k)),C.ended=!0,M.writable=!1}function z(M,C,k){var K=M.entry;for(M.entry=null;K;){var $=K.callback;C.pendingcb--,$(k),K=K.next}C.corkedRequestsFree.next=M}return Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(C){this._writableState&&(this._writableState.destroyed=C)}}),S.prototype.destroy=c.destroy,S.prototype._undestroy=c.undestroy,S.prototype._destroy=function(M,C){C(M)},P_}var T_,FM;function ii(){if(FM)return T_;FM=1;var e=Object.keys||function(u){var p=[];for(var l in u)p.push(l);return p};T_=s;var t=zN(),r=UN();vi()(s,t);for(var i=e(r.prototype),o=0;o<i.length;o++){var n=i[o];s.prototype[n]||(s.prototype[n]=r.prototype[n])}function s(u){if(!(this instanceof s))return new s(u);t.call(this,u),r.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",a)))}Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(s.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(s.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function a(){this._writableState.ended||process.nextTick(c,this)}function c(u){u.end()}return Object.defineProperty(s.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(p){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=p,this._writableState.destroyed=p)}}),T_}var A_={},Wd={exports:{}};var DM;function ZZ(){return DM||(DM=1,(function(e,t){var r=dp,i=r.Buffer;function o(s,a){for(var c in s)a[c]=s[c]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=n);function n(s,a,c){return i(s,a,c)}n.prototype=Object.create(i.prototype),o(i,n),n.from=function(s,a,c){if(typeof s=="number")throw new TypeError("Argument must not be a number");return i(s,a,c)},n.alloc=function(s,a,c){if(typeof s!="number")throw new TypeError("Argument must be a number");var u=i(s);return a!==void 0?typeof c=="string"?u.fill(a,c):u.fill(a):u.fill(0),u},n.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return i(s)},n.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(s)}})(Wd,Wd.exports)),Wd.exports}var kM;function LM(){if(kM)return A_;kM=1;var e=ZZ().Buffer,t=e.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(g){if(!g)return"utf8";for(var _;;)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(_)return;g=(""+g).toLowerCase(),_=!0}}function i(g){var _=r(g);if(typeof _!="string"&&(e.isEncoding===t||!t(g)))throw new Error("Unknown encoding: "+g);return _||g}A_.StringDecoder=o;function o(g){this.encoding=i(g);var _;switch(this.encoding){case"utf16le":this.text=l,this.end=d,_=4;break;case"utf8":this.fillLast=c,_=4;break;case"base64":this.text=f,this.end=h,_=3;break;default:this.write=m,this.end=v;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(_)}o.prototype.write=function(g){if(g.length===0)return"";var _,b;if(this.lastNeed){if(_=this.fillLast(g),_===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<g.length?_?_+this.text(g,b):this.text(g,b):_||""},o.prototype.end=p,o.prototype.text=u,o.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function n(g){return g<=127?0:g>>5===6?2:g>>4===14?3:g>>3===30?4:g>>6===2?-1:-2}function s(g,_,b){var y=_.length-1;if(y<b)return 0;var E=n(_[y]);return E>=0?(E>0&&(g.lastNeed=E-1),E):--y<b||E===-2?0:(E=n(_[y]),E>=0?(E>0&&(g.lastNeed=E-2),E):--y<b||E===-2?0:(E=n(_[y]),E>=0?(E>0&&(E===2?E=0:g.lastNeed=E-3),E):0))}function a(g,_,b){if((_[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return g.lastNeed=2,"�"}}function c(g){var _=this.lastTotal-this.lastNeed,b=a(this,g);if(b!==void 0)return b;if(this.lastNeed<=g.length)return g.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,_,0,g.length),this.lastNeed-=g.length}function u(g,_){var b=s(this,g,_);if(!this.lastNeed)return g.toString("utf8",_);this.lastTotal=b;var y=g.length-(b-this.lastNeed);return g.copy(this.lastChar,0,y),g.toString("utf8",_,y)}function p(g){var _=g&&g.length?this.write(g):"";return this.lastNeed?_+"�":_}function l(g,_){if((g.length-_)%2===0){var b=g.toString("utf16le",_);if(b){var y=b.charCodeAt(b.length-1);if(y>=55296&&y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",_,g.length-1)}function d(g){var _=g&&g.length?this.write(g):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,b)}return _}function f(g,_){var b=(g.length-_)%3;return b===0?g.toString("base64",_):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",_,g.length-b))}function h(g){var _=g&&g.length?this.write(g):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function m(g){return g.toString(this.encoding)}function v(g){return g&&g.length?this.write(g):""}return A_}var R_,UM;function Ab(){if(UM)return R_;UM=1;var e=hi().codes.ERR_STREAM_PREMATURE_CLOSE;function t(n){var s=!1;return function(){if(!s){s=!0;for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];n.apply(this,c)}}}function r(){}function i(n){return n.setHeader&&typeof n.abort=="function"}function o(n,s,a){if(typeof s=="function")return o(n,null,s);s||(s={}),a=t(a||r);var c=s.readable||s.readable!==!1&&n.readable,u=s.writable||s.writable!==!1&&n.writable,p=function(){n.writable||d()},l=n._writableState&&n._writableState.finished,d=function(){u=!1,l=!0,c||a.call(n)},f=n._readableState&&n._readableState.endEmitted,h=function(){c=!1,f=!0,u||a.call(n)},m=function(b){a.call(n,b)},v=function(){var b;if(c&&!f)return(!n._readableState||!n._readableState.ended)&&(b=new e),a.call(n,b);if(u&&!l)return(!n._writableState||!n._writableState.ended)&&(b=new e),a.call(n,b)},g=function(){n.req.on("finish",d)};return i(n)?(n.on("complete",d),n.on("abort",v),n.req?g():n.on("request",g)):u&&!n._writableState&&(n.on("end",p),n.on("close",p)),n.on("end",h),n.on("finish",d),s.error!==!1&&n.on("error",m),n.on("close",v),function(){n.removeListener("complete",d),n.removeListener("abort",v),n.removeListener("request",g),n.req&&n.req.removeListener("finish",d),n.removeListener("end",p),n.removeListener("close",p),n.removeListener("finish",d),n.removeListener("end",h),n.removeListener("error",m),n.removeListener("close",v)}}return R_=o,R_}var M_,zM;function KZ(){if(zM)return M_;zM=1;var e;function t(b,y,E){return y=r(y),y in b?Object.defineProperty(b,y,{value:E,enumerable:!0,configurable:!0,writable:!0}):b[y]=E,b}function r(b){var y=i(b,"string");return typeof y=="symbol"?y:String(y)}function i(b,y){if(typeof b!="object"||b===null)return b;var E=b[Symbol.toPrimitive];if(E!==void 0){var x=E.call(b,y);if(typeof x!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(b)}var o=Ab(),n=Symbol("lastResolve"),s=Symbol("lastReject"),a=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),p=Symbol("handlePromise"),l=Symbol("stream");function d(b,y){return{value:b,done:y}}function f(b){var y=b[n];if(y!==null){var E=b[l].read();E!==null&&(b[u]=null,b[n]=null,b[s]=null,y(d(E,!1)))}}function h(b){process.nextTick(f,b)}function m(b,y){return function(E,x){b.then(function(){if(y[c]){E(d(void 0,!0));return}y[p](E,x)},x)}}var v=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((e={get stream(){return this[l]},next:function(){var y=this,E=this[a];if(E!==null)return Promise.reject(E);if(this[c])return Promise.resolve(d(void 0,!0));if(this[l].destroyed)return new Promise(function(w,T){process.nextTick(function(){y[a]?T(y[a]):w(d(void 0,!0))})});var x=this[u],O;if(x)O=new Promise(m(x,this));else{var S=this[l].read();if(S!==null)return Promise.resolve(d(S,!1));O=new Promise(this[p])}return this[u]=O,O}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var y=this;return new Promise(function(E,x){y[l].destroy(null,function(O){if(O){x(O);return}E(d(void 0,!0))})})}),e),v),_=function(y){var E,x=Object.create(g,(E={},t(E,l,{value:y,writable:!0}),t(E,n,{value:null,writable:!0}),t(E,s,{value:null,writable:!0}),t(E,a,{value:null,writable:!0}),t(E,c,{value:y._readableState.endEmitted,writable:!0}),t(E,p,{value:function(S,w){var T=x[l].read();T?(x[u]=null,x[n]=null,x[s]=null,S(d(T,!1))):(x[n]=S,x[s]=w)},writable:!0}),E));return x[u]=null,o(y,function(O){if(O&&O.code!=="ERR_STREAM_PREMATURE_CLOSE"){var S=x[s];S!==null&&(x[u]=null,x[n]=null,x[s]=null,S(O)),x[a]=O;return}var w=x[n];w!==null&&(x[u]=null,x[n]=null,x[s]=null,w(d(void 0,!0))),x[c]=!0}),y.on("readable",h.bind(null,x)),x};return M_=_,M_}var I_,BM;function YZ(){return BM||(BM=1,I_=function(){throw new Error("Readable.from is not available in the browser")}),I_}var C_,HM;function zN(){if(HM)return C_;HM=1,C_=w;var e;w.ReadableState=S,og.EventEmitter;var t=function(I,W){return I.listeners(W).length},r=DN(),i=dp.Buffer,o=(typeof ut<"u"?ut:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function n(A){return i.from(A)}function s(A){return i.isBuffer(A)||A instanceof o}var a=si,c;a&&a.debuglog?c=a.debuglog("stream"):c=function(){};var u=GZ(),p=kN(),l=LN(),d=l.getHighWaterMark,f=hi().codes,h=f.ERR_INVALID_ARG_TYPE,m=f.ERR_STREAM_PUSH_AFTER_EOF,v=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,_,b,y;vi()(w,r);var E=p.errorOrDestroy,x=["error","close","destroy","pause","resume"];function O(A,I,W){if(typeof A.prependListener=="function")return A.prependListener(I,W);!A._events||!A._events[I]?A.on(I,W):Array.isArray(A._events[I])?A._events[I].unshift(W):A._events[I]=[W,A._events[I]]}function S(A,I,W){e=e||ii(),A=A||{},typeof W!="boolean"&&(W=I instanceof e),this.objectMode=!!A.objectMode,W&&(this.objectMode=this.objectMode||!!A.readableObjectMode),this.highWaterMark=d(this,A,"readableHighWaterMark",W),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=A.emitClose!==!1,this.autoDestroy=!!A.autoDestroy,this.destroyed=!1,this.defaultEncoding=A.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,A.encoding&&(_||(_=LM().StringDecoder),this.decoder=new _(A.encoding),this.encoding=A.encoding)}function w(A){if(e=e||ii(),!(this instanceof w))return new w(A);var I=this instanceof e;this._readableState=new S(A,this,I),this.readable=!0,A&&(typeof A.read=="function"&&(this._read=A.read),typeof A.destroy=="function"&&(this._destroy=A.destroy)),r.call(this)}Object.defineProperty(w.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(I){this._readableState&&(this._readableState.destroyed=I)}}),w.prototype.destroy=p.destroy,w.prototype._undestroy=p.undestroy,w.prototype._destroy=function(A,I){I(A)},w.prototype.push=function(A,I){var W=this._readableState,Q;return W.objectMode?Q=!0:typeof A=="string"&&(I=I||W.defaultEncoding,I!==W.encoding&&(A=i.from(A,I),I=""),Q=!0),T(this,A,I,!1,Q)},w.prototype.unshift=function(A){return T(this,A,null,!0,!1)};function T(A,I,W,Q,oe){c("readableAddChunk",I);var J=A._readableState;if(I===null)J.reading=!1,F(A,J);else{var le;if(oe||(le=P(J,I)),le)E(A,le);else if(J.objectMode||I&&I.length>0)if(typeof I!="string"&&!J.objectMode&&Object.getPrototypeOf(I)!==i.prototype&&(I=n(I)),Q)J.endEmitted?E(A,new g):R(A,J,I,!0);else if(J.ended)E(A,new m);else{if(J.destroyed)return!1;J.reading=!1,J.decoder&&!W?(I=J.decoder.write(I),J.objectMode||I.length!==0?R(A,J,I,!1):te(A,J)):R(A,J,I,!1)}else Q||(J.reading=!1,te(A,J))}return!J.ended&&(J.length<J.highWaterMark||J.length===0)}function R(A,I,W,Q){I.flowing&&I.length===0&&!I.sync?(I.awaitDrain=0,A.emit("data",W)):(I.length+=I.objectMode?1:W.length,Q?I.buffer.unshift(W):I.buffer.push(W),I.needReadable&&H(A)),te(A,I)}function P(A,I){var W;return!s(I)&&typeof I!="string"&&I!==void 0&&!A.objectMode&&(W=new h("chunk",["string","Buffer","Uint8Array"],I)),W}w.prototype.isPaused=function(){return this._readableState.flowing===!1},w.prototype.setEncoding=function(A){_||(_=LM().StringDecoder);var I=new _(A);this._readableState.decoder=I,this._readableState.encoding=this._readableState.decoder.encoding;for(var W=this._readableState.buffer.head,Q="";W!==null;)Q+=I.write(W.data),W=W.next;return this._readableState.buffer.clear(),Q!==""&&this._readableState.buffer.push(Q),this._readableState.length=Q.length,this};var N=1073741824;function L(A){return A>=N?A=N:(A--,A|=A>>>1,A|=A>>>2,A|=A>>>4,A|=A>>>8,A|=A>>>16,A++),A}function V(A,I){return A<=0||I.length===0&&I.ended?0:I.objectMode?1:A!==A?I.flowing&&I.length?I.buffer.head.data.length:I.length:(A>I.highWaterMark&&(I.highWaterMark=L(A)),A<=I.length?A:I.ended?I.length:(I.needReadable=!0,0))}w.prototype.read=function(A){c("read",A),A=parseInt(A,10);var I=this._readableState,W=A;if(A!==0&&(I.emittedReadable=!1),A===0&&I.needReadable&&((I.highWaterMark!==0?I.length>=I.highWaterMark:I.length>0)||I.ended))return c("read: emitReadable",I.length,I.ended),I.length===0&&I.ended?k(this):H(this),null;if(A=V(A,I),A===0&&I.ended)return I.length===0&&k(this),null;var Q=I.needReadable;c("need readable",Q),(I.length===0||I.length-A<I.highWaterMark)&&(Q=!0,c("length less than watermark",Q)),I.ended||I.reading?(Q=!1,c("reading or ended",Q)):Q&&(c("do read"),I.reading=!0,I.sync=!0,I.length===0&&(I.needReadable=!0),this._read(I.highWaterMark),I.sync=!1,I.reading||(A=V(W,I)));var oe;return A>0?oe=C(A,I):oe=null,oe===null?(I.needReadable=I.length<=I.highWaterMark,A=0):(I.length-=A,I.awaitDrain=0),I.length===0&&(I.ended||(I.needReadable=!0),W!==A&&I.ended&&k(this)),oe!==null&&this.emit("data",oe),oe};function F(A,I){if(c("onEofChunk"),!I.ended){if(I.decoder){var W=I.decoder.end();W&&W.length&&(I.buffer.push(W),I.length+=I.objectMode?1:W.length)}I.ended=!0,I.sync?H(A):(I.needReadable=!1,I.emittedReadable||(I.emittedReadable=!0,X(A)))}}function H(A){var I=A._readableState;c("emitReadable",I.needReadable,I.emittedReadable),I.needReadable=!1,I.emittedReadable||(c("emitReadable",I.flowing),I.emittedReadable=!0,process.nextTick(X,A))}function X(A){var I=A._readableState;c("emitReadable_",I.destroyed,I.length,I.ended),!I.destroyed&&(I.length||I.ended)&&(A.emit("readable"),I.emittedReadable=!1),I.needReadable=!I.flowing&&!I.ended&&I.length<=I.highWaterMark,M(A)}function te(A,I){I.readingMore||(I.readingMore=!0,process.nextTick(U,A,I))}function U(A,I){for(;!I.reading&&!I.ended&&(I.length<I.highWaterMark||I.flowing&&I.length===0);){var W=I.length;if(c("maybeReadMore read 0"),A.read(0),W===I.length)break}I.readingMore=!1}w.prototype._read=function(A){E(this,new v("_read()"))},w.prototype.pipe=function(A,I){var W=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=A;break;case 1:Q.pipes=[Q.pipes,A];break;default:Q.pipes.push(A);break}Q.pipesCount+=1,c("pipe count=%d opts=%j",Q.pipesCount,I);var oe=(!I||I.end!==!1)&&A!==process.stdout&&A!==process.stderr,J=oe?_e:Ke;Q.endEmitted?process.nextTick(J):W.once("end",J),A.on("unpipe",le);function le(be,Ge){c("onunpipe"),be===W&&Ge&&Ge.hasUnpiped===!1&&(Ge.hasUnpiped=!0,Re())}function _e(){c("onend"),A.end()}var ye=re(W);A.on("drain",ye);var Pe=!1;function Re(){c("cleanup"),A.removeListener("close",me),A.removeListener("finish",je),A.removeListener("drain",ye),A.removeListener("error",Te),A.removeListener("unpipe",le),W.removeListener("end",_e),W.removeListener("end",Ke),W.removeListener("data",Ee),Pe=!0,Q.awaitDrain&&(!A._writableState||A._writableState.needDrain)&&ye()}W.on("data",Ee);function Ee(be){c("ondata");var Ge=A.write(be);c("dest.write",Ge),Ge===!1&&((Q.pipesCount===1&&Q.pipes===A||Q.pipesCount>1&&$(Q.pipes,A)!==-1)&&!Pe&&(c("false write response, pause",Q.awaitDrain),Q.awaitDrain++),W.pause())}function Te(be){c("onerror",be),Ke(),A.removeListener("error",Te),t(A,"error")===0&&E(A,be)}O(A,"error",Te);function me(){A.removeListener("finish",je),Ke()}A.once("close",me);function je(){c("onfinish"),A.removeListener("close",me),Ke()}A.once("finish",je);function Ke(){c("unpipe"),W.unpipe(A)}return A.emit("pipe",W),Q.flowing||(c("pipe resume"),W.resume()),A};function re(A){return function(){var W=A._readableState;c("pipeOnDrain",W.awaitDrain),W.awaitDrain&&W.awaitDrain--,W.awaitDrain===0&&t(A,"data")&&(W.flowing=!0,M(A))}}w.prototype.unpipe=function(A){var I=this._readableState,W={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1)return A&&A!==I.pipes?this:(A||(A=I.pipes),I.pipes=null,I.pipesCount=0,I.flowing=!1,A&&A.emit("unpipe",this,W),this);if(!A){var Q=I.pipes,oe=I.pipesCount;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var J=0;J<oe;J++)Q[J].emit("unpipe",this,{hasUnpiped:!1});return this}var le=$(I.pipes,A);return le===-1?this:(I.pipes.splice(le,1),I.pipesCount-=1,I.pipesCount===1&&(I.pipes=I.pipes[0]),A.emit("unpipe",this,W),this)},w.prototype.on=function(A,I){var W=r.prototype.on.call(this,A,I),Q=this._readableState;return A==="data"?(Q.readableListening=this.listenerCount("readable")>0,Q.flowing!==!1&&this.resume()):A==="readable"&&!Q.endEmitted&&!Q.readableListening&&(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,c("on readable",Q.length,Q.reading),Q.length?H(this):Q.reading||process.nextTick(q,this)),W},w.prototype.addListener=w.prototype.on,w.prototype.removeListener=function(A,I){var W=r.prototype.removeListener.call(this,A,I);return A==="readable"&&process.nextTick(j,this),W},w.prototype.removeAllListeners=function(A){var I=r.prototype.removeAllListeners.apply(this,arguments);return(A==="readable"||A===void 0)&&process.nextTick(j,this),I};function j(A){var I=A._readableState;I.readableListening=A.listenerCount("readable")>0,I.resumeScheduled&&!I.paused?I.flowing=!0:A.listenerCount("data")>0&&A.resume()}function q(A){c("readable nexttick read 0"),A.read(0)}w.prototype.resume=function(){var A=this._readableState;return A.flowing||(c("resume"),A.flowing=!A.readableListening,D(this,A)),A.paused=!1,this};function D(A,I){I.resumeScheduled||(I.resumeScheduled=!0,process.nextTick(z,A,I))}function z(A,I){c("resume",I.reading),I.reading||A.read(0),I.resumeScheduled=!1,A.emit("resume"),M(A),I.flowing&&!I.reading&&A.read(0)}w.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function M(A){var I=A._readableState;for(c("flow",I.flowing);I.flowing&&A.read()!==null;);}w.prototype.wrap=function(A){var I=this,W=this._readableState,Q=!1;A.on("end",function(){if(c("wrapped end"),W.decoder&&!W.ended){var le=W.decoder.end();le&&le.length&&I.push(le)}I.push(null)}),A.on("data",function(le){if(c("wrapped data"),W.decoder&&(le=W.decoder.write(le)),!(W.objectMode&&le==null)&&!(!W.objectMode&&(!le||!le.length))){var _e=I.push(le);_e||(Q=!0,A.pause())}});for(var oe in A)this[oe]===void 0&&typeof A[oe]=="function"&&(this[oe]=(function(_e){return function(){return A[_e].apply(A,arguments)}})(oe));for(var J=0;J<x.length;J++)A.on(x[J],this.emit.bind(this,x[J]));return this._read=function(le){c("wrapped _read",le),Q&&(Q=!1,A.resume())},this},typeof Symbol=="function"&&(w.prototype[Symbol.asyncIterator]=function(){return b===void 0&&(b=KZ()),b(this)}),Object.defineProperty(w.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(w.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(w.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(I){this._readableState&&(this._readableState.flowing=I)}}),w._fromList=C,Object.defineProperty(w.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function C(A,I){if(I.length===0)return null;var W;return I.objectMode?W=I.buffer.shift():!A||A>=I.length?(I.decoder?W=I.buffer.join(""):I.buffer.length===1?W=I.buffer.first():W=I.buffer.concat(I.length),I.buffer.clear()):W=I.buffer.consume(A,I.decoder),W}function k(A){var I=A._readableState;c("endReadable",I.endEmitted),I.endEmitted||(I.ended=!0,process.nextTick(K,I,A))}function K(A,I){if(c("endReadableNT",A.endEmitted,A.length),!A.endEmitted&&A.length===0&&(A.endEmitted=!0,I.readable=!1,I.emit("end"),A.autoDestroy)){var W=I._writableState;(!W||W.autoDestroy&&W.finished)&&I.destroy()}}typeof Symbol=="function"&&(w.from=function(A,I){return y===void 0&&(y=YZ()),y(w,A,I)});function $(A,I){for(var W=0,Q=A.length;W<Q;W++)if(A[W]===I)return W;return-1}return C_}var j_,VM;function BN(){if(VM)return j_;VM=1,j_=a;var e=hi().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,i=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=e.ERR_TRANSFORM_WITH_LENGTH_0,n=ii();vi()(a,n);function s(p,l){var d=this._transformState;d.transforming=!1;var f=d.writecb;if(f===null)return this.emit("error",new r);d.writechunk=null,d.writecb=null,l!=null&&this.push(l),f(p);var h=this._readableState;h.reading=!1,(h.needReadable||h.length<h.highWaterMark)&&this._read(h.highWaterMark)}function a(p){if(!(this instanceof a))return new a(p);n.call(this,p),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,p&&(typeof p.transform=="function"&&(this._transform=p.transform),typeof p.flush=="function"&&(this._flush=p.flush)),this.on("prefinish",c)}function c(){var p=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(l,d){u(p,l,d)}):u(this,null,null)}a.prototype.push=function(p,l){return this._transformState.needTransform=!1,n.prototype.push.call(this,p,l)},a.prototype._transform=function(p,l,d){d(new t("_transform()"))},a.prototype._write=function(p,l,d){var f=this._transformState;if(f.writecb=d,f.writechunk=p,f.writeencoding=l,!f.transforming){var h=this._readableState;(f.needTransform||h.needReadable||h.length<h.highWaterMark)&&this._read(h.highWaterMark)}},a.prototype._read=function(p){var l=this._transformState;l.writechunk!==null&&!l.transforming?(l.transforming=!0,this._transform(l.writechunk,l.writeencoding,l.afterTransform)):l.needTransform=!0},a.prototype._destroy=function(p,l){n.prototype._destroy.call(this,p,function(d){l(d)})};function u(p,l,d){if(l)return p.emit("error",l);if(d!=null&&p.push(d),p._writableState.length)throw new o;if(p._transformState.transforming)throw new i;return p.push(null)}return j_}var q_,GM;function XZ(){if(GM)return q_;GM=1,q_=t;var e=BN();vi()(t,e);function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,i,o){o(null,r)},q_}var N_,WM;function QZ(){if(WM)return N_;WM=1;var e;function t(d){var f=!1;return function(){f||(f=!0,d.apply(void 0,arguments))}}var r=hi().codes,i=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function n(d){if(d)throw d}function s(d){return d.setHeader&&typeof d.abort=="function"}function a(d,f,h,m){m=t(m);var v=!1;d.on("close",function(){v=!0}),e===void 0&&(e=Ab()),e(d,{readable:f,writable:h},function(_){if(_)return m(_);v=!0,m()});var g=!1;return function(_){if(!v&&!g){if(g=!0,s(d))return d.abort();if(typeof d.destroy=="function")return d.destroy();m(_||new o("pipe"))}}}function c(d){d()}function u(d,f){return d.pipe(f)}function p(d){return!d.length||typeof d[d.length-1]!="function"?n:d.pop()}function l(){for(var d=arguments.length,f=new Array(d),h=0;h<d;h++)f[h]=arguments[h];var m=p(f);if(Array.isArray(f[0])&&(f=f[0]),f.length<2)throw new i("streams");var v,g=f.map(function(_,b){var y=b<f.length-1,E=b>0;return a(_,y,E,function(x){v||(v=x),x&&g.forEach(c),!y&&(g.forEach(c),m(v))})});return f.reduce(u)}return N_=l,N_}var ZM;function JZ(){return ZM||(ZM=1,(function(e,t){t=e.exports=zN(),t.Stream=t,t.Readable=t,t.Writable=UN(),t.Duplex=ii(),t.Transform=BN(),t.PassThrough=XZ(),t.finished=Ab(),t.pipeline=QZ()})(Vd,Vd.exports)),Vd.exports}var F_,KM;function $Z(){if(KM)return F_;KM=1;var e=Object.prototype.toString,t=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function r(s){return e.call(s).slice(8,-1)==="ArrayBuffer"}function i(s,a,c){a>>>=0;var u=s.byteLength-a;if(u<0)throw new RangeError("'offset' is out of bounds");if(c===void 0)c=u;else if(c>>>=0,c>u)throw new RangeError("'length' is out of bounds");return t?Buffer.from(s.slice(a,a+c)):new Buffer(new Uint8Array(s.slice(a,a+c)))}function o(s,a){if((typeof a!="string"||a==="")&&(a="utf8"),!Buffer.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');return t?Buffer.from(s,a):new Buffer(s,a)}function n(s,a,c){if(typeof s=="number")throw new TypeError('"value" argument must not be a number');return r(s)?i(s,a,c):typeof s=="string"?o(s,a):t?Buffer.from(s):new Buffer(s)}return F_=n,F_}var D_={},YM;function e4(){return YM||(YM=1,(function(e){var t=void 0,r=1e5,i=(function(){var U=Object.prototype.toString,re=Object.prototype.hasOwnProperty;return{Class:function(j){return U.call(j).replace(/^\[object *|\]$/g,"")},HasProperty:function(j,q){return q in j},HasOwnProperty:function(j,q){return re.call(j,q)},IsCallable:function(j){return typeof j=="function"},ToInt32:function(j){return j>>0},ToUint32:function(j){return j>>>0}}})(),o=Math.LN2,n=Math.abs,s=Math.floor,a=Math.log,c=Math.min,u=Math.pow,p=Math.round;function l(U){if(f&&d){var re=f(U),j;for(j=0;j<re.length;j+=1)d(U,re[j],{value:U[re[j]],writable:!1,enumerable:!1,configurable:!1})}}var d;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return!1}})()?d=Object.defineProperty:d=function(U,re,j){if(!U===Object(U))throw new TypeError("Object.defineProperty called on non-object");return i.HasProperty(j,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(U,re,j.get),i.HasProperty(j,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(U,re,j.set),i.HasProperty(j,"value")&&(U[re]=j.value),U};var f=Object.getOwnPropertyNames||function(U){if(U!==Object(U))throw new TypeError("Object.getOwnPropertyNames called on non-object");var re=[],j;for(j in U)i.HasOwnProperty(U,j)&&re.push(j);return re};function h(U){if(!d)return;if(U.length>r)throw new RangeError("Array too large for polyfill");function re(q){d(U,q,{get:function(){return U._getter(q)},set:function(D){U._setter(q,D)},enumerable:!0,configurable:!1})}var j;for(j=0;j<U.length;j+=1)re(j)}function m(U,re){var j=32-re;return U<<j>>j}function v(U,re){var j=32-re;return U<<j>>>j}function g(U){return[U&255]}function _(U){return m(U[0],8)}function b(U){return[U&255]}function y(U){return v(U[0],8)}function E(U){return U=p(Number(U)),[U<0?0:U>255?255:U&255]}function x(U){return[U>>8&255,U&255]}function O(U){return m(U[0]<<8|U[1],16)}function S(U){return[U>>8&255,U&255]}function w(U){return v(U[0]<<8|U[1],16)}function T(U){return[U>>24&255,U>>16&255,U>>8&255,U&255]}function R(U){return m(U[0]<<24|U[1]<<16|U[2]<<8|U[3],32)}function P(U){return[U>>24&255,U>>16&255,U>>8&255,U&255]}function N(U){return v(U[0]<<24|U[1]<<16|U[2]<<8|U[3],32)}function L(U,re,j){var q=(1<<re-1)-1,D,z,M,C,k,K,$;function A(I){var W=s(I),Q=I-W;return Q<.5?W:Q>.5||W%2?W+1:W}for(U!==U?(z=(1<<re)-1,M=u(2,j-1),D=0):U===1/0||U===-1/0?(z=(1<<re)-1,M=0,D=U<0?1:0):U===0?(z=0,M=0,D=1/U===-1/0?1:0):(D=U<0,U=n(U),U>=u(2,1-q)?(z=c(s(a(U)/o),1023),M=A(U/u(2,z)*u(2,j)),M/u(2,j)>=2&&(z=z+1,M=1),z>q?(z=(1<<re)-1,M=0):(z=z+q,M=M-u(2,j))):(z=0,M=A(U/u(2,1-q-j)))),k=[],C=j;C;C-=1)k.push(M%2?1:0),M=s(M/2);for(C=re;C;C-=1)k.push(z%2?1:0),z=s(z/2);for(k.push(D?1:0),k.reverse(),K=k.join(""),$=[];K.length;)$.push(parseInt(K.substring(0,8),2)),K=K.substring(8);return $}function V(U,re,j){var q=[],D,z,M,C,k,K,$,A;for(D=U.length;D;D-=1)for(M=U[D-1],z=8;z;z-=1)q.push(M%2?1:0),M=M>>1;return q.reverse(),C=q.join(""),k=(1<<re-1)-1,K=parseInt(C.substring(0,1),2)?-1:1,$=parseInt(C.substring(1,1+re),2),A=parseInt(C.substring(1+re),2),$===(1<<re)-1?A!==0?NaN:K*(1/0):$>0?K*u(2,$-k)*(1+A/u(2,j)):A!==0?K*u(2,-(k-1))*(A/u(2,j)):K<0?-0:0}function F(U){return V(U,11,52)}function H(U){return L(U,11,52)}function X(U){return V(U,8,23)}function te(U){return L(U,8,23)}(function(){var U=function(W){if(W=i.ToInt32(W),W<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=W,this._bytes=[],this._bytes.length=W;var Q;for(Q=0;Q<this.byteLength;Q+=1)this._bytes[Q]=0;l(this)};e.ArrayBuffer=e.ArrayBuffer||U;var re=function(){};function j(I,W,Q){var oe;return oe=function(J,le,_e){var ye,Pe,Re,Ee;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=i.ToInt32(arguments[0]),_e<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0}else if(typeof arguments[0]=="object"&&arguments[0].constructor===oe)for(ye=arguments[0],this.length=ye.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0,Re=0;Re<this.length;Re+=1)this._setter(Re,ye._getter(Re));else if(typeof arguments[0]=="object"&&!(arguments[0]instanceof U||i.Class(arguments[0])==="ArrayBuffer"))for(Pe=arguments[0],this.length=i.ToUint32(Pe.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0,Re=0;Re<this.length;Re+=1)Ee=Pe[Re],this._setter(Re,Number(Ee));else if(typeof arguments[0]=="object"&&(arguments[0]instanceof U||i.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=J,this.byteOffset=i.ToUint32(le),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=i.ToUint32(_e),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=oe,l(this),h(this)},oe.prototype=new re,oe.prototype.BYTES_PER_ELEMENT=I,oe.prototype._pack=W,oe.prototype._unpack=Q,oe.BYTES_PER_ELEMENT=I,oe.prototype._getter=function(J){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(J=i.ToUint32(J),J>=this.length)return t;var le=[],_e,ye;for(_e=0,ye=this.byteOffset+J*this.BYTES_PER_ELEMENT;_e<this.BYTES_PER_ELEMENT;_e+=1,ye+=1)le.push(this.buffer._bytes[ye]);return this._unpack(le)},oe.prototype.get=oe.prototype._getter,oe.prototype._setter=function(J,le){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(J=i.ToUint32(J),J>=this.length)return t;var _e=this._pack(le),ye,Pe;for(ye=0,Pe=this.byteOffset+J*this.BYTES_PER_ELEMENT;ye<this.BYTES_PER_ELEMENT;ye+=1,Pe+=1)this.buffer._bytes[Pe]=_e[ye]},oe.prototype.set=function(J,le){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var _e,ye,Pe,Re,Ee,Te,me,je,Ke,be;if(typeof arguments[0]=="object"&&arguments[0].constructor===this.constructor){if(_e=arguments[0],Pe=i.ToUint32(arguments[1]),Pe+_e.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(je=this.byteOffset+Pe*this.BYTES_PER_ELEMENT,Ke=_e.length*this.BYTES_PER_ELEMENT,_e.buffer===this.buffer){for(be=[],Ee=0,Te=_e.byteOffset;Ee<Ke;Ee+=1,Te+=1)be[Ee]=_e.buffer._bytes[Te];for(Ee=0,me=je;Ee<Ke;Ee+=1,me+=1)this.buffer._bytes[me]=be[Ee]}else for(Ee=0,Te=_e.byteOffset,me=je;Ee<Ke;Ee+=1,Te+=1,me+=1)this.buffer._bytes[me]=_e.buffer._bytes[Te]}else if(typeof arguments[0]=="object"&&typeof arguments[0].length<"u"){if(ye=arguments[0],Re=i.ToUint32(ye.length),Pe=i.ToUint32(arguments[1]),Pe+Re>this.length)throw new RangeError("Offset plus length of array is out of range");for(Ee=0;Ee<Re;Ee+=1)Te=ye[Ee],this._setter(Pe+Ee,Number(Te))}else throw new TypeError("Unexpected argument type(s)")},oe.prototype.subarray=function(J,le){function _e(Pe,Re,Ee){return Pe<Re?Re:Pe>Ee?Ee:Pe}J=i.ToInt32(J),le=i.ToInt32(le),arguments.length<1&&(J=0),arguments.length<2&&(le=this.length),J<0&&(J=this.length+J),le<0&&(le=this.length+le),J=_e(J,0,this.length),le=_e(le,0,this.length);var ye=le-J;return ye<0&&(ye=0),new this.constructor(this.buffer,this.byteOffset+J*this.BYTES_PER_ELEMENT,ye)},oe}var q=j(1,g,_),D=j(1,b,y),z=j(1,E,y),M=j(2,x,O),C=j(2,S,w),k=j(4,T,R),K=j(4,P,N),$=j(4,te,X),A=j(8,H,F);e.Int8Array=e.Int8Array||q,e.Uint8Array=e.Uint8Array||D,e.Uint8ClampedArray=e.Uint8ClampedArray||z,e.Int16Array=e.Int16Array||M,e.Uint16Array=e.Uint16Array||C,e.Int32Array=e.Int32Array||k,e.Uint32Array=e.Uint32Array||K,e.Float32Array=e.Float32Array||$,e.Float64Array=e.Float64Array||A})(),(function(){function U(z,M){return i.IsCallable(z.get)?z.get(M):z[M]}var re=(function(){var z=new e.Uint16Array([4660]),M=new e.Uint8Array(z.buffer);return U(M,0)===18})(),j=function(M,C,k){if(arguments.length===0)M=new e.ArrayBuffer(0);else if(!(M instanceof e.ArrayBuffer||i.Class(M)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=M||new e.ArrayBuffer(0),this.byteOffset=i.ToUint32(C),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=i.ToUint32(k),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");l(this)};function q(z){return function(M,C){if(M=i.ToUint32(M),M+z.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");M+=this.byteOffset;var k=new e.Uint8Array(this.buffer,M,z.BYTES_PER_ELEMENT),K=[],$;for($=0;$<z.BYTES_PER_ELEMENT;$+=1)K.push(U(k,$));return!!C==!!re&&K.reverse(),U(new z(new e.Uint8Array(K).buffer),0)}}j.prototype.getUint8=q(e.Uint8Array),j.prototype.getInt8=q(e.Int8Array),j.prototype.getUint16=q(e.Uint16Array),j.prototype.getInt16=q(e.Int16Array),j.prototype.getUint32=q(e.Uint32Array),j.prototype.getInt32=q(e.Int32Array),j.prototype.getFloat32=q(e.Float32Array),j.prototype.getFloat64=q(e.Float64Array);function D(z){return function(M,C,k){if(M=i.ToUint32(M),M+z.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var K=new z([C]),$=new e.Uint8Array(K.buffer),A=[],I,W;for(I=0;I<z.BYTES_PER_ELEMENT;I+=1)A.push(U($,I));!!k==!!re&&A.reverse(),W=new e.Uint8Array(this.buffer,M,z.BYTES_PER_ELEMENT),W.set(A)}}j.prototype.setUint8=D(e.Uint8Array),j.prototype.setInt8=D(e.Int8Array),j.prototype.setUint16=D(e.Uint16Array),j.prototype.setInt16=D(e.Int16Array),j.prototype.setUint32=D(e.Uint32Array),j.prototype.setInt32=D(e.Int32Array),j.prototype.setFloat32=D(e.Float32Array),j.prototype.setFloat64=D(e.Float64Array),e.DataView=e.DataView||j})()})(D_)),D_}var k_,XM;function t4(){if(XM)return k_;XM=1;var e=JZ().Writable,t=vi(),r=$Z();if(typeof Uint8Array>"u")var i=e4().Uint8Array;else var i=Uint8Array;function o(l,d){if(!(this instanceof o))return new o(l,d);typeof l=="function"&&(d=l,l={}),l||(l={});var f=l.encoding,h=!1;f?(f=String(f).toLowerCase(),(f==="u8"||f==="uint8")&&(f="uint8array")):h=!0,e.call(this,{objectMode:!0}),this.encoding=f,this.shouldInferEncoding=h,d&&this.on("finish",function(){d(this.getBody())}),this.body=[]}k_=o,t(o,e),o.prototype._write=function(l,d,f){this.body.push(l),f()},o.prototype.inferEncoding=function(l){var d=l===void 0?this.body[0]:l;return Buffer.isBuffer(d)?"buffer":typeof Uint8Array<"u"&&d instanceof Uint8Array?"uint8array":Array.isArray(d)?"array":typeof d=="string"?"string":Object.prototype.toString.call(d)==="[object Object]"?"object":"buffer"},o.prototype.getBody=function(){return!this.encoding&&this.body.length===0?[]:(this.shouldInferEncoding&&(this.encoding=this.inferEncoding()),this.encoding==="array"?u(this.body):this.encoding==="string"?a(this.body):this.encoding==="buffer"?c(this.body):this.encoding==="uint8array"?p(this.body):this.body)};function n(l){return/Array\]$/.test(Object.prototype.toString.call(l))}function s(l){return typeof l=="string"||n(l)||l&&typeof l.subarray=="function"}function a(l){for(var d=[],f=0;f<l.length;f++){var h=l[f];typeof h=="string"||Buffer.isBuffer(h)?d.push(h):s(h)?d.push(r(h)):d.push(r(String(h)))}return Buffer.isBuffer(l[0])?(d=Buffer.concat(d),d=d.toString("utf8")):d=d.join(""),d}function c(l){for(var d=[],f=0;f<l.length;f++){var h=l[f];Buffer.isBuffer(h)?d.push(h):s(h)?d.push(r(h)):d.push(r(String(h)))}return Buffer.concat(d)}function u(l){for(var d=[],f=0;f<l.length;f++)d.push.apply(d,l[f]);return d}function p(l){for(var d=0,f=0;f<l.length;f++)typeof l[f]=="string"&&(l[f]=r(l[f])),d+=l[f].length;for(var h=new i(d),f=0,m=0;f<l.length;f++)for(var v=l[f],g=0;g<v.length;g++)h[m++]=v[g];return h}return k_}var L_,QM;function r4(){if(QM)return L_;QM=1;var e=t4();function t(r){}return t.prototype._handleFile=function(i,o,n){o.stream.pipe(e({encoding:"buffer"},function(s){n(null,{buffer:s,size:s.length})}))},t.prototype._removeFile=function(i,o,n){delete o.buffer,n(null)},L_=function(r){return new t},L_}var JM;function Ll(){if(JM)return Qn.exports;JM=1;var e=BZ(),t=VZ(),r=r4(),i=FN();function o(a,c,u){u(null,!0)}function n(a){a.storage?this.storage=a.storage:a.dest?this.storage=t({destination:a.dest}):this.storage=r(),this.limits=a.limits,this.preservePath=a.preservePath,this.fileFilter=a.fileFilter||o}n.prototype._makeMiddleware=function(a,c){function u(){var p=this.fileFilter,l=Object.create(null);a.forEach(function(f){typeof f.maxCount=="number"?l[f.name]=f.maxCount:l[f.name]=1/0});function d(f,h,m){if((l[h.fieldname]||0)<=0)return m(new i("LIMIT_UNEXPECTED_FILE",h.fieldname));l[h.fieldname]-=1,p(f,h,m)}return{limits:this.limits,preservePath:this.preservePath,storage:this.storage,fileFilter:d,fileStrategy:c}}return e(u.bind(this))},n.prototype.single=function(a){return this._makeMiddleware([{name:a,maxCount:1}],"VALUE")},n.prototype.array=function(a,c){return this._makeMiddleware([{name:a,maxCount:c}],"ARRAY")},n.prototype.fields=function(a){return this._makeMiddleware(a,"OBJECT")},n.prototype.none=function(){return this._makeMiddleware([],"NONE")},n.prototype.any=function(){function a(){return{limits:this.limits,preservePath:this.preservePath,storage:this.storage,fileFilter:this.fileFilter,fileStrategy:"ARRAY"}}return e(a.bind(this))};function s(a){if(a===void 0)return new n({});if(typeof a=="object"&&a!==null)return new n(a);throw new TypeError("Expected object for argument options")}return Qn.exports=s,Qn.exports.diskStorage=t,Qn.exports.memoryStorage=r,Qn.exports.MulterError=i,Qn.exports}var Zu={},$M;function mi(){return $M||($M=1,Object.defineProperty(Zu,"__esModule",{value:!0}),Zu.MULTER_MODULE_OPTIONS=void 0,Zu.MULTER_MODULE_OPTIONS="MULTER_MODULE_OPTIONS"),Zu}var Zd={},on={},eI;function n4(){return eI||(eI=1,Object.defineProperty(on,"__esModule",{value:!0}),on.busboyExceptions=on.multerExceptions=void 0,on.multerExceptions={LIMIT_PART_COUNT:"Too many parts",LIMIT_FILE_SIZE:"File too large",LIMIT_FILE_COUNT:"Too many files",LIMIT_FIELD_KEY:"Field name too long",LIMIT_FIELD_VALUE:"Field value too long",LIMIT_FIELD_COUNT:"Too many fields",LIMIT_UNEXPECTED_FILE:"Unexpected field",MISSING_FIELD_NAME:"Field name missing"},on.busboyExceptions={MULTIPART_BOUNDARY_NOT_FOUND:"Multipart: Boundary not found",MULTIPART_MALFORMED_PART_HEADER:"Malformed part header",MULTIPART_UNEXPECTED_END_OF_FORM:"Unexpected end of form",MULTIPART_UNEXPECTED_END_OF_FILE:"Unexpected end of file"}),on}var tI;function Ul(){if(tI)return Zd;tI=1,Object.defineProperty(Zd,"__esModule",{value:!0}),Zd.transformException=r;const e=ve(),t=n4();function r(i){if(!i||i instanceof e.HttpException)return i;switch(i.message){case t.multerExceptions.LIMIT_FILE_SIZE:return new e.PayloadTooLargeException(i.message);case t.multerExceptions.LIMIT_FILE_COUNT:case t.multerExceptions.LIMIT_FIELD_KEY:case t.multerExceptions.LIMIT_FIELD_VALUE:case t.multerExceptions.LIMIT_FIELD_COUNT:case t.multerExceptions.LIMIT_UNEXPECTED_FILE:case t.multerExceptions.LIMIT_PART_COUNT:case t.multerExceptions.MISSING_FIELD_NAME:return i.field?new e.BadRequestException(`${i.message} - ${i.field}`):new e.BadRequestException(i.message);case t.busboyExceptions.MULTIPART_BOUNDARY_NOT_FOUND:return new e.BadRequestException(i.message);case t.busboyExceptions.MULTIPART_MALFORMED_PART_HEADER:case t.busboyExceptions.MULTIPART_UNEXPECTED_END_OF_FORM:case t.busboyExceptions.MULTIPART_UNEXPECTED_END_OF_FILE:return new e.BadRequestException(`Multipart: ${i.message}`)}return i}return Zd}var rI;function i4(){if(rI)return Bd;rI=1,Object.defineProperty(Bd,"__esModule",{value:!0}),Bd.AnyFilesInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s){let a=class{constructor(p={}){this.multer=r({...p,...s})}async intercept(p,l){const d=p.switchToHttp();return await new Promise((f,h)=>this.multer.any()(d.getRequest(),d.getResponse(),m=>{if(m){const v=(0,o.transformException)(m);return h(v)}f()})),l.handle()}};return a=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],a),(0,t.mixin)(a)}return Bd}var Kd={},nI;function a4(){if(nI)return Kd;nI=1,Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.FileFieldsInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s,a){let c=class{constructor(l={}){this.multer=r({...l,...a})}async intercept(l,d){const f=l.switchToHttp();return await new Promise((h,m)=>this.multer.fields(s)(f.getRequest(),f.getResponse(),v=>{if(v){const g=(0,o.transformException)(v);return m(g)}h()})),d.handle()}};return c=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],c),(0,t.mixin)(c)}return Kd}var Yd={},iI;function o4(){if(iI)return Yd;iI=1,Object.defineProperty(Yd,"__esModule",{value:!0}),Yd.FileInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s,a){let c=class{constructor(l={}){this.multer=r({...l,...a})}async intercept(l,d){const f=l.switchToHttp();return await new Promise((h,m)=>this.multer.single(s)(f.getRequest(),f.getResponse(),v=>{if(v){const g=(0,o.transformException)(v);return m(g)}h()})),d.handle()}};return c=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],c),(0,t.mixin)(c)}return Yd}var Xd={},aI;function s4(){if(aI)return Xd;aI=1,Object.defineProperty(Xd,"__esModule",{value:!0}),Xd.FilesInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s,a,c){let u=class{constructor(d={}){this.multer=r({...d,...c})}async intercept(d,f){const h=d.switchToHttp();return await new Promise((m,v)=>this.multer.array(s,a)(h.getRequest(),h.getResponse(),g=>{if(g){const _=(0,o.transformException)(g);return v(_)}m()})),f.handle()}};return u=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],u),(0,t.mixin)(u)}return Xd}var Qd={},oI;function c4(){if(oI)return Qd;oI=1,Object.defineProperty(Qd,"__esModule",{value:!0}),Qd.NoFilesInterceptor=n;const e=ae(),t=ve(),r=Ll(),i=mi(),o=Ul();function n(s){let a=class{constructor(p={}){this.multer=r({...p,...s})}async intercept(p,l){const d=p.switchToHttp();return await new Promise((f,h)=>this.multer.none()(d.getRequest(),d.getResponse(),m=>{if(m){const v=(0,o.transformException)(m);return h(v)}f()})),l.handle()}};return a=e.__decorate([e.__param(0,(0,t.Optional)()),e.__param(0,(0,t.Inject)(i.MULTER_MODULE_OPTIONS)),e.__metadata("design:paramtypes",[Object])],a),(0,t.mixin)(a)}return Qd}var sI;function u4(){return sI||(sI=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(i4(),e),t.__exportStar(a4(),e),t.__exportStar(o4(),e),t.__exportStar(s4(),e),t.__exportStar(c4(),e)})(t_)),t_}var U_={},z_={},cI;function l4(){return cI||(cI=1,Object.defineProperty(z_,"__esModule",{value:!0})),z_}var uI;function d4(){return uI||(uI=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),ae().__exportStar(l4(),e)})(U_)),U_}var Jn={},Ku={},lI;function p4(){return lI||(lI=1,Object.defineProperty(Ku,"__esModule",{value:!0}),Ku.MULTER_MODULE_ID=void 0,Ku.MULTER_MODULE_ID="MULTER_MODULE_ID"),Ku}var dI;function f4(){if(dI)return Jn;dI=1;var e;Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.MulterModule=void 0;const t=ae(),r=ve(),i=nr(),o=mi(),n=p4();let s=e=class{static register(c={}){return{module:e,providers:[{provide:o.MULTER_MODULE_OPTIONS,useFactory:()=>c},{provide:n.MULTER_MODULE_ID,useValue:(0,i.randomStringGenerator)()}],exports:[o.MULTER_MODULE_OPTIONS]}}static registerAsync(c){return{module:e,imports:c.imports,providers:[...this.createAsyncProviders(c),{provide:n.MULTER_MODULE_ID,useValue:(0,i.randomStringGenerator)()}],exports:[o.MULTER_MODULE_OPTIONS]}}static createAsyncProviders(c){return c.useExisting||c.useFactory?[this.createAsyncOptionsProvider(c)]:[this.createAsyncOptionsProvider(c),{provide:c.useClass,useClass:c.useClass}]}static createAsyncOptionsProvider(c){return c.useFactory?{provide:o.MULTER_MODULE_OPTIONS,useFactory:c.useFactory,inject:c.inject||[]}:{provide:o.MULTER_MODULE_OPTIONS,useFactory:async u=>u.createMulterOptions(),inject:[c.useExisting||c.useClass]}}};return Jn.MulterModule=s,Jn.MulterModule=s=e=t.__decorate([(0,r.Module)({})],s),Jn}var pI;function h4(){return pI||(pI=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(u4(),e),t.__exportStar(d4(),e),t.__exportStar(f4(),e)})(e_)),e_}var fI;function HN(){return fI||(fI=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=ae();t.__exportStar(xZ(),e),t.__exportStar(SZ(),e),t.__exportStar(h4(),e)})(Zm)),Zm}var hI;function VN(){if(hI)return nn;hI=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.NestFactory=nn.NestFactoryStatic=void 0;const e=lg(),t=xt(),r=gl(),i=ne(),o=dr(),n=di(),s=uZ(),a=lZ(),c=dZ(),u=Eb(),p=fi(),l=Pb(),d=kp(),f=jN(),h=Nl(),m=On(),v=Sb(),g=Ob(),_=qN();class b{constructor(){this.logger=new t.Logger("NestFactory",{timestamp:!0}),this.abortOnError=!0,this.autoFlushLogs=!1}async create(E,x,O){const[S,w]=this.isHttpServer(x)?[x,O]:[this.createHttpAdapter(),x],T=new o.ApplicationConfig,R=new u.NestContainer(T,w),P=this.createGraphInspector(w,R);this.setAbortOnError(x,O),this.registerLoggerConfiguration(w),await this.initialize(E,R,P,T,w,S);const N=new v.NestApplication(R,S,T,P,w),L=this.createNestInstance(N);return this.createAdapterProxy(L,S)}async createMicroservice(E,x){const{NestMicroservice:O}=(0,r.loadPackage)("@nestjs/microservices","NestFactory",()=>CN),S=new o.ApplicationConfig,w=new u.NestContainer(S,x),T=this.createGraphInspector(x,w);return this.setAbortOnError(x),this.registerLoggerConfiguration(x),await this.initialize(E,w,T,S,x),this.createNestInstance(new O(w,x,T,S))}async createApplicationContext(E,x){const O=new o.ApplicationConfig,S=new u.NestContainer(O,x),w=this.createGraphInspector(x,S);this.setAbortOnError(x),this.registerLoggerConfiguration(x),await this.initialize(E,S,w,O,x);const R=S.getModules().values().next().value,P=this.createNestInstance(new g.NestApplicationContext(S,x,R));return this.autoFlushLogs&&P.flushLogsOnOverride(),P.init()}createNestInstance(E){return this.createProxy(E)}async initialize(E,x,O,S=new o.ApplicationConfig,w={},T=null){h.UuidFactory.mode=w.snapshot?h.UuidFactoryMode.Deterministic:h.UuidFactoryMode.Random;const R=new p.Injector({preview:w.preview,instanceDecorator:w.instrument?.instanceDecorator}),P=new l.InstanceLoader(x,R,O),N=new m.MetadataScanner,L=new _.DependenciesScanner(x,N,O,S);x.setHttpAdapter(T);const V=this.abortOnError===!1?c.rethrow:void 0;await T?.init?.();try{this.logger.log(n.MESSAGES.APPLICATION_START),await s.ExceptionsZone.asyncRun(async()=>{await L.scan(E),await P.createInstancesOfDependencies(),L.applyApplicationProviders()},V,this.autoFlushLogs)}catch(F){this.handleInitializationError(F)}}handleInitializationError(E){this.abortOnError&&process.abort(),(0,c.rethrow)(E)}createProxy(E){const x=this.createExceptionProxy();return new Proxy(E,{get:x,set:x})}createExceptionProxy(){return(E,x)=>{if(x in E)return(0,i.isFunction)(E[x])?this.createExceptionZone(E,x):E[x]}}createExceptionZone(E,x){const O=this.abortOnError===!1?c.rethrow:void 0;return(...S)=>{let w;return s.ExceptionsZone.run(()=>{w=E[x](...S)},O,this.autoFlushLogs),w}}registerLoggerConfiguration(E){if(!E)return;const{logger:x,bufferLogs:O,autoFlushLogs:S,forceConsole:w}=E;if(x!==!0&&!(0,i.isNil)(x))t.Logger.overrideLogger(x);else if(w){const T=new e.ConsoleLogger({forceConsole:!0});t.Logger.overrideLogger(T)}O&&t.Logger.attachBuffer(),this.autoFlushLogs=S??!0}createHttpAdapter(E){const{ExpressAdapter:x}=(0,a.loadAdapter)("@nestjs/platform-express","HTTP",()=>HN());return new x(E)}isHttpServer(E){return!!(E&&E.patch)}setAbortOnError(E,x){this.abortOnError=this.isHttpServer(E)?!(x&&x.abortOnError===!1):!(E&&E.abortOnError===!1)}createAdapterProxy(E,x){const O=new Proxy(E,{get:(S,w)=>{const T=R=>R instanceof Promise?R.then(T):R instanceof v.NestApplication?O:R;return!(w in S)&&w in x?(...R)=>{const P=this.createExceptionZone(x,w)(...R);return T(P)}:(0,i.isFunction)(S[w])?(...R)=>{const P=S[w](...R);return T(P)}:S[w]}});return O}createGraphInspector(E,x){return E?.snapshot?new d.GraphInspector(x):f.NoopGraphInspector}}return nn.NestFactoryStatic=b,nn.NestFactory=new b,nn}var B_={},Jd={},$d={},vI;function v4(){if(vI)return $d;vI=1,Object.defineProperty($d,"__esModule",{value:!0}),$d.assignToObject=e;function e(t,r){return Object.defineProperties(t,Object.keys(r).reduce((i,o)=>(i[o]=Object.getOwnPropertyDescriptor(r,o),i),Object.create(null))),t}return $d}var Yu={},mI;function m4(){return mI||(mI=1,Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.REPL_INITIALIZED_MESSAGE=void 0,Yu.REPL_INITIALIZED_MESSAGE="REPL initialized"),Yu}var Xu={},H_={},Qu={},Ju={},_I;function _i(){if(_I)return Ju;_I=1,Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.ReplFunction=void 0;const e=rr();class t{constructor(i){this.ctx=i,this.logger=i.logger}makeHelpMessage(){const{description:i,name:o,signature:n}=this.fnDefinition,s=`${o}${n}`;return`${e.clc.yellow(i)}
151
111
  ${e.clc.magentaBright("Interface:")} ${e.clc.bold(s)}
152
112
  `}}return Ju.ReplFunction=t,Ju}var gI;function _4(){if(gI)return Qu;gI=1,Object.defineProperty(Qu,"__esModule",{value:!0}),Qu.HelpReplFn=void 0;const e=Ve(),t=rr(),r=_i();class i extends r.ReplFunction{constructor(){super(...arguments),this.fnDefinition={name:"help",signature:"() => void",description:"Display all available REPL native functions."}}action(){const n=(0,e.iterate)(this.ctx.nativeFunctions).map(([,s])=>s.fnDefinition).toArray().sort((s,a)=>s.name<a.name?-1:1);this.ctx.writeToStdout(`You can call ${t.clc.bold(".help")} on any function listed below (e.g.: ${t.clc.bold("help.help")}):
153
113