@zthun/lumberjacky-nest 1.2.0 → 1.3.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../node_modules/tslib/tslib.es6.mjs","../../../../node_modules/uid/dist/index.js","../../../../node_modules/@nestjs/common/decorators/core/bind.decorator.js","../../../../node_modules/@nestjs/common/constants.js","../../../../node_modules/@nestjs/common/decorators/core/catch.decorator.js","../../../../node_modules/@nestjs/common/utils/shared.utils.js","../../../../node_modules/@nestjs/common/decorators/core/controller.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/dependencies.decorator.js","../../../../node_modules/@nestjs/common/utils/extend-metadata.util.js","../../../../node_modules/@nestjs/common/utils/validate-each.util.js","../../../../node_modules/@nestjs/common/decorators/core/exception-filters.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/inject.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/injectable.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/optional.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/set-metadata.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/use-guards.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/use-interceptors.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/use-pipes.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/apply-decorators.js","../../../../node_modules/@nestjs/common/decorators/core/version.decorator.js","../../../../node_modules/@nestjs/common/decorators/core/index.js","../../../../node_modules/@nestjs/common/decorators/modules/global.decorator.js","../../../../node_modules/@nestjs/common/utils/validate-module-keys.util.js","../../../../node_modules/@nestjs/common/decorators/modules/module.decorator.js","../../../../node_modules/@nestjs/common/decorators/modules/index.js","../../../../node_modules/@nestjs/common/enums/request-method.enum.js","../../../../node_modules/@nestjs/common/decorators/http/request-mapping.decorator.js","../../../../node_modules/@nestjs/common/enums/route-paramtypes.enum.js","../../../../node_modules/@nestjs/common/decorators/http/route-params.decorator.js","../../../../node_modules/@nestjs/common/decorators/http/http-code.decorator.js","../../../../node_modules/@nestjs/common/utils/assign-custom-metadata.util.js","../../../../node_modules/@nestjs/common/decorators/http/create-route-param-metadata.decorator.js","../../../../node_modules/@nestjs/common/decorators/http/render.decorator.js","../../../../node_modules/@nestjs/common/decorators/http/header.decorator.js","../../../../node_modules/@nestjs/common/decorators/http/redirect.decorator.js","../../../../node_modules/@nestjs/common/decorators/http/sse.decorator.js","../../../../node_modules/@nestjs/common/decorators/http/index.js","../../../../node_modules/@nestjs/common/decorators/index.js","../../../../node_modules/@nestjs/common/enums/http-status.enum.js","../../../../node_modules/@nestjs/common/enums/shutdown-signal.enum.js","../../../../node_modules/@nestjs/common/enums/version-type.enum.js","../../../../node_modules/@nestjs/common/enums/index.js","../../../../node_modules/@nestjs/common/exceptions/http.exception.js","../../../../node_modules/@nestjs/common/exceptions/bad-request.exception.js","../../../../node_modules/@nestjs/common/exceptions/unauthorized.exception.js","../../../../node_modules/@nestjs/common/exceptions/method-not-allowed.exception.js","../../../../node_modules/@nestjs/common/exceptions/not-found.exception.js","../../../../node_modules/@nestjs/common/exceptions/forbidden.exception.js","../../../../node_modules/@nestjs/common/exceptions/not-acceptable.exception.js","../../../../node_modules/@nestjs/common/exceptions/request-timeout.exception.js","../../../../node_modules/@nestjs/common/exceptions/conflict.exception.js","../../../../node_modules/@nestjs/common/exceptions/gone.exception.js","../../../../node_modules/@nestjs/common/exceptions/payload-too-large.exception.js","../../../../node_modules/@nestjs/common/exceptions/unsupported-media-type.exception.js","../../../../node_modules/@nestjs/common/exceptions/unprocessable-entity.exception.js","../../../../node_modules/@nestjs/common/exceptions/internal-server-error.exception.js","../../../../node_modules/@nestjs/common/exceptions/not-implemented.exception.js","../../../../node_modules/@nestjs/common/exceptions/http-version-not-supported.exception.js","../../../../node_modules/@nestjs/common/exceptions/bad-gateway.exception.js","../../../../node_modules/@nestjs/common/exceptions/service-unavailable.exception.js","../../../../node_modules/@nestjs/common/exceptions/gateway-timeout.exception.js","../../../../node_modules/@nestjs/common/exceptions/im-a-teapot.exception.js","../../../../node_modules/@nestjs/common/exceptions/precondition-failed.exception.js","../../../../node_modules/@nestjs/common/exceptions/misdirected.exception.js","../../../../node_modules/@nestjs/common/exceptions/index.js","../../../../node_modules/@nestjs/common/file-stream/streamable-file.js","../../../../node_modules/@nestjs/common/file-stream/index.js","../../../../node_modules/@nestjs/common/interfaces/abstract.interface.js","../../../../node_modules/@nestjs/common/interfaces/controllers/controller-metadata.interface.js","../../../../node_modules/@nestjs/common/interfaces/controllers/controller.interface.js","../../../../node_modules/@nestjs/common/interfaces/exceptions/exception-filter.interface.js","../../../../node_modules/@nestjs/common/interfaces/exceptions/rpc-exception-filter.interface.js","../../../../node_modules/@nestjs/common/interfaces/exceptions/ws-exception-filter.interface.js","../../../../node_modules/@nestjs/common/interfaces/external/validation-error.interface.js","../../../../node_modules/@nestjs/common/interfaces/features/arguments-host.interface.js","../../../../node_modules/@nestjs/common/interfaces/features/can-activate.interface.js","../../../../node_modules/@nestjs/common/interfaces/features/custom-route-param-factory.interface.js","../../../../node_modules/@nestjs/common/interfaces/features/execution-context.interface.js","../../../../node_modules/@nestjs/common/interfaces/features/nest-interceptor.interface.js","../../../../node_modules/@nestjs/common/interfaces/features/paramtype.interface.js","../../../../node_modules/@nestjs/common/interfaces/features/pipe-transform.interface.js","../../../../node_modules/@nestjs/common/interfaces/global-prefix-options.interface.js","../../../../node_modules/@nestjs/common/interfaces/hooks/before-application-shutdown.interface.js","../../../../node_modules/@nestjs/common/interfaces/hooks/on-application-bootstrap.interface.js","../../../../node_modules/@nestjs/common/interfaces/hooks/on-application-shutdown.interface.js","../../../../node_modules/@nestjs/common/interfaces/hooks/on-destroy.interface.js","../../../../node_modules/@nestjs/common/interfaces/hooks/on-init.interface.js","../../../../node_modules/@nestjs/common/interfaces/hooks/index.js","../../../../node_modules/@nestjs/common/interfaces/http/http-exception-body.interface.js","../../../../node_modules/@nestjs/common/interfaces/http/http-server.interface.js","../../../../node_modules/@nestjs/common/interfaces/http/message-event.interface.js","../../../../node_modules/@nestjs/common/interfaces/http/raw-body-request.interface.js","../../../../node_modules/@nestjs/common/interfaces/http/index.js","../../../../node_modules/@nestjs/common/interfaces/injectable.interface.js","../../../../node_modules/@nestjs/common/interfaces/microservices/nest-hybrid-application-options.interface.js","../../../../node_modules/@nestjs/common/interfaces/middleware/middleware-config-proxy.interface.js","../../../../node_modules/@nestjs/common/interfaces/middleware/middleware-configuration.interface.js","../../../../node_modules/@nestjs/common/interfaces/middleware/middleware-consumer.interface.js","../../../../node_modules/@nestjs/common/interfaces/middleware/nest-middleware.interface.js","../../../../node_modules/@nestjs/common/interfaces/middleware/index.js","../../../../node_modules/@nestjs/common/interfaces/modules/dynamic-module.interface.js","../../../../node_modules/@nestjs/common/interfaces/modules/forward-reference.interface.js","../../../../node_modules/@nestjs/common/interfaces/modules/injection-token.interface.js","../../../../node_modules/@nestjs/common/interfaces/modules/introspection-result.interface.js","../../../../node_modules/@nestjs/common/interfaces/modules/module-metadata.interface.js","../../../../node_modules/@nestjs/common/interfaces/modules/nest-module.interface.js","../../../../node_modules/@nestjs/common/interfaces/modules/optional-factory-dependency.interface.js","../../../../node_modules/@nestjs/common/interfaces/modules/provider.interface.js","../../../../node_modules/@nestjs/common/interfaces/modules/index.js","../../../../node_modules/@nestjs/common/interfaces/nest-application-context.interface.js","../../../../node_modules/@nestjs/common/interfaces/nest-application-options.interface.js","../../../../node_modules/@nestjs/common/interfaces/nest-application.interface.js","../../../../node_modules/@nestjs/common/interfaces/nest-microservice.interface.js","../../../../node_modules/@nestjs/common/interfaces/scope-options.interface.js","../../../../node_modules/@nestjs/common/interfaces/type.interface.js","../../../../node_modules/@nestjs/common/interfaces/version-options.interface.js","../../../../node_modules/@nestjs/common/interfaces/websockets/web-socket-adapter.interface.js","../../../../node_modules/@nestjs/common/interfaces/index.js","../../../../node_modules/@nestjs/common/utils/cli-colors.util.js","../../../../node_modules/@nestjs/common/services/utils/is-log-level-enabled.util.js","../../../../node_modules/@nestjs/common/services/utils/index.js","../../../../node_modules/@nestjs/common/services/console-logger.service.js","../../../../node_modules/@nestjs/common/services/logger.service.js","../../../../node_modules/@nestjs/common/utils/random-string-generator.util.js","../../../../node_modules/@nestjs/common/module-utils/constants.js","../../../../node_modules/@nestjs/common/module-utils/utils/generate-options-injection-token.util.js","../../../../node_modules/@nestjs/common/module-utils/utils/get-injection-providers.util.js","../../../../node_modules/@nestjs/common/module-utils/utils/index.js","../../../../node_modules/@nestjs/common/module-utils/configurable-module.builder.js","../../../../node_modules/@nestjs/common/module-utils/interfaces/configurable-module-async-options.interface.js","../../../../node_modules/@nestjs/common/module-utils/interfaces/configurable-module-cls.interface.js","../../../../node_modules/@nestjs/common/module-utils/interfaces/configurable-module-host.interface.js","../../../../node_modules/@nestjs/common/module-utils/interfaces/index.js","../../../../node_modules/@nestjs/common/module-utils/index.js","../../../../node_modules/@nestjs/common/pipes/default-value.pipe.js","../../../../node_modules/@nestjs/common/utils/http-error-by-code.util.js","../../../../node_modules/iterare/lib/concat.js","../../../../node_modules/iterare/lib/filter.js","../../../../node_modules/iterare/lib/utils.js","../../../../node_modules/iterare/lib/flatten.js","../../../../node_modules/iterare/lib/map.js","../../../../node_modules/iterare/lib/slice.js","../../../../node_modules/iterare/lib/zip.js","../../../../node_modules/iterare/lib/iterate.js","../../../../node_modules/iterare/lib/index.js","../../../../node_modules/@nestjs/common/utils/load-package.util.js","../../../../node_modules/@nestjs/common/pipes/validation.pipe.js","../../../../node_modules/@nestjs/common/pipes/parse-array.pipe.js","../../../../node_modules/@nestjs/common/pipes/parse-bool.pipe.js","../../../../node_modules/@nestjs/common/pipes/parse-int.pipe.js","../../../../node_modules/@nestjs/common/pipes/parse-float.pipe.js","../../../../node_modules/@nestjs/common/pipes/parse-enum.pipe.js","../../../../node_modules/@nestjs/common/pipes/parse-uuid.pipe.js","../../../../node_modules/@nestjs/common/pipes/file/file-validator.interface.js","../../../../node_modules/@nestjs/common/pipes/file/file-type.validator.js","../../../../node_modules/@nestjs/common/pipes/file/max-file-size.validator.js","../../../../node_modules/@nestjs/common/pipes/file/parse-file-options.interface.js","../../../../node_modules/@nestjs/common/pipes/file/parse-file.pipe.js","../../../../node_modules/@nestjs/common/pipes/file/parse-file-pipe.builder.js","../../../../node_modules/@nestjs/common/pipes/file/index.js","../../../../node_modules/@nestjs/common/pipes/index.js","../../../../node_modules/@nestjs/common/serializer/class-serializer.constants.js","../../../../node_modules/@nestjs/common/serializer/class-serializer.interceptor.js","../../../../node_modules/@nestjs/common/serializer/decorators/serialize-options.decorator.js","../../../../node_modules/@nestjs/common/serializer/decorators/index.js","../../../../node_modules/@nestjs/common/serializer/class-serializer.interfaces.js","../../../../node_modules/@nestjs/common/serializer/index.js","../../../../node_modules/@nestjs/common/services/index.js","../../../../node_modules/@nestjs/common/utils/forward-ref.util.js","../../../../node_modules/@nestjs/common/utils/index.js","../../../../node_modules/@nestjs/common/index.js","../../src/logger/logger-nest.ts","../../src/logger/logger-module.ts"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","var IDX=256, HEX=[], SIZE=256, BUFFER;\nwhile (IDX--) HEX[IDX] = (IDX + 256).toString(16).substring(1);\n\nfunction uid(len) {\n\tvar i=0, tmp=(len || 11);\n\tif (!BUFFER || ((IDX + tmp) > SIZE*2)) {\n\t\tfor (BUFFER='',IDX=0; i < SIZE; i++) {\n\t\t\tBUFFER += HEX[Math.random() * 256 | 0];\n\t\t}\n\t}\n\n\treturn BUFFER.substring(IDX, IDX++ + tmp);\n}\n\nexports.uid = uid;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Bind = void 0;\n/**\n * Decorator that binds *parameter decorators* to the method that follows.\n *\n * Useful when the language doesn't provide a 'Parameter Decorator' feature\n * (i.e., vanilla JavaScript).\n *\n * @param decorators one or more parameter decorators (e.g., `Req()`)\n *\n * @publicApi\n */\nfunction Bind(...decorators) {\n return (target, key, descriptor) => {\n decorators.forEach((fn, index) => fn(target, key, index));\n return descriptor;\n };\n}\nexports.Bind = Bind;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ENTRY_PROVIDER_WATERMARK = exports.CATCH_WATERMARK = exports.CONTROLLER_WATERMARK = exports.INJECTABLE_WATERMARK = exports.VERSION_METADATA = exports.SSE_METADATA = exports.RESPONSE_PASSTHROUGH_METADATA = exports.REDIRECT_METADATA = exports.HEADERS_METADATA = exports.MODULE_PATH = exports.HTTP_CODE_METADATA = exports.RENDER_METADATA = exports.ENHANCER_KEY_TO_SUBTYPE_MAP = exports.EXCEPTION_FILTERS_METADATA = exports.INTERCEPTORS_METADATA = exports.GUARDS_METADATA = exports.PIPES_METADATA = exports.FILTER_CATCH_EXCEPTIONS = exports.CUSTOM_ROUTE_ARGS_METADATA = exports.ROUTE_ARGS_METADATA = exports.METHOD_METADATA = exports.SCOPE_OPTIONS_METADATA = exports.OPTIONAL_PROPERTY_DEPS_METADATA = exports.PROPERTY_DEPS_METADATA = exports.OPTIONAL_DEPS_METADATA = exports.SELF_DECLARED_DEPS_METADATA = exports.PARAMTYPES_METADATA = exports.PATH_METADATA = exports.HOST_METADATA = exports.GLOBAL_MODULE_METADATA = exports.MODULE_METADATA = void 0;\nexports.MODULE_METADATA = {\n IMPORTS: 'imports',\n PROVIDERS: 'providers',\n CONTROLLERS: 'controllers',\n EXPORTS: 'exports',\n};\nexports.GLOBAL_MODULE_METADATA = '__module:global__';\nexports.HOST_METADATA = 'host';\nexports.PATH_METADATA = 'path';\nexports.PARAMTYPES_METADATA = 'design:paramtypes';\nexports.SELF_DECLARED_DEPS_METADATA = 'self:paramtypes';\nexports.OPTIONAL_DEPS_METADATA = 'optional:paramtypes';\nexports.PROPERTY_DEPS_METADATA = 'self:properties_metadata';\nexports.OPTIONAL_PROPERTY_DEPS_METADATA = 'optional:properties_metadata';\nexports.SCOPE_OPTIONS_METADATA = 'scope:options';\nexports.METHOD_METADATA = 'method';\nexports.ROUTE_ARGS_METADATA = '__routeArguments__';\nexports.CUSTOM_ROUTE_ARGS_METADATA = '__customRouteArgs__';\nexports.FILTER_CATCH_EXCEPTIONS = '__filterCatchExceptions__';\nexports.PIPES_METADATA = '__pipes__';\nexports.GUARDS_METADATA = '__guards__';\nexports.INTERCEPTORS_METADATA = '__interceptors__';\nexports.EXCEPTION_FILTERS_METADATA = '__exceptionFilters__';\nexports.ENHANCER_KEY_TO_SUBTYPE_MAP = {\n [exports.GUARDS_METADATA]: 'guard',\n [exports.INTERCEPTORS_METADATA]: 'interceptor',\n [exports.PIPES_METADATA]: 'pipe',\n [exports.EXCEPTION_FILTERS_METADATA]: 'filter',\n};\nexports.RENDER_METADATA = '__renderTemplate__';\nexports.HTTP_CODE_METADATA = '__httpCode__';\nexports.MODULE_PATH = '__module_path__';\nexports.HEADERS_METADATA = '__headers__';\nexports.REDIRECT_METADATA = '__redirect__';\nexports.RESPONSE_PASSTHROUGH_METADATA = '__responsePassthrough__';\nexports.SSE_METADATA = '__sse__';\nexports.VERSION_METADATA = '__version__';\nexports.INJECTABLE_WATERMARK = '__injectable__';\nexports.CONTROLLER_WATERMARK = '__controller__';\nexports.CATCH_WATERMARK = '__catch__';\nexports.ENTRY_PROVIDER_WATERMARK = '__entryProvider__';\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Catch = void 0;\nconst constants_1 = require(\"../../constants\");\n/**\n * Decorator that marks a class as a Nest exception filter. An exception filter\n * handles exceptions thrown by or not handled by your application code.\n *\n * The decorated class must implement the `ExceptionFilter` interface.\n *\n * @param exceptions one or more exception *types* specifying\n * the exceptions to be caught and handled by this filter.\n *\n * @see [Exception Filters](https://docs.nestjs.com/exception-filters)\n *\n * @usageNotes\n * Exception filters are applied using the `@UseFilters()` decorator, or (globally)\n * with `app.useGlobalFilters()`.\n *\n * @publicApi\n */\nfunction Catch(...exceptions) {\n return (target) => {\n Reflect.defineMetadata(constants_1.CATCH_WATERMARK, true, target);\n Reflect.defineMetadata(constants_1.FILTER_CATCH_EXCEPTIONS, exceptions, target);\n };\n}\nexports.Catch = Catch;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isSymbol = exports.isEmpty = exports.isNil = exports.isConstructor = exports.isNumber = exports.isString = exports.isFunction = exports.stripEndSlash = exports.normalizePath = exports.addLeadingSlash = exports.isPlainObject = exports.isObject = exports.isUndefined = void 0;\n/* eslint-disable @typescript-eslint/no-use-before-define */\nconst isUndefined = (obj) => typeof obj === 'undefined';\nexports.isUndefined = isUndefined;\nconst isObject = (fn) => !(0, exports.isNil)(fn) && typeof fn === 'object';\nexports.isObject = isObject;\nconst isPlainObject = (fn) => {\n if (!(0, exports.isObject)(fn)) {\n return false;\n }\n const proto = Object.getPrototypeOf(fn);\n if (proto === null) {\n return true;\n }\n const ctor = Object.prototype.hasOwnProperty.call(proto, 'constructor') &&\n proto.constructor;\n return (typeof ctor === 'function' &&\n ctor instanceof ctor &&\n Function.prototype.toString.call(ctor) ===\n Function.prototype.toString.call(Object));\n};\nexports.isPlainObject = isPlainObject;\nconst addLeadingSlash = (path) => path && typeof path === 'string'\n ? path.charAt(0) !== '/'\n ? '/' + path\n : path\n : '';\nexports.addLeadingSlash = addLeadingSlash;\nconst normalizePath = (path) => path\n ? path.startsWith('/')\n ? ('/' + path.replace(/\\/+$/, '')).replace(/\\/+/g, '/')\n : '/' + path.replace(/\\/+$/, '')\n : '/';\nexports.normalizePath = normalizePath;\nconst stripEndSlash = (path) => path[path.length - 1] === '/' ? path.slice(0, path.length - 1) : path;\nexports.stripEndSlash = stripEndSlash;\nconst isFunction = (val) => typeof val === 'function';\nexports.isFunction = isFunction;\nconst isString = (val) => typeof val === 'string';\nexports.isString = isString;\nconst isNumber = (val) => typeof val === 'number';\nexports.isNumber = isNumber;\nconst isConstructor = (val) => val === 'constructor';\nexports.isConstructor = isConstructor;\nconst isNil = (val) => (0, exports.isUndefined)(val) || val === null;\nexports.isNil = isNil;\nconst isEmpty = (array) => !(array && array.length > 0);\nexports.isEmpty = isEmpty;\nconst isSymbol = (val) => typeof val === 'symbol';\nexports.isSymbol = isSymbol;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Controller = void 0;\nconst constants_1 = require(\"../../constants\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\n/**\n * Decorator that marks a class as a Nest controller that can receive inbound\n * requests and produce responses.\n *\n * An HTTP Controller responds to inbound HTTP Requests and produces HTTP Responses.\n * It defines a class that provides the context for one or more related route\n * handlers that correspond to HTTP request methods and associated routes\n * for example `GET /api/profile`, `POST /users/resume`\n *\n * A Microservice Controller responds to requests as well as events, running over\n * a variety of transports [(read more here)](https://docs.nestjs.com/microservices/basics).\n * It defines a class that provides a context for one or more message or event\n * handlers.\n *\n * @param prefixOrOptions a `route path prefix` or a `ControllerOptions` object.\n * A `route path prefix` is pre-pended to the path specified in any request decorator\n * in the class. `ControllerOptions` is an options configuration object specifying:\n * - `scope` - symbol that determines the lifetime of a Controller instance.\n * [See Scope](https://docs.nestjs.com/fundamentals/injection-scopes#usage) for\n * more details.\n * - `prefix` - string that defines a `route path prefix`. The prefix\n * is pre-pended to the path specified in any request decorator in the class.\n * - `version` - string, array of strings, or Symbol that defines the version\n * of all routes in the class. [See Versioning](https://docs.nestjs.com/techniques/versioning)\n * for more details.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n * @see [Controllers](https://docs.nestjs.com/controllers)\n * @see [Microservices](https://docs.nestjs.com/microservices/basics#request-response)\n * @see [Scope](https://docs.nestjs.com/fundamentals/injection-scopes#usage)\n * @see [Versioning](https://docs.nestjs.com/techniques/versioning)\n *\n * @publicApi\n */\nfunction Controller(prefixOrOptions) {\n const defaultPath = '/';\n const [path, host, scopeOptions, versionOptions] = (0, shared_utils_1.isUndefined)(prefixOrOptions)\n ? [defaultPath, undefined, undefined, undefined]\n : (0, shared_utils_1.isString)(prefixOrOptions) || Array.isArray(prefixOrOptions)\n ? [prefixOrOptions, undefined, undefined, undefined]\n : [\n prefixOrOptions.path || defaultPath,\n prefixOrOptions.host,\n { scope: prefixOrOptions.scope, durable: prefixOrOptions.durable },\n Array.isArray(prefixOrOptions.version)\n ? Array.from(new Set(prefixOrOptions.version))\n : prefixOrOptions.version,\n ];\n return (target) => {\n Reflect.defineMetadata(constants_1.CONTROLLER_WATERMARK, true, target);\n Reflect.defineMetadata(constants_1.PATH_METADATA, path, target);\n Reflect.defineMetadata(constants_1.HOST_METADATA, host, target);\n Reflect.defineMetadata(constants_1.SCOPE_OPTIONS_METADATA, scopeOptions, target);\n Reflect.defineMetadata(constants_1.VERSION_METADATA, versionOptions, target);\n };\n}\nexports.Controller = Controller;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Dependencies = exports.flatten = void 0;\nconst constants_1 = require(\"../../constants\");\nfunction flatten(arr) {\n const flat = [].concat(...arr);\n return flat.some(Array.isArray) ? flatten(flat) : flat;\n}\nexports.flatten = flatten;\n/**\n * Decorator that sets required dependencies (required with a vanilla JavaScript objects)\n *\n * @publicApi\n */\nconst Dependencies = (...dependencies) => {\n const flattenDeps = flatten(dependencies);\n return (target) => {\n Reflect.defineMetadata(constants_1.PARAMTYPES_METADATA, flattenDeps, target);\n };\n};\nexports.Dependencies = Dependencies;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.extendArrayMetadata = void 0;\nfunction extendArrayMetadata(key, metadata, target) {\n const previousValue = Reflect.getMetadata(key, target) || [];\n const value = [...previousValue, ...metadata];\n Reflect.defineMetadata(key, value, target);\n}\nexports.extendArrayMetadata = extendArrayMetadata;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.validateEach = exports.InvalidDecoratorItemException = void 0;\nclass InvalidDecoratorItemException extends Error {\n constructor(decorator, item, context) {\n const message = `Invalid ${item} passed to ${decorator}() decorator (${context}).`;\n super(message);\n this.msg = message;\n }\n what() {\n return this.msg;\n }\n}\nexports.InvalidDecoratorItemException = InvalidDecoratorItemException;\nfunction validateEach(context, arr, predicate, decorator, item) {\n if (!context || !context.name) {\n return true;\n }\n const errors = arr.some(str => !predicate(str));\n if (errors) {\n throw new InvalidDecoratorItemException(decorator, item, context.name);\n }\n return true;\n}\nexports.validateEach = validateEach;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UseFilters = void 0;\n/* eslint-disable @typescript-eslint/no-use-before-define */\nconst constants_1 = require(\"../../constants\");\nconst extend_metadata_util_1 = require(\"../../utils/extend-metadata.util\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\nconst validate_each_util_1 = require(\"../../utils/validate-each.util\");\n/**\n * Decorator that binds exception filters to the scope of the controller or\n * method, depending on its context.\n *\n * When `@UseFilters` is used at the controller level, the filter will be\n * applied to every handler (method) in the controller.\n *\n * When `@UseFilters` is used at the individual handler level, the filter\n * will apply only to that specific method.\n *\n * @param filters exception filter instance or class, or a list of exception\n * filter instances or classes.\n *\n * @see [Exception filters](https://docs.nestjs.com/exception-filters)\n *\n * @usageNotes\n * Exception filters can also be set up globally for all controllers and routes\n * using `app.useGlobalFilters()`. [See here for details](https://docs.nestjs.com/exception-filters#binding-filters)\n *\n * @publicApi\n */\nconst UseFilters = (...filters) => addExceptionFiltersMetadata(...filters);\nexports.UseFilters = UseFilters;\nfunction addExceptionFiltersMetadata(...filters) {\n return (target, key, descriptor) => {\n const isFilterValid = (filter) => filter &&\n ((0, shared_utils_1.isFunction)(filter) || (0, shared_utils_1.isFunction)(filter.catch));\n if (descriptor) {\n (0, validate_each_util_1.validateEach)(target.constructor, filters, isFilterValid, '@UseFilters', 'filter');\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.EXCEPTION_FILTERS_METADATA, filters, descriptor.value);\n return descriptor;\n }\n (0, validate_each_util_1.validateEach)(target, filters, isFilterValid, '@UseFilters', 'filter');\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.EXCEPTION_FILTERS_METADATA, filters, target);\n return target;\n };\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Inject = void 0;\nconst constants_1 = require(\"../../constants\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\n/**\n * Decorator that marks a constructor parameter as a target for\n * [Dependency Injection (DI)](https://docs.nestjs.com/providers#dependency-injection).\n *\n * Any injected provider must be visible within the module scope (loosely\n * speaking, the containing module) of the class it is being injected into. This\n * can be done by:\n *\n * - defining the provider in the same module scope\n * - exporting the provider from one module scope and importing that module into the\n * module scope of the class being injected into\n * - exporting the provider from a module that is marked as global using the\n * `@Global()` decorator\n *\n * #### Injection tokens\n * Can be *types* (class names), *strings* or *symbols*. This depends on how the\n * provider with which it is associated was defined. Providers defined with the\n * `@Injectable()` decorator use the class name. Custom Providers may use strings\n * or symbols as the injection token.\n *\n * @param token lookup key for the provider to be injected (assigned to the constructor\n * parameter).\n *\n * @see [Providers](https://docs.nestjs.com/providers)\n * @see [Custom Providers](https://docs.nestjs.com/fundamentals/custom-providers)\n * @see [Injection Scopes](https://docs.nestjs.com/fundamentals/injection-scopes)\n *\n * @publicApi\n */\nfunction Inject(token) {\n return (target, key, index) => {\n const type = token || Reflect.getMetadata('design:type', target, key);\n if (!(0, shared_utils_1.isUndefined)(index)) {\n let dependencies = Reflect.getMetadata(constants_1.SELF_DECLARED_DEPS_METADATA, target) || [];\n dependencies = [...dependencies, { index, param: type }];\n Reflect.defineMetadata(constants_1.SELF_DECLARED_DEPS_METADATA, dependencies, target);\n return;\n }\n let properties = Reflect.getMetadata(constants_1.PROPERTY_DEPS_METADATA, target.constructor) || [];\n properties = [...properties, { key, type }];\n Reflect.defineMetadata(constants_1.PROPERTY_DEPS_METADATA, properties, target.constructor);\n };\n}\nexports.Inject = Inject;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mixin = exports.Injectable = void 0;\nconst uid_1 = require(\"uid\");\nconst constants_1 = require(\"../../constants\");\n/**\n * Decorator that marks a class as a [provider](https://docs.nestjs.com/providers).\n * Providers can be injected into other classes via constructor parameter injection\n * using Nest's built-in [Dependency Injection (DI)](https://docs.nestjs.com/providers#dependency-injection)\n * system.\n *\n * When injecting a provider, it must be visible within the module scope (loosely\n * speaking, the containing module) of the class it is being injected into. This\n * can be done by:\n *\n * - defining the provider in the same module scope\n * - exporting the provider from one module scope and importing that module into the\n * module scope of the class being injected into\n * - exporting the provider from a module that is marked as global using the\n * `@Global()` decorator\n *\n * Providers can also be defined in a more explicit and imperative form using\n * various [custom provider](https://docs.nestjs.com/fundamentals/custom-providers) techniques that expose\n * more capabilities of the DI system.\n *\n * @param options options specifying scope of injectable\n *\n * @see [Providers](https://docs.nestjs.com/providers)\n * @see [Custom Providers](https://docs.nestjs.com/fundamentals/custom-providers)\n * @see [Injection Scopes](https://docs.nestjs.com/fundamentals/injection-scopes)\n *\n * @publicApi\n */\nfunction Injectable(options) {\n return (target) => {\n Reflect.defineMetadata(constants_1.INJECTABLE_WATERMARK, true, target);\n Reflect.defineMetadata(constants_1.SCOPE_OPTIONS_METADATA, options, target);\n };\n}\nexports.Injectable = Injectable;\n/**\n * @publicApi\n */\nfunction mixin(mixinClass) {\n Object.defineProperty(mixinClass, 'name', {\n value: (0, uid_1.uid)(21),\n });\n Injectable()(mixinClass);\n return mixinClass;\n}\nexports.mixin = mixin;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Optional = void 0;\nconst constants_1 = require(\"../../constants\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\n/**\n * Parameter decorator for an injected dependency marking the\n * dependency as optional.\n *\n * For example:\n * ```typescript\n * constructor(@Optional() @Inject('HTTP_OPTIONS')private readonly httpClient: T) {}\n * ```\n *\n * @see [Optional providers](https://docs.nestjs.com/providers#optional-providers)\n *\n * @publicApi\n */\nfunction Optional() {\n return (target, key, index) => {\n if (!(0, shared_utils_1.isUndefined)(index)) {\n const args = Reflect.getMetadata(constants_1.OPTIONAL_DEPS_METADATA, target) || [];\n Reflect.defineMetadata(constants_1.OPTIONAL_DEPS_METADATA, [...args, index], target);\n return;\n }\n const properties = Reflect.getMetadata(constants_1.OPTIONAL_PROPERTY_DEPS_METADATA, target.constructor) || [];\n Reflect.defineMetadata(constants_1.OPTIONAL_PROPERTY_DEPS_METADATA, [...properties, key], target.constructor);\n };\n}\nexports.Optional = Optional;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SetMetadata = void 0;\n/**\n * Decorator that assigns metadata to the class/function using the\n * specified `key`.\n *\n * Requires two parameters:\n * - `key` - a value defining the key under which the metadata is stored\n * - `value` - metadata to be associated with `key`\n *\n * This metadata can be reflected using the `Reflector` class.\n *\n * Example: `@SetMetadata('roles', ['admin'])`\n *\n * @see [Reflection](https://docs.nestjs.com/guards#reflection)\n *\n * @publicApi\n */\nconst SetMetadata = (metadataKey, metadataValue) => {\n const decoratorFactory = (target, key, descriptor) => {\n if (descriptor) {\n Reflect.defineMetadata(metadataKey, metadataValue, descriptor.value);\n return descriptor;\n }\n Reflect.defineMetadata(metadataKey, metadataValue, target);\n return target;\n };\n decoratorFactory.KEY = metadataKey;\n return decoratorFactory;\n};\nexports.SetMetadata = SetMetadata;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UseGuards = void 0;\nconst constants_1 = require(\"../../constants\");\nconst extend_metadata_util_1 = require(\"../../utils/extend-metadata.util\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\nconst validate_each_util_1 = require(\"../../utils/validate-each.util\");\n/**\n * Decorator that binds guards to the scope of the controller or method,\n * depending on its context.\n *\n * When `@UseGuards` is used at the controller level, the guard will be\n * applied to every handler (method) in the controller.\n *\n * When `@UseGuards` is used at the individual handler level, the guard\n * will apply only to that specific method.\n *\n * @param guards a single guard instance or class, or a list of guard instances\n * or classes.\n *\n * @see [Guards](https://docs.nestjs.com/guards)\n *\n * @usageNotes\n * Guards can also be set up globally for all controllers and routes\n * using `app.useGlobalGuards()`. [See here for details](https://docs.nestjs.com/guards#binding-guards)\n *\n * @publicApi\n */\nfunction UseGuards(...guards) {\n return (target, key, descriptor) => {\n const isGuardValid = (guard) => guard &&\n ((0, shared_utils_1.isFunction)(guard) ||\n (0, shared_utils_1.isFunction)(guard.canActivate));\n if (descriptor) {\n (0, validate_each_util_1.validateEach)(target.constructor, guards, isGuardValid, '@UseGuards', 'guard');\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.GUARDS_METADATA, guards, descriptor.value);\n return descriptor;\n }\n (0, validate_each_util_1.validateEach)(target, guards, isGuardValid, '@UseGuards', 'guard');\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.GUARDS_METADATA, guards, target);\n return target;\n };\n}\nexports.UseGuards = UseGuards;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UseInterceptors = void 0;\nconst constants_1 = require(\"../../constants\");\nconst extend_metadata_util_1 = require(\"../../utils/extend-metadata.util\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\nconst validate_each_util_1 = require(\"../../utils/validate-each.util\");\n/**\n * Decorator that binds interceptors to the scope of the controller or method,\n * depending on its context.\n *\n * When `@UseInterceptors` is used at the controller level, the interceptor will\n * be applied to every handler (method) in the controller.\n *\n * When `@UseInterceptors` is used at the individual handler level, the interceptor\n * will apply only to that specific method.\n *\n * @param interceptors a single interceptor instance or class, or a list of\n * interceptor instances or classes.\n *\n * @see [Interceptors](https://docs.nestjs.com/interceptors)\n *\n * @usageNotes\n * Interceptors can also be set up globally for all controllers and routes\n * using `app.useGlobalInterceptors()`. [See here for details](https://docs.nestjs.com/interceptors#binding-interceptors)\n *\n * @publicApi\n */\nfunction UseInterceptors(...interceptors) {\n return (target, key, descriptor) => {\n const isInterceptorValid = (interceptor) => interceptor &&\n ((0, shared_utils_1.isFunction)(interceptor) ||\n (0, shared_utils_1.isFunction)(interceptor.intercept));\n if (descriptor) {\n (0, validate_each_util_1.validateEach)(target.constructor, interceptors, isInterceptorValid, '@UseInterceptors', 'interceptor');\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.INTERCEPTORS_METADATA, interceptors, descriptor.value);\n return descriptor;\n }\n (0, validate_each_util_1.validateEach)(target, interceptors, isInterceptorValid, '@UseInterceptors', 'interceptor');\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.INTERCEPTORS_METADATA, interceptors, target);\n return target;\n };\n}\nexports.UseInterceptors = UseInterceptors;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsePipes = void 0;\nconst constants_1 = require(\"../../constants\");\nconst extend_metadata_util_1 = require(\"../../utils/extend-metadata.util\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\nconst validate_each_util_1 = require(\"../../utils/validate-each.util\");\n/**\n * Decorator that binds pipes to the scope of the controller or method,\n * depending on its context.\n *\n * When `@UsePipes` is used at the controller level, the pipe will be\n * applied to every handler (method) in the controller.\n *\n * When `@UsePipes` is used at the individual handler level, the pipe\n * will apply only to that specific method.\n *\n * @param pipes a single pipe instance or class, or a list of pipe instances or\n * classes.\n *\n * @see [Pipes](https://docs.nestjs.com/pipes)\n *\n * @usageNotes\n * Pipes can also be set up globally for all controllers and routes\n * using `app.useGlobalPipes()`. [See here for details](https://docs.nestjs.com/pipes#class-validator)\n *\n * @publicApi\n */\nfunction UsePipes(...pipes) {\n return (target, key, descriptor) => {\n const isPipeValid = (pipe) => pipe &&\n ((0, shared_utils_1.isFunction)(pipe) || (0, shared_utils_1.isFunction)(pipe.transform));\n if (descriptor) {\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.PIPES_METADATA, pipes, descriptor.value);\n return descriptor;\n }\n (0, validate_each_util_1.validateEach)(target, pipes, isPipeValid, '@UsePipes', 'pipe');\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.PIPES_METADATA, pipes, target);\n return target;\n };\n}\nexports.UsePipes = UsePipes;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applyDecorators = void 0;\n/**\n * Function that returns a new decorator that applies all decorators provided by param\n *\n * Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature\n *\n * @param decorators one or more decorators (e.g., `ApplyGuard(...)`)\n *\n * @publicApi\n */\nfunction applyDecorators(...decorators) {\n return (target, propertyKey, descriptor) => {\n for (const decorator of decorators) {\n if (target instanceof Function && !descriptor) {\n decorator(target);\n continue;\n }\n decorator(target, propertyKey, descriptor);\n }\n };\n}\nexports.applyDecorators = applyDecorators;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Version = void 0;\nconst constants_1 = require(\"../../constants\");\n/**\n * Sets the version of the endpoint to the passed version\n *\n * @publicApi\n */\nfunction Version(version) {\n if (Array.isArray(version)) {\n // Drop duplicated versions\n version = Array.from(new Set(version));\n }\n return (target, key, descriptor) => {\n Reflect.defineMetadata(constants_1.VERSION_METADATA, version, descriptor.value);\n return descriptor;\n };\n}\nexports.Version = Version;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./bind.decorator\"), exports);\ntslib_1.__exportStar(require(\"./catch.decorator\"), exports);\ntslib_1.__exportStar(require(\"./controller.decorator\"), exports);\ntslib_1.__exportStar(require(\"./dependencies.decorator\"), exports);\ntslib_1.__exportStar(require(\"./exception-filters.decorator\"), exports);\ntslib_1.__exportStar(require(\"./inject.decorator\"), exports);\ntslib_1.__exportStar(require(\"./injectable.decorator\"), exports);\ntslib_1.__exportStar(require(\"./optional.decorator\"), exports);\ntslib_1.__exportStar(require(\"./set-metadata.decorator\"), exports);\ntslib_1.__exportStar(require(\"./use-guards.decorator\"), exports);\ntslib_1.__exportStar(require(\"./use-interceptors.decorator\"), exports);\ntslib_1.__exportStar(require(\"./use-pipes.decorator\"), exports);\ntslib_1.__exportStar(require(\"./apply-decorators\"), exports);\ntslib_1.__exportStar(require(\"./version.decorator\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Global = void 0;\nconst constants_1 = require(\"../../constants\");\n/**\n * Decorator that makes a module global-scoped.\n *\n * Once imported into any module, a global-scoped module will be visible\n * in all modules. Thereafter, modules that wish to inject a service exported\n * from a global module do not need to import the provider module.\n *\n * @see [Global modules](https://docs.nestjs.com/modules#global-modules)\n *\n * @publicApi\n */\nfunction Global() {\n return (target) => {\n Reflect.defineMetadata(constants_1.GLOBAL_MODULE_METADATA, true, target);\n };\n}\nexports.Global = Global;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.validateModuleKeys = exports.INVALID_MODULE_CONFIG_MESSAGE = void 0;\nconst constants_1 = require(\"../constants\");\nconst INVALID_MODULE_CONFIG_MESSAGE = (text, property) => `Invalid property '${property}' passed into the @Module() decorator.`;\nexports.INVALID_MODULE_CONFIG_MESSAGE = INVALID_MODULE_CONFIG_MESSAGE;\nconst metadataKeys = [\n constants_1.MODULE_METADATA.IMPORTS,\n constants_1.MODULE_METADATA.EXPORTS,\n constants_1.MODULE_METADATA.CONTROLLERS,\n constants_1.MODULE_METADATA.PROVIDERS,\n];\nfunction validateModuleKeys(keys) {\n const validateKey = (key) => {\n if (metadataKeys.includes(key)) {\n return;\n }\n throw new Error((0, exports.INVALID_MODULE_CONFIG_MESSAGE) `${key}`);\n };\n keys.forEach(validateKey);\n}\nexports.validateModuleKeys = validateModuleKeys;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Module = void 0;\nconst validate_module_keys_util_1 = require(\"../../utils/validate-module-keys.util\");\n/**\n * Decorator that marks a class as a [module](https://docs.nestjs.com/modules).\n *\n * Modules are used by Nest to organize the application structure into scopes. Controllers\n * and Providers are scoped by the module they are declared in. Modules and their\n * classes (Controllers and Providers) form a graph that determines how Nest\n * performs [Dependency Injection (DI)](https://docs.nestjs.com/providers#dependency-injection).\n *\n * @param metadata module configuration metadata\n *\n * @see [Modules](https://docs.nestjs.com/modules)\n *\n * @publicApi\n */\nfunction Module(metadata) {\n const propsKeys = Object.keys(metadata);\n (0, validate_module_keys_util_1.validateModuleKeys)(propsKeys);\n return (target) => {\n for (const property in metadata) {\n if (metadata.hasOwnProperty(property)) {\n Reflect.defineMetadata(property, metadata[property], target);\n }\n }\n };\n}\nexports.Module = Module;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./global.decorator\"), exports);\ntslib_1.__exportStar(require(\"./module.decorator\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RequestMethod = void 0;\nvar RequestMethod;\n(function (RequestMethod) {\n RequestMethod[RequestMethod[\"GET\"] = 0] = \"GET\";\n RequestMethod[RequestMethod[\"POST\"] = 1] = \"POST\";\n RequestMethod[RequestMethod[\"PUT\"] = 2] = \"PUT\";\n RequestMethod[RequestMethod[\"DELETE\"] = 3] = \"DELETE\";\n RequestMethod[RequestMethod[\"PATCH\"] = 4] = \"PATCH\";\n RequestMethod[RequestMethod[\"ALL\"] = 5] = \"ALL\";\n RequestMethod[RequestMethod[\"OPTIONS\"] = 6] = \"OPTIONS\";\n RequestMethod[RequestMethod[\"HEAD\"] = 7] = \"HEAD\";\n RequestMethod[RequestMethod[\"SEARCH\"] = 8] = \"SEARCH\";\n})(RequestMethod || (exports.RequestMethod = RequestMethod = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Search = exports.All = exports.Head = exports.Options = exports.Patch = exports.Put = exports.Delete = exports.Get = exports.Post = exports.RequestMapping = void 0;\nconst constants_1 = require(\"../../constants\");\nconst request_method_enum_1 = require(\"../../enums/request-method.enum\");\nconst defaultMetadata = {\n [constants_1.PATH_METADATA]: '/',\n [constants_1.METHOD_METADATA]: request_method_enum_1.RequestMethod.GET,\n};\nconst RequestMapping = (metadata = defaultMetadata) => {\n const pathMetadata = metadata[constants_1.PATH_METADATA];\n const path = pathMetadata && pathMetadata.length ? pathMetadata : '/';\n const requestMethod = metadata[constants_1.METHOD_METADATA] || request_method_enum_1.RequestMethod.GET;\n return (target, key, descriptor) => {\n Reflect.defineMetadata(constants_1.PATH_METADATA, path, descriptor.value);\n Reflect.defineMetadata(constants_1.METHOD_METADATA, requestMethod, descriptor.value);\n return descriptor;\n };\n};\nexports.RequestMapping = RequestMapping;\nconst createMappingDecorator = (method) => (path) => {\n return (0, exports.RequestMapping)({\n [constants_1.PATH_METADATA]: path,\n [constants_1.METHOD_METADATA]: method,\n });\n};\n/**\n * Route handler (method) Decorator. Routes HTTP POST requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.Post = createMappingDecorator(request_method_enum_1.RequestMethod.POST);\n/**\n * Route handler (method) Decorator. Routes HTTP GET requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.Get = createMappingDecorator(request_method_enum_1.RequestMethod.GET);\n/**\n * Route handler (method) Decorator. Routes HTTP DELETE requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.Delete = createMappingDecorator(request_method_enum_1.RequestMethod.DELETE);\n/**\n * Route handler (method) Decorator. Routes HTTP PUT requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.Put = createMappingDecorator(request_method_enum_1.RequestMethod.PUT);\n/**\n * Route handler (method) Decorator. Routes HTTP PATCH requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.Patch = createMappingDecorator(request_method_enum_1.RequestMethod.PATCH);\n/**\n * Route handler (method) Decorator. Routes HTTP OPTIONS requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.Options = createMappingDecorator(request_method_enum_1.RequestMethod.OPTIONS);\n/**\n * Route handler (method) Decorator. Routes HTTP HEAD requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.Head = createMappingDecorator(request_method_enum_1.RequestMethod.HEAD);\n/**\n * Route handler (method) Decorator. Routes all HTTP requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.All = createMappingDecorator(request_method_enum_1.RequestMethod.ALL);\n/**\n * Route handler (method) Decorator. Routes all HTTP requests to the specified path.\n *\n * @see [Routing](https://docs.nestjs.com/controllers#routing)\n *\n * @publicApi\n */\nexports.Search = createMappingDecorator(request_method_enum_1.RequestMethod.SEARCH);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RouteParamtypes = void 0;\nvar RouteParamtypes;\n(function (RouteParamtypes) {\n RouteParamtypes[RouteParamtypes[\"REQUEST\"] = 0] = \"REQUEST\";\n RouteParamtypes[RouteParamtypes[\"RESPONSE\"] = 1] = \"RESPONSE\";\n RouteParamtypes[RouteParamtypes[\"NEXT\"] = 2] = \"NEXT\";\n RouteParamtypes[RouteParamtypes[\"BODY\"] = 3] = \"BODY\";\n RouteParamtypes[RouteParamtypes[\"QUERY\"] = 4] = \"QUERY\";\n RouteParamtypes[RouteParamtypes[\"PARAM\"] = 5] = \"PARAM\";\n RouteParamtypes[RouteParamtypes[\"HEADERS\"] = 6] = \"HEADERS\";\n RouteParamtypes[RouteParamtypes[\"SESSION\"] = 7] = \"SESSION\";\n RouteParamtypes[RouteParamtypes[\"FILE\"] = 8] = \"FILE\";\n RouteParamtypes[RouteParamtypes[\"FILES\"] = 9] = \"FILES\";\n RouteParamtypes[RouteParamtypes[\"HOST\"] = 10] = \"HOST\";\n RouteParamtypes[RouteParamtypes[\"IP\"] = 11] = \"IP\";\n})(RouteParamtypes || (exports.RouteParamtypes = RouteParamtypes = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Res = exports.Req = exports.HostParam = exports.Param = exports.Body = exports.Query = exports.Headers = exports.UploadedFiles = exports.UploadedFile = exports.Session = exports.Ip = exports.Next = exports.Response = exports.Request = exports.assignMetadata = void 0;\nconst constants_1 = require(\"../../constants\");\nconst route_paramtypes_enum_1 = require(\"../../enums/route-paramtypes.enum\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\nfunction assignMetadata(args, paramtype, index, data, ...pipes) {\n return {\n ...args,\n [`${paramtype}:${index}`]: {\n index,\n data,\n pipes,\n },\n };\n}\nexports.assignMetadata = assignMetadata;\nfunction createRouteParamDecorator(paramtype) {\n return (data) => (target, key, index) => {\n const args = Reflect.getMetadata(constants_1.ROUTE_ARGS_METADATA, target.constructor, key) || {};\n Reflect.defineMetadata(constants_1.ROUTE_ARGS_METADATA, assignMetadata(args, paramtype, index, data), target.constructor, key);\n };\n}\nconst createPipesRouteParamDecorator = (paramtype) => (data, ...pipes) => (target, key, index) => {\n const args = Reflect.getMetadata(constants_1.ROUTE_ARGS_METADATA, target.constructor, key) || {};\n const hasParamData = (0, shared_utils_1.isNil)(data) || (0, shared_utils_1.isString)(data);\n const paramData = hasParamData ? data : undefined;\n const paramPipes = hasParamData ? pipes : [data, ...pipes];\n Reflect.defineMetadata(constants_1.ROUTE_ARGS_METADATA, assignMetadata(args, paramtype, index, paramData, ...paramPipes), target.constructor, key);\n};\n/**\n * Route handler parameter decorator. Extracts the `Request`\n * object from the underlying platform and populates the decorated\n * parameter with the value of `Request`.\n *\n * Example: `logout(@Request() req)`\n *\n * @see [Request object](https://docs.nestjs.com/controllers#request-object)\n *\n * @publicApi\n */\nexports.Request = createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.REQUEST);\n/**\n * Route handler parameter decorator. Extracts the `Response`\n * object from the underlying platform and populates the decorated\n * parameter with the value of `Response`.\n *\n * Example: `logout(@Response() res)`\n *\n * @publicApi\n */\nconst Response = (options) => (target, key, index) => {\n if (options?.passthrough) {\n Reflect.defineMetadata(constants_1.RESPONSE_PASSTHROUGH_METADATA, options?.passthrough, target.constructor, key);\n }\n return createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.RESPONSE)()(target, key, index);\n};\nexports.Response = Response;\n/**\n * Route handler parameter decorator. Extracts reference to the `Next` function\n * from the underlying platform and populates the decorated\n * parameter with the value of `Next`.\n *\n * @publicApi\n */\nexports.Next = createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.NEXT);\n/**\n * Route handler parameter decorator. Extracts the `Ip` property\n * from the `req` object and populates the decorated\n * parameter with the value of `ip`.\n *\n * @see [Request object](https://docs.nestjs.com/controllers#request-object)\n *\n * @publicApi\n */\nexports.Ip = createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.IP);\n/**\n * Route handler parameter decorator. Extracts the `Session` object\n * from the underlying platform and populates the decorated\n * parameter with the value of `Session`.\n *\n * @see [Request object](https://docs.nestjs.com/controllers#request-object)\n *\n * @publicApi\n */\nexports.Session = createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.SESSION);\n/**\n * Route handler parameter decorator. Extracts the `file` object\n * and populates the decorated parameter with the value of `file`.\n * Used in conjunction with\n * [multer middleware](https://github.com/expressjs/multer) for Express-based applications.\n *\n * For example:\n * ```typescript\n * uploadFile(@UploadedFile() file) {\n * console.log(file);\n * }\n * ```\n * @see [Request object](https://docs.nestjs.com/techniques/file-upload)\n *\n * @publicApi\n */\nfunction UploadedFile(fileKey, ...pipes) {\n return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.FILE)(fileKey, ...pipes);\n}\nexports.UploadedFile = UploadedFile;\n/**\n * Route handler parameter decorator. Extracts the `files` object\n * and populates the decorated parameter with the value of `files`.\n * Used in conjunction with\n * [multer middleware](https://github.com/expressjs/multer) for Express-based applications.\n *\n * For example:\n * ```typescript\n * uploadFile(@UploadedFiles() files) {\n * console.log(files);\n * }\n * ```\n * @see [Request object](https://docs.nestjs.com/techniques/file-upload)\n *\n * @publicApi\n */\nfunction UploadedFiles(...pipes) {\n return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.FILES)(undefined, ...pipes);\n}\nexports.UploadedFiles = UploadedFiles;\n/**\n * Route handler parameter decorator. Extracts the `headers`\n * property from the `req` object and populates the decorated\n * parameter with the value of `headers`.\n *\n * For example: `async update(@Headers('Cache-Control') cacheControl: string)`\n *\n * @param property name of single header property to extract.\n *\n * @see [Request object](https://docs.nestjs.com/controllers#request-object)\n *\n * @publicApi\n */\nexports.Headers = createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.HEADERS);\n/**\n * Route handler parameter decorator. Extracts the `query`\n * property from the `req` object and populates the decorated\n * parameter with the value of `query`. May also apply pipes to the bound\n * query parameter.\n *\n * For example:\n * ```typescript\n * async find(@Query('user') user: string)\n * ```\n *\n * @param property name of single property to extract from the `query` object\n * @param pipes one or more pipes to apply to the bound query parameter\n *\n * @see [Request object](https://docs.nestjs.com/controllers#request-object)\n *\n * @publicApi\n */\nfunction Query(property, ...pipes) {\n return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.QUERY)(property, ...pipes);\n}\nexports.Query = Query;\n/**\n * Route handler parameter decorator. Extracts the entire `body` object\n * property, or optionally a named property of the `body` object, from\n * the `req` object and populates the decorated parameter with that value.\n * Also applies pipes to the bound body parameter.\n *\n * For example:\n * ```typescript\n * async create(@Body('role', new ValidationPipe()) role: string)\n * ```\n *\n * @param property name of single property to extract from the `body` object\n * @param pipes one or more pipes - either instances or classes - to apply to\n * the bound body parameter.\n *\n * @see [Request object](https://docs.nestjs.com/controllers#request-object)\n * @see [Working with pipes](https://docs.nestjs.com/custom-decorators#working-with-pipes)\n *\n * @publicApi\n */\nfunction Body(property, ...pipes) {\n return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.BODY)(property, ...pipes);\n}\nexports.Body = Body;\n/**\n * Route handler parameter decorator. Extracts the `params`\n * property from the `req` object and populates the decorated\n * parameter with the value of `params`. May also apply pipes to the bound\n * parameter.\n *\n * For example, extracting all params:\n * ```typescript\n * findOne(@Param() params: string[])\n * ```\n *\n * For example, extracting a single param:\n * ```typescript\n * findOne(@Param('id') id: string)\n * ```\n * @param property name of single property to extract from the `req` object\n * @param pipes one or more pipes - either instances or classes - to apply to\n * the bound parameter.\n *\n * @see [Request object](https://docs.nestjs.com/controllers#request-object)\n * @see [Working with pipes](https://docs.nestjs.com/custom-decorators#working-with-pipes)\n *\n * @publicApi\n */\nfunction Param(property, ...pipes) {\n return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.PARAM)(property, ...pipes);\n}\nexports.Param = Param;\n/**\n * Route handler parameter decorator. Extracts the `hosts`\n * property from the `req` object and populates the decorated\n * parameter with the value of `params`. May also apply pipes to the bound\n * parameter.\n *\n * For example, extracting all params:\n * ```typescript\n * findOne(@HostParam() params: string[])\n * ```\n *\n * For example, extracting a single param:\n * ```typescript\n * findOne(@HostParam('id') id: string)\n * ```\n * @param property name of single property to extract from the `req` object\n *\n * @see [Request object](https://docs.nestjs.com/controllers#request-object)\n *\n * @publicApi\n */\nfunction HostParam(property) {\n return createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.HOST)(property);\n}\nexports.HostParam = HostParam;\nexports.Req = exports.Request;\nexports.Res = exports.Response;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpCode = void 0;\nconst constants_1 = require(\"../../constants\");\n/**\n * Request method Decorator. Defines the HTTP response status code. Overrides\n * default status code for the decorated request method.\n *\n * @param statusCode HTTP response code to be returned by route handler.\n *\n * @see [Http Status Codes](https://docs.nestjs.com/controllers#status-code)\n *\n * @publicApi\n */\nfunction HttpCode(statusCode) {\n return (target, key, descriptor) => {\n Reflect.defineMetadata(constants_1.HTTP_CODE_METADATA, statusCode, descriptor.value);\n return descriptor;\n };\n}\nexports.HttpCode = HttpCode;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assignCustomParameterMetadata = void 0;\nconst constants_1 = require(\"../constants\");\nfunction assignCustomParameterMetadata(args, paramtype, index, factory, data, ...pipes) {\n return {\n ...args,\n [`${paramtype}${constants_1.CUSTOM_ROUTE_ARGS_METADATA}:${index}`]: {\n index,\n factory,\n data,\n pipes,\n },\n };\n}\nexports.assignCustomParameterMetadata = assignCustomParameterMetadata;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createParamDecorator = void 0;\nconst uid_1 = require(\"uid\");\nconst constants_1 = require(\"../../constants\");\nconst assign_custom_metadata_util_1 = require(\"../../utils/assign-custom-metadata.util\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\n/**\n * Defines HTTP route param decorator\n *\n * @param factory\n *\n * @publicApi\n */\nfunction createParamDecorator(factory, enhancers = []) {\n const paramtype = (0, uid_1.uid)(21);\n return (data, ...pipes) => (target, key, index) => {\n const args = Reflect.getMetadata(constants_1.ROUTE_ARGS_METADATA, target.constructor, key) || {};\n const isPipe = (pipe) => pipe &&\n (((0, shared_utils_1.isFunction)(pipe) &&\n pipe.prototype &&\n (0, shared_utils_1.isFunction)(pipe.prototype.transform)) ||\n (0, shared_utils_1.isFunction)(pipe.transform));\n const hasParamData = (0, shared_utils_1.isNil)(data) || !isPipe(data);\n const paramData = hasParamData ? data : undefined;\n const paramPipes = hasParamData ? pipes : [data, ...pipes];\n Reflect.defineMetadata(constants_1.ROUTE_ARGS_METADATA, (0, assign_custom_metadata_util_1.assignCustomParameterMetadata)(args, paramtype, index, factory, paramData, ...paramPipes), target.constructor, key);\n enhancers.forEach(fn => fn(target, key, index));\n };\n}\nexports.createParamDecorator = createParamDecorator;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Render = void 0;\nconst constants_1 = require(\"../../constants\");\n/**\n * Route handler method Decorator. Defines a template to be rendered by the controller.\n *\n * For example: `@Render('index')`\n *\n * @param template name of the render engine template file\n *\n * @see [Model-View-Controller](https://docs.nestjs.com/techniques/mvc)\n *\n * @publicApi\n */\nfunction Render(template) {\n return (target, key, descriptor) => {\n Reflect.defineMetadata(constants_1.RENDER_METADATA, template, descriptor.value);\n return descriptor;\n };\n}\nexports.Render = Render;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Header = void 0;\nconst constants_1 = require(\"../../constants\");\nconst extend_metadata_util_1 = require(\"../../utils/extend-metadata.util\");\n/**\n * Request method Decorator. Sets a response header.\n *\n * For example:\n * `@Header('Cache-Control', 'none')`\n *\n * @param name string to be used for header name\n * @param value string to be used for header value\n *\n * @see [Headers](https://docs.nestjs.com/controllers#headers)\n *\n * @publicApi\n */\nfunction Header(name, value) {\n return (target, key, descriptor) => {\n (0, extend_metadata_util_1.extendArrayMetadata)(constants_1.HEADERS_METADATA, [{ name, value }], descriptor.value);\n return descriptor;\n };\n}\nexports.Header = Header;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Redirect = void 0;\nconst constants_1 = require(\"../../constants\");\n/**\n * Redirects request to the specified URL.\n *\n * @publicApi\n */\nfunction Redirect(url = '', statusCode) {\n return (target, key, descriptor) => {\n Reflect.defineMetadata(constants_1.REDIRECT_METADATA, { statusCode, url }, descriptor.value);\n return descriptor;\n };\n}\nexports.Redirect = Redirect;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sse = void 0;\nconst constants_1 = require(\"../../constants\");\nconst request_method_enum_1 = require(\"../../enums/request-method.enum\");\n/**\n * Declares this route as a Server-Sent-Events endpoint\n *\n * @publicApi\n */\nfunction Sse(path) {\n return (target, key, descriptor) => {\n path = path && path.length ? path : '/';\n Reflect.defineMetadata(constants_1.PATH_METADATA, path, descriptor.value);\n Reflect.defineMetadata(constants_1.METHOD_METADATA, request_method_enum_1.RequestMethod.GET, descriptor.value);\n Reflect.defineMetadata(constants_1.SSE_METADATA, true, descriptor.value);\n return descriptor;\n };\n}\nexports.Sse = Sse;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./request-mapping.decorator\"), exports);\ntslib_1.__exportStar(require(\"./route-params.decorator\"), exports);\ntslib_1.__exportStar(require(\"./http-code.decorator\"), exports);\ntslib_1.__exportStar(require(\"./create-route-param-metadata.decorator\"), exports);\ntslib_1.__exportStar(require(\"./render.decorator\"), exports);\ntslib_1.__exportStar(require(\"./header.decorator\"), exports);\ntslib_1.__exportStar(require(\"./redirect.decorator\"), exports);\ntslib_1.__exportStar(require(\"./sse.decorator\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./core\"), exports);\ntslib_1.__exportStar(require(\"./modules\"), exports);\ntslib_1.__exportStar(require(\"./http\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpStatus = void 0;\n/**\n * @publicApi\n */\nvar HttpStatus;\n(function (HttpStatus) {\n HttpStatus[HttpStatus[\"CONTINUE\"] = 100] = \"CONTINUE\";\n HttpStatus[HttpStatus[\"SWITCHING_PROTOCOLS\"] = 101] = \"SWITCHING_PROTOCOLS\";\n HttpStatus[HttpStatus[\"PROCESSING\"] = 102] = \"PROCESSING\";\n HttpStatus[HttpStatus[\"EARLYHINTS\"] = 103] = \"EARLYHINTS\";\n HttpStatus[HttpStatus[\"OK\"] = 200] = \"OK\";\n HttpStatus[HttpStatus[\"CREATED\"] = 201] = \"CREATED\";\n HttpStatus[HttpStatus[\"ACCEPTED\"] = 202] = \"ACCEPTED\";\n HttpStatus[HttpStatus[\"NON_AUTHORITATIVE_INFORMATION\"] = 203] = \"NON_AUTHORITATIVE_INFORMATION\";\n HttpStatus[HttpStatus[\"NO_CONTENT\"] = 204] = \"NO_CONTENT\";\n HttpStatus[HttpStatus[\"RESET_CONTENT\"] = 205] = \"RESET_CONTENT\";\n HttpStatus[HttpStatus[\"PARTIAL_CONTENT\"] = 206] = \"PARTIAL_CONTENT\";\n HttpStatus[HttpStatus[\"AMBIGUOUS\"] = 300] = \"AMBIGUOUS\";\n HttpStatus[HttpStatus[\"MOVED_PERMANENTLY\"] = 301] = \"MOVED_PERMANENTLY\";\n HttpStatus[HttpStatus[\"FOUND\"] = 302] = \"FOUND\";\n HttpStatus[HttpStatus[\"SEE_OTHER\"] = 303] = \"SEE_OTHER\";\n HttpStatus[HttpStatus[\"NOT_MODIFIED\"] = 304] = \"NOT_MODIFIED\";\n HttpStatus[HttpStatus[\"TEMPORARY_REDIRECT\"] = 307] = \"TEMPORARY_REDIRECT\";\n HttpStatus[HttpStatus[\"PERMANENT_REDIRECT\"] = 308] = \"PERMANENT_REDIRECT\";\n HttpStatus[HttpStatus[\"BAD_REQUEST\"] = 400] = \"BAD_REQUEST\";\n HttpStatus[HttpStatus[\"UNAUTHORIZED\"] = 401] = \"UNAUTHORIZED\";\n HttpStatus[HttpStatus[\"PAYMENT_REQUIRED\"] = 402] = \"PAYMENT_REQUIRED\";\n HttpStatus[HttpStatus[\"FORBIDDEN\"] = 403] = \"FORBIDDEN\";\n HttpStatus[HttpStatus[\"NOT_FOUND\"] = 404] = \"NOT_FOUND\";\n HttpStatus[HttpStatus[\"METHOD_NOT_ALLOWED\"] = 405] = \"METHOD_NOT_ALLOWED\";\n HttpStatus[HttpStatus[\"NOT_ACCEPTABLE\"] = 406] = \"NOT_ACCEPTABLE\";\n HttpStatus[HttpStatus[\"PROXY_AUTHENTICATION_REQUIRED\"] = 407] = \"PROXY_AUTHENTICATION_REQUIRED\";\n HttpStatus[HttpStatus[\"REQUEST_TIMEOUT\"] = 408] = \"REQUEST_TIMEOUT\";\n HttpStatus[HttpStatus[\"CONFLICT\"] = 409] = \"CONFLICT\";\n HttpStatus[HttpStatus[\"GONE\"] = 410] = \"GONE\";\n HttpStatus[HttpStatus[\"LENGTH_REQUIRED\"] = 411] = \"LENGTH_REQUIRED\";\n HttpStatus[HttpStatus[\"PRECONDITION_FAILED\"] = 412] = \"PRECONDITION_FAILED\";\n HttpStatus[HttpStatus[\"PAYLOAD_TOO_LARGE\"] = 413] = \"PAYLOAD_TOO_LARGE\";\n HttpStatus[HttpStatus[\"URI_TOO_LONG\"] = 414] = \"URI_TOO_LONG\";\n HttpStatus[HttpStatus[\"UNSUPPORTED_MEDIA_TYPE\"] = 415] = \"UNSUPPORTED_MEDIA_TYPE\";\n HttpStatus[HttpStatus[\"REQUESTED_RANGE_NOT_SATISFIABLE\"] = 416] = \"REQUESTED_RANGE_NOT_SATISFIABLE\";\n HttpStatus[HttpStatus[\"EXPECTATION_FAILED\"] = 417] = \"EXPECTATION_FAILED\";\n HttpStatus[HttpStatus[\"I_AM_A_TEAPOT\"] = 418] = \"I_AM_A_TEAPOT\";\n HttpStatus[HttpStatus[\"MISDIRECTED\"] = 421] = \"MISDIRECTED\";\n HttpStatus[HttpStatus[\"UNPROCESSABLE_ENTITY\"] = 422] = \"UNPROCESSABLE_ENTITY\";\n HttpStatus[HttpStatus[\"FAILED_DEPENDENCY\"] = 424] = \"FAILED_DEPENDENCY\";\n HttpStatus[HttpStatus[\"PRECONDITION_REQUIRED\"] = 428] = \"PRECONDITION_REQUIRED\";\n HttpStatus[HttpStatus[\"TOO_MANY_REQUESTS\"] = 429] = \"TOO_MANY_REQUESTS\";\n HttpStatus[HttpStatus[\"INTERNAL_SERVER_ERROR\"] = 500] = \"INTERNAL_SERVER_ERROR\";\n HttpStatus[HttpStatus[\"NOT_IMPLEMENTED\"] = 501] = \"NOT_IMPLEMENTED\";\n HttpStatus[HttpStatus[\"BAD_GATEWAY\"] = 502] = \"BAD_GATEWAY\";\n HttpStatus[HttpStatus[\"SERVICE_UNAVAILABLE\"] = 503] = \"SERVICE_UNAVAILABLE\";\n HttpStatus[HttpStatus[\"GATEWAY_TIMEOUT\"] = 504] = \"GATEWAY_TIMEOUT\";\n HttpStatus[HttpStatus[\"HTTP_VERSION_NOT_SUPPORTED\"] = 505] = \"HTTP_VERSION_NOT_SUPPORTED\";\n})(HttpStatus || (exports.HttpStatus = HttpStatus = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ShutdownSignal = void 0;\n/**\n * System signals which shut down a process\n */\nvar ShutdownSignal;\n(function (ShutdownSignal) {\n ShutdownSignal[\"SIGHUP\"] = \"SIGHUP\";\n ShutdownSignal[\"SIGINT\"] = \"SIGINT\";\n ShutdownSignal[\"SIGQUIT\"] = \"SIGQUIT\";\n ShutdownSignal[\"SIGILL\"] = \"SIGILL\";\n ShutdownSignal[\"SIGTRAP\"] = \"SIGTRAP\";\n ShutdownSignal[\"SIGABRT\"] = \"SIGABRT\";\n ShutdownSignal[\"SIGBUS\"] = \"SIGBUS\";\n ShutdownSignal[\"SIGFPE\"] = \"SIGFPE\";\n ShutdownSignal[\"SIGSEGV\"] = \"SIGSEGV\";\n ShutdownSignal[\"SIGUSR2\"] = \"SIGUSR2\";\n ShutdownSignal[\"SIGTERM\"] = \"SIGTERM\";\n})(ShutdownSignal || (exports.ShutdownSignal = ShutdownSignal = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.VersioningType = void 0;\n/**\n * @publicApi\n */\nvar VersioningType;\n(function (VersioningType) {\n VersioningType[VersioningType[\"URI\"] = 0] = \"URI\";\n VersioningType[VersioningType[\"HEADER\"] = 1] = \"HEADER\";\n VersioningType[VersioningType[\"MEDIA_TYPE\"] = 2] = \"MEDIA_TYPE\";\n VersioningType[VersioningType[\"CUSTOM\"] = 3] = \"CUSTOM\";\n})(VersioningType || (exports.VersioningType = VersioningType = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./request-method.enum\"), exports);\ntslib_1.__exportStar(require(\"./http-status.enum\"), exports);\ntslib_1.__exportStar(require(\"./shutdown-signal.enum\"), exports);\ntslib_1.__exportStar(require(\"./version-type.enum\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpException = void 0;\nconst shared_utils_1 = require(\"../utils/shared.utils\");\n/**\n * Defines the base Nest HTTP exception, which is handled by the default\n * Exceptions Handler.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass HttpException extends Error {\n /**\n * Instantiate a plain HTTP Exception.\n *\n * @example\n * throw new HttpException()\n * throw new HttpException('message', HttpStatus.BAD_REQUEST)\n * throw new HttpException('custom message', HttpStatus.BAD_REQUEST, {\n * cause: new Error('Cause Error'),\n * })\n *\n *\n * @usageNotes\n * The constructor arguments define the response and the HTTP response status code.\n * - The `response` argument (required) defines the JSON response body. alternatively, it can also be\n * an error object that is used to define an error [cause](https://nodejs.org/en/blog/release/v16.9.0/#error-cause).\n * - The `status` argument (required) defines the HTTP Status Code.\n * - The `options` argument (optional) defines additional error options. Currently, it supports the `cause` attribute,\n * and can be used as an alternative way to specify the error cause: `const error = new HttpException('description', 400, { cause: new Error() });`\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: the Http Status Code.\n * - `message`: a short description of the HTTP error by default; override this\n * by supplying a string in the `response` parameter.\n *\n * To override the entire JSON response body, pass an object to the `createBody`\n * method. Nest will serialize the object and return it as the JSON response body.\n *\n * The `status` argument is required, and should be a valid HTTP status code.\n * Best practice is to use the `HttpStatus` enum imported from `nestjs/common`.\n *\n * @param response string, object describing the error condition or the error cause.\n * @param status HTTP response status code.\n * @param options An object used to add an error cause.\n */\n constructor(response, status, options) {\n super();\n this.response = response;\n this.status = status;\n this.options = options;\n this.initMessage();\n this.initName();\n this.initCause();\n }\n /**\n * Configures error chaining support\n *\n * @see https://nodejs.org/en/blog/release/v16.9.0/#error-cause\n * @see https://github.com/microsoft/TypeScript/issues/45167\n */\n initCause() {\n if (this.options?.cause) {\n this.cause = this.options.cause;\n return;\n }\n }\n initMessage() {\n if ((0, shared_utils_1.isString)(this.response)) {\n this.message = this.response;\n }\n else if ((0, shared_utils_1.isObject)(this.response) &&\n (0, shared_utils_1.isString)(this.response.message)) {\n this.message = this.response.message;\n }\n else if (this.constructor) {\n this.message =\n this.constructor.name.match(/[A-Z][a-z]+|[0-9]+/g)?.join(' ') ??\n 'Error';\n }\n }\n initName() {\n this.name = this.constructor.name;\n }\n getResponse() {\n return this.response;\n }\n getStatus() {\n return this.status;\n }\n static createBody(arg0, arg1, statusCode) {\n if (!arg0) {\n return {\n message: arg1,\n statusCode: statusCode,\n };\n }\n if ((0, shared_utils_1.isString)(arg0) || Array.isArray(arg0)) {\n return {\n message: arg0,\n error: arg1,\n statusCode: statusCode,\n };\n }\n return arg0;\n }\n static getDescriptionFrom(descriptionOrOptions) {\n return (0, shared_utils_1.isString)(descriptionOrOptions)\n ? descriptionOrOptions\n : descriptionOrOptions?.description;\n }\n static getHttpExceptionOptionsFrom(descriptionOrOptions) {\n return (0, shared_utils_1.isString)(descriptionOrOptions) ? {} : descriptionOrOptions;\n }\n /**\n * Utility method used to extract the error description and httpExceptionOptions from the given argument.\n * This is used by inheriting classes to correctly parse both options.\n * @returns the error description and the httpExceptionOptions as an object.\n */\n static extractDescriptionAndOptionsFrom(descriptionOrOptions) {\n const description = (0, shared_utils_1.isString)(descriptionOrOptions)\n ? descriptionOrOptions\n : descriptionOrOptions?.description;\n const httpExceptionOptions = (0, shared_utils_1.isString)(descriptionOrOptions)\n ? {}\n : descriptionOrOptions;\n return {\n description,\n httpExceptionOptions,\n };\n }\n}\nexports.HttpException = HttpException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BadRequestException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Bad Request* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass BadRequestException extends http_exception_1.HttpException {\n /**\n * Instantiate a `BadRequestException` Exception.\n *\n * @example\n * `throw new BadRequestException()`\n *\n * @usageNotes\n * The HTTP response status code will be 400.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 400.\n * - `message`: the string `'Bad Request'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Bad Request') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.BAD_REQUEST), http_status_enum_1.HttpStatus.BAD_REQUEST, httpExceptionOptions);\n }\n}\nexports.BadRequestException = BadRequestException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnauthorizedException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Unauthorized* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass UnauthorizedException extends http_exception_1.HttpException {\n /**\n * Instantiate an `UnauthorizedException` Exception.\n *\n * @example\n * `throw new UnauthorizedException()`\n *\n * @usageNotes\n * The HTTP response status code will be 401.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 401.\n * - `message`: the string `'Unauthorized'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Unauthorized') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.UNAUTHORIZED), http_status_enum_1.HttpStatus.UNAUTHORIZED, httpExceptionOptions);\n }\n}\nexports.UnauthorizedException = UnauthorizedException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MethodNotAllowedException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Method Not Allowed* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass MethodNotAllowedException extends http_exception_1.HttpException {\n /**\n * Instantiate a `MethodNotAllowedException` Exception.\n *\n * @example\n * `throw new MethodNotAllowedException()`\n *\n * @usageNotes\n * The HTTP response status code will be 405.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 405.\n * - `message`: the string `'Method Not Allowed'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Method Not Allowed') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.METHOD_NOT_ALLOWED), http_status_enum_1.HttpStatus.METHOD_NOT_ALLOWED, httpExceptionOptions);\n }\n}\nexports.MethodNotAllowedException = MethodNotAllowedException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotFoundException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Not Found* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass NotFoundException extends http_exception_1.HttpException {\n /**\n * Instantiate a `NotFoundException` Exception.\n *\n * @example\n * `throw new NotFoundException()`\n *\n * @usageNotes\n * The HTTP response status code will be 404.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 404.\n * - `message`: the string `'Not Found'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Not Found') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.NOT_FOUND), http_status_enum_1.HttpStatus.NOT_FOUND, httpExceptionOptions);\n }\n}\nexports.NotFoundException = NotFoundException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ForbiddenException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Forbidden* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass ForbiddenException extends http_exception_1.HttpException {\n /**\n * Instantiate a `ForbiddenException` Exception.\n *\n * @example\n * `throw new ForbiddenException()`\n *\n * @usageNotes\n * The HTTP response status code will be 403.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 403.\n * - `message`: the string `'Forbidden'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Forbidden') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.FORBIDDEN), http_status_enum_1.HttpStatus.FORBIDDEN, httpExceptionOptions);\n }\n}\nexports.ForbiddenException = ForbiddenException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotAcceptableException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Not Acceptable* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass NotAcceptableException extends http_exception_1.HttpException {\n /**\n * Instantiate a `NotAcceptableException` Exception.\n *\n * @example\n * `throw new NotAcceptableException()`\n *\n * @usageNotes\n * The HTTP response status code will be 406.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 406.\n * - `error`: the string `'Not Acceptable'` by default; override this by supplying\n * a string in the `error` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Not Acceptable') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.NOT_ACCEPTABLE), http_status_enum_1.HttpStatus.NOT_ACCEPTABLE, httpExceptionOptions);\n }\n}\nexports.NotAcceptableException = NotAcceptableException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RequestTimeoutException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Request Timeout* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass RequestTimeoutException extends http_exception_1.HttpException {\n /**\n * Instantiate a `RequestTimeoutException` Exception.\n *\n * @example\n * `throw new RequestTimeoutException()`\n *\n * @usageNotes\n * The HTTP response status code will be 408.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 408.\n * - `message`: the string `'Request Timeout'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Request Timeout') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.REQUEST_TIMEOUT), http_status_enum_1.HttpStatus.REQUEST_TIMEOUT, httpExceptionOptions);\n }\n}\nexports.RequestTimeoutException = RequestTimeoutException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConflictException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Conflict* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass ConflictException extends http_exception_1.HttpException {\n /**\n * Instantiate a `ConflictException` Exception.\n *\n * @example\n * `throw new ConflictException()`\n *\n * @usageNotes\n * The HTTP response status code will be 409.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 409.\n * - `message`: the string `'Conflict'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Conflict') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.CONFLICT), http_status_enum_1.HttpStatus.CONFLICT, httpExceptionOptions);\n }\n}\nexports.ConflictException = ConflictException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GoneException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Gone* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass GoneException extends http_exception_1.HttpException {\n /**\n * Instantiate a `GoneException` Exception.\n *\n * @example\n * `throw new GoneException()`\n *\n * @usageNotes\n * The HTTP response status code will be 410.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 410.\n * - `message`: the string `'Gone'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Gone') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.GONE), http_status_enum_1.HttpStatus.GONE, httpExceptionOptions);\n }\n}\nexports.GoneException = GoneException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PayloadTooLargeException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Payload Too Large* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass PayloadTooLargeException extends http_exception_1.HttpException {\n /**\n * Instantiate a `PayloadTooLargeException` Exception.\n *\n * @example\n * `throw new PayloadTooLargeException()`\n *\n * @usageNotes\n * The HTTP response status code will be 413.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 413.\n * - `message`: the string `'Payload Too Large'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Payload Too Large') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.PAYLOAD_TOO_LARGE), http_status_enum_1.HttpStatus.PAYLOAD_TOO_LARGE, httpExceptionOptions);\n }\n}\nexports.PayloadTooLargeException = PayloadTooLargeException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnsupportedMediaTypeException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Unsupported Media Type* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass UnsupportedMediaTypeException extends http_exception_1.HttpException {\n /**\n * Instantiate an `UnsupportedMediaTypeException` Exception.\n *\n * @example\n * `throw new UnsupportedMediaTypeException()`\n *\n * @usageNotes\n * The HTTP response status code will be 415.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 415.\n * - `message`: the string `'Unsupported Media Type'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Unsupported Media Type') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.UNSUPPORTED_MEDIA_TYPE), http_status_enum_1.HttpStatus.UNSUPPORTED_MEDIA_TYPE, httpExceptionOptions);\n }\n}\nexports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnprocessableEntityException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Unprocessable Entity* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass UnprocessableEntityException extends http_exception_1.HttpException {\n /**\n * Instantiate an `UnprocessableEntityException` Exception.\n *\n * @example\n * `throw new UnprocessableEntityException()`\n *\n * @usageNotes\n * The HTTP response status code will be 422.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 422.\n * - `message`: the string `'Unprocessable Entity'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Unprocessable Entity') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.UNPROCESSABLE_ENTITY), http_status_enum_1.HttpStatus.UNPROCESSABLE_ENTITY, httpExceptionOptions);\n }\n}\nexports.UnprocessableEntityException = UnprocessableEntityException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.InternalServerErrorException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Internal Server Error* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass InternalServerErrorException extends http_exception_1.HttpException {\n /**\n * Instantiate an `InternalServerErrorException` Exception.\n *\n * @example\n * `throw new InternalServerErrorException()`\n *\n * @usageNotes\n * The HTTP response status code will be 500.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 500.\n * - `message`: the string `'Internal Server Error'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Internal Server Error') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.INTERNAL_SERVER_ERROR), http_status_enum_1.HttpStatus.INTERNAL_SERVER_ERROR, httpExceptionOptions);\n }\n}\nexports.InternalServerErrorException = InternalServerErrorException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotImplementedException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Not Implemented* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass NotImplementedException extends http_exception_1.HttpException {\n /**\n * Instantiate a `NotImplementedException` Exception.\n *\n * @example\n * `throw new NotImplementedException()`\n *\n * @usageNotes\n * The HTTP response status code will be 501.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 501.\n * - `message`: the string `'Not Implemented'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n * @param error a short description of the HTTP error.\n */\n constructor(objectOrError, descriptionOrOptions = 'Not Implemented') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.NOT_IMPLEMENTED), http_status_enum_1.HttpStatus.NOT_IMPLEMENTED, httpExceptionOptions);\n }\n}\nexports.NotImplementedException = NotImplementedException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpVersionNotSupportedException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Http Version Not Supported* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass HttpVersionNotSupportedException extends http_exception_1.HttpException {\n /**\n * Instantiate a `HttpVersionNotSupportedException` Exception.\n *\n * @example\n * `throw new HttpVersionNotSupportedException()`\n *\n * @usageNotes\n * The HTTP response status code will be 505.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 505.\n * - `message`: the string `'HTTP Version Not Supported'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'HTTP Version Not Supported') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.HTTP_VERSION_NOT_SUPPORTED), http_status_enum_1.HttpStatus.HTTP_VERSION_NOT_SUPPORTED, httpExceptionOptions);\n }\n}\nexports.HttpVersionNotSupportedException = HttpVersionNotSupportedException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BadGatewayException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Bad Gateway* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass BadGatewayException extends http_exception_1.HttpException {\n /**\n * Instantiate a `BadGatewayException` Exception.\n *\n * @example\n * `throw new BadGatewayException()`\n *\n * @usageNotes\n * The HTTP response status code will be 502.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 502.\n * - `message`: the string `'Bad Gateway'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Bad Gateway') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.BAD_GATEWAY), http_status_enum_1.HttpStatus.BAD_GATEWAY, httpExceptionOptions);\n }\n}\nexports.BadGatewayException = BadGatewayException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceUnavailableException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Service Unavailable* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass ServiceUnavailableException extends http_exception_1.HttpException {\n /**\n * Instantiate a `ServiceUnavailableException` Exception.\n *\n * @example\n * `throw new ServiceUnavailableException()`\n *\n * @usageNotes\n * The HTTP response status code will be 503.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 503.\n * - `message`: the string `'Service Unavailable'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Service Unavailable') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.SERVICE_UNAVAILABLE), http_status_enum_1.HttpStatus.SERVICE_UNAVAILABLE, httpExceptionOptions);\n }\n}\nexports.ServiceUnavailableException = ServiceUnavailableException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GatewayTimeoutException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Gateway Timeout* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass GatewayTimeoutException extends http_exception_1.HttpException {\n /**\n * Instantiate a `GatewayTimeoutException` Exception.\n *\n * @example\n * `throw new GatewayTimeoutException()`\n *\n * @usageNotes\n * The HTTP response status code will be 504.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 504.\n * - `message`: the string `'Gateway Timeout'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Gateway Timeout') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.GATEWAY_TIMEOUT), http_status_enum_1.HttpStatus.GATEWAY_TIMEOUT, httpExceptionOptions);\n }\n}\nexports.GatewayTimeoutException = GatewayTimeoutException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ImATeapotException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *ImATeapotException* type errors.\n *\n * Any attempt to brew coffee with a teapot should result in the error code\n * \"418 I'm a teapot\". The resulting entity body MAY be short and stout.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass ImATeapotException extends http_exception_1.HttpException {\n /**\n * Instantiate an `ImATeapotException` Exception.\n *\n * @example\n * `throw new ImATeapotException()`\n *\n * @usageNotes\n * The HTTP response status code will be 418.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 418.\n * - `message`: the string `\"I'm a Teapot\"` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = `I'm a teapot`) {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.I_AM_A_TEAPOT), http_status_enum_1.HttpStatus.I_AM_A_TEAPOT, httpExceptionOptions);\n }\n}\nexports.ImATeapotException = ImATeapotException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PreconditionFailedException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Precondition Failed* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass PreconditionFailedException extends http_exception_1.HttpException {\n /**\n * Instantiate a `PreconditionFailedException` Exception.\n *\n * @example\n * `throw new PreconditionFailedException()`\n *\n * @usageNotes\n * The HTTP response status code will be 412.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 412.\n * - `message`: the string `'Precondition Failed'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Precondition Failed') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.PRECONDITION_FAILED), http_status_enum_1.HttpStatus.PRECONDITION_FAILED, httpExceptionOptions);\n }\n}\nexports.PreconditionFailedException = PreconditionFailedException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MisdirectedException = void 0;\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_exception_1 = require(\"./http.exception\");\n/**\n * Defines an HTTP exception for *Misdirected* type errors.\n *\n * @see [Built-in HTTP exceptions](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)\n *\n * @publicApi\n */\nclass MisdirectedException extends http_exception_1.HttpException {\n /**\n * Instantiate a `MisdirectedException` Exception.\n *\n * @example\n * `throw new MisdirectedException()`\n *\n * @usageNotes\n * The HTTP response status code will be 421.\n * - The `objectOrError` argument defines the JSON response body or the message string.\n * - The `descriptionOrOptions` argument contains either a short description of the HTTP error or an options object used to provide an underlying error cause.\n *\n * By default, the JSON response body contains two properties:\n * - `statusCode`: this will be the value 421.\n * - `message`: the string `'Bad Gateway'` by default; override this by supplying\n * a string in the `objectOrError` parameter.\n *\n * If the parameter `objectOrError` is a string, the response body will contain an\n * additional property, `error`, with a short description of the HTTP error. To override the\n * entire JSON response body, pass an object instead. Nest will serialize the object\n * and return it as the JSON response body.\n *\n * @param objectOrError string or object describing the error condition.\n * @param descriptionOrOptions either a short description of the HTTP error or an options object used to provide an underlying error cause\n */\n constructor(objectOrError, descriptionOrOptions = 'Misdirected') {\n const { description, httpExceptionOptions } = http_exception_1.HttpException.extractDescriptionAndOptionsFrom(descriptionOrOptions);\n super(http_exception_1.HttpException.createBody(objectOrError, description, http_status_enum_1.HttpStatus.MISDIRECTED), http_status_enum_1.HttpStatus.MISDIRECTED, httpExceptionOptions);\n }\n}\nexports.MisdirectedException = MisdirectedException;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./bad-request.exception\"), exports);\ntslib_1.__exportStar(require(\"./http.exception\"), exports);\ntslib_1.__exportStar(require(\"./unauthorized.exception\"), exports);\ntslib_1.__exportStar(require(\"./method-not-allowed.exception\"), exports);\ntslib_1.__exportStar(require(\"./not-found.exception\"), exports);\ntslib_1.__exportStar(require(\"./forbidden.exception\"), exports);\ntslib_1.__exportStar(require(\"./not-acceptable.exception\"), exports);\ntslib_1.__exportStar(require(\"./request-timeout.exception\"), exports);\ntslib_1.__exportStar(require(\"./conflict.exception\"), exports);\ntslib_1.__exportStar(require(\"./gone.exception\"), exports);\ntslib_1.__exportStar(require(\"./payload-too-large.exception\"), exports);\ntslib_1.__exportStar(require(\"./unsupported-media-type.exception\"), exports);\ntslib_1.__exportStar(require(\"./unprocessable-entity.exception\"), exports);\ntslib_1.__exportStar(require(\"./internal-server-error.exception\"), exports);\ntslib_1.__exportStar(require(\"./not-implemented.exception\"), exports);\ntslib_1.__exportStar(require(\"./http-version-not-supported.exception\"), exports);\ntslib_1.__exportStar(require(\"./bad-gateway.exception\"), exports);\ntslib_1.__exportStar(require(\"./service-unavailable.exception\"), exports);\ntslib_1.__exportStar(require(\"./gateway-timeout.exception\"), exports);\ntslib_1.__exportStar(require(\"./im-a-teapot.exception\"), exports);\ntslib_1.__exportStar(require(\"./precondition-failed.exception\"), exports);\ntslib_1.__exportStar(require(\"./misdirected.exception\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.StreamableFile = void 0;\nconst stream_1 = require(\"stream\");\nconst util_1 = require(\"util\");\nconst enums_1 = require(\"../enums\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\n/**\n * @see [Streaming files](https://docs.nestjs.com/techniques/streaming-files)\n *\n * @publicApi\n */\nclass StreamableFile {\n constructor(bufferOrReadStream, options = {}) {\n this.options = options;\n this.handleError = (err, res) => {\n if (res.destroyed) {\n return;\n }\n if (res.headersSent) {\n res.end();\n return;\n }\n res.statusCode = enums_1.HttpStatus.BAD_REQUEST;\n res.send(err.message);\n };\n if (util_1.types.isUint8Array(bufferOrReadStream)) {\n this.stream = new stream_1.Readable();\n this.stream.push(bufferOrReadStream);\n this.stream.push(null);\n this.options.length ??= bufferOrReadStream.length;\n }\n else if (bufferOrReadStream.pipe && (0, shared_utils_1.isFunction)(bufferOrReadStream.pipe)) {\n this.stream = bufferOrReadStream;\n }\n }\n getStream() {\n return this.stream;\n }\n getHeaders() {\n const { type = 'application/octet-stream', disposition = undefined, length = undefined, } = this.options;\n return {\n type,\n disposition,\n length,\n };\n }\n get errorHandler() {\n return this.handleError;\n }\n setErrorHandler(handler) {\n this.handleError = handler;\n return this;\n }\n}\nexports.StreamableFile = StreamableFile;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./streamable-file\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./before-application-shutdown.interface\"), exports);\ntslib_1.__exportStar(require(\"./on-application-bootstrap.interface\"), exports);\ntslib_1.__exportStar(require(\"./on-application-shutdown.interface\"), exports);\ntslib_1.__exportStar(require(\"./on-destroy.interface\"), exports);\ntslib_1.__exportStar(require(\"./on-init.interface\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./http-exception-body.interface\"), exports);\ntslib_1.__exportStar(require(\"./http-server.interface\"), exports);\ntslib_1.__exportStar(require(\"./message-event.interface\"), exports);\ntslib_1.__exportStar(require(\"./raw-body-request.interface\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./middleware-config-proxy.interface\"), exports);\ntslib_1.__exportStar(require(\"./middleware-configuration.interface\"), exports);\ntslib_1.__exportStar(require(\"./middleware-consumer.interface\"), exports);\ntslib_1.__exportStar(require(\"./nest-middleware.interface\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./dynamic-module.interface\"), exports);\ntslib_1.__exportStar(require(\"./forward-reference.interface\"), exports);\ntslib_1.__exportStar(require(\"./injection-token.interface\"), exports);\ntslib_1.__exportStar(require(\"./introspection-result.interface\"), exports);\ntslib_1.__exportStar(require(\"./module-metadata.interface\"), exports);\ntslib_1.__exportStar(require(\"./nest-module.interface\"), exports);\ntslib_1.__exportStar(require(\"./optional-factory-dependency.interface\"), exports);\ntslib_1.__exportStar(require(\"./provider.interface\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Scope = void 0;\n/**\n * @publicApi\n */\nvar Scope;\n(function (Scope) {\n /**\n * The provider can be shared across multiple classes. The provider lifetime\n * is strictly tied to the application lifecycle. Once the application has\n * bootstrapped, all providers have been instantiated.\n */\n Scope[Scope[\"DEFAULT\"] = 0] = \"DEFAULT\";\n /**\n * A new private instance of the provider is instantiated for every use\n */\n Scope[Scope[\"TRANSIENT\"] = 1] = \"TRANSIENT\";\n /**\n * A new instance is instantiated for each request processing pipeline\n */\n Scope[Scope[\"REQUEST\"] = 2] = \"REQUEST\";\n})(Scope || (exports.Scope = Scope = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.VERSION_NEUTRAL = void 0;\n/**\n * Indicates that this will work for any version passed in the request, or no version.\n *\n * @publicApi\n */\nexports.VERSION_NEUTRAL = Symbol('VERSION_NEUTRAL');\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./abstract.interface\"), exports);\ntslib_1.__exportStar(require(\"./controllers/controller-metadata.interface\"), exports);\ntslib_1.__exportStar(require(\"./controllers/controller.interface\"), exports);\ntslib_1.__exportStar(require(\"./exceptions/exception-filter.interface\"), exports);\ntslib_1.__exportStar(require(\"./exceptions/rpc-exception-filter.interface\"), exports);\ntslib_1.__exportStar(require(\"./exceptions/ws-exception-filter.interface\"), exports);\ntslib_1.__exportStar(require(\"./external/validation-error.interface\"), exports);\ntslib_1.__exportStar(require(\"./features/arguments-host.interface\"), exports);\ntslib_1.__exportStar(require(\"./features/can-activate.interface\"), exports);\ntslib_1.__exportStar(require(\"./features/custom-route-param-factory.interface\"), exports);\ntslib_1.__exportStar(require(\"./features/execution-context.interface\"), exports);\ntslib_1.__exportStar(require(\"./features/nest-interceptor.interface\"), exports);\ntslib_1.__exportStar(require(\"./features/paramtype.interface\"), exports);\ntslib_1.__exportStar(require(\"./features/pipe-transform.interface\"), exports);\ntslib_1.__exportStar(require(\"./global-prefix-options.interface\"), exports);\ntslib_1.__exportStar(require(\"./hooks\"), exports);\ntslib_1.__exportStar(require(\"./http\"), exports);\ntslib_1.__exportStar(require(\"./injectable.interface\"), exports);\ntslib_1.__exportStar(require(\"./microservices/nest-hybrid-application-options.interface\"), exports);\ntslib_1.__exportStar(require(\"./middleware\"), exports);\ntslib_1.__exportStar(require(\"./modules\"), exports);\ntslib_1.__exportStar(require(\"./nest-application-context.interface\"), exports);\ntslib_1.__exportStar(require(\"./nest-application-options.interface\"), exports);\ntslib_1.__exportStar(require(\"./nest-application.interface\"), exports);\ntslib_1.__exportStar(require(\"./nest-microservice.interface\"), exports);\ntslib_1.__exportStar(require(\"./scope-options.interface\"), exports);\ntslib_1.__exportStar(require(\"./type.interface\"), exports);\ntslib_1.__exportStar(require(\"./version-options.interface\"), exports);\ntslib_1.__exportStar(require(\"./websockets/web-socket-adapter.interface\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.yellow = exports.clc = void 0;\nconst isColorAllowed = () => !process.env.NO_COLOR;\nconst colorIfAllowed = (colorFn) => (text) => isColorAllowed() ? colorFn(text) : text;\nexports.clc = {\n bold: colorIfAllowed((text) => `\\x1B[1m${text}\\x1B[0m`),\n green: colorIfAllowed((text) => `\\x1B[32m${text}\\x1B[39m`),\n yellow: colorIfAllowed((text) => `\\x1B[33m${text}\\x1B[39m`),\n red: colorIfAllowed((text) => `\\x1B[31m${text}\\x1B[39m`),\n magentaBright: colorIfAllowed((text) => `\\x1B[95m${text}\\x1B[39m`),\n cyanBright: colorIfAllowed((text) => `\\x1B[96m${text}\\x1B[39m`),\n};\nexports.yellow = colorIfAllowed((text) => `\\x1B[38;5;3m${text}\\x1B[39m`);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLogLevelEnabled = void 0;\nconst LOG_LEVEL_VALUES = {\n verbose: 0,\n debug: 1,\n log: 2,\n warn: 3,\n error: 4,\n fatal: 5,\n};\n/**\n * Checks if target level is enabled.\n * @param targetLevel target level\n * @param logLevels array of enabled log levels\n */\nfunction isLogLevelEnabled(targetLevel, logLevels) {\n if (!logLevels || (Array.isArray(logLevels) && logLevels?.length === 0)) {\n return false;\n }\n if (logLevels.includes(targetLevel)) {\n return true;\n }\n const highestLogLevelValue = logLevels\n .map(level => LOG_LEVEL_VALUES[level])\n .sort((a, b) => b - a)?.[0];\n const targetLevelValue = LOG_LEVEL_VALUES[targetLevel];\n return targetLevelValue >= highestLogLevelValue;\n}\nexports.isLogLevelEnabled = isLogLevelEnabled;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./is-log-level-enabled.util\"), exports);\n","\"use strict\";\nvar ConsoleLogger_1;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConsoleLogger = void 0;\nconst tslib_1 = require(\"tslib\");\nconst core_1 = require(\"../decorators/core\");\nconst cli_colors_util_1 = require(\"../utils/cli-colors.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\nconst utils_1 = require(\"./utils\");\nconst DEFAULT_LOG_LEVELS = [\n 'log',\n 'error',\n 'warn',\n 'debug',\n 'verbose',\n 'fatal',\n];\nconst dateTimeFormatter = new Intl.DateTimeFormat(undefined, {\n year: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n day: '2-digit',\n month: '2-digit',\n});\nlet ConsoleLogger = exports.ConsoleLogger = ConsoleLogger_1 = class ConsoleLogger {\n constructor(context, options = {}) {\n this.context = context;\n this.options = options;\n if (!options.logLevels) {\n options.logLevels = DEFAULT_LOG_LEVELS;\n }\n if (context) {\n this.originalContext = context;\n }\n }\n log(message, ...optionalParams) {\n if (!this.isLevelEnabled('log')) {\n return;\n }\n const { messages, context } = this.getContextAndMessagesToPrint([\n message,\n ...optionalParams,\n ]);\n this.printMessages(messages, context, 'log');\n }\n error(message, ...optionalParams) {\n if (!this.isLevelEnabled('error')) {\n return;\n }\n const { messages, context, stack } = this.getContextAndStackAndMessagesToPrint([message, ...optionalParams]);\n this.printMessages(messages, context, 'error', 'stderr');\n this.printStackTrace(stack);\n }\n warn(message, ...optionalParams) {\n if (!this.isLevelEnabled('warn')) {\n return;\n }\n const { messages, context } = this.getContextAndMessagesToPrint([\n message,\n ...optionalParams,\n ]);\n this.printMessages(messages, context, 'warn');\n }\n debug(message, ...optionalParams) {\n if (!this.isLevelEnabled('debug')) {\n return;\n }\n const { messages, context } = this.getContextAndMessagesToPrint([\n message,\n ...optionalParams,\n ]);\n this.printMessages(messages, context, 'debug');\n }\n verbose(message, ...optionalParams) {\n if (!this.isLevelEnabled('verbose')) {\n return;\n }\n const { messages, context } = this.getContextAndMessagesToPrint([\n message,\n ...optionalParams,\n ]);\n this.printMessages(messages, context, 'verbose');\n }\n fatal(message, ...optionalParams) {\n if (!this.isLevelEnabled('fatal')) {\n return;\n }\n const { messages, context } = this.getContextAndMessagesToPrint([\n message,\n ...optionalParams,\n ]);\n this.printMessages(messages, context, 'fatal');\n }\n /**\n * Set log levels\n * @param levels log levels\n */\n setLogLevels(levels) {\n if (!this.options) {\n this.options = {};\n }\n this.options.logLevels = levels;\n }\n /**\n * Set logger context\n * @param context context\n */\n setContext(context) {\n this.context = context;\n }\n /**\n * Resets the logger context to the value that was passed in the constructor.\n */\n resetContext() {\n this.context = this.originalContext;\n }\n isLevelEnabled(level) {\n const logLevels = this.options?.logLevels;\n return (0, utils_1.isLogLevelEnabled)(level, logLevels);\n }\n getTimestamp() {\n return dateTimeFormatter.format(Date.now());\n }\n printMessages(messages, context = '', logLevel = 'log', writeStreamType) {\n messages.forEach(message => {\n const pidMessage = this.formatPid(process.pid);\n const contextMessage = this.formatContext(context);\n const timestampDiff = this.updateAndGetTimestampDiff();\n const formattedLogLevel = logLevel.toUpperCase().padStart(7, ' ');\n const formattedMessage = this.formatMessage(logLevel, message, pidMessage, formattedLogLevel, contextMessage, timestampDiff);\n process[writeStreamType ?? 'stdout'].write(formattedMessage);\n });\n }\n formatPid(pid) {\n return `[Nest] ${pid} - `;\n }\n formatContext(context) {\n return context ? (0, cli_colors_util_1.yellow)(`[${context}] `) : '';\n }\n formatMessage(logLevel, message, pidMessage, formattedLogLevel, contextMessage, timestampDiff) {\n const output = this.stringifyMessage(message, logLevel);\n pidMessage = this.colorize(pidMessage, logLevel);\n formattedLogLevel = this.colorize(formattedLogLevel, logLevel);\n return `${pidMessage}${this.getTimestamp()} ${formattedLogLevel} ${contextMessage}${output}${timestampDiff}\\n`;\n }\n stringifyMessage(message, logLevel) {\n // If the message is a function, call it and re-resolve its value.\n return (0, shared_utils_1.isFunction)(message)\n ? this.stringifyMessage(message(), logLevel)\n : (0, shared_utils_1.isPlainObject)(message) || Array.isArray(message)\n ? `${this.colorize('Object:', logLevel)}\\n${JSON.stringify(message, (key, value) => typeof value === 'bigint' ? value.toString() : value, 2)}\\n`\n : this.colorize(message, logLevel);\n }\n colorize(message, logLevel) {\n const color = this.getColorByLogLevel(logLevel);\n return color(message);\n }\n printStackTrace(stack) {\n if (!stack) {\n return;\n }\n process.stderr.write(`${stack}\\n`);\n }\n updateAndGetTimestampDiff() {\n const includeTimestamp = ConsoleLogger_1.lastTimestampAt && this.options?.timestamp;\n const result = includeTimestamp\n ? this.formatTimestampDiff(Date.now() - ConsoleLogger_1.lastTimestampAt)\n : '';\n ConsoleLogger_1.lastTimestampAt = Date.now();\n return result;\n }\n formatTimestampDiff(timestampDiff) {\n return (0, cli_colors_util_1.yellow)(` +${timestampDiff}ms`);\n }\n getContextAndMessagesToPrint(args) {\n if (args?.length <= 1) {\n return { messages: args, context: this.context };\n }\n const lastElement = args[args.length - 1];\n const isContext = (0, shared_utils_1.isString)(lastElement);\n if (!isContext) {\n return { messages: args, context: this.context };\n }\n return {\n context: lastElement,\n messages: args.slice(0, args.length - 1),\n };\n }\n getContextAndStackAndMessagesToPrint(args) {\n if (args.length === 2) {\n return this.isStackFormat(args[1])\n ? {\n messages: [args[0]],\n stack: args[1],\n context: this.context,\n }\n : {\n messages: [args[0]],\n context: args[1],\n };\n }\n const { messages, context } = this.getContextAndMessagesToPrint(args);\n if (messages?.length <= 1) {\n return { messages, context };\n }\n const lastElement = messages[messages.length - 1];\n const isStack = (0, shared_utils_1.isString)(lastElement);\n // https://github.com/nestjs/nest/issues/11074#issuecomment-1421680060\n if (!isStack && !(0, shared_utils_1.isUndefined)(lastElement)) {\n return { messages, context };\n }\n return {\n stack: lastElement,\n messages: messages.slice(0, messages.length - 1),\n context,\n };\n }\n isStackFormat(stack) {\n if (!(0, shared_utils_1.isString)(stack) && !(0, shared_utils_1.isUndefined)(stack)) {\n return false;\n }\n return /^(.)+\\n\\s+at .+:\\d+:\\d+$/.test(stack);\n }\n getColorByLogLevel(level) {\n switch (level) {\n case 'debug':\n return cli_colors_util_1.clc.magentaBright;\n case 'warn':\n return cli_colors_util_1.clc.yellow;\n case 'error':\n return cli_colors_util_1.clc.red;\n case 'verbose':\n return cli_colors_util_1.clc.cyanBright;\n case 'fatal':\n return cli_colors_util_1.clc.bold;\n default:\n return cli_colors_util_1.clc.green;\n }\n }\n};\nexports.ConsoleLogger = ConsoleLogger = ConsoleLogger_1 = tslib_1.__decorate([\n (0, core_1.Injectable)(),\n tslib_1.__param(0, (0, core_1.Optional)()),\n tslib_1.__param(1, (0, core_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [String, Object])\n], ConsoleLogger);\n","\"use strict\";\nvar Logger_1;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Logger = void 0;\nconst tslib_1 = require(\"tslib\");\nconst core_1 = require(\"../decorators/core\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\nconst console_logger_service_1 = require(\"./console-logger.service\");\nconst utils_1 = require(\"./utils\");\nconst DEFAULT_LOGGER = new console_logger_service_1.ConsoleLogger();\nconst dateTimeFormatter = new Intl.DateTimeFormat(undefined, {\n year: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n day: '2-digit',\n month: '2-digit',\n});\n/**\n * @publicApi\n */\nlet Logger = exports.Logger = Logger_1 = class Logger {\n constructor(context, options = {}) {\n this.context = context;\n this.options = options;\n }\n get localInstance() {\n if (Logger_1.staticInstanceRef === DEFAULT_LOGGER) {\n return this.registerLocalInstanceRef();\n }\n else if (Logger_1.staticInstanceRef instanceof Logger_1) {\n const prototype = Object.getPrototypeOf(Logger_1.staticInstanceRef);\n if (prototype.constructor === Logger_1) {\n return this.registerLocalInstanceRef();\n }\n }\n return Logger_1.staticInstanceRef;\n }\n error(message, ...optionalParams) {\n optionalParams = this.context\n ? (optionalParams.length ? optionalParams : [undefined]).concat(this.context)\n : optionalParams;\n this.localInstance?.error(message, ...optionalParams);\n }\n log(message, ...optionalParams) {\n optionalParams = this.context\n ? optionalParams.concat(this.context)\n : optionalParams;\n this.localInstance?.log(message, ...optionalParams);\n }\n warn(message, ...optionalParams) {\n optionalParams = this.context\n ? optionalParams.concat(this.context)\n : optionalParams;\n this.localInstance?.warn(message, ...optionalParams);\n }\n debug(message, ...optionalParams) {\n optionalParams = this.context\n ? optionalParams.concat(this.context)\n : optionalParams;\n this.localInstance?.debug?.(message, ...optionalParams);\n }\n verbose(message, ...optionalParams) {\n optionalParams = this.context\n ? optionalParams.concat(this.context)\n : optionalParams;\n this.localInstance?.verbose?.(message, ...optionalParams);\n }\n fatal(message, ...optionalParams) {\n optionalParams = this.context\n ? optionalParams.concat(this.context)\n : optionalParams;\n this.localInstance?.fatal?.(message, ...optionalParams);\n }\n static error(message, ...optionalParams) {\n this.staticInstanceRef?.error(message, ...optionalParams);\n }\n static log(message, ...optionalParams) {\n this.staticInstanceRef?.log(message, ...optionalParams);\n }\n static warn(message, ...optionalParams) {\n this.staticInstanceRef?.warn(message, ...optionalParams);\n }\n static debug(message, ...optionalParams) {\n this.staticInstanceRef?.debug?.(message, ...optionalParams);\n }\n static verbose(message, ...optionalParams) {\n this.staticInstanceRef?.verbose?.(message, ...optionalParams);\n }\n static fatal(message, ...optionalParams) {\n this.staticInstanceRef?.fatal?.(message, ...optionalParams);\n }\n /**\n * Print buffered logs and detach buffer.\n */\n static flush() {\n this.isBufferAttached = false;\n this.logBuffer.forEach(item => item.methodRef(...item.arguments));\n this.logBuffer = [];\n }\n /**\n * Attach buffer.\n * Turns on initialization logs buffering.\n */\n static attachBuffer() {\n this.isBufferAttached = true;\n }\n /**\n * Detach buffer.\n * Turns off initialization logs buffering.\n */\n static detachBuffer() {\n this.isBufferAttached = false;\n }\n static getTimestamp() {\n return dateTimeFormatter.format(Date.now());\n }\n static overrideLogger(logger) {\n if (Array.isArray(logger)) {\n Logger_1.logLevels = logger;\n return this.staticInstanceRef?.setLogLevels(logger);\n }\n if ((0, shared_utils_1.isObject)(logger)) {\n if (logger instanceof Logger_1 && logger.constructor !== Logger_1) {\n const errorMessage = `Using the \"extends Logger\" instruction is not allowed in Nest v9. Please, use \"extends ConsoleLogger\" instead.`;\n this.staticInstanceRef.error(errorMessage);\n throw new Error(errorMessage);\n }\n this.staticInstanceRef = logger;\n }\n else {\n this.staticInstanceRef = undefined;\n }\n }\n static isLevelEnabled(level) {\n const logLevels = Logger_1.logLevels;\n return (0, utils_1.isLogLevelEnabled)(level, logLevels);\n }\n registerLocalInstanceRef() {\n if (this.localInstanceRef) {\n return this.localInstanceRef;\n }\n this.localInstanceRef = new console_logger_service_1.ConsoleLogger(this.context, {\n timestamp: this.options?.timestamp,\n logLevels: Logger_1.logLevels,\n });\n return this.localInstanceRef;\n }\n};\nLogger.logBuffer = new Array();\nLogger.staticInstanceRef = DEFAULT_LOGGER;\nLogger.WrapBuffer = (target, propertyKey, descriptor) => {\n const originalFn = descriptor.value;\n descriptor.value = function (...args) {\n if (Logger_1.isBufferAttached) {\n Logger_1.logBuffer.push({\n methodRef: originalFn.bind(this),\n arguments: args,\n });\n return;\n }\n return originalFn.call(this, ...args);\n };\n};\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger.prototype, \"error\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger.prototype, \"log\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger.prototype, \"warn\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger.prototype, \"debug\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger.prototype, \"verbose\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger.prototype, \"fatal\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger, \"error\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger, \"log\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger, \"warn\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger, \"debug\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger, \"verbose\", null);\ntslib_1.__decorate([\n Logger_1.WrapBuffer,\n tslib_1.__metadata(\"design:type\", Function),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object]),\n tslib_1.__metadata(\"design:returntype\", void 0)\n], Logger, \"fatal\", null);\nexports.Logger = Logger = Logger_1 = tslib_1.__decorate([\n (0, core_1.Injectable)(),\n tslib_1.__param(0, (0, core_1.Optional)()),\n tslib_1.__param(1, (0, core_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [String, Object])\n], Logger);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.randomStringGenerator = void 0;\nconst uid_1 = require(\"uid\");\nconst randomStringGenerator = () => (0, uid_1.uid)(21);\nexports.randomStringGenerator = randomStringGenerator;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CONFIGURABLE_MODULE_ID = exports.ASYNC_METHOD_SUFFIX = exports.DEFAULT_FACTORY_CLASS_METHOD_KEY = exports.DEFAULT_METHOD_KEY = void 0;\nexports.DEFAULT_METHOD_KEY = 'register';\nexports.DEFAULT_FACTORY_CLASS_METHOD_KEY = 'create';\nexports.ASYNC_METHOD_SUFFIX = 'Async';\nexports.CONFIGURABLE_MODULE_ID = 'CONFIGURABLE_MODULE_ID';\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.generateOptionsInjectionToken = void 0;\nconst random_string_generator_util_1 = require(\"../../utils/random-string-generator.util\");\nfunction generateOptionsInjectionToken() {\n const hash = (0, random_string_generator_util_1.randomStringGenerator)();\n return `CONFIGURABLE_MODULE_OPTIONS[${hash}]`;\n}\nexports.generateOptionsInjectionToken = generateOptionsInjectionToken;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getInjectionProviders = void 0;\n/**\n * check if x is OptionalFactoryDependency, based on prototype presence\n * (to avoid classes with a static 'token' field)\n * @param x\n * @returns x is OptionalFactoryDependency\n */\nfunction isOptionalFactoryDependency(x) {\n return !!(x?.token && !x?.prototype);\n}\nconst mapInjectToTokens = (t) => isOptionalFactoryDependency(t) ? t.token : t;\n/**\n *\n * @param providers List of a module's providers\n * @param tokens Injection tokens needed for a useFactory function (usually the module's options' token)\n * @returns All the providers needed for the tokens' injection (searched recursively)\n */\nfunction getInjectionProviders(providers, tokens) {\n const result = [];\n let search = tokens.map(mapInjectToTokens);\n while (search.length > 0) {\n const match = (providers ?? []).filter(p => !result.includes(p) && // this prevents circular loops and duplication\n (search.includes(p) || search.includes(p?.provide)));\n result.push(...match);\n // get injection tokens of the matched providers, if any\n search = match\n .filter(p => p?.inject)\n .map(p => p.inject)\n .flat()\n .map(mapInjectToTokens);\n }\n return result;\n}\nexports.getInjectionProviders = getInjectionProviders;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./generate-options-injection-token.util\"), exports);\ntslib_1.__exportStar(require(\"./get-injection-providers.util\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConfigurableModuleBuilder = void 0;\nconst logger_service_1 = require(\"../services/logger.service\");\nconst random_string_generator_util_1 = require(\"../utils/random-string-generator.util\");\nconst constants_1 = require(\"./constants\");\nconst utils_1 = require(\"./utils\");\n/**\n * Factory that lets you create configurable modules and\n * provides a way to reduce the majority of dynamic module boilerplate.\n *\n * @publicApi\n */\nclass ConfigurableModuleBuilder {\n constructor(options = {}, parentBuilder) {\n this.options = options;\n this.logger = new logger_service_1.Logger(ConfigurableModuleBuilder.name);\n if (parentBuilder) {\n this.staticMethodKey = parentBuilder.staticMethodKey;\n this.factoryClassMethodKey =\n parentBuilder.factoryClassMethodKey;\n this.transformModuleDefinition = parentBuilder.transformModuleDefinition;\n this.extras = parentBuilder.extras;\n }\n }\n /**\n * Registers the \"extras\" object (a set of extra options that can be used to modify the dynamic module definition).\n * Values you specify within the \"extras\" object will be used as default values (that can be overridden by module consumers).\n *\n * This method also applies the so-called \"module definition transform function\" that takes the auto-generated\n * dynamic module object (\"DynamicModule\") and the actual consumer \"extras\" object as input parameters.\n * The \"extras\" object consists of values explicitly specified by module consumers and default values.\n *\n * @example\n * ```typescript\n * .setExtras<{ isGlobal?: boolean }>({ isGlobal: false }, (definition, extras) =>\n * ({ ...definition, global: extras.isGlobal })\n * )\n * ```\n */\n setExtras(extras, transformDefinition = def => def) {\n const builder = new ConfigurableModuleBuilder(this.options, this);\n builder.extras = extras;\n builder.transformModuleDefinition = transformDefinition;\n return builder;\n }\n /**\n * Dynamic modules must expose public static methods that let you pass in\n * configuration parameters (control the module's behavior from the outside).\n * Some frequently used names that you may have seen in other modules are:\n * \"forRoot\", \"forFeature\", \"register\", \"configure\".\n *\n * This method \"setClassMethodName\" lets you specify the name of the\n * method that will be auto-generated.\n *\n * @param key name of the method\n */\n setClassMethodName(key) {\n const builder = new ConfigurableModuleBuilder(this.options, this);\n builder.staticMethodKey = key;\n return builder;\n }\n /**\n * Asynchronously configured modules (that rely on other modules, i.e. \"ConfigModule\")\n * let you pass the configuration factory class that will be registered and instantiated as a provider.\n * This provider then will be used to retrieve the module's configuration. To provide the configuration,\n * the corresponding factory method must be implemented.\n *\n * This method (\"setFactoryMethodName\") lets you control what method name will have to be\n * implemented by the config factory (default is \"create\").\n *\n * @param key name of the method\n */\n setFactoryMethodName(key) {\n const builder = new ConfigurableModuleBuilder(this.options, this);\n builder.factoryClassMethodKey = key;\n return builder;\n }\n /**\n * Returns an object consisting of multiple properties that lets you\n * easily construct dynamic configurable modules. See \"ConfigurableModuleHost\" interface for more details.\n */\n build() {\n this.staticMethodKey ??= constants_1.DEFAULT_METHOD_KEY;\n this.factoryClassMethodKey ??=\n constants_1.DEFAULT_FACTORY_CLASS_METHOD_KEY;\n this.options.optionsInjectionToken ??= this.options.moduleName\n ? this.constructInjectionTokenString()\n : (0, utils_1.generateOptionsInjectionToken)();\n this.transformModuleDefinition ??= definition => definition;\n return {\n ConfigurableModuleClass: this.createConfigurableModuleCls(),\n MODULE_OPTIONS_TOKEN: this.options.optionsInjectionToken,\n ASYNC_OPTIONS_TYPE: this.createTypeProxy('ASYNC_OPTIONS_TYPE'),\n OPTIONS_TYPE: this.createTypeProxy('OPTIONS_TYPE'),\n };\n }\n constructInjectionTokenString() {\n const moduleNameInSnakeCase = this.options.moduleName\n .trim()\n .split(/(?=[A-Z])/)\n .join('_')\n .toUpperCase();\n return `${moduleNameInSnakeCase}_MODULE_OPTIONS`;\n }\n createConfigurableModuleCls() {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const self = this;\n const asyncMethodKey = this.staticMethodKey + constants_1.ASYNC_METHOD_SUFFIX;\n class InternalModuleClass {\n static [self.staticMethodKey](options) {\n const providers = [\n {\n provide: self.options.optionsInjectionToken,\n useValue: this.omitExtras(options, self.extras),\n },\n ];\n if (self.options.alwaysTransient) {\n providers.push({\n provide: constants_1.CONFIGURABLE_MODULE_ID,\n useValue: (0, random_string_generator_util_1.randomStringGenerator)(),\n });\n }\n return self.transformModuleDefinition({\n module: this,\n providers,\n }, {\n ...self.extras,\n ...options,\n });\n }\n static [asyncMethodKey](options) {\n const providers = this.createAsyncProviders(options);\n if (self.options.alwaysTransient) {\n providers.push({\n provide: constants_1.CONFIGURABLE_MODULE_ID,\n useValue: (0, random_string_generator_util_1.randomStringGenerator)(),\n });\n }\n return self.transformModuleDefinition({\n module: this,\n imports: options.imports || [],\n providers,\n }, {\n ...self.extras,\n ...options,\n });\n }\n static omitExtras(input, extras) {\n if (!extras) {\n return input;\n }\n const moduleOptions = {};\n const extrasKeys = Object.keys(extras);\n Object.keys(input)\n .filter(key => !extrasKeys.includes(key))\n .forEach(key => {\n moduleOptions[key] = input[key];\n });\n return moduleOptions;\n }\n static createAsyncProviders(options) {\n if (options.useExisting || options.useFactory) {\n if (options.inject && options.provideInjectionTokensFrom) {\n return [\n this.createAsyncOptionsProvider(options),\n ...(0, utils_1.getInjectionProviders)(options.provideInjectionTokensFrom, options.inject),\n ];\n }\n return [this.createAsyncOptionsProvider(options)];\n }\n return [\n this.createAsyncOptionsProvider(options),\n {\n provide: options.useClass,\n useClass: options.useClass,\n },\n ];\n }\n static createAsyncOptionsProvider(options) {\n if (options.useFactory) {\n return {\n provide: self.options.optionsInjectionToken,\n useFactory: options.useFactory,\n inject: options.inject || [],\n };\n }\n return {\n provide: self.options.optionsInjectionToken,\n useFactory: async (optionsFactory) => await optionsFactory[self.factoryClassMethodKey](),\n inject: [options.useExisting || options.useClass],\n };\n }\n }\n return InternalModuleClass;\n }\n createTypeProxy(typeName) {\n const proxy = new Proxy({}, {\n get: () => {\n throw new Error(`\"${typeName}\" is not supposed to be used as a value.`);\n },\n });\n return proxy;\n }\n}\nexports.ConfigurableModuleBuilder = ConfigurableModuleBuilder;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./configurable-module-async-options.interface\"), exports);\ntslib_1.__exportStar(require(\"./configurable-module-cls.interface\"), exports);\ntslib_1.__exportStar(require(\"./configurable-module-host.interface\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./configurable-module.builder\"), exports);\ntslib_1.__exportStar(require(\"./interfaces\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DefaultValuePipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst injectable_decorator_1 = require(\"../decorators/core/injectable.decorator\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\n/**\n * Defines the built-in DefaultValue Pipe\n *\n * @see [Built-in Pipes](https://docs.nestjs.com/pipes#built-in-pipes)\n *\n * @publicApi\n */\nlet DefaultValuePipe = exports.DefaultValuePipe = class DefaultValuePipe {\n constructor(defaultValue) {\n this.defaultValue = defaultValue;\n }\n transform(value, _metadata) {\n if ((0, shared_utils_1.isNil)(value) ||\n ((0, shared_utils_1.isNumber)(value) && isNaN(value))) {\n return this.defaultValue;\n }\n return value;\n }\n};\nexports.DefaultValuePipe = DefaultValuePipe = tslib_1.__decorate([\n (0, injectable_decorator_1.Injectable)(),\n tslib_1.__metadata(\"design:paramtypes\", [Object])\n], DefaultValuePipe);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpErrorByCode = void 0;\nconst enums_1 = require(\"../enums\");\nconst exceptions_1 = require(\"../exceptions\");\nexports.HttpErrorByCode = {\n [enums_1.HttpStatus.BAD_GATEWAY]: exceptions_1.BadGatewayException,\n [enums_1.HttpStatus.BAD_REQUEST]: exceptions_1.BadRequestException,\n [enums_1.HttpStatus.CONFLICT]: exceptions_1.ConflictException,\n [enums_1.HttpStatus.FORBIDDEN]: exceptions_1.ForbiddenException,\n [enums_1.HttpStatus.GATEWAY_TIMEOUT]: exceptions_1.GatewayTimeoutException,\n [enums_1.HttpStatus.GONE]: exceptions_1.GoneException,\n [enums_1.HttpStatus.I_AM_A_TEAPOT]: exceptions_1.ImATeapotException,\n [enums_1.HttpStatus.INTERNAL_SERVER_ERROR]: exceptions_1.InternalServerErrorException,\n [enums_1.HttpStatus.METHOD_NOT_ALLOWED]: exceptions_1.MethodNotAllowedException,\n [enums_1.HttpStatus.NOT_ACCEPTABLE]: exceptions_1.NotAcceptableException,\n [enums_1.HttpStatus.NOT_FOUND]: exceptions_1.NotFoundException,\n [enums_1.HttpStatus.NOT_IMPLEMENTED]: exceptions_1.NotImplementedException,\n [enums_1.HttpStatus.PAYLOAD_TOO_LARGE]: exceptions_1.PayloadTooLargeException,\n [enums_1.HttpStatus.PRECONDITION_FAILED]: exceptions_1.PreconditionFailedException,\n [enums_1.HttpStatus.REQUEST_TIMEOUT]: exceptions_1.RequestTimeoutException,\n [enums_1.HttpStatus.SERVICE_UNAVAILABLE]: exceptions_1.ServiceUnavailableException,\n [enums_1.HttpStatus.UNAUTHORIZED]: exceptions_1.UnauthorizedException,\n [enums_1.HttpStatus.UNPROCESSABLE_ENTITY]: exceptions_1.UnprocessableEntityException,\n [enums_1.HttpStatus.UNSUPPORTED_MEDIA_TYPE]: exceptions_1.UnsupportedMediaTypeException,\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass ConcatIterator {\n constructor(toConcat) {\n this.toConcat = toConcat;\n }\n next() {\n if (this.toConcat.length === 0) {\n return { done: true };\n }\n const result = this.toConcat[0].next();\n if (!result.done) {\n return result;\n }\n this.toConcat.shift();\n return this.next();\n }\n}\nexports.ConcatIterator = ConcatIterator;\n//# sourceMappingURL=concat.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass FilterIterator {\n constructor(source, predicate) {\n this.source = source;\n this.predicate = predicate;\n }\n next() {\n let result;\n // Skip elements until predicate returns true\n do {\n result = this.source.next();\n } while (!result.done && !this.predicate(result.value));\n return result;\n }\n}\nexports.FilterIterator = FilterIterator;\n//# sourceMappingURL=filter.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction isIterator(candidate) {\n return typeof candidate === 'object' && candidate !== null && typeof candidate.next === 'function';\n}\nexports.isIterator = isIterator;\nfunction isIterable(candidate) {\n return typeof candidate === 'object' && candidate !== null && typeof candidate[Symbol.iterator] === 'function';\n}\nexports.isIterable = isIterable;\nfunction toIterator(collection) {\n if (isIterator(collection)) {\n return collection;\n }\n if (isIterable(collection)) {\n return collection[Symbol.iterator]();\n }\n throw new Error('Passed collection is neither an Iterator nor an Iterable');\n}\nexports.toIterator = toIterator;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"./utils\");\nclass FlattenIterator {\n constructor(outer) {\n this.outer = outer;\n }\n next() {\n // Currently iterating over an inner Iterable?\n if (this.inner) {\n const result = this.inner.next();\n // If not done, return result\n if (!result.done) {\n return result;\n }\n // Else stop iterating inner Iterable\n this.inner = undefined;\n }\n // Continue with next outer element\n const { value, done } = this.outer.next();\n // If the value is iterable, start iterating over it\n if (utils_1.isIterable(value)) {\n this.inner = value[Symbol.iterator]();\n return this.next();\n }\n return { value, done };\n }\n}\nexports.FlattenIterator = FlattenIterator;\n//# sourceMappingURL=flatten.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * An iterator that emits results by running each element through a provided predicate\n */\nclass MapIterator {\n constructor(source, iteratee) {\n this.source = source;\n this.iteratee = iteratee;\n }\n next() {\n const { value, done } = this.source.next();\n return { value: !done && this.iteratee(value), done };\n }\n}\nexports.MapIterator = MapIterator;\n//# sourceMappingURL=map.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass SliceIterator {\n /**\n * @param {Iterator<T>} source Source Iterator\n * @param {number} start Zero-based positive start index, inclusive\n * @param {number} end Zero-based positive end index, exclusive, defaults to end of iterator\n */\n constructor(source, start, end = Infinity) {\n this.source = source;\n this.start = start;\n this.end = end;\n this.i = 0;\n }\n next() {\n // Skip elements before start\n while (this.i < this.start) {\n const result = this.source.next();\n if (result.done) {\n return result;\n }\n this.i++;\n }\n // Finish when end is reached\n this.i++;\n if (this.i >= this.end) {\n return { done: true };\n }\n return this.source.next();\n }\n}\nexports.SliceIterator = SliceIterator;\n//# sourceMappingURL=slice.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass ZipIterator {\n constructor(a, b) {\n this.a = a;\n this.b = b;\n }\n next() {\n const a = this.a.next();\n if (a.done) {\n return { done: true };\n }\n const b = this.b.next();\n if (b.done) {\n return { done: true };\n }\n return { value: [a.value, b.value], done: false };\n }\n}\nexports.ZipIterator = ZipIterator;\n//# sourceMappingURL=zip.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst concat_1 = require(\"./concat\");\nconst filter_1 = require(\"./filter\");\nconst flatten_1 = require(\"./flatten\");\nconst map_1 = require(\"./map\");\nconst slice_1 = require(\"./slice\");\nconst utils_1 = require(\"./utils\");\nconst zip_1 = require(\"./zip\");\nclass IteratorWithOperators {\n /**\n * @param source Iterator to wrap\n */\n constructor(source) {\n this.source = source;\n }\n /**\n * Returns a `{ value, done }` object that adheres to the Iterator protocol\n */\n next() {\n return this.source.next();\n }\n /**\n * The presence of this method makes the Iterator itself Iterable.\n * This makes it possible to pass it to `for of` and Iterable-accepting functions like `Array.from()`\n */\n [Symbol.iterator]() {\n return this;\n }\n /**\n * Returns a new Iterator by running each element thru iteratee\n */\n map(iteratee) {\n return new IteratorWithOperators(new map_1.MapIterator(this.source, iteratee));\n }\n filter(predicate) {\n return new IteratorWithOperators(new filter_1.FilterIterator(this.source, predicate));\n }\n /**\n * Returns a new Iterator concatenating the Iterator with an additional Iterator or Iterable\n */\n concat(collection) {\n return new IteratorWithOperators(new concat_1.ConcatIterator([this.source, utils_1.toIterator(collection)]));\n }\n /**\n * Returns a new Iterator that emits slice of the source with n elements taken from the beginning\n *\n * @param limit The number of elements to take.\n */\n take(limit) {\n return new IteratorWithOperators(new slice_1.SliceIterator(this.source, 0, limit + 1));\n }\n /**\n * Returns a new Iterator that emits slice of the source with n elements dropped from the beginning\n *\n * @param n The number of elements to drop.\n */\n drop(n) {\n return new IteratorWithOperators(new slice_1.SliceIterator(this.source, n, Infinity));\n }\n /**\n * Returns a new Iterator that emits a slice of the source\n *\n * @param {number} start Zero-based positive start index, inclusive\n * @param {number} end Zero-based positive end index, exclusive, defaults to end of iterator\n */\n slice(start, end = Infinity) {\n return new IteratorWithOperators(new slice_1.SliceIterator(this.source, start, end));\n }\n /**\n * Returns a new Iterator that flattens items emitted by the Iterator a single level deep\n */\n flatten() {\n return new IteratorWithOperators(new flatten_1.FlattenIterator(this.source));\n }\n reduce(iteratee, accumulator) {\n let result;\n if (accumulator === undefined) {\n result = this.source.next();\n if (result.done) {\n throw new TypeError('Reduce of empty Iterator with no initial value');\n }\n accumulator = result.value;\n }\n while (true) {\n result = this.source.next();\n if (result.done) {\n break;\n }\n accumulator = iteratee(accumulator, result.value);\n }\n return accumulator;\n }\n find(predicate) {\n let result;\n while (true) {\n result = this.source.next();\n if (result.done) {\n return undefined;\n }\n if (predicate(result.value)) {\n return result.value;\n }\n }\n }\n /**\n * Iterates and checks if `value` is emitted by the Iterator\n *\n * @param value The value to search\n */\n includes(value) {\n let result;\n do {\n result = this.source.next();\n if (!result.done && result.value === value) {\n return true;\n }\n } while (!result.done);\n return false;\n }\n /**\n * Iterates and checks if `predicate` returns truthy for any element emitted by the Iterator\n */\n some(predicate) {\n let result;\n do {\n result = this.source.next();\n if (!result.done && predicate(result.value)) {\n return true;\n }\n } while (!result.done);\n return false;\n }\n /**\n * Iterates and checks if `predicate` returns truthy for all elements emitted by the Iterator\n */\n every(predicate) {\n let result;\n do {\n result = this.source.next();\n if (!result.done && !predicate(result.value)) {\n return false;\n }\n } while (!result.done);\n return true;\n }\n /**\n * Iterates and invokes `iteratee` for every element emitted by the Iterator\n */\n forEach(iteratee) {\n let result;\n while (true) {\n result = this.source.next();\n if (result.done) {\n break;\n }\n iteratee(result.value);\n }\n }\n /**\n * Iterates and joins all elements emitted by the Iterator together as a string separated by an optional separator\n */\n join(separator = ',') {\n let joined = '';\n let result;\n while (true) {\n result = this.source.next();\n if (result.done) {\n break;\n }\n joined += separator + result.value;\n }\n return joined.substr(separator.length);\n }\n /**\n * Iterates and returns all items emitted by the Iterator as an array.\n * Equivalent to passing the Iterator to `Array.from()`\n */\n toArray() {\n return Array.from(this);\n }\n /**\n * Iterates and returns all items emitted by the Iterator as an ES6 Set.\n * Equivalent to passing the Iterator to `new Set()`\n */\n toSet() {\n const set = new Set();\n while (true) {\n const { value, done } = this.next();\n if (done) {\n return set;\n }\n set.add(value);\n }\n }\n /**\n * Iterates and returns all `[key, value]` paris emitted by the Iterator as an ES6 Map.\n * Equivalent to passing the Iterator to `new Map()`\n */\n toMap() {\n return new Map(this);\n }\n}\nexports.IteratorWithOperators = IteratorWithOperators;\n/**\n * Creates an Iterator with advanced chainable operator methods for any Iterable or Iterator\n */\nfunction iterate(collection) {\n return new IteratorWithOperators(utils_1.toIterator(collection));\n}\nexports.iterate = iterate;\n/**\n * Creates an Iterator that emits pairs of values from the two passed Iterators\n */\nfunction zip(a, b) {\n return new IteratorWithOperators(new zip_1.ZipIterator(utils_1.toIterator(a), utils_1.toIterator(b)));\n}\nexports.zip = zip;\nexports.default = iterate;\n//# sourceMappingURL=iterate.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst iterate_1 = require(\"./iterate\");\nexports.iterate = iterate_1.iterate;\nexports.zip = iterate_1.zip;\nexports.default = iterate_1.iterate;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.loadPackage = void 0;\nconst logger_service_1 = require(\"../services/logger.service\");\nconst MISSING_REQUIRED_DEPENDENCY = (name, reason) => `The \"${name}\" package is missing. Please, make sure to install this library ($ npm install ${name}) to take advantage of ${reason}.`;\nconst logger = new logger_service_1.Logger('PackageLoader');\nfunction loadPackage(packageName, context, loaderFn) {\n try {\n return loaderFn ? loaderFn() : require(packageName);\n }\n catch (e) {\n logger.error(MISSING_REQUIRED_DEPENDENCY(packageName, context));\n logger_service_1.Logger.flush();\n process.exit(1);\n }\n}\nexports.loadPackage = loadPackage;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ValidationPipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst iterare_1 = require(\"iterare\");\nconst util_1 = require(\"util\");\nconst decorators_1 = require(\"../decorators\");\nconst core_1 = require(\"../decorators/core\");\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_error_by_code_util_1 = require(\"../utils/http-error-by-code.util\");\nconst load_package_util_1 = require(\"../utils/load-package.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\nlet classValidator = {};\nlet classTransformer = {};\n/**\n * @see [Validation](https://docs.nestjs.com/techniques/validation)\n *\n * @publicApi\n */\nlet ValidationPipe = exports.ValidationPipe = class ValidationPipe {\n constructor(options) {\n options = options || {};\n const { transform, disableErrorMessages, errorHttpStatusCode, expectedType, transformOptions, validateCustomDecorators, ...validatorOptions } = options;\n // @see https://github.com/nestjs/nest/issues/10683#issuecomment-1413690508\n this.validatorOptions = { forbidUnknownValues: false, ...validatorOptions };\n this.isTransformEnabled = !!transform;\n this.transformOptions = transformOptions;\n this.isDetailedOutputDisabled = disableErrorMessages;\n this.validateCustomDecorators = validateCustomDecorators || false;\n this.errorHttpStatusCode = errorHttpStatusCode || http_status_enum_1.HttpStatus.BAD_REQUEST;\n this.expectedType = expectedType;\n this.exceptionFactory =\n options.exceptionFactory || this.createExceptionFactory();\n classValidator = this.loadValidator(options.validatorPackage);\n classTransformer = this.loadTransformer(options.transformerPackage);\n }\n loadValidator(validatorPackage) {\n return (validatorPackage ??\n (0, load_package_util_1.loadPackage)('class-validator', 'ValidationPipe', () => require('class-validator')));\n }\n loadTransformer(transformerPackage) {\n return (transformerPackage ??\n (0, load_package_util_1.loadPackage)('class-transformer', 'ValidationPipe', () => require('class-transformer')));\n }\n async transform(value, metadata) {\n if (this.expectedType) {\n metadata = { ...metadata, metatype: this.expectedType };\n }\n const metatype = metadata.metatype;\n if (!metatype || !this.toValidate(metadata)) {\n return this.isTransformEnabled\n ? this.transformPrimitive(value, metadata)\n : value;\n }\n const originalValue = value;\n value = this.toEmptyIfNil(value);\n const isNil = value !== originalValue;\n const isPrimitive = this.isPrimitive(value);\n this.stripProtoKeys(value);\n let entity = classTransformer.plainToClass(metatype, value, this.transformOptions);\n const originalEntity = entity;\n const isCtorNotEqual = entity.constructor !== metatype;\n if (isCtorNotEqual && !isPrimitive) {\n entity.constructor = metatype;\n }\n else if (isCtorNotEqual) {\n // when \"entity\" is a primitive value, we have to temporarily\n // replace the entity to perform the validation against the original\n // metatype defined inside the handler\n entity = { constructor: metatype };\n }\n const errors = await this.validate(entity, this.validatorOptions);\n if (errors.length > 0) {\n throw await this.exceptionFactory(errors);\n }\n if (isPrimitive) {\n // if the value is a primitive value and the validation process has been successfully completed\n // we have to revert the original value passed through the pipe\n entity = originalEntity;\n }\n if (this.isTransformEnabled) {\n return entity;\n }\n if (isNil) {\n // if the value was originally undefined or null, revert it back\n return originalValue;\n }\n // we check if the number of keys of the \"validatorOptions\" is higher than 1 (instead of 0)\n // because the \"forbidUnknownValues\" now fallbacks to \"false\" (in case it wasn't explicitly specified)\n const shouldTransformToPlain = Object.keys(this.validatorOptions).length > 1;\n return shouldTransformToPlain\n ? classTransformer.classToPlain(entity, this.transformOptions)\n : value;\n }\n createExceptionFactory() {\n return (validationErrors = []) => {\n if (this.isDetailedOutputDisabled) {\n return new http_error_by_code_util_1.HttpErrorByCode[this.errorHttpStatusCode]();\n }\n const errors = this.flattenValidationErrors(validationErrors);\n return new http_error_by_code_util_1.HttpErrorByCode[this.errorHttpStatusCode](errors);\n };\n }\n toValidate(metadata) {\n const { metatype, type } = metadata;\n if (type === 'custom' && !this.validateCustomDecorators) {\n return false;\n }\n const types = [String, Boolean, Number, Array, Object, Buffer];\n return !types.some(t => metatype === t) && !(0, shared_utils_1.isNil)(metatype);\n }\n transformPrimitive(value, metadata) {\n if (!metadata.data) {\n // leave top-level query/param objects unmodified\n return value;\n }\n const { type, metatype } = metadata;\n if (type !== 'param' && type !== 'query') {\n return value;\n }\n if (metatype === Boolean) {\n if ((0, shared_utils_1.isUndefined)(value)) {\n // This is an workaround to deal with optional boolean values since\n // optional booleans shouldn't be parsed to a valid boolean when\n // they were not defined\n return undefined;\n }\n // Any fasly value but `undefined` will be parsed to `false`\n return value === true || value === 'true';\n }\n if (metatype === Number) {\n return +value;\n }\n return value;\n }\n toEmptyIfNil(value) {\n return (0, shared_utils_1.isNil)(value) ? {} : value;\n }\n stripProtoKeys(value) {\n if (value == null ||\n typeof value !== 'object' ||\n util_1.types.isTypedArray(value)) {\n return;\n }\n if (Array.isArray(value)) {\n for (const v of value) {\n this.stripProtoKeys(v);\n }\n return;\n }\n delete value.__proto__;\n for (const key in value) {\n this.stripProtoKeys(value[key]);\n }\n }\n isPrimitive(value) {\n return ['number', 'boolean', 'string'].includes(typeof value);\n }\n validate(object, validatorOptions) {\n return classValidator.validate(object, validatorOptions);\n }\n flattenValidationErrors(validationErrors) {\n return (0, iterare_1.iterate)(validationErrors)\n .map(error => this.mapChildrenToValidationErrors(error))\n .flatten()\n .filter(item => !!item.constraints)\n .map(item => Object.values(item.constraints))\n .flatten()\n .toArray();\n }\n mapChildrenToValidationErrors(error, parentPath) {\n if (!(error.children && error.children.length)) {\n return [error];\n }\n const validationErrors = [];\n parentPath = parentPath\n ? `${parentPath}.${error.property}`\n : error.property;\n for (const item of error.children) {\n if (item.children && item.children.length) {\n validationErrors.push(...this.mapChildrenToValidationErrors(item, parentPath));\n }\n validationErrors.push(this.prependConstraintsWithParentProp(parentPath, item));\n }\n return validationErrors;\n }\n prependConstraintsWithParentProp(parentPath, error) {\n const constraints = {};\n for (const key in error.constraints) {\n constraints[key] = `${parentPath}.${error.constraints[key]}`;\n }\n return {\n ...error,\n constraints,\n };\n }\n};\nexports.ValidationPipe = ValidationPipe = tslib_1.__decorate([\n (0, core_1.Injectable)(),\n tslib_1.__param(0, (0, decorators_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object])\n], ValidationPipe);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ParseArrayPipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst injectable_decorator_1 = require(\"../decorators/core/injectable.decorator\");\nconst optional_decorator_1 = require(\"../decorators/core/optional.decorator\");\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_error_by_code_util_1 = require(\"../utils/http-error-by-code.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\nconst validation_pipe_1 = require(\"./validation.pipe\");\nconst VALIDATION_ERROR_MESSAGE = 'Validation failed (parsable array expected)';\nconst DEFAULT_ARRAY_SEPARATOR = ',';\n/**\n * Defines the built-in ParseArray Pipe\n *\n * @see [Built-in Pipes](https://docs.nestjs.com/pipes#built-in-pipes)\n *\n * @publicApi\n */\nlet ParseArrayPipe = exports.ParseArrayPipe = class ParseArrayPipe {\n constructor(options = {}) {\n this.options = options;\n this.validationPipe = new validation_pipe_1.ValidationPipe({\n transform: true,\n validateCustomDecorators: true,\n ...options,\n });\n const { exceptionFactory, errorHttpStatusCode = http_status_enum_1.HttpStatus.BAD_REQUEST } = options;\n this.exceptionFactory =\n exceptionFactory ||\n (error => new http_error_by_code_util_1.HttpErrorByCode[errorHttpStatusCode](error));\n }\n /**\n * Method that accesses and performs optional transformation on argument for\n * in-flight requests.\n *\n * @param value currently processed route argument\n * @param metadata contains metadata about the currently processed route argument\n */\n async transform(value, metadata) {\n if (!value && !this.options.optional) {\n throw this.exceptionFactory(VALIDATION_ERROR_MESSAGE);\n }\n else if ((0, shared_utils_1.isNil)(value) && this.options.optional) {\n return value;\n }\n if (!Array.isArray(value)) {\n if (!(0, shared_utils_1.isString)(value)) {\n throw this.exceptionFactory(VALIDATION_ERROR_MESSAGE);\n }\n else {\n try {\n value = value\n .trim()\n .split(this.options.separator || DEFAULT_ARRAY_SEPARATOR);\n }\n catch {\n throw this.exceptionFactory(VALIDATION_ERROR_MESSAGE);\n }\n }\n }\n if (this.options.items) {\n const validationMetadata = {\n metatype: this.options.items,\n type: 'query',\n };\n const isExpectedTypePrimitive = this.isExpectedTypePrimitive();\n const toClassInstance = (item, index) => {\n if (this.options.items !== String) {\n try {\n item = JSON.parse(item);\n }\n catch { }\n }\n if (isExpectedTypePrimitive) {\n return this.validatePrimitive(item, index);\n }\n return this.validationPipe.transform(item, validationMetadata);\n };\n if (this.options.stopAtFirstError === false) {\n // strict compare to \"false\" to make sure\n // that this option is disabled by default\n let errors = [];\n const targetArray = value;\n for (let i = 0; i < targetArray.length; i++) {\n try {\n targetArray[i] = await toClassInstance(targetArray[i]);\n }\n catch (err) {\n let message;\n if (err.getResponse) {\n const response = err.getResponse();\n if (Array.isArray(response.message)) {\n message = response.message.map((item) => `[${i}] ${item}`);\n }\n else {\n message = `[${i}] ${response.message}`;\n }\n }\n else {\n message = err;\n }\n errors = errors.concat(message);\n }\n }\n if (errors.length > 0) {\n throw this.exceptionFactory(errors);\n }\n return targetArray;\n }\n else {\n value = await Promise.all(value.map(toClassInstance));\n }\n }\n return value;\n }\n isExpectedTypePrimitive() {\n return [Boolean, Number, String].includes(this.options.items);\n }\n validatePrimitive(originalValue, index) {\n if (this.options.items === Number) {\n const value = originalValue !== null && originalValue !== '' ? +originalValue : NaN;\n if (isNaN(value)) {\n throw this.exceptionFactory(`${(0, shared_utils_1.isUndefined)(index) ? '' : `[${index}] `}item must be a number`);\n }\n return value;\n }\n else if (this.options.items === String) {\n if (!(0, shared_utils_1.isString)(originalValue)) {\n return `${originalValue}`;\n }\n }\n else if (this.options.items === Boolean) {\n if (typeof originalValue !== 'boolean') {\n throw this.exceptionFactory(`${(0, shared_utils_1.isUndefined)(index) ? '' : `[${index}] `}item must be a boolean value`);\n }\n }\n return originalValue;\n }\n};\nexports.ParseArrayPipe = ParseArrayPipe = tslib_1.__decorate([\n (0, injectable_decorator_1.Injectable)(),\n tslib_1.__param(0, (0, optional_decorator_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object])\n], ParseArrayPipe);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ParseBoolPipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst injectable_decorator_1 = require(\"../decorators/core/injectable.decorator\");\nconst optional_decorator_1 = require(\"../decorators/core/optional.decorator\");\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_error_by_code_util_1 = require(\"../utils/http-error-by-code.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\n/**\n * Defines the built-in ParseBool Pipe\n *\n * @see [Built-in Pipes](https://docs.nestjs.com/pipes#built-in-pipes)\n *\n * @publicApi\n */\nlet ParseBoolPipe = exports.ParseBoolPipe = class ParseBoolPipe {\n constructor(options) {\n this.options = options;\n options = options || {};\n const { exceptionFactory, errorHttpStatusCode = http_status_enum_1.HttpStatus.BAD_REQUEST } = options;\n this.exceptionFactory =\n exceptionFactory ||\n (error => new http_error_by_code_util_1.HttpErrorByCode[errorHttpStatusCode](error));\n }\n /**\n * Method that accesses and performs optional transformation on argument for\n * in-flight requests.\n *\n * @param value currently processed route argument\n * @param metadata contains metadata about the currently processed route argument\n */\n async transform(value, metadata) {\n if ((0, shared_utils_1.isNil)(value) && this.options?.optional) {\n return value;\n }\n if (this.isTrue(value)) {\n return true;\n }\n if (this.isFalse(value)) {\n return false;\n }\n throw this.exceptionFactory('Validation failed (boolean string is expected)');\n }\n /**\n * @param value currently processed route argument\n * @returns `true` if `value` is said 'true', ie., if it is equal to the boolean\n * `true` or the string `\"true\"`\n */\n isTrue(value) {\n return value === true || value === 'true';\n }\n /**\n * @param value currently processed route argument\n * @returns `true` if `value` is said 'false', ie., if it is equal to the boolean\n * `false` or the string `\"false\"`\n */\n isFalse(value) {\n return value === false || value === 'false';\n }\n};\nexports.ParseBoolPipe = ParseBoolPipe = tslib_1.__decorate([\n (0, injectable_decorator_1.Injectable)(),\n tslib_1.__param(0, (0, optional_decorator_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object])\n], ParseBoolPipe);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ParseIntPipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst injectable_decorator_1 = require(\"../decorators/core/injectable.decorator\");\nconst optional_decorator_1 = require(\"../decorators/core/optional.decorator\");\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_error_by_code_util_1 = require(\"../utils/http-error-by-code.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\n/**\n * Defines the built-in ParseInt Pipe\n *\n * @see [Built-in Pipes](https://docs.nestjs.com/pipes#built-in-pipes)\n *\n * @publicApi\n */\nlet ParseIntPipe = exports.ParseIntPipe = class ParseIntPipe {\n constructor(options) {\n this.options = options;\n options = options || {};\n const { exceptionFactory, errorHttpStatusCode = http_status_enum_1.HttpStatus.BAD_REQUEST } = options;\n this.exceptionFactory =\n exceptionFactory ||\n (error => new http_error_by_code_util_1.HttpErrorByCode[errorHttpStatusCode](error));\n }\n /**\n * Method that accesses and performs optional transformation on argument for\n * in-flight requests.\n *\n * @param value currently processed route argument\n * @param metadata contains metadata about the currently processed route argument\n */\n async transform(value, metadata) {\n if ((0, shared_utils_1.isNil)(value) && this.options?.optional) {\n return value;\n }\n if (!this.isNumeric(value)) {\n throw this.exceptionFactory('Validation failed (numeric string is expected)');\n }\n return parseInt(value, 10);\n }\n /**\n * @param value currently processed route argument\n * @returns `true` if `value` is a valid integer number\n */\n isNumeric(value) {\n return (['string', 'number'].includes(typeof value) &&\n /^-?\\d+$/.test(value) &&\n isFinite(value));\n }\n};\nexports.ParseIntPipe = ParseIntPipe = tslib_1.__decorate([\n (0, injectable_decorator_1.Injectable)(),\n tslib_1.__param(0, (0, optional_decorator_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object])\n], ParseIntPipe);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ParseFloatPipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst core_1 = require(\"../decorators/core\");\nconst index_1 = require(\"../index\");\nconst http_error_by_code_util_1 = require(\"../utils/http-error-by-code.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\n/**\n * Defines the built-in ParseFloat Pipe\n *\n * @see [Built-in Pipes](https://docs.nestjs.com/pipes#built-in-pipes)\n *\n * @publicApi\n */\nlet ParseFloatPipe = exports.ParseFloatPipe = class ParseFloatPipe {\n constructor(options) {\n this.options = options;\n options = options || {};\n const { exceptionFactory, errorHttpStatusCode = index_1.HttpStatus.BAD_REQUEST } = options;\n this.exceptionFactory =\n exceptionFactory ||\n (error => new http_error_by_code_util_1.HttpErrorByCode[errorHttpStatusCode](error));\n }\n /**\n * Method that accesses and performs optional transformation on argument for\n * in-flight requests.\n *\n * @param value currently processed route argument\n * @param metadata contains metadata about the currently processed route argument\n */\n async transform(value, metadata) {\n if ((0, shared_utils_1.isNil)(value) && this.options?.optional) {\n return value;\n }\n if (!this.isNumeric(value)) {\n throw this.exceptionFactory('Validation failed (numeric string is expected)');\n }\n return parseFloat(value);\n }\n /**\n * @param value currently processed route argument\n * @returns `true` if `value` is a valid float number\n */\n isNumeric(value) {\n return (['string', 'number'].includes(typeof value) &&\n !isNaN(parseFloat(value)) &&\n isFinite(value));\n }\n};\nexports.ParseFloatPipe = ParseFloatPipe = tslib_1.__decorate([\n (0, core_1.Injectable)(),\n tslib_1.__param(0, (0, core_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object])\n], ParseFloatPipe);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ParseEnumPipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst core_1 = require(\"../decorators/core\");\nconst index_1 = require(\"../index\");\nconst http_error_by_code_util_1 = require(\"../utils/http-error-by-code.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\n/**\n * Defines the built-in ParseEnum Pipe\n *\n * @see [Built-in Pipes](https://docs.nestjs.com/pipes#built-in-pipes)\n *\n * @publicApi\n */\nlet ParseEnumPipe = exports.ParseEnumPipe = class ParseEnumPipe {\n constructor(enumType, options) {\n this.enumType = enumType;\n this.options = options;\n if (!enumType) {\n throw new Error(`\"ParseEnumPipe\" requires \"enumType\" argument specified (to validate input values).`);\n }\n options = options || {};\n const { exceptionFactory, errorHttpStatusCode = index_1.HttpStatus.BAD_REQUEST } = options;\n this.exceptionFactory =\n exceptionFactory ||\n (error => new http_error_by_code_util_1.HttpErrorByCode[errorHttpStatusCode](error));\n }\n /**\n * Method that accesses and performs optional transformation on argument for\n * in-flight requests.\n *\n * @param value currently processed route argument\n * @param metadata contains metadata about the currently processed route argument\n */\n async transform(value, metadata) {\n if ((0, shared_utils_1.isNil)(value) && this.options?.optional) {\n return value;\n }\n if (!this.isEnum(value)) {\n throw this.exceptionFactory('Validation failed (enum string is expected)');\n }\n return value;\n }\n isEnum(value) {\n const enumValues = Object.keys(this.enumType).map(item => this.enumType[item]);\n return enumValues.includes(value);\n }\n};\nexports.ParseEnumPipe = ParseEnumPipe = tslib_1.__decorate([\n (0, core_1.Injectable)(),\n tslib_1.__param(1, (0, core_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object])\n], ParseEnumPipe);\n","\"use strict\";\nvar ParseUUIDPipe_1;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ParseUUIDPipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst injectable_decorator_1 = require(\"../decorators/core/injectable.decorator\");\nconst optional_decorator_1 = require(\"../decorators/core/optional.decorator\");\nconst http_status_enum_1 = require(\"../enums/http-status.enum\");\nconst http_error_by_code_util_1 = require(\"../utils/http-error-by-code.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\n/**\n * Defines the built-in ParseUUID Pipe\n *\n * @see [Built-in Pipes](https://docs.nestjs.com/pipes#built-in-pipes)\n *\n * @publicApi\n */\nlet ParseUUIDPipe = exports.ParseUUIDPipe = ParseUUIDPipe_1 = class ParseUUIDPipe {\n constructor(options) {\n this.options = options;\n options = options || {};\n const { exceptionFactory, errorHttpStatusCode = http_status_enum_1.HttpStatus.BAD_REQUEST, version, } = options;\n this.version = version;\n this.exceptionFactory =\n exceptionFactory ||\n (error => new http_error_by_code_util_1.HttpErrorByCode[errorHttpStatusCode](error));\n }\n async transform(value, metadata) {\n if ((0, shared_utils_1.isNil)(value) && this.options?.optional) {\n return value;\n }\n if (!this.isUUID(value, this.version)) {\n throw this.exceptionFactory(`Validation failed (uuid${this.version ? ` v ${this.version}` : ''} is expected)`);\n }\n return value;\n }\n isUUID(str, version = 'all') {\n if (!(0, shared_utils_1.isString)(str)) {\n throw this.exceptionFactory('The value passed as UUID is not a string');\n }\n const pattern = ParseUUIDPipe_1.uuidRegExps[version];\n return pattern?.test(str);\n }\n};\nParseUUIDPipe.uuidRegExps = {\n 3: /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,\n 4: /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n 5: /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n all: /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i,\n};\nexports.ParseUUIDPipe = ParseUUIDPipe = ParseUUIDPipe_1 = tslib_1.__decorate([\n (0, injectable_decorator_1.Injectable)(),\n tslib_1.__param(0, (0, optional_decorator_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object])\n], ParseUUIDPipe);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FileValidator = void 0;\n/**\n * Interface describing FileValidators, which can be added to a ParseFilePipe\n *\n * @see {ParseFilePipe}\n * @publicApi\n */\nclass FileValidator {\n constructor(validationOptions) {\n this.validationOptions = validationOptions;\n }\n}\nexports.FileValidator = FileValidator;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FileTypeValidator = void 0;\nconst file_validator_interface_1 = require(\"./file-validator.interface\");\n/**\n * Defines the built-in FileType File Validator. It validates incoming files mime-type\n * matching a string or a regular expression. Note that this validator uses a naive strategy\n * to check the mime-type and could be fooled if the client provided a file with renamed extension.\n * (for instance, renaming a 'malicious.bat' to 'malicious.jpeg'). To handle such security issues\n * with more reliability, consider checking against the file's [magic-numbers](https://en.wikipedia.org/wiki/Magic_number_%28programming%29)\n *\n * @see [File Validators](https://docs.nestjs.com/techniques/file-upload#validators)\n *\n * @publicApi\n */\nclass FileTypeValidator extends file_validator_interface_1.FileValidator {\n buildErrorMessage() {\n return `Validation failed (expected type is ${this.validationOptions.fileType})`;\n }\n isValid(file) {\n if (!this.validationOptions) {\n return true;\n }\n return (!!file &&\n 'mimetype' in file &&\n !!file.mimetype.match(this.validationOptions.fileType));\n }\n}\nexports.FileTypeValidator = FileTypeValidator;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MaxFileSizeValidator = void 0;\nconst file_validator_interface_1 = require(\"./file-validator.interface\");\n/**\n * Defines the built-in MaxSize File Validator\n *\n * @see [File Validators](https://docs.nestjs.com/techniques/file-upload#file-validation)\n *\n * @publicApi\n */\nclass MaxFileSizeValidator extends file_validator_interface_1.FileValidator {\n buildErrorMessage() {\n if ('message' in this.validationOptions) {\n if (typeof this.validationOptions.message === 'function') {\n return this.validationOptions.message(this.validationOptions.maxSize);\n }\n return this.validationOptions.message;\n }\n return `Validation failed (expected size is less than ${this.validationOptions.maxSize})`;\n }\n isValid(file) {\n if (!this.validationOptions || !file) {\n return true;\n }\n return 'size' in file && file.size < this.validationOptions.maxSize;\n }\n}\nexports.MaxFileSizeValidator = MaxFileSizeValidator;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ParseFilePipe = void 0;\nconst tslib_1 = require(\"tslib\");\nconst core_1 = require(\"../../decorators/core\");\nconst enums_1 = require(\"../../enums\");\nconst http_error_by_code_util_1 = require(\"../../utils/http-error-by-code.util\");\nconst shared_utils_1 = require(\"../../utils/shared.utils\");\n/**\n * Defines the built-in ParseFile Pipe. This pipe can be used to validate incoming files\n * with `@UploadedFile()` decorator. You can use either other specific built-in validators\n * or provide one of your own, simply implementing it through FileValidator interface\n * and adding it to ParseFilePipe's constructor.\n *\n * @see [Built-in Pipes](https://docs.nestjs.com/pipes#built-in-pipes)\n *\n * @publicApi\n */\nlet ParseFilePipe = exports.ParseFilePipe = class ParseFilePipe {\n constructor(options = {}) {\n const { exceptionFactory, errorHttpStatusCode = enums_1.HttpStatus.BAD_REQUEST, validators = [], fileIsRequired, } = options;\n this.exceptionFactory =\n exceptionFactory ||\n (error => new http_error_by_code_util_1.HttpErrorByCode[errorHttpStatusCode](error));\n this.validators = validators;\n this.fileIsRequired = fileIsRequired ?? true;\n }\n async transform(value) {\n const areThereAnyFilesIn = this.thereAreNoFilesIn(value);\n if (areThereAnyFilesIn && this.fileIsRequired) {\n throw this.exceptionFactory('File is required');\n }\n if (!areThereAnyFilesIn && this.validators.length) {\n await this.validateFilesOrFile(value);\n }\n return value;\n }\n async validateFilesOrFile(value) {\n if (Array.isArray(value)) {\n await Promise.all(value.map(f => this.validate(f)));\n }\n else {\n await this.validate(value);\n }\n }\n thereAreNoFilesIn(value) {\n const isEmptyArray = Array.isArray(value) && (0, shared_utils_1.isEmpty)(value);\n const isEmptyObject = (0, shared_utils_1.isObject)(value) && (0, shared_utils_1.isEmpty)(Object.keys(value));\n return (0, shared_utils_1.isUndefined)(value) || isEmptyArray || isEmptyObject;\n }\n async validate(file) {\n for (const validator of this.validators) {\n await this.validateOrThrow(file, validator);\n }\n return file;\n }\n async validateOrThrow(file, validator) {\n const isValid = await validator.isValid(file);\n if (!isValid) {\n const errorMessage = validator.buildErrorMessage(file);\n throw this.exceptionFactory(errorMessage);\n }\n }\n /**\n * @returns list of validators used in this pipe.\n */\n getValidators() {\n return this.validators;\n }\n};\nexports.ParseFilePipe = ParseFilePipe = tslib_1.__decorate([\n (0, core_1.Injectable)(),\n tslib_1.__param(0, (0, core_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object])\n], ParseFilePipe);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ParseFilePipeBuilder = void 0;\nconst file_type_validator_1 = require(\"./file-type.validator\");\nconst max_file_size_validator_1 = require(\"./max-file-size.validator\");\nconst parse_file_pipe_1 = require(\"./parse-file.pipe\");\n/**\n * @publicApi\n */\nclass ParseFilePipeBuilder {\n constructor() {\n this.validators = [];\n }\n addMaxSizeValidator(options) {\n return this.addValidator(new max_file_size_validator_1.MaxFileSizeValidator(options));\n }\n addFileTypeValidator(options) {\n return this.addValidator(new file_type_validator_1.FileTypeValidator(options));\n }\n addValidator(validator) {\n this.validators.push(validator);\n return this;\n }\n build(additionalOptions) {\n const parseFilePipe = new parse_file_pipe_1.ParseFilePipe({\n ...additionalOptions,\n validators: this.validators,\n });\n this.validators = [];\n return parseFilePipe;\n }\n}\nexports.ParseFilePipeBuilder = ParseFilePipeBuilder;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./file-type.validator\"), exports);\ntslib_1.__exportStar(require(\"./file-validator.interface\"), exports);\ntslib_1.__exportStar(require(\"./max-file-size.validator\"), exports);\ntslib_1.__exportStar(require(\"./parse-file-options.interface\"), exports);\ntslib_1.__exportStar(require(\"./parse-file.pipe\"), exports);\ntslib_1.__exportStar(require(\"./parse-file-pipe.builder\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./default-value.pipe\"), exports);\ntslib_1.__exportStar(require(\"./parse-array.pipe\"), exports);\ntslib_1.__exportStar(require(\"./parse-bool.pipe\"), exports);\ntslib_1.__exportStar(require(\"./parse-int.pipe\"), exports);\ntslib_1.__exportStar(require(\"./parse-float.pipe\"), exports);\ntslib_1.__exportStar(require(\"./parse-enum.pipe\"), exports);\ntslib_1.__exportStar(require(\"./parse-uuid.pipe\"), exports);\ntslib_1.__exportStar(require(\"./validation.pipe\"), exports);\ntslib_1.__exportStar(require(\"./file\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CLASS_SERIALIZER_OPTIONS = void 0;\nexports.CLASS_SERIALIZER_OPTIONS = 'class_serializer:options';\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ClassSerializerInterceptor = void 0;\nconst tslib_1 = require(\"tslib\");\nconst operators_1 = require(\"rxjs/operators\");\nconst core_1 = require(\"../decorators/core\");\nconst file_stream_1 = require(\"../file-stream\");\nconst load_package_util_1 = require(\"../utils/load-package.util\");\nconst shared_utils_1 = require(\"../utils/shared.utils\");\nconst class_serializer_constants_1 = require(\"./class-serializer.constants\");\nlet classTransformer = {};\n// NOTE (external)\n// We need to deduplicate them here due to the circular dependency\n// between core and common packages\nconst REFLECTOR = 'Reflector';\n/**\n * @publicApi\n */\nlet ClassSerializerInterceptor = exports.ClassSerializerInterceptor = class ClassSerializerInterceptor {\n constructor(reflector, defaultOptions = {}) {\n this.reflector = reflector;\n this.defaultOptions = defaultOptions;\n classTransformer =\n defaultOptions?.transformerPackage ??\n (0, load_package_util_1.loadPackage)('class-transformer', 'ClassSerializerInterceptor', () => require('class-transformer'));\n if (!defaultOptions?.transformerPackage) {\n require('class-transformer');\n }\n }\n intercept(context, next) {\n const contextOptions = this.getContextOptions(context);\n const options = {\n ...this.defaultOptions,\n ...contextOptions,\n };\n return next\n .handle()\n .pipe((0, operators_1.map)((res) => this.serialize(res, options)));\n }\n /**\n * Serializes responses that are non-null objects nor streamable files.\n */\n serialize(response, options) {\n if (!(0, shared_utils_1.isObject)(response) || response instanceof file_stream_1.StreamableFile) {\n return response;\n }\n return Array.isArray(response)\n ? response.map(item => this.transformToPlain(item, options))\n : this.transformToPlain(response, options);\n }\n transformToPlain(plainOrClass, options) {\n if (!plainOrClass) {\n return plainOrClass;\n }\n if (!options.type) {\n return classTransformer.classToPlain(plainOrClass, options);\n }\n if (plainOrClass instanceof options.type) {\n return classTransformer.classToPlain(plainOrClass, options);\n }\n const instance = classTransformer.plainToClass(options.type, plainOrClass);\n return classTransformer.classToPlain(instance, options);\n }\n getContextOptions(context) {\n return this.reflector.getAllAndOverride(class_serializer_constants_1.CLASS_SERIALIZER_OPTIONS, [\n context.getHandler(),\n context.getClass(),\n ]);\n }\n};\nexports.ClassSerializerInterceptor = ClassSerializerInterceptor = tslib_1.__decorate([\n (0, core_1.Injectable)(),\n tslib_1.__param(0, (0, core_1.Inject)(REFLECTOR)),\n tslib_1.__param(1, (0, core_1.Optional)()),\n tslib_1.__metadata(\"design:paramtypes\", [Object, Object])\n], ClassSerializerInterceptor);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SerializeOptions = void 0;\nconst decorators_1 = require(\"../../decorators\");\nconst class_serializer_constants_1 = require(\"../class-serializer.constants\");\n/**\n * @publicApi\n */\nconst SerializeOptions = (options) => (0, decorators_1.SetMetadata)(class_serializer_constants_1.CLASS_SERIALIZER_OPTIONS, options);\nexports.SerializeOptions = SerializeOptions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./serialize-options.decorator\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./class-serializer.interceptor\"), exports);\ntslib_1.__exportStar(require(\"./decorators\"), exports);\ntslib_1.__exportStar(require(\"./class-serializer.interfaces\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./console-logger.service\"), exports);\ntslib_1.__exportStar(require(\"./logger.service\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.forwardRef = void 0;\n/**\n * @publicApi\n */\nconst forwardRef = (fn) => ({\n forwardRef: fn,\n});\nexports.forwardRef = forwardRef;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./forward-ref.util\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.VERSION_NEUTRAL = exports.Scope = void 0;\nconst tslib_1 = require(\"tslib\");\n/*\n * Nest @common\n * Copyright(c) 2017 - 2023 Kamil Mysliwiec\n * https://nestjs.com\n * MIT Licensed\n */\nrequire(\"reflect-metadata\");\ntslib_1.__exportStar(require(\"./decorators\"), exports);\ntslib_1.__exportStar(require(\"./enums\"), exports);\ntslib_1.__exportStar(require(\"./exceptions\"), exports);\ntslib_1.__exportStar(require(\"./file-stream\"), exports);\nvar interfaces_1 = require(\"./interfaces\");\nObject.defineProperty(exports, \"Scope\", { enumerable: true, get: function () { return interfaces_1.Scope; } });\nObject.defineProperty(exports, \"VERSION_NEUTRAL\", { enumerable: true, get: function () { return interfaces_1.VERSION_NEUTRAL; } });\ntslib_1.__exportStar(require(\"./module-utils\"), exports);\ntslib_1.__exportStar(require(\"./pipes\"), exports);\ntslib_1.__exportStar(require(\"./serializer\"), exports);\ntslib_1.__exportStar(require(\"./services\"), exports);\ntslib_1.__exportStar(require(\"./utils\"), exports);\n","import { Logger } from '@nestjs/common';\nimport { IZLogEntry, IZLogger, ZLogLevel } from '@zthun/lumberjacky-log';\n\nexport class ZLoggerNest implements IZLogger {\n private _logger = new Logger();\n\n private _levelMap: Record<ZLogLevel, (l: Logger, entry: IZLogEntry) => void> = {\n [ZLogLevel.CATASTROPHE]: (l, e) => l.fatal(e.message, e.context),\n [ZLogLevel.ERROR]: (l, e) => l.error(e.message, e.context),\n [ZLogLevel.INFO]: (l, e) => l.log(e.message, e.context),\n [ZLogLevel.WARNING]: (l, e) => l.warn(e.message, e.context)\n };\n\n public log(entry: IZLogEntry): void {\n this._levelMap[entry.level](this._logger, entry);\n }\n}\n","import { Module, Provider } from '@nestjs/common';\nimport { ZLoggerNest } from './logger-nest';\n\nexport const ZLoggerToken = Symbol();\n\nconst ZLoggerProvider: Provider = { provide: ZLoggerToken, useValue: new ZLoggerNest() };\n\n@Module({\n providers: [ZLoggerProvider, ZLoggerNest],\n exports: [ZLoggerProvider, ZLoggerNest]\n})\nexport class ZLoggerModule {}\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","__metadata","metadataKey","metadataValue","metadata","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","rejected","result","done","then","__generator","body","f","y","g","_","label","sent","trys","ops","verb","throw","return","Symbol","iterator","v","op","pop","push","__createBinding","o","m","k","k2","undefined","__esModule","writable","configurable","enumerable","get","__exportStar","__values","__read","ar","error","__spread","concat","__spreadArrays","il","a","j","jl","__spreadArray","to","from","pack","l","slice","__await","__asyncGenerator","asyncIterator","q","resume","fulfill","settle","shift","__asyncDelegator","__asyncValues","__makeTemplateObject","cooked","raw","__setModuleDefault","__importStar","mod","__importDefault","default","__classPrivateFieldGet","receiver","state","kind","has","__classPrivateFieldSet","set","__classPrivateFieldIn","__addDisposableResource","env","async","dispose","asyncDispose","stack","_SuppressedError","SuppressedError","suppressed","message","Error","name","__disposeResources","fail","hasError","rec","ctor","descriptorIn","contextIn","initializers","extraInitializers","accept","descriptor","context","access","addInitializer","init","unshift","useValue","x","prefix","description","BUFFER","exports","Bind","forEach","fn","index","ENTRY_PROVIDER_WATERMARK","CATCH_WATERMARK","CONTROLLER_WATERMARK","INJECTABLE_WATERMARK","VERSION_METADATA","RESPONSE_PASSTHROUGH_METADATA","REDIRECT_METADATA","HEADERS_METADATA","MODULE_PATH","HTTP_CODE_METADATA","RENDER_METADATA","ENHANCER_KEY_TO_SUBTYPE_MAP","EXCEPTION_FILTERS_METADATA","GUARDS_METADATA","PIPES_METADATA","FILTER_CATCH_EXCEPTIONS","CUSTOM_ROUTE_ARGS_METADATA","ROUTE_ARGS_METADATA","METHOD_METADATA","SCOPE_OPTIONS_METADATA","OPTIONAL_PROPERTY_DEPS_METADATA","OPTIONAL_DEPS_METADATA","SELF_DECLARED_DEPS_METADATA","PARAMTYPES_METADATA","PATH_METADATA","HOST_METADATA","GLOBAL_MODULE_METADATA","MODULE_METADATA","IMPORTS","PROVIDERS","CONTROLLERS","EXPORTS","PROPERTY_DEPS_METADATA","INTERCEPTORS_METADATA","SSE_METADATA","Catch","exceptions","defineMetadata","constants_1","isSymbol","isEmpty","isNil","isConstructor","isNumber","isFunction","stripEndSlash","normalizePath","addLeadingSlash","isPlainObject","isObject","isUndefined","obj","proto","getPrototypeOf","Function","toString","path","charAt","startsWith","replace","val","isString","array","Controller","prefixOrOptions","host","scopeOptions","versionOptions","shared_utils_1","isArray","scope","durable","version","Set","flatten","arr","flat","some","Dependencies","dependencies","flattenDeps","extendArrayMetadata","getMetadata","validateEach","InvalidDecoratorItemException","item","super","msg","what","predicate","str","UseFilters","filters","isFilterValid","filter","catch","validate_each_util_1","extend_metadata_util_1","addExceptionFiltersMetadata","Inject","token","type","param","properties","IDX","HEX","substring","len","tmp","SIZE","Math","random","Injectable","options","mixin","mixinClass","uid_1","Optional","args","SetMetadata","decoratorFactory","KEY","UseGuards","guards","isGuardValid","guard","canActivate","UseInterceptors","interceptors","isInterceptorValid","interceptor","intercept","UsePipes","pipes","pipe","transform","applyDecorators","propertyKey","Version","tslib_1","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12","require$$13","Global","validateModuleKeys","INVALID_MODULE_CONFIG_MESSAGE","text","property","metadataKeys","keys","includes","Module","propsKeys","validate_module_keys_util_1","RequestMethod","Search","All","Head","Options","Patch","Put","Delete","Get","Post","RequestMapping","defaultMetadata","request_method_enum_1","GET","pathMetadata","requestMethod","createMappingDecorator","method","POST","DELETE","PUT","PATCH","OPTIONS","HEAD","ALL","SEARCH","RouteParamtypes","assignMetadata","paramtype","data","createRouteParamDecorator","Res","HostParam","Param","Body","Query","UploadedFiles","UploadedFile","Session","Ip","Response","Request","createPipesRouteParamDecorator","hasParamData","paramData","paramPipes","route_paramtypes_enum_1","REQUEST","passthrough","RESPONSE","Next","NEXT","IP","SESSION","fileKey","FILE","FILES","Headers","HEADERS","QUERY","BODY","PARAM","HOST","Req","HttpCode","statusCode","assignCustomParameterMetadata","factory","createParamDecorator","enhancers","assign_custom_metadata_util_1","Render","template","Header","Redirect","url","Sse","HttpStatus","ShutdownSignal","VersioningType","HttpException","response","status","initMessage","initName","initCause","cause","match","join","getResponse","getStatus","createBody","arg0","arg1","getDescriptionFrom","descriptionOrOptions","getHttpExceptionOptionsFrom","extractDescriptionAndOptionsFrom","httpExceptionOptions","BadRequestException","http_exception_1","objectOrError","http_status_enum_1","BAD_REQUEST","UnauthorizedException","UNAUTHORIZED","MethodNotAllowedException","METHOD_NOT_ALLOWED","NotFoundException","NOT_FOUND","ForbiddenException","FORBIDDEN","NotAcceptableException","NOT_ACCEPTABLE","RequestTimeoutException","REQUEST_TIMEOUT","ConflictException","CONFLICT","GoneException","GONE","PayloadTooLargeException","PAYLOAD_TOO_LARGE","UnsupportedMediaTypeException","UNSUPPORTED_MEDIA_TYPE","UnprocessableEntityException","UNPROCESSABLE_ENTITY","InternalServerErrorException","INTERNAL_SERVER_ERROR","NotImplementedException","NOT_IMPLEMENTED","HttpVersionNotSupportedException","HTTP_VERSION_NOT_SUPPORTED","BadGatewayException","BAD_GATEWAY","ServiceUnavailableException","SERVICE_UNAVAILABLE","GatewayTimeoutException","GATEWAY_TIMEOUT","ImATeapotException","I_AM_A_TEAPOT","PreconditionFailedException","PRECONDITION_FAILED","MisdirectedException","MISDIRECTED","require$$14","require$$15","require$$16","require$$17","require$$18","require$$19","require$$20","require$$21","StreamableFile","bufferOrReadStream","handleError","err","res","destroyed","headersSent","end","enums_1","send","util_1","types","isUint8Array","stream","stream_1","Readable","getStream","getHeaders","disposition","errorHandler","setErrorHandler","handler","Scope","VERSION_NEUTRAL","require$$22","require$$23","require$$24","require$$25","require$$26","require$$27","require$$28","yellow","clc","colorIfAllowed","colorFn","process","NO_COLOR","bold","green","red","magentaBright","cyanBright","isLogLevelEnabled","LOG_LEVEL_VALUES","verbose","debug","log","warn","fatal","targetLevel","logLevels","highestLogLevelValue","map","level","sort","ConsoleLogger_1","ConsoleLogger","DEFAULT_LOG_LEVELS","dateTimeFormatter","Intl","DateTimeFormat","year","hour","minute","second","day","month","originalContext","optionalParams","isLevelEnabled","messages","getContextAndMessagesToPrint","printMessages","getContextAndStackAndMessagesToPrint","printStackTrace","setLogLevels","levels","setContext","resetContext","utils_1","getTimestamp","format","Date","now","logLevel","writeStreamType","pidMessage","formatPid","pid","contextMessage","formatContext","timestampDiff","updateAndGetTimestampDiff","formattedLogLevel","toUpperCase","padStart","formattedMessage","formatMessage","write","cli_colors_util_1","output","stringifyMessage","colorize","JSON","stringify","getColorByLogLevel","color","stderr","lastTimestampAt","timestamp","formatTimestampDiff","lastElement","isStackFormat","test","core_1","Logger_1","Logger","DEFAULT_LOGGER","console_logger_service_1","localInstance","staticInstanceRef","registerLocalInstanceRef","flush","isBufferAttached","logBuffer","methodRef","attachBuffer","detachBuffer","overrideLogger","logger","errorMessage","localInstanceRef","WrapBuffer","originalFn","bind","randomStringGenerator","CONFIGURABLE_MODULE_ID","ASYNC_METHOD_SUFFIX","DEFAULT_FACTORY_CLASS_METHOD_KEY","DEFAULT_METHOD_KEY","generateOptionsInjectionToken","random_string_generator_util_1","getInjectionProviders","mapInjectToTokens","isOptionalFactoryDependency","providers","tokens","search","provide","inject","ConfigurableModuleBuilder","parentBuilder","logger_service_1","staticMethodKey","factoryClassMethodKey","transformModuleDefinition","extras","setExtras","transformDefinition","def","builder","setClassMethodName","setFactoryMethodName","build","optionsInjectionToken","moduleName","constructInjectionTokenString","definition","ConfigurableModuleClass","createConfigurableModuleCls","MODULE_OPTIONS_TOKEN","ASYNC_OPTIONS_TYPE","createTypeProxy","OPTIONS_TYPE","trim","split","self","asyncMethodKey","omitExtras","alwaysTransient","module","createAsyncProviders","imports","input","moduleOptions","extrasKeys","useExisting","useFactory","provideInjectionTokensFrom","createAsyncOptionsProvider","useClass","optionsFactory","typeName","Proxy","DefaultValuePipe","defaultValue","_metadata","isNaN","injectable_decorator_1","HttpErrorByCode","exceptions_1","toConcat","source","isIterator","candidate","isIterable","collection","outer","inner","iteratee","start","Infinity","IteratorWithOperators","map_1","MapIterator","filter_1","FilterIterator","concat_1","ConcatIterator","toIterator","take","limit","slice_1","SliceIterator","drop","flatten_1","FlattenIterator","reduce","accumulator","find","every","separator","joined","substr","toArray","toSet","add","toMap","Map","iterate","zip_1","ZipIterator","iterate_1","zip","loadPackage","packageName","loaderFn","require","exit","ValidationPipe","classValidator","classTransformer","disableErrorMessages","errorHttpStatusCode","expectedType","transformOptions","validateCustomDecorators","validatorOptions","forbidUnknownValues","isTransformEnabled","isDetailedOutputDisabled","exceptionFactory","createExceptionFactory","loadValidator","validatorPackage","loadTransformer","transformerPackage","load_package_util_1","metatype","toValidate","transformPrimitive","originalValue","toEmptyIfNil","isPrimitive","stripProtoKeys","entity","plainToClass","originalEntity","isCtorNotEqual","errors","validate","classToPlain","validationErrors","http_error_by_code_util_1","flattenValidationErrors","Boolean","Number","Buffer","isTypedArray","object","iterare_1","mapChildrenToValidationErrors","constraints","values","parentPath","children","prependConstraintsWithParentProp","decorators_1","ParseArrayPipe","VALIDATION_ERROR_MESSAGE","validationPipe","validation_pipe_1","optional","items","validationMetadata","isExpectedTypePrimitive","toClassInstance","parse","validatePrimitive","stopAtFirstError","targetArray","all","NaN","optional_decorator_1","ParseBoolPipe","isTrue","isFalse","ParseIntPipe","isNumeric","parseInt","isFinite","ParseFloatPipe","index_1","parseFloat","ParseEnumPipe","enumType","isEnum","ParseUUIDPipe_1","ParseUUIDPipe","isUUID","pattern","uuidRegExps","FileValidator","validationOptions","FileTypeValidator","file_validator_interface_1","buildErrorMessage","fileType","isValid","file","mimetype","MaxFileSizeValidator","maxSize","size","ParseFilePipe","validators","fileIsRequired","areThereAnyFilesIn","thereAreNoFilesIn","validateFilesOrFile","isEmptyArray","isEmptyObject","validator","validateOrThrow","getValidators","ParseFilePipeBuilder","addMaxSizeValidator","addValidator","max_file_size_validator_1","addFileTypeValidator","file_type_validator_1","additionalOptions","parseFilePipe","parse_file_pipe_1","CLASS_SERIALIZER_OPTIONS","ClassSerializerInterceptor","reflector","defaultOptions","contextOptions","getContextOptions","handle","operators_1","serialize","file_stream_1","transformToPlain","plainOrClass","instance","getAllAndOverride","class_serializer_constants_1","getHandler","getClass","SerializeOptions","forwardRef","interfaces_1","ZLoggerNest","_this$_levelMap","_logger","_levelMap","ZLogLevel","CATASTROPHE","ERROR","INFO","WARNING","entry","ZLoggerToken","ZLoggerProvider","ZLoggerModule"],"mappings":"kXAgBIA,EAAgB,SAASC,EAAGC,GAI9B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,CAAE,GACzE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,KACzFP,EAAcC,EAAGC,EAC1B,EAEO,SAASS,EAAUV,EAAGC,GAC3B,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIU,UAAU,uBAAyBC,OAAOX,GAAK,iCAE7D,SAASY,IAAOC,KAAKC,YAAcf,CAAI,CADvCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOc,OAAOf,IAAMY,EAAGN,UAAYN,EAAEM,UAAW,IAAIM,EACjF,CAEO,IAAII,EAAW,WAQpB,OAPAA,EAAWf,OAAOgB,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAIf,KADTc,EAAIG,UAAUF,GACOnB,OAAOK,UAAUC,eAAeC,KAAKW,EAAGd,KAAIa,EAAEb,GAAKc,EAAEd,IAE9E,OAAOa,CACV,EACMF,EAASQ,MAAMX,KAAMS,UAC9B,EAEO,SAASG,EAAON,EAAGO,GACxB,IAAIR,EAAI,CAAA,EACR,IAAK,IAAIb,KAAKc,EAAOlB,OAAOK,UAAUC,eAAeC,KAAKW,EAAGd,IAAMqB,E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AO,SAACtwB,EAAGpF,UAAMoF,EAAE6a,IAAIjgB,EAAEyH,QAASzH,EAAEuI,QAAQ,EAAA6sB,EACtDG,YAAUI,SAAU,SAACvwB,EAAGpF,UAAMoF,EAAE8a,KAAKlgB,EAAEyH,QAASzH,EAAEuI,QAAQ,EAAA6sB,UAAAD,EAAAv2B,UAGtDqhB,IAAA,SAAI2V,GACTz2B,KAAKm2B,UAAUM,EAAMpV,OAAOrhB,KAAKk2B,QAASO,EAC5C,EAACT,CAAA,CAZqB,GCAXU,GAAe1yB,SAEtB2yB,GAA4B,CAAEvP,QAASsP,GAAcjtB,SAAU,IAAIusB,IAM5DY,QAAAA,cAAa,WAAA,EAAbA,QAAaA,cAAA31B,EAAA,CAJzBoT,GAAMA,OAAC,CACN4S,UAAW,CAAC0P,GAAiBX,IAC7BlsB,QAAS,CAAC6sB,GAAiBX,OAEhBY,QAAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/tslib/tslib.es6.mjs","../../src/logger/logger-nest.ts","../../src/logger/logger-module.ts"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","import { Injectable, Logger } from '@nestjs/common';\nimport { IZLogEntry, IZLogger, ZLogLevel } from '@zthun/lumberjacky-log';\n\n/**\n * Represents the logger for nestjs.\n *\n * You will import this through the {@link ZLoggerModule} object.\n *\n * You can use this in conjunction with the {@link @zthun/lumberjacky-log#ZLoggerContext} object.\n *\n *\n * @example\n *\n * ```ts\n * import { Injectable, Inject } from '@nestjs/common';\n * import { LoggerToken } from '@zthun/lumberjacky-nest';\n *\n * @Injectable\n * public class MyService {\n * private _logger: IZLogger;\n *\n * public constructor(@Inject(LoggerToken) logger: IZLogger) {\n * this._logger = new ZLoggerContext('MyService', logger);\n * }\n * }\n * ```\n */\n@Injectable()\nexport class ZLoggerNest implements IZLogger {\n private _logger = new Logger();\n\n private _levelMap: Record<ZLogLevel, (l: Logger, entry: IZLogEntry) => void> = {\n [ZLogLevel.CATASTROPHE]: (l, e) => l.fatal(e.message, e.context),\n [ZLogLevel.ERROR]: (l, e) => l.error(e.message, e.context),\n [ZLogLevel.INFO]: (l, e) => l.log(e.message, e.context),\n [ZLogLevel.WARNING]: (l, e) => l.warn(e.message, e.context)\n };\n\n public log(entry: IZLogEntry): void {\n this._levelMap[entry.level](this._logger, entry);\n }\n}\n","import { Module, Provider } from '@nestjs/common';\nimport { ZLoggerNest } from './logger-nest';\n\n/**\n * The symbol to use with {@link @nestjs/common#Inject} to add a lumberjacky logger to your service.\n */\nexport const ZLoggerToken = Symbol();\n\nconst ZLoggerProvider: Provider = { provide: ZLoggerToken, useValue: new ZLoggerNest() };\n\n/**\n * This is the main entrypoint module that injects a default implementation of the logger.\n *\n * @example\n *\n * ```ts\n * import { Module } from '@nestjs/common';\n * import { ZLoggerModule} from '@zthun/lumberjacky-nest';\n *\n * @Module({\n * imports: [ZLoggerModule]\n * })\n * export class MyModule{ }\n * ```\n */\n@Module({\n providers: [ZLoggerProvider, ZLoggerNest],\n exports: [ZLoggerProvider, ZLoggerNest]\n})\nexport class ZLoggerModule {}\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","ZLoggerNest","_this$_levelMap","this","_logger","Logger","_levelMap","ZLogLevel","CATASTROPHE","l","e","fatal","message","context","ERROR","error","INFO","log","WARNING","warn","prototype","entry","level","Injectable","ZLoggerToken","Symbol","ZLoggerProvider","provide","useValue","ZLoggerModule","Module","providers","exports"],"mappings":"oEAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAClD,IAA2HC,EAAvHC,EAAIC,U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