@dooboostore/simple-boot-http-server 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/SimpleBootHttpServer.js +930 -2
- package/dist/cjs/SimpleBootHttpServer.js.map +7 -0
- package/dist/cjs/codes/HttpHeaders.js +71 -1
- package/dist/cjs/codes/HttpHeaders.js.map +7 -0
- package/dist/cjs/codes/HttpMethod.js +41 -1
- package/dist/cjs/codes/HttpMethod.js.map +7 -0
- package/dist/cjs/codes/HttpStatus.js +49 -1
- package/dist/cjs/codes/HttpStatus.js.map +7 -0
- package/dist/cjs/codes/Mimes.js +57 -1
- package/dist/cjs/codes/Mimes.js.map +7 -0
- package/dist/cjs/codes/index.js +145 -1
- package/dist/cjs/codes/index.js.map +7 -0
- package/dist/cjs/decorators/MethodMapping.js +265 -2
- package/dist/cjs/decorators/MethodMapping.js.map +7 -0
- package/dist/cjs/decorators/index.js +267 -2
- package/dist/cjs/decorators/index.js.map +7 -0
- package/dist/cjs/endpoints/CrossDomainHeaderEndPoint.js +55 -1
- package/dist/cjs/endpoints/CrossDomainHeaderEndPoint.js.map +7 -0
- package/dist/cjs/endpoints/EndPoint.js +18 -1
- package/dist/cjs/endpoints/EndPoint.js.map +7 -0
- package/dist/cjs/endpoints/HeaderEndPoint.js +41 -1
- package/dist/cjs/endpoints/HeaderEndPoint.js.map +7 -0
- package/dist/cjs/endpoints/index.js +73 -1
- package/dist/cjs/endpoints/index.js.map +7 -0
- package/dist/cjs/errors/BadRequestError.js +45 -1
- package/dist/cjs/errors/BadRequestError.js.map +7 -0
- package/dist/cjs/errors/ForbiddenError.js +45 -1
- package/dist/cjs/errors/ForbiddenError.js.map +7 -0
- package/dist/cjs/errors/HttpError.js +36 -1
- package/dist/cjs/errors/HttpError.js.map +7 -0
- package/dist/cjs/errors/InternalServerError.js +45 -1
- package/dist/cjs/errors/InternalServerError.js.map +7 -0
- package/dist/cjs/errors/NotFoundError.js +45 -1
- package/dist/cjs/errors/NotFoundError.js.map +7 -0
- package/dist/cjs/errors/UnauthorizedError.js +45 -1
- package/dist/cjs/errors/UnauthorizedError.js.map +7 -0
- package/dist/cjs/errors/index.js +83 -1
- package/dist/cjs/errors/index.js.map +7 -0
- package/dist/cjs/filters/CacheFilter.js +153 -1
- package/dist/cjs/filters/CacheFilter.js.map +7 -0
- package/dist/cjs/filters/Filter.js +18 -1
- package/dist/cjs/filters/Filter.js.map +7 -0
- package/dist/cjs/filters/HttpStatusFilter.js +44 -1
- package/dist/cjs/filters/HttpStatusFilter.js.map +7 -0
- package/dist/cjs/filters/OpenApi3Filter.js +83 -2
- package/dist/cjs/filters/OpenApi3Filter.js.map +7 -0
- package/dist/cjs/filters/ResourceFilter.js +91 -2
- package/dist/cjs/filters/ResourceFilter.js.map +7 -0
- package/dist/cjs/filters/ThrowFilter.js +47 -1
- package/dist/cjs/filters/ThrowFilter.js.map +7 -0
- package/dist/cjs/filters/index.js +318 -2
- package/dist/cjs/filters/index.js.map +7 -0
- package/dist/cjs/index.js +1756 -2
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/inject/InjectSituationType.js +33 -1
- package/dist/cjs/inject/InjectSituationType.js.map +7 -0
- package/dist/cjs/inject/index.js +35 -1
- package/dist/cjs/inject/index.js.map +7 -0
- package/dist/cjs/lifecycle/OnInit.js +18 -1
- package/dist/cjs/lifecycle/OnInit.js.map +7 -0
- package/dist/cjs/lifecycle/index.js +18 -1
- package/dist/cjs/lifecycle/index.js.map +7 -0
- package/dist/cjs/models/RequestResponse.js +500 -1
- package/dist/cjs/models/RequestResponse.js.map +7 -0
- package/dist/cjs/models/datas/HeaderData.js +35 -1
- package/dist/cjs/models/datas/HeaderData.js.map +7 -0
- package/dist/cjs/models/datas/MultipartData.js +18 -1
- package/dist/cjs/models/datas/MultipartData.js.map +7 -0
- package/dist/cjs/models/datas/ReqHeader.js +31 -1
- package/dist/cjs/models/datas/ReqHeader.js.map +7 -0
- package/dist/cjs/models/datas/Resource.js +550 -2
- package/dist/cjs/models/datas/Resource.js.map +7 -0
- package/dist/cjs/models/datas/body/ReqFormUrlBody.js +31 -1
- package/dist/cjs/models/datas/body/ReqFormUrlBody.js.map +7 -0
- package/dist/cjs/models/datas/body/ReqJsonBody.js +31 -1
- package/dist/cjs/models/datas/body/ReqJsonBody.js.map +7 -0
- package/dist/cjs/models/datas/body/ReqMultipartFormBody.js +34 -1
- package/dist/cjs/models/datas/body/ReqMultipartFormBody.js.map +7 -0
- package/dist/cjs/models/index.js +593 -2
- package/dist/cjs/models/index.js.map +7 -0
- package/dist/cjs/models/method/patch/PatchJson.js +49 -2
- package/dist/cjs/models/method/patch/PatchJson.js.map +7 -0
- package/dist/cjs/option/HttpServerOption.js +67 -1
- package/dist/cjs/option/HttpServerOption.js.map +7 -0
- package/dist/cjs/option/index.js +69 -1
- package/dist/cjs/option/index.js.map +7 -0
- package/dist/cjs/resolvers/Resolver.js +18 -1
- package/dist/cjs/resolvers/Resolver.js.map +7 -0
- package/dist/cjs/resolvers/{ResourceResorver.d.ts → ResourceResolver.d.ts} +2 -2
- package/dist/cjs/resolvers/{ResourceResorver.d.ts.map → ResourceResolver.d.ts.map} +1 -1
- package/dist/cjs/resolvers/ResourceResolver.js +571 -0
- package/dist/cjs/resolvers/ResourceResolver.js.map +7 -0
- package/dist/cjs/resolvers/index.d.ts +1 -1
- package/dist/cjs/resolvers/index.js +571 -2
- package/dist/cjs/resolvers/index.js.map +7 -0
- package/dist/cjs/session/SessionManager.js +577 -1
- package/dist/cjs/session/SessionManager.js.map +7 -0
- package/dist/cjs/session/index.js +579 -1
- package/dist/cjs/session/index.js.map +7 -0
- package/dist/esm/SimpleBootHttpServer.js +906 -2
- package/dist/esm/SimpleBootHttpServer.js.map +7 -0
- package/dist/esm/codes/HttpHeaders.js +47 -1
- package/dist/esm/codes/HttpHeaders.js.map +7 -0
- package/dist/esm/codes/HttpMethod.js +17 -1
- package/dist/esm/codes/HttpMethod.js.map +7 -0
- package/dist/esm/codes/HttpStatus.js +25 -1
- package/dist/esm/codes/HttpStatus.js.map +7 -0
- package/dist/esm/codes/Mimes.js +33 -1
- package/dist/esm/codes/Mimes.js.map +7 -0
- package/dist/esm/codes/index.js +116 -1
- package/dist/esm/codes/index.js.map +7 -0
- package/dist/esm/decorators/MethodMapping.js +211 -2
- package/dist/esm/decorators/MethodMapping.js.map +7 -0
- package/dist/esm/decorators/index.js +211 -2
- package/dist/esm/decorators/index.js.map +7 -0
- package/dist/esm/endpoints/CrossDomainHeaderEndPoint.js +31 -1
- package/dist/esm/endpoints/CrossDomainHeaderEndPoint.js.map +7 -0
- package/dist/esm/endpoints/EndPoint.js +1 -0
- package/dist/esm/endpoints/EndPoint.js.map +7 -0
- package/dist/esm/endpoints/HeaderEndPoint.js +17 -1
- package/dist/esm/endpoints/HeaderEndPoint.js.map +7 -0
- package/dist/esm/endpoints/index.js +46 -1
- package/dist/esm/endpoints/index.js.map +7 -0
- package/dist/esm/errors/BadRequestError.js +19 -1
- package/dist/esm/errors/BadRequestError.js.map +7 -0
- package/dist/esm/errors/ForbiddenError.js +19 -1
- package/dist/esm/errors/ForbiddenError.js.map +7 -0
- package/dist/esm/errors/HttpError.js +12 -1
- package/dist/esm/errors/HttpError.js.map +7 -0
- package/dist/esm/errors/InternalServerError.js +19 -1
- package/dist/esm/errors/InternalServerError.js.map +7 -0
- package/dist/esm/errors/NotFoundError.js +19 -1
- package/dist/esm/errors/NotFoundError.js.map +7 -0
- package/dist/esm/errors/UnauthorizedError.js +19 -1
- package/dist/esm/errors/UnauthorizedError.js.map +7 -0
- package/dist/esm/errors/index.js +52 -1
- package/dist/esm/errors/index.js.map +7 -0
- package/dist/esm/filters/CacheFilter.js +129 -1
- package/dist/esm/filters/CacheFilter.js.map +7 -0
- package/dist/esm/filters/Filter.js +1 -0
- package/dist/esm/filters/Filter.js.map +7 -0
- package/dist/esm/filters/HttpStatusFilter.js +20 -1
- package/dist/esm/filters/HttpStatusFilter.js.map +7 -0
- package/dist/esm/filters/OpenApi3Filter.js +57 -2
- package/dist/esm/filters/OpenApi3Filter.js.map +7 -0
- package/dist/esm/filters/ResourceFilter.js +57 -2
- package/dist/esm/filters/ResourceFilter.js.map +7 -0
- package/dist/esm/filters/ThrowFilter.js +23 -1
- package/dist/esm/filters/ThrowFilter.js.map +7 -0
- package/dist/esm/filters/index.js +278 -2
- package/dist/esm/filters/index.js.map +7 -0
- package/dist/esm/index.js +1662 -2
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/inject/InjectSituationType.js +9 -1
- package/dist/esm/inject/InjectSituationType.js.map +7 -0
- package/dist/esm/inject/index.js +9 -1
- package/dist/esm/inject/index.js.map +7 -0
- package/dist/esm/lifecycle/OnInit.js +1 -0
- package/dist/esm/lifecycle/OnInit.js.map +7 -0
- package/dist/esm/lifecycle/index.js +1 -0
- package/dist/esm/lifecycle/index.js.map +7 -0
- package/dist/esm/models/RequestResponse.js +475 -1
- package/dist/esm/models/RequestResponse.js.map +7 -0
- package/dist/esm/models/datas/HeaderData.js +11 -1
- package/dist/esm/models/datas/HeaderData.js.map +7 -0
- package/dist/esm/models/datas/MultipartData.js +1 -0
- package/dist/esm/models/datas/MultipartData.js.map +7 -0
- package/dist/esm/models/datas/ReqHeader.js +7 -1
- package/dist/esm/models/datas/ReqHeader.js.map +7 -0
- package/dist/esm/models/datas/Resource.js +516 -2
- package/dist/esm/models/datas/Resource.js.map +7 -0
- package/dist/esm/models/datas/body/ReqFormUrlBody.js +7 -1
- package/dist/esm/models/datas/body/ReqFormUrlBody.js.map +7 -0
- package/dist/esm/models/datas/body/ReqJsonBody.js +7 -1
- package/dist/esm/models/datas/body/ReqJsonBody.js.map +7 -0
- package/dist/esm/models/datas/body/ReqMultipartFormBody.js +10 -1
- package/dist/esm/models/datas/body/ReqMultipartFormBody.js.map +7 -0
- package/dist/esm/models/index.js +549 -2
- package/dist/esm/models/index.js.map +7 -0
- package/dist/esm/models/method/patch/PatchJson.js +15 -2
- package/dist/esm/models/method/patch/PatchJson.js.map +7 -0
- package/dist/esm/option/HttpServerOption.d.ts +1 -1
- package/dist/esm/option/HttpServerOption.js +43 -1
- package/dist/esm/option/HttpServerOption.js.map +7 -0
- package/dist/esm/option/index.js +43 -1
- package/dist/esm/option/index.js.map +7 -0
- package/dist/esm/resolvers/Resolver.js +1 -0
- package/dist/esm/resolvers/Resolver.js.map +7 -0
- package/dist/esm/resolvers/{ResourceResorver.d.ts → ResourceResolver.d.ts} +2 -2
- package/dist/esm/resolvers/{ResourceResorver.d.ts.map → ResourceResolver.d.ts.map} +1 -1
- package/dist/esm/resolvers/ResourceResolver.js +538 -0
- package/dist/esm/resolvers/ResourceResolver.js.map +7 -0
- package/dist/esm/resolvers/index.d.ts +1 -1
- package/dist/esm/resolvers/index.js +538 -2
- package/dist/esm/resolvers/index.js.map +7 -0
- package/dist/esm/session/SessionManager.js +553 -1
- package/dist/esm/session/SessionManager.js.map +7 -0
- package/dist/esm/session/index.js +553 -1
- package/dist/esm/session/index.js.map +7 -0
- package/dist/esm-bundle/dooboostore-simple-boot-http-server.esm.js +1662 -2
- package/dist/esm-bundle/dooboostore-simple-boot-http-server.esm.js.map +7 -0
- package/dist/umd-bundle/dooboostore-simple-boot-http-server.umd.js +1699 -2
- package/dist/umd-bundle/dooboostore-simple-boot-http-server.umd.js.map +7 -0
- package/package.json +24 -21
- package/dist/cjs/SimpleBootHttpServer.js.LICENSE.txt +0 -20
- package/dist/cjs/decorators/MethodMapping.js.LICENSE.txt +0 -16
- package/dist/cjs/decorators/index.js.LICENSE.txt +0 -16
- package/dist/cjs/filters/OpenApi3Filter.js.LICENSE.txt +0 -16
- package/dist/cjs/filters/ResourceFilter.js.LICENSE.txt +0 -13
- package/dist/cjs/filters/index.js.LICENSE.txt +0 -30
- package/dist/cjs/index.js.LICENSE.txt +0 -46
- package/dist/cjs/models/datas/Resource.js.LICENSE.txt +0 -13
- package/dist/cjs/models/index.js.LICENSE.txt +0 -25
- package/dist/cjs/models/method/patch/PatchJson.js.LICENSE.txt +0 -11
- package/dist/cjs/resolvers/ResourceResorver.js +0 -2
- package/dist/cjs/resolvers/ResourceResorver.js.LICENSE.txt +0 -13
- package/dist/cjs/resolvers/index.js.LICENSE.txt +0 -13
- package/dist/esm/SimpleBootHttpServer.js.LICENSE.txt +0 -20
- package/dist/esm/decorators/MethodMapping.js.LICENSE.txt +0 -16
- package/dist/esm/decorators/index.js.LICENSE.txt +0 -16
- package/dist/esm/filters/OpenApi3Filter.js.LICENSE.txt +0 -16
- package/dist/esm/filters/ResourceFilter.js.LICENSE.txt +0 -13
- package/dist/esm/filters/index.js.LICENSE.txt +0 -30
- package/dist/esm/index.js.LICENSE.txt +0 -46
- package/dist/esm/models/datas/Resource.js.LICENSE.txt +0 -13
- package/dist/esm/models/index.js.LICENSE.txt +0 -25
- package/dist/esm/models/method/patch/PatchJson.js.LICENSE.txt +0 -11
- package/dist/esm/resolvers/ResourceResorver.js +0 -2
- package/dist/esm/resolvers/ResourceResorver.js.LICENSE.txt +0 -13
- package/dist/esm/resolvers/index.js.LICENSE.txt +0 -13
- package/dist/esm-bundle/dooboostore-simple-boot-http-server.esm.js.LICENSE.txt +0 -54
- package/dist/umd-bundle/SimpleBootHttpServer.d.ts +0 -14
- package/dist/umd-bundle/SimpleBootHttpServer.d.ts.map +0 -1
- package/dist/umd-bundle/codes/HttpHeaders.d.ts +0 -42
- package/dist/umd-bundle/codes/HttpHeaders.d.ts.map +0 -1
- package/dist/umd-bundle/codes/HttpMethod.d.ts +0 -12
- package/dist/umd-bundle/codes/HttpMethod.d.ts.map +0 -1
- package/dist/umd-bundle/codes/HttpStatus.d.ts +0 -45
- package/dist/umd-bundle/codes/HttpStatus.d.ts.map +0 -1
- package/dist/umd-bundle/codes/Mimes.d.ts +0 -28
- package/dist/umd-bundle/codes/Mimes.d.ts.map +0 -1
- package/dist/umd-bundle/codes/index.d.ts +0 -5
- package/dist/umd-bundle/codes/index.d.ts.map +0 -1
- package/dist/umd-bundle/decorators/MethodMapping.d.ts +0 -74
- package/dist/umd-bundle/decorators/MethodMapping.d.ts.map +0 -1
- package/dist/umd-bundle/decorators/index.d.ts +0 -2
- package/dist/umd-bundle/decorators/index.d.ts.map +0 -1
- package/dist/umd-bundle/dooboostore-simple-boot-http-server.umd.js.LICENSE.txt +0 -54
- package/dist/umd-bundle/endpoints/CrossDomainHeaderEndPoint.d.ts +0 -16
- package/dist/umd-bundle/endpoints/CrossDomainHeaderEndPoint.d.ts.map +0 -1
- package/dist/umd-bundle/endpoints/EndPoint.d.ts +0 -7
- package/dist/umd-bundle/endpoints/EndPoint.d.ts.map +0 -1
- package/dist/umd-bundle/endpoints/HeaderEndPoint.d.ts +0 -12
- package/dist/umd-bundle/endpoints/HeaderEndPoint.d.ts.map +0 -1
- package/dist/umd-bundle/endpoints/index.d.ts +0 -4
- package/dist/umd-bundle/endpoints/index.d.ts.map +0 -1
- package/dist/umd-bundle/errors/BadRequestError.d.ts +0 -8
- package/dist/umd-bundle/errors/BadRequestError.d.ts.map +0 -1
- package/dist/umd-bundle/errors/ForbiddenError.d.ts +0 -8
- package/dist/umd-bundle/errors/ForbiddenError.d.ts.map +0 -1
- package/dist/umd-bundle/errors/HttpError.d.ts +0 -12
- package/dist/umd-bundle/errors/HttpError.d.ts.map +0 -1
- package/dist/umd-bundle/errors/InternalServerError.d.ts +0 -8
- package/dist/umd-bundle/errors/InternalServerError.d.ts.map +0 -1
- package/dist/umd-bundle/errors/NotFoundError.d.ts +0 -8
- package/dist/umd-bundle/errors/NotFoundError.d.ts.map +0 -1
- package/dist/umd-bundle/errors/UnauthorizedError.d.ts +0 -8
- package/dist/umd-bundle/errors/UnauthorizedError.d.ts.map +0 -1
- package/dist/umd-bundle/errors/index.d.ts +0 -7
- package/dist/umd-bundle/errors/index.d.ts.map +0 -1
- package/dist/umd-bundle/filters/CacheFilter.d.ts +0 -45
- package/dist/umd-bundle/filters/CacheFilter.d.ts.map +0 -1
- package/dist/umd-bundle/filters/Filter.d.ts +0 -17
- package/dist/umd-bundle/filters/Filter.d.ts.map +0 -1
- package/dist/umd-bundle/filters/HttpStatusFilter.d.ts +0 -20
- package/dist/umd-bundle/filters/HttpStatusFilter.d.ts.map +0 -1
- package/dist/umd-bundle/filters/OpenApi3Filter.d.ts +0 -142
- package/dist/umd-bundle/filters/OpenApi3Filter.d.ts.map +0 -1
- package/dist/umd-bundle/filters/ResourceFilter.d.ts +0 -24
- package/dist/umd-bundle/filters/ResourceFilter.d.ts.map +0 -1
- package/dist/umd-bundle/filters/ThrowFilter.d.ts +0 -19
- package/dist/umd-bundle/filters/ThrowFilter.d.ts.map +0 -1
- package/dist/umd-bundle/filters/index.d.ts +0 -7
- package/dist/umd-bundle/filters/index.d.ts.map +0 -1
- package/dist/umd-bundle/index.d.ts +0 -13
- package/dist/umd-bundle/index.d.ts.map +0 -1
- package/dist/umd-bundle/inject/InjectSituationType.d.ts +0 -4
- package/dist/umd-bundle/inject/InjectSituationType.d.ts.map +0 -1
- package/dist/umd-bundle/inject/index.d.ts +0 -2
- package/dist/umd-bundle/inject/index.d.ts.map +0 -1
- package/dist/umd-bundle/lifecycle/OnInit.d.ts +0 -5
- package/dist/umd-bundle/lifecycle/OnInit.d.ts.map +0 -1
- package/dist/umd-bundle/lifecycle/index.d.ts +0 -2
- package/dist/umd-bundle/lifecycle/index.d.ts.map +0 -1
- package/dist/umd-bundle/models/RequestResponse.d.ts +0 -100
- package/dist/umd-bundle/models/RequestResponse.d.ts.map +0 -1
- package/dist/umd-bundle/models/datas/HeaderData.d.ts +0 -10
- package/dist/umd-bundle/models/datas/HeaderData.d.ts.map +0 -1
- package/dist/umd-bundle/models/datas/MultipartData.d.ts +0 -12
- package/dist/umd-bundle/models/datas/MultipartData.d.ts.map +0 -1
- package/dist/umd-bundle/models/datas/ReqHeader.d.ts +0 -68
- package/dist/umd-bundle/models/datas/ReqHeader.d.ts.map +0 -1
- package/dist/umd-bundle/models/datas/Resource.d.ts +0 -11
- package/dist/umd-bundle/models/datas/Resource.d.ts.map +0 -1
- package/dist/umd-bundle/models/datas/body/ReqFormUrlBody.d.ts +0 -4
- package/dist/umd-bundle/models/datas/body/ReqFormUrlBody.d.ts.map +0 -1
- package/dist/umd-bundle/models/datas/body/ReqJsonBody.d.ts +0 -4
- package/dist/umd-bundle/models/datas/body/ReqJsonBody.d.ts.map +0 -1
- package/dist/umd-bundle/models/datas/body/ReqMultipartFormBody.d.ts +0 -6
- package/dist/umd-bundle/models/datas/body/ReqMultipartFormBody.d.ts.map +0 -1
- package/dist/umd-bundle/models/index.d.ts +0 -10
- package/dist/umd-bundle/models/index.d.ts.map +0 -1
- package/dist/umd-bundle/models/method/patch/PatchJson.d.ts +0 -8
- package/dist/umd-bundle/models/method/patch/PatchJson.d.ts.map +0 -1
- package/dist/umd-bundle/option/HttpServerOption.d.ts +0 -83
- package/dist/umd-bundle/option/HttpServerOption.d.ts.map +0 -1
- package/dist/umd-bundle/option/index.d.ts +0 -2
- package/dist/umd-bundle/option/index.d.ts.map +0 -1
- package/dist/umd-bundle/resolvers/Resolver.d.ts +0 -5
- package/dist/umd-bundle/resolvers/Resolver.d.ts.map +0 -1
- package/dist/umd-bundle/resolvers/ResourceResorver.d.ts +0 -6
- package/dist/umd-bundle/resolvers/ResourceResorver.d.ts.map +0 -1
- package/dist/umd-bundle/resolvers/index.d.ts +0 -3
- package/dist/umd-bundle/resolvers/index.d.ts.map +0 -1
- package/dist/umd-bundle/session/SessionManager.d.ts +0 -57
- package/dist/umd-bundle/session/SessionManager.d.ts.map +0 -1
- package/dist/umd-bundle/session/index.d.ts +0 -2
- package/dist/umd-bundle/session/index.d.ts.map +0 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,1662 @@
|
|
|
1
|
-
|
|
2
|
-
import{createRequire as e}from"node:module";var t={14:(e,t,n)=>{n.d(t,{n:()=>p});var r=n(9896),i=n.n(r),a=n(6928),o=n.n(a),s=n(5506),c=n(7953),u=n(229);class p{constructor(e,t=[]){this.resourceDistPath=e,this.resourceRegex=t}async onInit(e){}async proceedBefore({rr:e,app:t}){const n=(e.reqUrlPathName??"").replace(/\.\./g,""),r=e.reqUrlObject;let a=!0;const p=this.resourceRegex.filter(r=>r instanceof RegExp?r.test(n):"string"==typeof r?RegExp(r).test(n):"function"==typeof r?r(e,t):"object"==typeof r&&"request"in r?"function"==typeof r.request?r.request(e,t):RegExp(r.request).test(n):void 0);for(const t of p){const n=o().join(this.resourceDistPath,"object"==typeof t&&"dist"in t?t.dist:r.pathname);if(a=!1,i().existsSync(n)){e.resStatusCode(u.t.Ok),e.resSetHeader(c.L.ContentType,s.lookup(n).toString()),await e.resEnd(i().readFileSync(n));break}e.resStatusCode(u.t.NotFound),await e.resEnd();break}return a}async proceedAfter({rr:e,app:t}){return!0}}},115:(e,t,n)=>{n.d(t,{R:()=>i});var r=n(7953);class i{constructor(e){this.config=e}async endPoint(e,t){this.config?.accessControlAllowOrigin&&e.resSetHeader(r.L.AccessControlAllowOrigin,Array.isArray(this.config.accessControlAllowOrigin)?this.config.accessControlAllowOrigin.join(", "):this.config.accessControlAllowOrigin),this.config?.accessControlAllowMethods&&e.resSetHeader(r.L.AccessControlAllowMethods,Array.isArray(this.config.accessControlAllowMethods)?this.config.accessControlAllowMethods.join(", "):this.config.accessControlAllowMethods),this.config?.accessControlAllowHeaders&&e.resSetHeader(r.L.AccessControlAllowHeaders,Array.isArray(this.config.accessControlAllowHeaders)?this.config.accessControlAllowHeaders.join(", "):this.config.accessControlAllowHeaders),this.config?.accessControlExposeHeaders&&e.resSetHeader(r.L.AccessControlExposeHeaders,Array.isArray(this.config.accessControlExposeHeaders)?this.config.accessControlExposeHeaders.join(", "):this.config.accessControlExposeHeaders)}async onInit(e){}}},229:(e,t,n)=>{var r;n.d(t,{t:()=>r}),function(e){e[e.Ok=200]="Ok",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported"}(r||(r={}))},283:(e,t,n)=>{n.d(t,{q:()=>a});var r=n(758),i=n(229);class a extends r.j{constructor({status:e=i.t.Forbidden,message:t="Forbidden"}={}){super({status:e,message:t})}}},346:(e,t,n)=>{n.d(t,{Q:()=>r.Q});var r=n(5797)},426:(e,t,n)=>{n.d(t,{T:()=>o});var r,i={d:(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},a={};i.d(a,{T:()=>r}),function(e){e.toString=function(e,t){return null==e?"":"string"==typeof e?e:e.toString(t?.encoding??"utf-8",t?.start,t?.end)},e.toBuffer=(e,t)=>"base64"===t?.encoding?(e=e.split(";base64,").pop()||"",Buffer.from(e,"base64")):Buffer.from(e)}(r||(r={}));const o=a.T},758:(e,t,n)=>{n.d(t,{j:()=>r});class r{constructor({status:e,message:t="HttpError"}){this.name="Error",this.message=t,this.status=e}}},889:(e,t,n)=>{n.d(t,{n:()=>u});var r={9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};a.d(o,{n:()=>s});var s,c=a(9284);!function(e){e.uniqueInts=(t,n,r)=>{const i=[];if(r>n-t)throw new Error("Count is greater than the range of unique integers");for(;i.length<r;){const r=e.int(t,n);i.includes(r)||i.push(r)}return i},e.chance=e=>{if(e<0||e>1)throw new Error("Percentage must be between 0 and 1");return Math.random()<e},e.int=(t,n)=>Math.floor(e.float(t,n)),e.float=(e,t)=>c.U.isNullOrUndefined(e)?Math.random():!c.U.isNullOrUndefined(e)&&c.U.isNullOrUndefined(t)?Math.random()*(e||0):Math.random()*((t||0)-(e||0))+(e||0),e.uuid=(e="xxxx-xxxx-xxxx-xxxx")=>e.replace(/[xy]/g,function(e){const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),e.uuid4=()=>{let e,t="";for(e=0;e<32;e+=1)switch(e){case 8:case 20:t+="-",t+=(16*Math.random()|0).toString(16);break;case 12:t+="-",t+="4";break;case 16:t+="-",t+=(4*Math.random()|8).toString(16);break;default:t+=(16*Math.random()|0).toString(16)}return t},e.hex=()=>{const e="0123456789ABCDEF".split("");let t="";for(let n=0;n<6;n++)t+=e[Math.floor(16*Math.random())];return t},e.rgb=()=>{const e="0123456789ABCDEF".split("");let t="#";for(let n=0;n<6;n++)t+=e[Math.floor(16*Math.random())];return t},e.rgba=()=>{const e="0123456789ABCDEF".split("");let t="#";for(let n=0;n<8;n++)t+=e[Math.floor(16*Math.random())];return t},e.alphabet=e=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");let n="";for(let r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n}}(s||(s={}));const u=o.n},1013:(t,n,r)=>{r.d(n,{E:()=>Ye});var i={16:(e,t,n)=>{n.d(t,{p:()=>f});var r=n(2743),i=n(4647),a=n(970),o=n(9212),s=n(8259),c=n(742),u=n(532),p=n(4209),l=n(1448),d=n(653);let f=class{constructor(e,t){this.simstanceManager=e,this.simOption=t,this.subject=new d.B}get observable(){return this.subject.asObservable()}routingMap(e="",t){const n=t?.router??this.simOption.rootRouter;if(!n)throw new Error("no router");const r={};if(n){const i="object"==typeof n?n.constructor:n,s="object"==typeof n?n:void 0,c=new o.J({targetKeyType:i,originalType:i,value:s},this.simstanceManager).getConfig(a.sP);if(c){const n=e+c.path;c.route&&c.route[""]&&(r[n]=c.route[""]),c.route&&Object.entries(c.route).forEach(([e,t])=>{r[n+e]=t}),c.routers?.forEach(e=>{Object.assign(r,this.routingMap(n,{...t,router:e}))})}}return r}async routings(e,t){const n=t?.router??this.simOption.rootRouter;if(!n)throw new Error("no router");const r="object"==typeof n?n.constructor:n,i="object"==typeof n?n:void 0,a=new o.J({targetKeyType:r,originalType:r,value:i},this.simstanceManager),s=this._collectAllMatchingModules(a,e,[]),c=s.filter(t=>t.path===e.pathname&&t.module);if(c.length>0)return c.forEach(t=>this.subject.next({intent:e,routerManager:this,routerModule:t})),c;const u=s.filter(t=>t.path===e.pathname);return u.length>0?(u.forEach(t=>this.subject.next({intent:e,routerManager:this,routerModule:t})),u):[]}async routing(e,t){"string"==typeof e&&(e=new r.J(e));const n=t?.router??this.simOption.rootRouter;if(!n)throw new Error("no router");const i="object"==typeof n?n.constructor:n,a="object"==typeof n?n:void 0,s=new o.J({targetKeyType:i,originalType:i,value:a},this.simstanceManager),c=s.getValue(),u=this.getExecuteModule(s,e,[],t);if(u){const[t,n]=u;t.routerChains=n,this.activeRouterModule=t;const r={intent:e,routerModule:t,routerManager:this};if(n.length>0)for(let e=0;e<n.length;e++){const t=n[e],i=n[e+1],a=t.getValue();p.W.isCanActivate(a)&&i&&await a.canActivate(r,i.getValue()),p.W.isOnRouting(a)&&i&&await a.onRouting(r)}this.activeRouterModule=t;const i=t.getModuleInstance();if(t?.module){const e=t.router?.getValue();p.W.isCanActivate(e)&&await e.canActivate(r,i),p.W.isOnRouting(e)&&await e.onRouting(r),i&&p.W.isOnRouting(i)&&await i.onRouting(r)}else{const e=t.routerChains[t.routerChains.length-1],n=e?.getValue();p.W.isCanActivate(n)&&await n.canActivate(r,i),p.W.isOnRouting(n)&&await n.onRouting(r)}const a=this.activeRouterModule;return this.subject.next({intent:e,routerModule:a,routerManager:this}),a}{const t=await this._handleNotFoundRouting(c,e);return this.subject.next({intent:e,routerModule:t,routerManager:this}),t}}async _handleNotFoundRouting(e,t){const n=new i.i(this.simstanceManager,e,void 0,[]),r={intent:t,routerModule:n,routerManager:this},a=e;return p.W.isCanActivate(a)&&await a.canActivate(r,null),p.W.isOnRouting(a)&&await a.onRouting(r),this.activeRouterModule=n,this.activeRouterModule}getExecuteModule(e,t,n,r){const i=t.pathname,s=e.getConfig(a.sP);if(s){const c=[];if(Array.isArray(s.filters)?c.push(...s.filters):s.filters&&c.push(s.filters),c.some(e=>!1===("function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e)?.isAccept(t)))return;const u=n.map(e=>e.getConfig(a.sP)?.path||"");if(this.isRootUrl(s.path,u,i)){const i=[...n,e];if(s.routers&&s.routers.length>0){let e,n=-1;for(const a of s.routers){const s=new o.J({targetKeyType:a,originalType:a},this.simstanceManager),c=this.getExecuteModule(s,t,i,r);if(c){const[t,i]=c,a=t.path?.length||0;a>n?(n=a,e=c):a===n&&"last"===r?.find?.router&&(e=c)}}if(e)return e}const a=this.findRouterOrModule(e,s,u,t);if(a)return[a,i]}}}isRootUrl(e,t,n){const r=t.join("")+(e||"");if("/"===r)return!0;const i=r.split("/"),a=n.split("/").slice(0,i.length).join("/");return!!u.r.Path.pathNameData(a,r)}_collectAllMatchingModules(e,t,n){const r=[],i=t.pathname,s=e.getConfig(a.sP);if(s){const c=[];if(Array.isArray(s.filters)?c.push(...s.filters):s.filters&&c.push(s.filters),c.some(e=>!1===("function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e)?.isAccept(t)))return r;const u=n.map(e=>e.getConfig(a.sP)?.path||"");if(this.isRootUrl(s.path,u,i)){const i=[...n,e];if(s.routers&&s.routers.length>0)for(const e of s.routers){const n=new o.J({targetKeyType:e,originalType:e},this.simstanceManager);r.push(...this._collectAllMatchingModules(n,t,i))}const a=this.findRouterOrModule(e,s,u,t);a&&(a.routerChains=i,r.push(a))}}return r}findRouterOrModule(e,t,n,r){const a=this.findRouting(e,t,n,r);if(a?.module)return a.intent=r,a;const o=n.join("")+(t.path||"");if(this.isRootUrl(t.path,n,r.pathname)){const t=new i.i(this.simstanceManager,e);return t.intent=r,t.path=o,t.pathData=r.getPathnameData(o),t}}findRouting(e,t,n,r){const a=n.join("")+t.path;if(t.route)for(const n of Object.keys(t.route).filter(e=>!e.startsWith("_"))){const o=a+n,s=r.getPathnameData(o);if(s)try{const a=this.findRouteProperty(t.route,n,r),c=new i.i(this.simstanceManager,e,a.child);return c.data=a.data,c.path=o,c.pathData=s,c.propertyKeys=a.propertyKeys,c}catch(e){}}}findRouteProperty(e,t,n){let r,i,a;const o=e[t];if("function"==typeof o)r={targetKeyType:o,originalType:o};else if("symbol"==typeof o)r=this.simstanceManager.findLastSim(o)?.type;else{if("string"==typeof o)return this.findRouteProperty(e,o,n);if(Array.isArray(o)){const e=o?.[0];if("object"==typeof e&&"filters"in e&&"target"in e){const t=[];Array.isArray(e.filters)?t.push(...e.filters):e.filters&&t.push(e.filters),t.some(e=>!1===("function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e)?.isAccept(n))||(r={targetKeyType:e.target,originalType:e.target})}else r={targetKeyType:e,originalType:e};i=o?.[1]}else if("object"==typeof o&&"target"in o&&"propertyKeys"in o){const e=o.filters?.filter(e=>e).some(e=>!1===("function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e)?.isAccept(n));e||(r={targetKeyType:o.target,originalType:o.target},a=o.propertyKeys)}else if("object"==typeof o&&"filters"in o&&"target"in o){const e=[];Array.isArray(o.filters)?e.push(...o.filters):o.filters&&e.push(o.filters),e.some(e=>!1===("function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e)?.isAccept(n))||(r={targetKeyType:o.target,originalType:o.target})}}return{child:r,data:i,propertyKeys:a}}};f=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([c.on,function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",t)}(0,[s.T,l.t])],f)},420:(e,t,n)=>{n.d(t,{e:()=>i});var r=n(3966);class i extends r.W{constructor(e,t,n,r){super(e,t,r),this.propertyKeys=n}}},532:(e,t,n)=>{n.d(t,{r:()=>u});var r={3056:(e,t,n)=>{n.d(t,{$:()=>r});var r,i=n(9284);!function(e){e.deleteEnter=e=>e.replace(/\r?\n/g,""),e.pickEmoji=e=>e.match(/[\p{Emoji}]/gu)??[],e.regexExec=(e,t)=>{let n=e.exec(t);const r=[];for(;n;)r.push(n),n=e.exec(n.input);return r},e.regexExecArrayReplace=(t,n,r)=>((Array.isArray(n)?n:e.regexExec(n,t)).reverse().forEach(e=>{const n="string"==typeof r?r:r(e);t=t.substr(0,e.index)+t.substr(e.index).replace(e[0],n)}),t),e.escapeSpecialCharacterRegExp=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),e.trim=e=>e.trim(),e.rsubString=(e,t)=>e.substring(e.length-t,e.length),e.lsubString=(e,t)=>e.substring(0,t),e.lpad=(t,n,r)=>{for(;n>r.length;)r=t+r;return e.rsubString(r,n)},e.rpad=(t,n,r)=>{for(;n>r.length;)r+=t;return e.lsubString(r,n)},e.lappend=(e,t)=>{let n="",r=0;for(;r++<e;)n+=t;return n},e.unescape=e=>{if(!e)return"";const t={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿","#x27":"'"};return e.replace(/&((?:(?:[a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});?)+);/gi,(e,n)=>n.toLowerCase().split(";").map(n=>n in t?t[n]:e).join(""))},e.executeExpression=(e,t)=>e.replace(/\${([^{}]*)}/g,(e,n)=>String(t[n]??e)),e.ellipsis=(e,t)=>e.length>t?`${e.slice(0,t)}...`:e,e.appendPostposition=(e,{vowel:t,consonant:n})=>`${e}${i.U.lastConsonantLetter(e)?n:t}`}(r||(r={}))},9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};a.d(o,{r:()=>s});var s,c=a(3056);!function(e){let t,n;e.bindExpression=(e,t)=>(e??"").replace(/\$\{([\s\S.]*?)\}/g,(e,n)=>{const[r,i]=n.split(":"),a=t[r];return a?"function"==typeof a?a(t[i]):a:""}),function(e){e.isExpression=e=>/[$#]\{([\s\S.]*?)\}[$#]/g.test(e??""),e.expressionGroups=e=>c.$.regexExec(/[$#]\{([\s\S.]*?)\}[$#]/g,e??"")}(t=e.Group||(e.Group={})),function(e){e.pathNameData=(e,t)=>{const n=e.split("/"),r=t.split("/");if(n.length!==r.length)return;const i={};for(let e=0;e<r.length;e++){const t=r[e],a=n[e],o=/^\{(.+)\}$/g.exec(t);if(!o){if(t!==a)return;continue}const[s,c]=o[1].split(":");if(c&&!new RegExp(c).test(a))return;i[s]=a}return i}}(n=e.Path||(e.Path={}))}(s||(s={}));const u=o.r},653:(e,t,n)=>{n.d(t,{B:()=>u});var r={4817:(e,t,n)=>{n.d(t,{c:()=>i});var r=n(6038);class i{constructor(e){this._producerFunction=e}subscribe(e,t,n){const i={next:"object"==typeof e?e.next:e,error:"object"==typeof e?e.error:t,complete:"object"==typeof e?e.complete:n},a=new r.v({next:e=>{i.next?.(e)},error:e=>{i.error?.(e)},complete:()=>{i.complete?.()}});let o;this._producerFunction&&(o=this._producerFunction(a));let s=!1;return{get closed(){return s},unsubscribe:()=>{"function"==typeof o?o():o&&"function"==typeof o.unsubscribe&&o.unsubscribe(),s=!0}}}toPromise(){return new Promise((e,t)=>{let n,r;r=this.subscribe({next:e=>{n=e},error:e=>{t(e),r.unsubscribe()},complete:()=>{e(n),r.unsubscribe()}})})}pipe(...e){return 0===e.length?this:e.reduce((e,t)=>t(e),this)}}},6038:(e,t,n)=>{n.d(t,{v:()=>r});class r{constructor(e){this.destination=e,this.closed=!1}next(e){this.closed||this.destination.next(e)}error(e){this.closed||(this.closed=!0,this.destination.error(e),this.unsubscribe())}complete(){this.closed||(this.closed=!0,this.destination.complete(),this.unsubscribe())}unsubscribe(){this.closed=!0}}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};a.d(o,{B:()=>c});var s=a(4817);class c extends s.c{constructor(){super(e=>this._subscribeToSubject(e)),this._observers=new Set,this._isStopped=!1,this._hasError=!1}_subscribeToSubject(e){const t={next:e.next.bind(e),error:e.error.bind(e),complete:e.complete.bind(e)};if(this._isStopped)return this._hasError?t.error?.(this._error):t.complete?.(),{closed:!0,unsubscribe:()=>{}};this._observers.add(t);let n=!1;return{get closed(){return n},unsubscribe:()=>{this._observers.delete(t),n=!0}}}next(e){this._isStopped||this._observers.forEach(t=>{t.next?.(e)})}error(e){this._isStopped||(this._hasError=!0,this._error=e,this._isStopped=!0,this._observers.forEach(t=>t.error?.(e)),this._observers.clear())}complete(){this._isStopped||(this._isStopped=!0,this._observers.forEach(e=>e.complete?.()),this._observers.clear())}asObservable(){return new s.c(e=>this._subscribeToSubject(e))}}const u=o.B},742:(e,t,n)=>{n.d(t,{wB:()=>o}),n(6404),n(5053);var r,i,a={d:(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};a.d({},{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={})),function(e){e.Singleton="Singleton",e.Transient="Transient"}(i||(i={})),new Map,new Set;const o=Symbol("Sim");Symbol("PostConstruct")},970:(e,t,n)=>{n.d(t,{cI:()=>a,sP:()=>i});var r=n(5053);const i=Symbol("Router"),a=e=>{null!=e&&"object"==typeof e&&(e=e.constructor);try{return r.d.getMetadata(i,e)}catch(e){}};Symbol("RouteMetadataKey")},1252:(e,t,n)=>{n.d(t,{O:()=>l,n:()=>p});var r=n(2743),i=n(8259),a=n(742),o=n(9212),s=n(653),c=n(16),u=n(1448);const p=e=>"object"==typeof e&&"string"==typeof e.router&&"function"==typeof e.rootRouter;let l=class{constructor(e,t,n){this.simstanceManager=e,this.routerManager=t,this.simOption=n,this.subject=new s.B}get observable(){return this.subject.asObservable()}async publish(e,t){const n=[],i=p(e)?e.rootRouter:this.simOption.rootRouter,a="string"==typeof(e=p(e)?e.router:e)&&e.match(/^Router\((.+)\):\/(.*)$/);if(a&&"string"==typeof e){const o=a[1],s=a[2],c=(await this.routerManager.routing(o,{router:i})).getModuleInstance();c&&n.push(c),e=new r.J(s,t)}else"string"==typeof e&&(e=new r.J(e,t));let s=e;const c=[];a||(s.symbols?n.push(...s.symbols.map(e=>this.simstanceManager.findSims(e)).flat()):s.scheme?n.push(...this.simstanceManager.getSimConfig(s.scheme)):n.push(...this.simstanceManager.getSimAtomics()));const u=n.map(e=>e instanceof o.J?e.getValue():e);return this.subject.next(e),u.forEach(e=>{let t=e;if(t)if(s.paths.length>0){let e=t,n="";s.paths.filter(e=>e).forEach(r=>{e=t,t=t?.[r],n=r}),t&&"function"==typeof t?r.M.DATA_PARAMETERS===s.publishType?c.push(t.call(e,s.data)):r.M.INLINE_DATA_PARAMETERS===s.publishType?c.push(t.call(e,...s.data)):c.push(t.call(e,s)):t&&(e[n]=s.data,c.push(e[n]))}else r.M.DATA_PARAMETERS===s.publishType?c.push(t?.intentSubscribe?.(s.data)):r.M.INLINE_DATA_PARAMETERS===s.publishType?c.push(t?.intentSubscribe?.(...s.data)):c.push(t?.intentSubscribe?.(s))}),c}};l=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([a.on,function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",t)}(0,[i.T,c.p,u.t])],l)},1448:(e,t,n)=>{n.d(t,{t:()=>r});class r{constructor({rootRouter:e,container:t,cache:n,advice:r=[],proxy:i,using:a}={}){this.rootRouter=e,this.container=t,this.advice=r,this.proxy=i,this.using=a,this.cache=n}addAdvicce(e){this.advice??(this.advice=[]),this.advice.push(e)}setAdvice(...e){return this.advice=e,this}}},2018:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(3966);class i extends r.W{constructor(e,t,n){super(e,t,n)}}},2225:(e,t,n)=>{n.d(t,{j1:()=>i}),n(6404);const r=Symbol("Sim:NoProxy"),i=(e,t)=>null!=e&&!0===((e,t)=>{try{return void 0===t?Reflect.getMetadata(r,e):Reflect.getMetadata(r,e,t)}catch(e){return}})(e,t)},2482:(e,t,n)=>{n.d(t,{Mq:()=>c,_t:()=>a,tr:()=>o}),n(6404);var r,i=n(5053);!function(e){e.INDEX="SIMPLE_BOOT_CORE://Inject/INDEX"}(r||(r={}));class a{constructor({situationType:e,data:t,index:n}){this.situationType=e,this.data=t,this.index=n}}class o{constructor(e){this.containers=[],e&&this.containers.push(...e)}push(...e){this.containers.push(...e)}get length(){return this.containers.length}find(e,t){return this.containers.find(e)}}const s=Symbol("Inject"),c=(e,t)=>(null!=e&&void 0!==e&&"object"==typeof e&&(e=e.constructor),t?Reflect.getOwnMetadata(s,e,t):i.d.getMetadata(s,e)??[])},2743:(e,t,n)=>{n.d(t,{J:()=>a,M:()=>r});var r,i=n(532);!function(e){e.DATA_PARAMETERS="DATA_PARAMETERS",e.INLINE_DATA_PARAMETERS="INLINE_DATA_PARAMETERS"}(r||(r={}));class a{constructor(e,t,n){if(this.uri=e,this.data=t,this.event=n,this.sessionData=new Map,"string"==typeof e){const t=e.match(/^Symbol\.for\((.+)\):\/(.*)$/);if(t){const e=Symbol.for(t[1]);this.uri={symbol:e,uri:t[2]}}}}get symbols(){if("object"==typeof this.uri)return Array.isArray(this.uri.symbol)?this.uri.symbol:[this.uri.symbol]}get scheme(){if("string"==typeof this.uri){const e=this.uri.split("://");return e.length>1?e[0]:void 0}}get paths(){return this.pathname.split("/")??[]}get fullPath(){const e=("string"==typeof this.uri?this.uri:this.uri.uri).split("://");return e[e.length>=2?1:0]??""}get pathname(){return this.fullPath.split("?")[0]}get query(){return this.fullPath.split("?")[1]??""}get queryParams(){const e={};return this.query.split("&")?.forEach(t=>{const n=t.split("=");e[n[0]]=n[1]}),e}get queryParamsAfterDecodeURI(){const e=this.queryParams;for(const t in e)e.hasOwnProperty(t)&&(e[t]=decodeURIComponent(e[t]));return e}getPathnameData(e){return i.r.Path.pathNameData(this.pathname,e)}get isSymbolScheme(){return void 0!==this.symbols}}},3605:(e,t,n)=>{n.d(t,{i:()=>i}),n(6404);class r{constructor(e,t){this.target=e,this.metaData=t}}class i extends r{constructor(e,t,n,r){super(e,t),this.property=n,this.parameter=r}call(...e){return this.target[this.property](...e)}}},3896:(e,t,n)=>{n.d(t,{I:()=>r});const r=e=>"function"==typeof e?.onSimCreateProxyCompleted},3966:(e,t,n)=>{n.d(t,{W:()=>r});class r{constructor(e,t,n){this.message=e,this.name=t,this.stack=n}}},4209:(e,t,n)=>{var r;n.d(t,{W:()=>r}),function(e){e.isCanActivate=e=>"function"==typeof e?.canActivate,e.isOnRouting=e=>"function"==typeof e?.onRouting,e.isHasActivate=e=>"function"==typeof e?.hasActivate}(r||(r={}))},4297:(e,t,n)=>{n.d(t,{P:()=>r});const r=e=>"function"==typeof e?.onSimCreate},4642:(e,t,n)=>{n.d(t,{B:()=>p}),n(6404);var r=n(8259),i=n(1448),a=n(1252),o=n(16),s=n(2743),c=n(2018),u=n(742);class p{constructor(e=new i.t){this.option=e,this.simstanceManager=new r.T(this,e),this.simstanceManager.setStoreSet(r.T,this.simstanceManager),this.routerManager=this.simstanceManager.proxy(new o.p(this.simstanceManager,e)),this.intentManager=this.simstanceManager.proxy(new a.O(this.simstanceManager,this.routerManager,e)),this.simstanceManager.setStoreSet(a.O,this.intentManager),this.simstanceManager.setStoreSet(o.p,this.routerManager),u.l8.add(this)}getSimstanceManager(){return this.simstanceManager}getIntentManager(){return this.intentManager}getRouterManager(){return this.routerManager}run(e){return this.simstanceManager.run(e),this.simstanceManager}simAtomic(e){return"symbol"==typeof e?this.simstanceManager.findFirstSim(e):"function"==typeof e?this.simstanceManager.findFirstSim({type:e}):void 0}simAtomics(e){return"symbol"==typeof e?this.simstanceManager.findSims(e)??[]:"function"==typeof e?this.simstanceManager.findSims({type:e})??[]:[]}getInstance(e){const t=this.sim(e);if(t)return t;throw new c.C("SimNoSuch: no simple instance(getInstance) name:"+e?.prototype?.constructor?.name+","+e)}sim(e){return this.simAtomic(e)?.getValue()}sims(e){return this.simAtomics(e).map(e=>e.getValue())}addSim(e,t){const n=(0,u.on)(e);"function"==typeof n&&t&&n(t)}publishIntent(e,t){return e instanceof s.J?this.intentManager.publish(e):((0,a.n)(e),this.intentManager.publish(e,t))}routing(e,t){if(e instanceof s.J)return this.routerManager.routing(e,t);if("string"==typeof e){const n=new s.J(e);return this.routerManager.routing(n,t)}{const n=new s.J(e.path,e.data);return this.routerManager.routing(n,t)}}}},4647:(e,t,n)=>{n.d(t,{i:()=>c});var r=n(9212),i=n(5846),a=n(420),o=n(970),s=n(532);class c{get path(){return this._path}set path(e){this._path=e}get data(){return this._data}set data(e){this._data=e}get intent(){return this._intent}set intent(e){this._intent=e}get propertyKeys(){return this._propertyKeys}set propertyKeys(e){this._propertyKeys=e}get pathData(){return this._pathData}set pathData(e){this._pathData=e}constructor(e,t,n,r=[]){this.simstanceManager=e,this.router=t,this.module=n,this.routerChains=r}getRouterPath(e=""){return this.getRouterPaths().map(e=>e??"").join(e)}getRouterPaths(){return this.routerChains.map(e=>(0,o.cI)(e instanceof r.J?e.type.targetKeyType:e)?.path)}getRouterPathData(e){return s.r.Path.pathNameData(e,this.getRouterPath())}getModuleInstance(e,t=!0){const n=this.simstanceManager.getOrNewSim({target:this.module?.targetKeyType,originTypeTarget:this.module?.originalType});if(e&&this.propertyKeys&&this.propertyKeys.includes(e)){let r=n[e];return t&&"boolean"==typeof t?r=r.bind(n):t&&"object"==typeof t&&(r=r.bind(t)),r}return n}executeModuleProperty(e,...t){const n=this.getModuleInstance();if(e){if((0,i.A)(n,e)){const r=new Map;return t.forEach(e=>r.set(e.constructor,e)),this.simstanceManager.executeBindParameterSim({target:n,targetKey:e},r)}if(n[e])return n[e]?.(...t);throw new a.e(`${e.toString()} noSuch`,e.toString(),e)}}get firstRouteChain(){return this.routerChains[0]}get firstRouteChainValue(){return this.firstRouteChain.getValue()}get lastRouteChain(){return this.routerChains[this.routerChains.length-1]}get lastRouteChainValue(){return this.lastRouteChain.getValue()}hasActivateInLastRoute(e){return!0===this.lastRouteChainValue?.hasActivate(e)}get queryParams(){if(this.intent)return this.intent.queryParams}get queryParamsAfterDecodeURI(){if(this.intent)return this.intent.queryParamsAfterDecodeURI}}},5053:(e,t,n)=>{n.d(t,{d:()=>c});var r={9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t=N(e,i);if(void 0!==t){var n=t.call(e,"string");if(S(n))throw new TypeError;return n}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o,s={};a.d(s,{d:()=>o}),a(9771),function(e){e.getParameterTypes=(e,t)=>t?Reflect.getMetadata("design:paramtypes",e,t)||[]:Reflect.getMetadata("design:paramtypes",e)||[],e.getReturnType=(e,t)=>Reflect.getMetadata("design:returntype",e,t),e.getType=(e,t)=>t?Reflect.getMetadata("design:type",e,t):Reflect.getMetadata("design:type",e),e.getMetadata=(e,t,n)=>n?Reflect.getMetadata(e,t,n):Reflect.getMetadata(e,t),e.getMetadataKeys=e=>Reflect.getMetadataKeys(e),e.getOwnMetadata=(e,t,n)=>n?Reflect.getOwnMetadata(e,t,n):Reflect.getOwnMetadata(e,t),e.getMetadatas=t=>e.getMetadataKeys(t).map(n=>e.getMetadata(n,t)),e.metadata=(e,t)=>Reflect.metadata(e,t),e.defineMetadata=(e,t,n,r)=>{r&&Reflect.defineMetadata?Reflect.defineMetadata(e,t,n,r):Reflect.defineMetadata&&Reflect.defineMetadata(e,t,n)}}(o||(o={}));const c=s.d},5846:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(5053);const i=Symbol("Injection"),a=(e,t)=>r.d.getMetadata(i,e,t)},6165:(e,t,n)=>{n.d(t,{Ss:()=>u,to:()=>p}),n(6404);var r=n(5053),i=n(3605),a=n(7441);const o=Symbol("After"),s=Symbol("Before"),c=(Symbol("Around"),e=>a.B.allProtoTypeName(e).map(t=>new i.i(e,((e,t)=>r.d.getMetadata(o,e,t))(e,t),t)).filter(e=>void 0!==e.metaData)||[]),u=(e,t,n)=>c(e).filter(e=>t===e.metaData?.property&&n===e.metaData.type?.prototype)||[],p=(e,t,n)=>(e=>a.B.allProtoTypeName(e).map(t=>new i.i(e,((e,t)=>r.d.getMetadata(s,e,t))(e,t),t)).filter(e=>void 0!==e.metaData)||[])(e).filter(e=>t===e.metaData?.property&&n===e.metaData.type?.prototype)||[]},6404:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t="string",n=N(e,i);if(void 0!==n){var r=n.call(e,t);if(S(r))throw new TypeError;return r}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))},6622:(e,t,n)=>{n.d(t,{e:()=>s});var r=n(6165),i=n(7441),a=n(8537),o=n(2482);class s{constructor(e,t,n){this.simpleApplication=e,this.simstanceManager=t,this.simOption=n}get(e,t){return"_SimpleBoot_application"===t?this.simpleApplication:"_SimpleBoot_simstanceManager"===t?this.simstanceManager:"_SimpleBoot_simOption"===t?this.simOption:e[t]}set(e,t,n,r){return n=this.simstanceManager?.proxy(n),e[t]=n,!0}apply(e,t,n){let r;try{this.aopBefore(t,e);try{r=Reflect.apply(e,t,n)}catch(e){throw e}finally{this.aopAfter(t,e)}}catch(r){console.error(r);const i=this.getExceptionHandler(r,t,e);if(!(i.length>0&&i[0]))throw r;{const e=i[0];this.executeExceptionHandler(r,e,n)}}return r}executeExceptionHandler(e,t,n){const r=new Map;r.set(e.constructor,e);const i=new o._t({situationType:a.W$.ERROR_OBJECT,data:e}),s=new o._t({situationType:a.W$.PARAMETER,data:n});r.set(o.tr,new o.tr([i,s])),n?.forEach(e=>{r.set(e.constructor,e)});try{this.simstanceManager.executeBindParameterSim({target:t.thisArg,targetKey:t.config.propertyKey},r)}catch(t){e=t}if(t.config.config.throw){const r=this.getExceptionHandler(e,t.thisArg,t.config.method);(r?.length??0)>0&&this.executeExceptionHandler(e,r[0],n)}}getExceptionHandler(e,t,n){const r=this.simOption.advice.map(e=>this.simstanceManager?.getOrNewSim({target:e})).filter(e=>e).map(t=>({thisArg:t,config:(0,a.v0)(t,e,[n])}))??[];return[{thisArg:t,config:(0,a.v0)(t,e,[n])},...r].filter(e=>e&&e.config)}aopBefore(e,t){const n=i.B.prototypeName(e,t);if(n&&e){(0,r.to)(e,n).forEach(r=>{r.call(e,t,n)});for(let i=0;i<this.simOption.advice.length;i++){const a=this.simstanceManager?.getOrNewSim({target:this.simOption.advice[i]});(0,r.to)(a,n,Object.getPrototypeOf(e)).forEach(r=>{r.call(e,t,n)})}}}aopAfter(e,t){const n=i.B.prototypeName(e,t);if(n){(0,r.Ss)(e,n).forEach(r=>{r.call(e,t,n)});for(let i=0;i<this.simOption.advice.length;i++){const a=this.simstanceManager?.getOrNewSim({target:this.simOption.advice[i]});(0,r.Ss)(a,n,Object.getPrototypeOf(e)).forEach(r=>{r.call(e,t,n)})}}}has(e,t){return"isProxy"===t||t in e}}},7441:(e,t,n)=>{n.d(t,{B:()=>p});var r={7855:(e,t,n)=>{n.d(t,{O:()=>r});const r=e=>null!=e},9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};a.d(o,{B:()=>s});var s,c=a(7855),u=a(9284);!function(e){let t,n;e.constructorName=e=>e&&e.constructor&&e.constructor.name?e.constructor.name:e&&e.name?e.name:void 0,e.deepCopy=e=>e instanceof Map?new Map(JSON.parse(JSON.stringify(Array.from(e.entries())))):e instanceof Set?new Set(JSON.parse(JSON.stringify(Array.from(e.values())))):u.U.isNullOrUndefined(e)?e:JSON.parse(JSON.stringify(e)),e.allProtoTypeName=(t,n)=>{let r=[];if(t){const i=Object.getPrototypeOf(t);i&&(r=Object.keys(i)||[]).length>0&&(r=r.concat(e.allProtoTypeName(i,n)))}let i=r.filter(e=>"constructor"!==e);if(n&&t){const e=Object.getPrototypeOf(t);i=i.filter(t=>n(t,e?.[t]))}return i},e.uniqueKeys=e=>Array.from(new Set((Array.isArray(e)?e:[e]).flatMap(e=>Object.keys(e)))),e.ownPropertyNames=e=>{const t=[];if(e)if(e.prototype)t.push(...Object.getOwnPropertyNames(Object.getPrototypeOf(e)));else{const n=Object.getPrototypeOf(e);t.push(...Object.getOwnPropertyNames(n))}return t.filter(e=>"constructor"!==e)},e.protoTypeName=e=>{let t=[];if(e){const n=Object.getPrototypeOf(e);t=Object.keys(n)||[]}return t.filter(e=>"constructor"!==e)},e.protoTypes=e=>{const t=[];if(e){const n=Object.getPrototypeOf(e);(Object.keys(n)||[]).filter(e=>"constructor"!==e).forEach(e=>{t.push(n[e])})}return t},e.seal=e=>Object.seal(e),e.isPrototypeOfTarget=(e,t)=>!(!e||!t)&&Object.prototype.isPrototypeOf.call(e.prototype,t),e.prototypeOfDepth=(e,t)=>{let n=e;const r=[];if(t)do{if(n=Object.getPrototypeOf(n),n?.constructor===t)break;r.push(n)}while(n);return r},e.allProtoType=e=>{const t=(e,n=[])=>(e.prototype&&(n.push(e),t(Object.getPrototypeOf(e),n)),n);return t(e)},e.prototypeOf=e=>Object.getPrototypeOf(e),e.prototypeKeyMap=e=>{const t=new Map;if(e){const n=Object.getPrototypeOf(e);(Object.keys(n)||[]).filter(e=>"constructor"!==e).forEach(e=>{t.set(n[e],e)})}return t},e.prototypeName=(t,n)=>e.prototypeKeyMap(t).get(n),e.pickRandomKey=e=>{const t=Object.keys(e);return t[Math.floor(Math.random()*t.length)]},e.pickRandomValue=e=>{const t=Object.keys(e);return e[t[Math.floor(Math.random()*t.length)]]},e.pickRandomKeyValue=e=>{const t=Object.keys(e),n=t[Math.floor(Math.random()*t.length)];return{key:n,value:e[n]}},e.keyValues=e=>Object.keys(e).map(t=>({key:t,value:e[t]})),e.entries=e=>Object.entries(e),e.values=e=>Object.values(e),e.keys=e=>Object.keys(e),e.keyLength=t=>e.keys(t).length,e.toDeleteUndefinedAndNull=(e,t)=>{const n=e=>Array.isArray(e)?e.filter(e=>null!=e).map(n):e&&"object"==typeof e?t?.deep?Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t).map(([e,t])=>[e,n(t)])):Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t)):e;return n(e)},function(e){e.isFunctionScript=e=>e.trim().startsWith("function"),e.isArrowFunctionScript=e=>/^\s*\([^)]*\)\s*=>/.test(e),e.toOptionalChainPath=t=>{if(!t)return"";if(t.trim().startsWith("{")&&t.trim().endsWith("}"))return t;if(e.isFunctionScript(t)||e.isArrowFunctionScript(t))return t;if(t.includes(" ? ")&&t.includes(" : ")){const e=t.split(/(\s+\?\s+|\s+:\s+)/).map((e,t)=>{if(0===t){const t=e.match(/[^?.[\]]+|\[[^\]]*\]/g);if(t&&t.length>1)return t.join("?.")}return e});return e.join("")}if(t.includes("(")){const n=[];let r=t,i=0;const a=/(\w+)\(([^()]*(?:\([^()]*\)[^()]*)*)\)/g;let o;for(;null!==(o=a.exec(t));){const t=o[0],a=o[1],s=o[2],c=`__FUNC_CALL_${i}__`,u=`${a}?.(${s?e.toOptionalChainPath(s):""})`;n.push({original:t,processed:u,placeholder:c}),r=r.replace(t,c),i++}const s=r.match(/[^?.[\]]+|\[[^\]]*\]/g);let c="";c=s&&s.length>1?s.join("?."):r;for(const e of n)c=c.replace(e.placeholder,e.processed);return c}const n=t.match(/[^?.[\]]+|\[[^\]]*\]/g);return n?n.join("?."):t},e.removeOptionalChainOperator=e=>e?e.replace(/\?\./g,".").replace(/\.\[/g,"["):"";const t=e=>{const t=[],n=/\.([^.\[]+)|\[(\d+)\]|\[(['"])(.*?)\3\]/g;let r,i=0;const a=e.match(n);if(a&&(a?.index??0)>0)t.push(e.substring(0,a.index)),i=a.index;else if(!a&&e.length>0)return t.push(e),t;for(;null!==(r=n.exec(e));){if(r.index>i){const n=e.substring(i,r.index);n.startsWith(".")?t.push(n.substring(1)):t.push(n)}r[1]?t.push(r[1]):r[2]?t.push(parseInt(r[2],10)):r[4]&&t.push(r[4]),i=n.lastIndex}if(i<e.length){const n=e.substring(i);n.startsWith(".")?t.push(n.substring(1)):t.push(n)}return t};e.to=t=>{const n={};return Object.entries(t).forEach(([t,r])=>{e.set(n,t,r)}),n},e.set=(e,n,r)=>{const i=t(n);let a=e;for(let e=0;e<i.length;e++){const t=i[e];if(e===i.length-1)a[t]=r;else{const n=i[e+1];if("number"==typeof n){if(Array.isArray(a[t])||(a[t]=[]),Array.isArray(a[t]))for(;a[t].length<=n;)a[t].push({})}else"object"==typeof a[t]&&null!==a[t]||(a[t]={});a=a[t]}}},e.get=(e,n,r)=>{const i=t(n);let a=e;for(let e=0;e<i.length;e++){const t=i[e];if(null==a)return r;if("object"!=typeof a||null===a||!(t in a))return r;a=a[t]}return a},e.deletePath=(e,n)=>{const r=t(n);if(0===r.length)return!1;let i=e;for(let e=0;e<r.length-1;e++){const t=r[e];if(null==i)return!1;if("object"!=typeof i||null===i||!(t in i))return!1;i=i[t]}const a=r[r.length-1];return null!==i&&"object"==typeof i&&a in i&&(Array.isArray(i)&&"number"==typeof a?i.splice(a,1):delete i[a],!0)},e.availablePath=(e,t)=>{const n=[],r=e=>"number"==typeof e?"["+e+"]":/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)?e:"['"+e+"']",i=(e,a,o)=>{null!==e&&"object"==typeof e&&(o.has(e)||(o.add(e),Array.isArray(e)?e.forEach((e,s)=>{const c=r(s),u=a?`${a}${c}`:c;t&&!t(u,e)||n.push(u),i(e,u,o)}):Object.keys(e).forEach(s=>{const c=r(s);let u;u=c.startsWith("[")?a?`${a}${c}`:c:a?`${a}.${c}`:c,t&&!t(u,e[s])||n.push(u),i(e[s],u,o)})))};return i(e,"",new Set),n},e.detectPathFromScript=(e,t)=>{const n=new Set;class r{constructor(e){this.prefix=e,this.usingVars=n}set(e,t,n,r){return!0}get(e,t,n){if("symbol"==typeof t)return this.createSafeProxy(this.prefix);let r;const i=String(t);return r=isNaN(Number(i))?this.prefix?`${this.prefix}.${i}`:i:this.prefix?`${this.prefix}[${i}]`:i,r&&this.usingVars.add(r),this.createSafeProxy(r)}apply(e,t,n){return this.createSafeProxy(this.prefix)}createSafeProxy(e){const t=new r(e);return new Proxy(()=>{},{get:(n,r,i)=>r===Symbol.toPrimitive?()=>"":"valueOf"===r?()=>t.createSafeProxy(e):"toString"===r?()=>"":t.get(n,r,i),set:t.set.bind(t),apply:t.apply.bind(t)})}}const i={window:new Proxy(()=>{},new r("window")),document:new Proxy(()=>{},new r("document")),console:new Proxy(()=>{},new r("console"))},a=new Proxy(()=>{},new r("this"));try{new Function("window","document","console",`"use strict"; ${e}; `).call(a,i.window,i.document,i.console)}catch(e){console.error("detectPathFromScript error:",e)}if(t?.excludeThis){const e=new Set;return n.forEach(t=>{"this"!==t&&(t.startsWith("this.")?e.add(t.substring(5)):e.add(t))}),e}return n}}(t=e.Path||(e.Path={})),e.toDeleteKey=(t,n)=>{const r={...t};return e.deleteKey(r,n),r},e.deleteKey=(e,t)=>{t.filter(e=>(0,c.O)(e)).forEach(t=>{delete e[t]})},function(e){e.evalReturn=(t,n={})=>{let r="",i="";return"object"==typeof t?(r=t.bodyScript,i=t.returnScript):i=t,e.eval(`${r}; return ${i} `,n)},e.eval=(e,t={})=>{try{return Function(`"use strict"; ${e} `).bind(t)()}catch(t){return console.error("eval error",t),void console.error(e)}}}(n=e.Script||(e.Script={}))}(s||(s={}));const p=o.B},8259:(e,t,n)=>{n.d(t,{T:()=>S}),n(6404);var r=n(9492),i=n(2018),a=n(742),o=n(7441),s=n(9212),c=n(5053),u=n(2482),p=n(1448),l=n(6622),d={2676:(e,t,n)=>{n.d(t,{B:()=>r});var r,i=n(7855),a=n(9284);!function(e){let t,n;e.constructorName=e=>e&&e.constructor&&e.constructor.name?e.constructor.name:e&&e.name?e.name:void 0,e.deepCopy=e=>e instanceof Map?new Map(JSON.parse(JSON.stringify(Array.from(e.entries())))):e instanceof Set?new Set(JSON.parse(JSON.stringify(Array.from(e.values())))):a.U.isNullOrUndefined(e)?e:JSON.parse(JSON.stringify(e)),e.allProtoTypeName=(t,n)=>{let r=[];if(t){const i=Object.getPrototypeOf(t);i&&(r=Object.keys(i)||[]).length>0&&(r=r.concat(e.allProtoTypeName(i,n)))}let i=r.filter(e=>"constructor"!==e);if(n&&t){const e=Object.getPrototypeOf(t);i=i.filter(t=>n(t,e?.[t]))}return i},e.uniqueKeys=e=>Array.from(new Set((Array.isArray(e)?e:[e]).flatMap(e=>Object.keys(e)))),e.ownPropertyNames=e=>{const t=[];if(e)if(e.prototype)t.push(...Object.getOwnPropertyNames(Object.getPrototypeOf(e)));else{const n=Object.getPrototypeOf(e);t.push(...Object.getOwnPropertyNames(n))}return t.filter(e=>"constructor"!==e)},e.protoTypeName=e=>{let t=[];if(e){const n=Object.getPrototypeOf(e);t=Object.keys(n)||[]}return t.filter(e=>"constructor"!==e)},e.protoTypes=e=>{const t=[];if(e){const n=Object.getPrototypeOf(e);(Object.keys(n)||[]).filter(e=>"constructor"!==e).forEach(e=>{t.push(n[e])})}return t},e.seal=e=>Object.seal(e),e.isPrototypeOfTarget=(e,t)=>!(!e||!t)&&Object.prototype.isPrototypeOf.call(e.prototype,t),e.prototypeOfDepth=(e,t)=>{let n=e;const r=[];if(t)do{if(n=Object.getPrototypeOf(n),n?.constructor===t)break;r.push(n)}while(n);return r},e.allProtoType=e=>{const t=(e,n=[])=>(e.prototype&&(n.push(e),t(Object.getPrototypeOf(e),n)),n);return t(e)},e.prototypeOf=e=>Object.getPrototypeOf(e),e.prototypeKeyMap=e=>{const t=new Map;if(e){const n=Object.getPrototypeOf(e);(Object.keys(n)||[]).filter(e=>"constructor"!==e).forEach(e=>{t.set(n[e],e)})}return t},e.prototypeName=(t,n)=>e.prototypeKeyMap(t).get(n),e.pickRandomKey=e=>{const t=Object.keys(e);return t[Math.floor(Math.random()*t.length)]},e.pickRandomValue=e=>{const t=Object.keys(e);return e[t[Math.floor(Math.random()*t.length)]]},e.pickRandomKeyValue=e=>{const t=Object.keys(e),n=t[Math.floor(Math.random()*t.length)];return{key:n,value:e[n]}},e.keyValues=e=>Object.keys(e).map(t=>({key:t,value:e[t]})),e.entries=e=>Object.entries(e),e.values=e=>Object.values(e),e.keys=e=>Object.keys(e),e.keyLength=t=>e.keys(t).length,e.toDeleteUndefinedAndNull=(e,t)=>{const n=e=>Array.isArray(e)?e.filter(e=>null!=e).map(n):e&&"object"==typeof e?t?.deep?Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t).map(([e,t])=>[e,n(t)])):Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t)):e;return n(e)},function(e){e.isFunctionScript=e=>e.trim().startsWith("function"),e.isArrowFunctionScript=e=>/^\s*\([^)]*\)\s*=>/.test(e),e.toOptionalChainPath=t=>{if(!t)return"";if(t.trim().startsWith("{")&&t.trim().endsWith("}"))return t;if(e.isFunctionScript(t)||e.isArrowFunctionScript(t))return t;if(t.includes(" ? ")&&t.includes(" : ")){const e=t.split(/(\s+\?\s+|\s+:\s+)/).map((e,t)=>{if(0===t){const t=e.match(/[^?.[\]]+|\[[^\]]*\]/g);if(t&&t.length>1)return t.join("?.")}return e});return e.join("")}if(t.includes("(")){const n=[];let r=t,i=0;const a=/(\w+)\(([^()]*(?:\([^()]*\)[^()]*)*)\)/g;let o;for(;null!==(o=a.exec(t));){const t=o[0],a=o[1],s=o[2],c=`__FUNC_CALL_${i}__`,u=`${a}?.(${s?e.toOptionalChainPath(s):""})`;n.push({original:t,processed:u,placeholder:c}),r=r.replace(t,c),i++}const s=r.match(/[^?.[\]]+|\[[^\]]*\]/g);let c="";c=s&&s.length>1?s.join("?."):r;for(const e of n)c=c.replace(e.placeholder,e.processed);return c}const n=t.match(/[^?.[\]]+|\[[^\]]*\]/g);return n?n.join("?."):t},e.removeOptionalChainOperator=e=>e?e.replace(/\?\./g,".").replace(/\.\[/g,"["):"";const t=e=>{const t=[],n=/\.([^.\[]+)|\[(\d+)\]|\[(['"])(.*?)\3\]/g;let r,i=0;const a=e.match(n);if(a&&(a?.index??0)>0)t.push(e.substring(0,a.index)),i=a.index;else if(!a&&e.length>0)return t.push(e),t;for(;null!==(r=n.exec(e));){if(r.index>i){const n=e.substring(i,r.index);n.startsWith(".")?t.push(n.substring(1)):t.push(n)}r[1]?t.push(r[1]):r[2]?t.push(parseInt(r[2],10)):r[4]&&t.push(r[4]),i=n.lastIndex}if(i<e.length){const n=e.substring(i);n.startsWith(".")?t.push(n.substring(1)):t.push(n)}return t};e.to=t=>{const n={};return Object.entries(t).forEach(([t,r])=>{e.set(n,t,r)}),n},e.set=(e,n,r)=>{const i=t(n);let a=e;for(let e=0;e<i.length;e++){const t=i[e];if(e===i.length-1)a[t]=r;else{const n=i[e+1];if("number"==typeof n){if(Array.isArray(a[t])||(a[t]=[]),Array.isArray(a[t]))for(;a[t].length<=n;)a[t].push({})}else"object"==typeof a[t]&&null!==a[t]||(a[t]={});a=a[t]}}},e.get=(e,n,r)=>{const i=t(n);let a=e;for(let e=0;e<i.length;e++){const t=i[e];if(null==a)return r;if("object"!=typeof a||null===a||!(t in a))return r;a=a[t]}return a},e.deletePath=(e,n)=>{const r=t(n);if(0===r.length)return!1;let i=e;for(let e=0;e<r.length-1;e++){const t=r[e];if(null==i)return!1;if("object"!=typeof i||null===i||!(t in i))return!1;i=i[t]}const a=r[r.length-1];return null!==i&&"object"==typeof i&&a in i&&(Array.isArray(i)&&"number"==typeof a?i.splice(a,1):delete i[a],!0)},e.availablePath=(e,t)=>{const n=[],r=e=>"number"==typeof e?"["+e+"]":/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)?e:"['"+e+"']",i=(e,a,o)=>{null!==e&&"object"==typeof e&&(o.has(e)||(o.add(e),Array.isArray(e)?e.forEach((e,s)=>{const c=r(s),u=a?`${a}${c}`:c;t&&!t(u,e)||n.push(u),i(e,u,o)}):Object.keys(e).forEach(s=>{const c=r(s);let u;u=c.startsWith("[")?a?`${a}${c}`:c:a?`${a}.${c}`:c,t&&!t(u,e[s])||n.push(u),i(e[s],u,o)})))};return i(e,"",new Set),n},e.detectPathFromScript=(e,t)=>{const n=new Set;class r{constructor(e){this.prefix=e,this.usingVars=n}set(e,t,n,r){return!0}get(e,t,n){if("symbol"==typeof t)return this.createSafeProxy(this.prefix);let r;const i=String(t);return r=isNaN(Number(i))?this.prefix?`${this.prefix}.${i}`:i:this.prefix?`${this.prefix}[${i}]`:i,r&&this.usingVars.add(r),this.createSafeProxy(r)}apply(e,t,n){return this.createSafeProxy(this.prefix)}createSafeProxy(e){const t=new r(e);return new Proxy(()=>{},{get:(n,r,i)=>r===Symbol.toPrimitive?()=>"":"valueOf"===r?()=>t.createSafeProxy(e):"toString"===r?()=>"":t.get(n,r,i),set:t.set.bind(t),apply:t.apply.bind(t)})}}const i={window:new Proxy(()=>{},new r("window")),document:new Proxy(()=>{},new r("document")),console:new Proxy(()=>{},new r("console"))},a=new Proxy(()=>{},new r("this"));try{new Function("window","document","console",`"use strict"; ${e}; `).call(a,i.window,i.document,i.console)}catch(e){console.error("detectPathFromScript error:",e)}if(t?.excludeThis){const e=new Set;return n.forEach(t=>{"this"!==t&&(t.startsWith("this.")?e.add(t.substring(5)):e.add(t))}),e}return n}}(t=e.Path||(e.Path={})),e.toDeleteKey=(t,n)=>{const r={...t};return e.deleteKey(r,n),r},e.deleteKey=(e,t)=>{t.filter(e=>(0,i.O)(e)).forEach(t=>{delete e[t]})},function(e){e.evalReturn=(t,n={})=>{let r="",i="";return"object"==typeof t?(r=t.bodyScript,i=t.returnScript):i=t,e.eval(`${r}; return ${i} `,n)},e.eval=(e,t={})=>{try{return Function(`"use strict"; ${e} `).bind(t)()}catch(t){return console.error("eval error",t),void console.error(e)}}}(n=e.Script||(e.Script={}))}(r||(r={}))},3205:(e,t,n)=>{n.d(t,{O:()=>a});var r=n(7553),i=n(9244);class a extends r.M{constructor(e){super(),this.volume=0,this.mass=0,this.e=0,this.rotate=0,this.width=0,this.height=0,this.transform=[1,0,0,1,0,0],this.color={r:0,g:0,b:0,a:255},this.updateObjWithDefaults(e)}copyObj(){return new a({x:this.x,y:this.y,z:this.z,volume:this.volume,mass:this.mass,e:this.e,rotate:this.rotate,width:this.width,height:this.height,transform:[...this.transform],color:{...this.color},data:{...this.data}})}updateObjWithDefaults(e){if(e){this.x=e.x??this.x,this.y=e.y??this.y,this.z=e.z??this.z,this.volume=e.volume??this.volume,this.mass=e.mass??this.mass,this.e=e.e??this.e,this.rotate=e.rotate??this.rotate,this.width=e.width??this.width,this.height=e.height??this.height,this.transform=[...e.transform??this.transform],this.color={...e.color??this.color};const t=e.data??this.data;this.data=t?{...t}:void 0}}setObj(e){if(e){this.x=e.x??0,this.y=e.y??0,this.z=e.z??0,this.volume=e.volume??0,this.mass=e.mass??0,this.e=e.e??0,this.rotate=e.rotate??0,this.width=e.width??0,this.height=e.height??0,this.transform=[...e.transform??[1,0,0,1,0,0]],this.color={...e.color??{r:0,g:0,b:0,a:255}};const t=e.data;this.data=t?{...t}:void 0}}toRect(){return new i.r(this.x,this.y,this.width,this.height)}}},3599:(e,t,n)=>{n.d(t,{z:()=>r});var r,i=n(8741),a=n(7553),o=n(3205),s=n(4068);!function(e){e.getMinByObjectArray=(e,t)=>{let n;if(t&&e&&e.length>0){n=e[0][t];for(let r=1;r<e.length;r++)n=Math.min(n,e[r][t])}return n},e.hypot=(...e)=>Math.hypot(...e),e.pythagorean=(e,t)=>Math.sqrt(e*e+t*t),e.getMaxByObjectArray=(e,t)=>{let n;if(t&&e&&e.length>0){n=e[0][t];for(let r=1;r<e.length;r++)n=Math.max(n,e[r][t])}return n},e.sum=e=>e.reduce((e,t)=>e+t,0),e.avg=t=>t.length>0?e.sum(t)/t.length:0,e.minMax=(e,t)=>Math.min(Math.max(e,t.min),t.max),e.max=e=>e.length>0?Math.max(...e):void 0,e.min=e=>e.length>0?Math.min(...e):void 0,e.getSumByObjectArray=(e,t)=>{let n=0;if(t&&e&&e.length>0)for(let r=0;r<e.length;r++)n+=e[r][t];return n},e.radians=(e,{type:t="degreeAngle"})=>"ratio"===t?2*e*Math.PI:"percent"===t?e/100*2*Math.PI:e/180*Math.PI,e.degrees=(e,{type:t="degreeAngle"})=>"ratio"===t?360*e:"percent"===t?e/100*360:180*e/Math.PI,e.ratio=(e,t,n=1)=>n*(t/e),e.getBetweenLength=(e,t)=>t-e,e.getPercentByTotal=(e,t)=>t/e*100,e.getRatioByTotal=(e,t)=>t/e,e.getValueByTotalInPercent=(e,t)=>e*t/100,e.getValueByTotalInRatio=(e,t)=>e*t,e.getValuePercentUp=(e,t)=>e*(1+t/100),e.getValueRatioUp=(e,t)=>e*(1+t),e.getValuePercentDown=(e,t)=>e*(1-t/100),e.getValueRatioDown=(e,t)=>e*(1-t),e.beziers=(t,n)=>{const r=new Array(n).fill(void 0);for(let i=0;i<r.length;i++)r[i]=e.bezier(t,n,i);return r},e.bezier=(t,n,r)=>{if(t&&t.length>0){const o=t.map(e=>new a.M(e.x,e.y,e.z)),s=[];return o.reduce((e,t)=>{const i=e.toSub(t).div(n).mult(r+1);return s.push(e.toSub(i)),t}),s.length<=1?s[0]:e.bezier(s.map(e=>new i.M(e)),n,r)}return new a.M},e.cubicBezier=function(t,n,r){if(t.start instanceof o.O&&t.end instanceof o.O){const i=e.cubicBezier({start:t.start.x,end:t.end.x},n,r),a=e.cubicBezier({start:t.start.y,end:t.end.y},n,r),s=e.cubicBezier({start:t.start.z,end:t.end.z},n,r),c=e.cubicBezier({start:t.start.volume,end:t.end.volume},n,r),u=e.cubicBezier({start:t.start.mass,end:t.end.mass},n,r),p=e.cubicBezier({start:t.start.e,end:t.end.e},n,r),l=e.cubicBezier({start:t.start.rotate,end:t.end.rotate},n,r),d=e.cubicBezier({start:t.start.width,end:t.end.width},n,r),f=e.cubicBezier({start:t.start.height,end:t.end.height},n,r),h=e.cubicBezier({start:t.start.transform[0],end:t.end.transform[0]},n,r),y=e.cubicBezier({start:t.start.transform[1],end:t.end.transform[1]},n,r),m=e.cubicBezier({start:t.start.transform[2],end:t.end.transform[2]},n,r),v=e.cubicBezier({start:t.start.transform[3],end:t.end.transform[3]},n,r),g=e.cubicBezier({start:t.start.transform[4],end:t.end.transform[4]},n,r),x=e.cubicBezier({start:t.start.transform[5],end:t.end.transform[5]},n,r),b=e.cubicBezier({start:t.start.color.r??0,end:t.end.color.r??0},n,r),w=e.cubicBezier({start:t.start.color.g??0,end:t.end.color.g??0},n,r),O=e.cubicBezier({start:t.start.color.b??0,end:t.end.color.b??0},n,r),_=e.cubicBezier({start:t.start.color.a??255,end:t.end.color.a??255},n,r);return i.map((e,t)=>{const n=new o.O({x:e,y:a[t],z:s[t]});return n.volume=c[t],n.mass=u[t],n.e=p[t],n.rotate=l[t],n.width=d[t],n.height=f[t],n.transform=[h[t],y[t],m[t],v[t],g[t],x[t]],n.color={r:b[t],g:w[t],b:O[t],a:_[t]},n})}if(t.start instanceof i.M&&t.end instanceof i.M){const a=e.cubicBezier({start:t.start.x,end:t.end.x},n,r),o=e.cubicBezier({start:t.start.y,end:t.end.y},n,r),s=e.cubicBezier({start:t.start.z,end:t.end.z},n,r);return a.map((e,t)=>new i.M(e,o[t],s[t]))}const{start:a,end:s}=t,{frame:c}=n;let{p1x:u,p1y:p,p2x:l,p2y:d}=Array.isArray(r)?{p1x:r[0],p1y:r[1],p2x:r[2],p2y:r[3]}:r;u="random"===u?Math.random():u,p="random"===p?Math.random():p,l="random"===l?Math.random():l,d="random"===d?Math.random():d;const f=[],h=s-a,y=e=>{const t=Number(e*e),n=Number(t*e),r=Number(1-e),i=Number(r*r);return 0*Number(i*r)+3*i*e*Number(p)+3*r*t*Number(d)+1*n},m=c+1;for(let e=1;e<m;e++){const t=a+h*y(e/m);f.push(t)}return f},e.diff=(e,t)=>Math.abs(e-t),e.distSqToLineSegment=(e,t,n)=>{const r=(t.x-n.x)**2+(t.y-n.y)**2;if(0===r)return(e.x-t.x)**2+(e.y-t.y)**2;let i=((e.x-t.x)*(n.x-t.x)+(e.y-t.y)*(n.y-t.y))/r;i=Math.max(0,Math.min(1,i));const a=t.x+i*(n.x-t.x),o=t.y+i*(n.y-t.y);return(e.x-a)**2+(e.y-o)**2},e.rotatePoint=(e,t,n)=>{const r=e.x-t.x,i=e.y-t.y,a=r*Math.cos(n)-i*Math.sin(n),o=r*Math.sin(n)+i*Math.cos(n);return new s.P(a+t.x,o+t.y)}}(r||(r={}))},4068:(e,t,n)=>{n.d(t,{P:()=>r});class r{constructor(e,t){"object"==typeof e?(this.x=e.x??0,this.y=e.y??0):(this.x=e??0,this.y=t??0)}copy(){return new r(this.x,this.y)}}},5275:(e,t,n)=>{n.d(t,{s:()=>r});const r=e=>!!e&&"number"==typeof e.width&&"number"==typeof e.height},7553:(e,t,n)=>{n.d(t,{M:()=>a});var r=n(8741),i=n(4068);class a{constructor(e,t,n){e instanceof r.M?(this.x=e.x,this.y=e.y,this.z=e.z):"object"==typeof e?(this.x=e.x??0,this.y=e.y??0,this.z=e.z??0):(this.x=e??0,this.y=t??0,this.z=n??0)}set(e,t=0,n=0){return e instanceof a||e instanceof r.M?this.set(e.x||0,e.y||0,e.z||0):(this.x=e,this.y=t,this.z=n),this}get(){return new a(this.x,this.y,this.z)}mag(){const e=this.x,t=this.y,n=this.z;return Math.sqrt(e*e+t*t+n*n)}add(e,t=0,n=0){e instanceof a||e instanceof r.M?(this.x+=e.x,this.y+=e.y,this.z+=e.z):(this.x+=e,this.y+=t,this.z+=n)}toAdd(e,t){return new a(e.x+t.x,e.y+t.y,e.x+t.y)}sub(e,t=0,n=0){e instanceof a||e instanceof r.M?(this.x-=e.x,this.y-=e.y,this.z-=e.z):(this.x-=e,this.y-=t,this.z-=n)}toSub(e){const t=this;return new a(t.x-e.x,t.y-e.y,t.z-e.z)}mult(e){return e instanceof a||e instanceof r.M?(this.x*=e.x,this.y*=e.y,this.z*=e.z):(this.x*=e,this.y*=e,this.z*=e),this}toMult(e){const t=this;return new a(t.x*=e.x,t.y*=e.y,t.z*=e.z)}div(e){return e instanceof a||e instanceof r.M?(this.x/=e.x,this.y/=e.y,this.z/=e.z):(this.x/=e,this.y/=e,this.z/=e),this}toDiv(e){const t=this.get();return t.x/=e,t.y/=e,t.z/=e,t}dist(e){const t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return Math.sqrt(t*t+n*n+r*r)}toDist(e){const t=this,n=t.x-e.x,r=t.y-e.y,i=t.z-e.z;return Math.sqrt(n*n+r*r+i*i)}dot(e,t,n){return e instanceof a||e instanceof r.M?this.x*e.x+this.y*e.y+this.z*e.z:this.x*e+this.y*t+this.z*n}cross(e){const t=this.x,n=this.y,r=this.z;return new a(n*e.z-e.y*r,r*e.x-e.z*t,t*e.y-e.x*n)}normalize(){const e=this.mag();e>0&&this.div(e)}limit(e){this.mag()>e&&(this.normalize(),this.mult(e))}heading2D(){return-Math.atan2(-this.y,this.x)}random2D(){return this.fromAngle(Math.random()*(2*Math.PI))}fromAngle(e,t=1){return new a(t*Math.cos(e),t*Math.sin(e),0)}fromAngles(e,t,n=1){const r=Math.cos(t),i=Math.sin(t),o=Math.cos(e),s=Math.sin(e);return new a(n*s*i,-n*o,n*s*r)}array(){return[this.x,this.y,this.z]}toPoint3D(){return new r.M(this.x,this.y,this.z)}toPoint2D(){return new i.P(this.x,this.y)}copy(){return new a(this.x,this.y,this.z)}toString(){return"["+this.x+", "+this.y+", "+this.z+"]"}}},7855:(e,t,n)=>{n.d(t,{O:()=>r});const r=e=>null!=e},8741:(e,t,n)=>{n.d(t,{M:()=>a});var r=n(7553),i=n(4068);class a extends i.P{constructor(e,t,n){e instanceof r.M?(super(e.x,e.y),this.z=e.z):"object"==typeof e?(super({x:e.x??0,y:e.y??0}),this.z=e.z??0):(super(e,t),this.z=n??0)}copy(){return new a(this.x,this.y,this.z)}}},9244:(e,t,n)=>{n.d(t,{r:()=>o});var r=n(4068),i=n(3599),a=n(5275);class o{constructor(e,t,n=0,i=0){(0,a.s)(e)?(this._start=new r.P(0,0),this._width=e.width,this._height=e.height):"object"==typeof e&&"object"==typeof t?(this._start=e instanceof r.P?e:new r.P(e.x,e.y),this.end=t instanceof r.P?t:new r.P(t.x,t.y)):"object"==typeof e&&"number"==typeof t?(this._start=e instanceof r.P?e:new r.P(e.x,e.y),this._width=t,this._height=n):"number"==typeof e&&"number"==typeof t&&(this._start=new r.P(e,t),this._width=n,this._height=i)}valueLinkControl(e){let t,n=!1;var r;return"object"==typeof(r=e)&&"value"in r&&"noLink"in r?(t=e.value,n=e.noLink):t=e,{value:t,noLink:n}}get width(){return this._width}get height(){return this._height}get start(){return this._start.copy()}set width(e){this.setWidth(e)}setWidth(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=i.z.getPercentByTotal(this._width,t);this._width=t,this.applyWidthPercentLinks({value:r,noLink:n})}set height(e){this.setHeight(e)}setHeight(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=i.z.getPercentByTotal(this._height,t);this._height=t,this.applyHeightPercentLinks({value:r,noLink:n})}set start(e){let{value:t,noLink:n}=this.valueLinkControl(e);const a=new r.P({x:i.z.getPercentByTotal(this._start.x,t.x),y:i.z.getPercentByTotal(this._start.y,t.y)});this._start=t,this.applyStartPercentLinks({value:a,noLink:n})}setWidthFromEnd(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=i.z.getPercentByTotal(this.start.x,t);this._start.x=this.end.x-t,this.applyStartXPercentLinks({value:r,noLink:n})}set widthFromEnd(e){this.setWidthFromEnd(e)}setHeightFromEnd(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=this.end.y-t,a=i.z.getPercentByTotal(this.start.y,r);this._start.y=r,this.applyStartYPercentLinks({value:a,noLink:n})}set heightFromEnd(e){this.setHeightFromEnd(e)}setWidthFromCenter(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=this.center.x-t/2,a=i.z.getPercentByTotal(this.start.x,r);this._start.x=r,this.applyStartXPercentLinks(a)}set widthFromCenter(e){this.setWidthFromCenter(e)}setHeightFromCenter(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=this.center.y-t/2,a=i.z.getPercentByTotal(this.start.y,r);this._start.y=r,this.applyStartYPercentLinks(a)}set heightFromCenter(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=this.center.y-t/2,a=i.z.getPercentByTotal(this.start.y,r);this._start.y=r,this.applyStartYPercentLinks(a)}set x(e){this.setX(e)}setX(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=t-this._start.x,a=i.z.getPercentByTotal(this.width,r);this._start.x=t,this.applyStartXPercentLinks({value:a,noLink:n})}set y(e){this.setY(e)}setY(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=t-this._start.y,a=i.z.getPercentByTotal(this.height,r);this._start.y=t,this.applyStartYPercentLinks({value:a,noLink:n})}applyWidthPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);!this.linkRects||"boolean"==typeof n&&n||Array.from(this.linkRects.values()).filter(e=>"boolean"==typeof n||e!==n).forEach(e=>{e.setWidthByWidthPercent({value:t,noLink:this})})}applyHeightPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);!this.linkRects||"boolean"==typeof n&&n||Array.from(this.linkRects.values()).filter(e=>"boolean"==typeof n||e!==n).forEach(e=>{e.setHeightByHeightPercent({value:t,noLink:this})})}applyStartPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.applyStartXPercentLinks({value:t.x,noLink:n}),this.applyStartYPercentLinks({value:t.y,noLink:n})}applyStartXPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);!this.linkRects||"boolean"==typeof n&&n||Array.from(this.linkRects.values()).filter(e=>"boolean"==typeof n||e!==n).forEach(e=>{e.addXByWidthPercent({value:t,noLink:this})})}applyStartYPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);!this.linkRects||"boolean"==typeof n&&n||Array.from(this.linkRects.values()).filter(e=>"boolean"==typeof n||e!==n).forEach(e=>{e.addYByHeightPercent({value:t,noLink:this})})}hasLink(e){return this.linkRects?.has(e)}isLinked(){return!!this.linkRects?.size}addLink(...e){this.linkRects??(this.linkRects=new Set),e.filter(e=>!this.linkRects?.has(e)).forEach(e=>{this.linkRects?.add(e),e.addLink(this)})}setLinks(e){this.unLinkAll(),this.addLink(...e)}unLinkAll(){this.linkRects&&(Array.from(this.linkRects.values()).forEach(e=>{this.unLink(e)}),this.linkRects.clear())}unLink(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.linkRects&&this.linkRects.delete(t),n||t.unLink({value:this,noLink:this})}addWidthPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setWidth({value:this.width+i.z.getValueByTotalInPercent(this.width,t),noLink:n})}addHeightPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setHeight({value:this.height+i.z.getValueByTotalInPercent(this.height,t),noLink:n})}addWidthRatio(e){this.width=this.width+i.z.getValueByTotalInRatio(this.width,e)}addHeightRatio(e){this.height=this.height+i.z.getValueByTotalInRatio(this.height,e)}addXPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:this.x+i.z.getValueByTotalInPercent(this.width,t),noLink:n})}addYPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:this.y+i.z.getValueByTotalInPercent(this.height,t),noLink:n})}addXRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:this.x+i.z.getValueByTotalInRatio(this.width,t),noLink:n})}addYRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:this.y+i.z.getValueByTotalInRatio(this.height,t),noLink:n})}set endX(e){const t=e-this.x;this.width=t}set endXPercent(e){this.endX=i.z.getValueByTotalInPercent(this.width,e)}set endYPercent(e){this.endY=i.z.getValueByTotalInPercent(this.height,e)}set endY(e){this.height=e-this.y}set end(e){this.width=e.x-this.x,this.height=e.y-this.y}get x(){return this.start.x}get y(){return this.start.y}get endX(){return this.end.x}get endY(){return this.end.y}to(e){const t=this.copy();return t.start=e,t}toRotate(e,{rotatePoint:t=this.center,type:n="degreeAngle"}){const a=i.z.radians(e,{type:n}),o=t instanceof r.P?t:new r.P(t.x,t.y);return[this.leftTop,this.rightTop,this.rightBottom,this.leftBottom].map(e=>i.z.rotatePoint(e,o,a))}get center(){return new r.P(this.start.x+this.width/2,this.start.y+this.height/2)}get end(){return new r.P(this.start.x+this.width,this.start.y+this.height)}get leftTop(){return this.start.copy()}get leftBottom(){return new r.P(this.start.x,this.end.y)}get rightTop(){return new r.P(this.end.x,this.start.y)}get rightBottom(){return this.end}copy(){return new o(this.x,this.y,this.width,this.height)}getWidthPercent(e){return i.z.getPercentByTotal(this.width,e)}getWidthRatio(e){return i.z.getRatioByTotal(this.width,e)}getWidthByPercent(e){return i.z.getValueByTotalInPercent(this.width,e)}getWidthByRatio(e){return i.z.getValueByTotalInRatio(this.width,e)}getHeightPercent(e){return i.z.getPercentByTotal(this.height,e)}getHeightRatio(e){return i.z.getRatioByTotal(this.height,e)}getHeightByPercent(e){return i.z.getValueByTotalInPercent(this.height,e)}getHeightByRatio(e){return i.z.getValueByTotalInRatio(this.height,e)}getXPercent(e){return i.z.getPercentByTotal(this.width,e-this.x)}getXRatio(e){return i.z.getRatioByTotal(this.width,e-this.x)}getXByPercent(e){return this.x+i.z.getValueByTotalInPercent(this.width,e)}getXByRatio(e){return this.x+i.z.getValueByTotalInRatio(this.width,e)}getYPercent(e){return i.z.getPercentByTotal(this.height,e-this.y)}getYRatio(e){return i.z.getRatioByTotal(this.height,e-this.y)}getYByPercent(e){return this.y+i.z.getValueByTotalInPercent(this.height,e)}getYByRatio(e){return this.y+i.z.getValueByTotalInRatio(this.height,e)}getPercent(e){return new r.P(this.getXPercent(e.x),this.getYPercent(e.y))}toScaleByWidth(e){const t=this.height/this.width;return new o(this.x,this.y,e,e*t)}toScaleByHeight(e){const t=this.width/this.height;return new o(this.x,this.y,e*t,e)}toRatio(e){return new o(this.getXRatio(e.x),this.getYRatio(e.y),this.getWidthRatio(e instanceof o?e.width:e.w),this.getHeightRatio(e instanceof o?e.height:e.h))}getRatio(e){return new r.P(this.getXRatio(e.x),this.getYRatio(e.y))}getByPercent(e){return new r.P(this.getXByPercent(e.x),this.getYByPercent(e.y))}getByRatio(e){return new r.P(this.getXByRatio(e.x),this.getYByRatio(e.y))}getDiffX(e){return e-this.x}getDiffY(e){return e-this.y}getDiffLeft(e){this.getDiffX(e)}getDiffTop(e){this.getDiffY(e)}getDiffRight(e){return e-this.end.x}getDiffBottom(e){return e-this.end.y}getDiffWidth(e){return e-this.width}getDiffHeight(e){return e-this.height}toDiff(e){return new o(e.x-this.x,e.y-this.y,e.width-this.width,e.height-this.height)}setXByWidthPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:i.z.getValueByTotalInPercent(this.width,t),noLink:n})}set xByWidthPercent(e){this.setXByWidthPercent(e)}setXByWidthRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:i.z.getValueByTotalInRatio(this.width,t),noLink:n})}set xByWidthRatio(e){this.setXByWidthRatio(e)}setYByHeightPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:i.z.getValueByTotalInPercent(this.height,t),noLink:n})}set yByHeightPercent(e){this.setYByHeightPercent(e)}setYByHeightRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:i.z.getValueByTotalInRatio(this.height,t),noLink:n})}set yByHeightRatio(e){this.setYByHeightRatio(e)}addXByWidthPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:this.x+i.z.getValueByTotalInPercent(this.width,t),noLink:n})}addXByWidthRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:this.x+i.z.getValueByTotalInRatio(this.width,t),noLink:n})}addYByHeightPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:this.y+i.z.getValueByTotalInPercent(this.height,t),noLink:n})}addYByHeightRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:this.y+i.z.getValueByTotalInRatio(this.height,t),noLink:n})}setWidthByWidthPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setWidth({value:i.z.getValueByTotalInPercent(this.width,t),noLink:n})}set widthByWidthPercent(e){this.setWidthByWidthPercent(e)}setWidthByWidthRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setWidth({value:i.z.getValueByTotalInRatio(this.width,t),noLink:n})}set widthByWidthRatio(e){this.setWidthByWidthRatio(e)}setHeightByHeightPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setHeight({value:i.z.getValueByTotalInPercent(this.height,t),noLink:n})}set heightByHeightPercent(e){this.setHeightByHeightPercent(e)}setHeightByHeightRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setHeight({value:i.z.getValueByTotalInRatio(this.height,t),noLink:n})}set heightByHeightRatio(e){this.setHeightByHeightRatio(e)}copyByPercent(e,t){return new o(this.x,this.y,i.z.getValueByTotalInPercent(this.width,e),i.z.getValueByTotalInPercent(this.height,t??e))}copyByRatio(e,t){return new o(this.x,this.y,i.z.getValueByTotalInRatio(this.width,e),i.z.getValueByTotalInRatio(this.height,t??e))}isIn(e){return e instanceof o?this.isIn(e.start)&&this.isIn(e.end):e.x>=this.start.x&&e.x<=this.end.x&&e.y>=this.start.y&&e.y<=this.end.y}isOut(e){return e instanceof o?!this.isOverlap(e):!this.isIn(e)}isOverlap(e){return e instanceof o?!(this.endX<e.x||this.x>e.endX||this.endY<e.y||this.y>e.endY):this.isIn(e)}toString(){return`x:${this.x}, y:${this.y}, width: ${this.width}, height: ${this.height}`}}},9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},f={};function h(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,h),n.exports}h.d=(e,t)=>{for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var y={};h.d(y,{T:()=>m});var m,v=h(9284),g=h(4068),x=h(8741),b=h(9244),w=h(2676);!function(e){e.objToGetURL=e=>Object.keys(e).reduce((t,n,r)=>`${t}${0!==r?"&":""}${n}=${e[n]}`,""),e.mapToJson=e=>JSON.stringify(Array.from(e.entries()).reduce((e,[t,n])=>(e[t]=n,e),{})),e.jsonToMap=e=>new Map(JSON.parse(e)),e.decodeURIString=e=>decodeURIComponent(e),e.objToStrMap=e=>{const t=new Map;for(const n of Object.keys(e))t.set(n,e[n]);return t},e.jsonToStrMap=t=>e.objToStrMap(JSON.parse(t)),e.strToObject=e=>JSON.parse(e),e.objToJson=e=>JSON.stringify(e),e.objToMap=e=>{const t=new Map;return Object.keys(e).forEach(n=>{t.set(n,e[n])}),t},e.mapToObj=e=>{const t={};return e.forEach((e,n)=>{t[n]=e}),t},e.snakeToCamelCase=e=>e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),e.camelToSnakeCase=e=>e.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase(),e.toFormData=function(e){const t=new FormData;for(const n in e)t.append(n,e[n]);return t},e.toObject=function(t,n){if(t instanceof URLSearchParams){const e={};return t.forEach((t,r)=>{n?.firstValue&&void 0===e[r]?e[r]=t:n?.firstValue||(e[r]?Array.isArray(e[r])?e[r].push(t):e[r]=[e[r],t]:e[r]=t)}),e}if(t instanceof FormData){const e=e=>{const t={};for(const n of e.keys()){const r=e.getAll(n);t[n]=r.length>1?r:r[0]}return t};return e(t)}if(t&&"function"==typeof t[Symbol.iterator])return Object.fromEntries(t);if(Array.isArray(t))return Object.fromEntries(t);if(v.U.isMap(t)){const n=t;t=e.mapToObj(n)}if(v.U.isArray(t)){const n=t;for(let t=0;t<n.length;t++)n[t]=e.toObject(n[t])}if(v.U.isObject(t))for(const n in t)t[n]=e.toObject(t[n]);return t},e.toArray=e=>e instanceof Set?Array.from(e.values()):Array.isArray(e)?e:e?[e]:[],e.flatArray=(...e)=>e.flatMap(e=>e instanceof Object&&Symbol.iterator in e?Array.from(e):[e]),e.iteratorToArray=e=>Array.from(e),e.toJson=t=>{const n=e.toObject(t);return JSON.stringify(n)},e.concatenateToAttribute=t=>e.concatenateToString(t,"="," ","'"),e.concatenateToParameter=t=>e.concatenateToString(t,"=","&",""),e.concatenateToString=(e,t="=",n=" ",r="")=>{const i=[];for(const n in e){const a=e[n];a&&i.push(n.toString()+t+r+a+r)}return i.join(n)},e.specialCharsToEscape=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),e.decodeHTMLEscape=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(///g,"/"),e.copyObject=(e,t={})=>({...e,...t}),e.copyArrayWithAddition=(e,t)=>[...e,...t||[]],e.hexToInt=e=>(e.startsWith("#")&&(e=e.slice(1)),3===e.length&&(e=e.split("").map(e=>e+e).join("")),parseInt(e,16)),e.toHex=e=>(e<0&&(e=4294967295+e+1),(e=Number(e.toFixed(0))).toString(16).padStart(2,"0").toUpperCase()),e.toHexColor=t=>`#${e.toHex(t.r??0)}${e.toHex(t.g??0)}${e.toHex(t.b??0)}${e.toHex(t.a??255)}`,e.avgColor=e=>{const t=e.reduce((e,t)=>(e.r+=t.r??0,e.g+=t.g??0,e.b+=t.b??0,e.a+=t.a??0,e),{r:0,g:0,b:0,a:0});return{r:Math.floor(t.r/e.length),g:Math.floor(t.g/e.length),b:Math.floor(t.b/e.length),a:Math.floor(t.a/e.length)}},e.toRGBA=e=>{e??(e="#000000FF");const t=e.replace("#","");return{r:parseInt(t.slice(0,2)||"0",16),g:parseInt(t.slice(2,4)||"0",16),b:parseInt(t.slice(4,6)||"0",16),a:t.length>6?parseInt(t.slice(6,8)||"0",16):255}},e.minMaxCenterAvg=e=>{const t={},n=w.B.uniqueKeys(e);for(const r of n){const n=e.map(e=>e[r]),i=Math.min(...n),a=Math.max(...n),o=(i+a)/2,s=n.reduce((e,t)=>e+t,0)/n.length;t[r]={min:i,max:a,center:o,avg:s,diff:a-i}}return t},e.minMaxCenterRectAvg2D=e=>{const t=new g.P(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),n=new g.P(Number.MIN_SAFE_INTEGER,Number.MIN_SAFE_INTEGER);let r=new g.P(0,0);e.forEach(e=>{t.x=Math.min(t.x,e.x),t.y=Math.min(t.y,e.y),n.x=Math.max(n.x,e.x),n.y=Math.max(n.y,e.y),r.x+=e.x,r.y+=e.y});const i=new g.P((t.x+n.x)/2,(t.y+n.y)/2),a=new g.P(r.x/e.length,r.y/e.length),o=new b.r(t.x,t.y,n.x-t.x,n.y-t.y);return{min:t,max:n,center:i,avg:a,minMaxRect:o}},e.minMaxCenterAvg3D=e=>{const t=new x.M(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),n=new x.M(Number.MIN_VALUE,Number.MIN_VALUE,Number.MIN_VALUE);let r=new x.M(0,0,0);e.forEach(e=>{t.x=Math.min(t.x,e.x),t.y=Math.min(t.y,e.y),t.z=Math.max(t.z,e.z),n.x=Math.max(n.x,e.x),n.y=Math.max(n.y,e.y),n.z=Math.max(n.z,e.y),r.x+=e.x,r.y+=e.y,r.z+=e.z});const i=new x.M((t.x+n.x)/2,(t.y+n.y)/2,(t.z+n.z)/2),a=new x.M(r.x/e.length,r.y/e.length,r.z/e.length);return{min:t,max:n,center:i,avg:a}},e.roundRectRadiiToFullRadii=e=>e?1===e.length?[e[0]??0,e[0]??0,e[0]??0,e[0]??0]:2===e.length?[e[0]??0,e[1]??0,e[0]??0,e[1]??0]:3===e.length?[e[0]??0,e[1]??0,e[2]??0,e[1]??0]:e:[0,0,0,0],e.toArrayDirectionChange=e=>{if(!e||0===e.length||!e[0]||0===e[0].length)return[];const t=[],n=e[0].length,r=e.length;for(let i=0;i<n;i++){const n=[];for(let t=0;t<r;t++)n.push(e[t][i]);t.push(n)}return t},e.groupByMap=(e,t)=>e.reduce((e,n)=>{const r=t(n),i=e.get(r)||[];return i.push(n),e.set(r,i),e},new Map),e.groupByObject=(t,n)=>{const r=e.groupByMap(t,n);return Object.fromEntries(r)},e.toURLSearchParams=e=>{const t=new URLSearchParams;if("string"==typeof e)new URLSearchParams(e).forEach((e,n)=>{t.append(n,e)});else if("object"==typeof e){const n=e instanceof URLSearchParams?e.entries():Array.isArray(e)?e:Object.entries(e);for(const[e,r]of Array.from(n))Array.isArray(r)?r.forEach(n=>t.append(e,n)):t.append(e,r)}return t},e.stringJsonToKeyPairs=e=>Array.from(e.matchAll(/(\w+):\s*([^,}]+)/g)).map(e=>({key:e[1],value:e[2]}))}(m||(m={}));const O=y.T;var _=n(4297),k=n(3896),j=n(4642),M=n(2225);class S{constructor(e,t){this.simpleApplication=e,this.option=t,this._storage=new Map,this.setStoreSet(j.B,this.simpleApplication),this.setStoreSet(S,this),this.setStoreSet(t.constructor,t),this.setStoreSet(p.t,t),this.simProxyHandler=new l.e(this.simpleApplication,this,t)}get storage(){return this._storage}getSimAtomics(){const e=[];return Array.from(this.storage.entries()).forEach(([t,n])=>{e.push(...Array.from(Array.from(n.keys())).map(e=>new s.J({targetKeyType:t,originalType:e},this)))}),e}getSimConfig(e){return this.getSimAtomics().filter(t=>{const n=t?.getConfig(),r=O.flatArray(n?.symbol),i=O.flatArray(n?.scheme);return"symbol"==typeof e?e&&t&&r.includes(e):"string"==typeof e&&e&&t&&i.includes(e)})||[]}findSims(e){let t=[];return e&&(t=this.getSimAtomics().filter(t=>{let n=!1;const i=t.getConfig(),a=O.flatArray(i?.symbol).filter(r.O),o=O.flatArray(i?.scheme).filter(r.O);if("symbol"==typeof e)n=a.includes(e);else{const{scheme:r,type:i}=e;n=(!r||o.includes(r))&&(!i||t.type.targetKeyType===i)}return n})),t}findFirstSim(e){return this.findSims(e)[0]}findLastSim(e){return this.findSims(e).reverse()[0]}flatStoreSets(){return new Map(Array.from(this.storage.values()).map(e=>Array.from(e.entries())).flat())}getStoreSets(e){const t=this.storage.get(e);return(Array.from(t?.entries?.()??[])??[]).reverse().map(e=>({type:e[0],instance:e[1]}))}getStoreSet(e,t){const n=this.getStoreSets(e).find(e=>e.type===t);if(n?.instance)return n;{const n=t??e,r=this.flatStoreSets().get(n);return r&&this.setStoreSet(e,r,n),{type:n,instance:r}}}getStoreInstance(e,t){return this.getStoreSet(e,t)?.instance}getOrNewSim({target:e,originTypeTarget:t=e,newInstanceCarrier:n}){if(e){const r=this.getStoreSet(e,t);return r?.type&&!r?.instance?this.resolve({targetKey:e,target:t,newInstanceCarrier:n}):r?.instance}}setStoreSet(e,t,n=e){const r=this.storage.get(e)??new Map;r.set(n,t),this.storage.set(e,r)}registerStore(e,t){const n=this.storage.get(e)??new Map;t.forEach(e=>{const{type:t,value:r}="object"==typeof e?{type:e.constructor,value:e}:{type:e,value:void 0};n.has(t)||n.set(t,r)}),this.storage.set(e,n)}resolve({target:e,targetKey:t,newInstanceCarrier:n={newInstances:[],depth:0}}){const r=this.getStoreSet(t,e);if(r?.instance)return r.instance;if(this.storage.has(t)&&void 0===r?.instance){n.depth++;const i=this.newSim({target:r?.type??t,newInstanceCarrier:n,simCreateAfter:n=>{(0,a.Op)(r?.type??e??t)?.scope===a.v0.Singleton&&this.setStoreSet(t,n,e)}});return n.depth--,0===n.depth&&n.newInstances.forEach(e=>{this.callBindPostConstruct(e)}),(0,_.P)(i)&&i.onSimCreate(),i}const o=new i.C("SimNoSuch: no simple instance(resolve) name:"+t?.prototype?.constructor?.name+","+t);throw console.error(o),o}newSim({target:e,simCreateAfter:t,otherStorage:n,newInstanceCarrier:i}){const o=new e(...this.getParameterSim({target:e,otherStorage:n,newInstanceCarrier:i}));let s=this.proxy(o);const c=(0,a.Op)(e);return c?.proxy&&(Array.isArray(c.proxy)?c.proxy:[c.proxy]).filter(r.O).forEach(e=>{if("object"==typeof e)s=new Proxy(s,e);else{const t=(0,a.Op)(e);s=new Proxy(s,t?this.getOrNewSim({target:e}):this.newSim({target:e}))}}),i?.newInstances.push(s),t?.(s),(0,k.I)(s)&&s.onSimCreateProxyCompleted(s),s}callBindPostConstruct(e){(0,a.Dy)(e).forEach(t=>{e[t.property](...this.getParameterSim({target:e,targetKey:t.property}))})}async executeBindParameterSimPromise({target:e,targetKey:t,firstCheckMaker:n},r){let i=this.executeBindParameterSim({target:e,targetKey:t,firstCheckMaker:n},r);return i instanceof Promise&&(i=await i),i}executeBindParameterSim({target:e,targetKey:t,firstCheckMaker:n},r){const i=this.getParameterSim({target:e,targetKey:t,firstCheckMaker:n,otherStorage:r});if("object"==typeof e&&t){const n=e[t];return n?.bind(e)?.(...i)}if("function"==typeof e&&!t)return new e(...i)}getParameterSim({target:e,targetKey:t,firstCheckMaker:n,otherStorage:r,newInstanceCarrier:i}){const a=c.d.getParameterTypes(e,t);let o=[];const s=(0,u.Mq)(e,t);return o=a.map((a,o)=>{const c=s?.find(e=>e.index===o);if(!c?.config.disabled){for(const r of n??[]){const n=r({target:e,targetKey:t},a,o,c);if(void 0!==n)return n}if(c){const e=c.config;let t=r?.get(a);if(a===Array&&(e.type||e.scheme||e.symbol)){const t=[];return e.type&&t.push(...this.getStoreSets(e.type).map(t=>this.resolve({targetKey:e.type,target:t.type,newInstanceCarrier:i})).reverse()),e.symbol&&t.push(...this.getSimConfig(e.symbol).map(e=>e.getValue({newInstanceCarrier:i}))),e.scheme&&t.push(...this.getSimConfig(e.scheme).map(e=>e.getValue({newInstanceCarrier:i}))),t}if(e.situationType&&r){const n=r.get(u.tr),i=r.get(u._t);if(e.situationType===i?.situationType)t=i.data;else if(n&&n.length>0){const r=n.find(t=>void 0!==t.index?t.situationType===e.situationType&&t.index===o:t.situationType===e.situationType);r&&(t=r.data)}}if(!t){const n=e.symbol?this.findLastSim(e.symbol):this.findLastSim({scheme:e.scheme,type:e.type});try{t=n?this.resolve({targetKey:n?.type.targetKeyType??a,newInstanceCarrier:i}):this.resolve({targetKey:a,newInstanceCarrier:i})}catch(t){if(e.optional)return;throw t}}return e.applyProxy&&t&&(t=e.applyProxy.param?new Proxy(t,new e.applyProxy.type(...e.applyProxy.param)):new Proxy(t,new e.applyProxy.type)),t}return a?r?.get(a)??this.resolve({targetKey:a,newInstanceCarrier:i}):void 0}}),o}proxy(e){try{if(!(0,M.j1)(e)&&null!==e&&(0,a.Op)(e)&&"object"==typeof e&&!("isProxy"in e)){for(const t in e)(0,M.j1)(e,t)||(e[t]=this.proxy(e[t]));o.B.ownPropertyNames(e).filter(t=>"function"==typeof e[t]).filter(t=>!(0,M.j1)(e,t)).forEach(t=>{e[t]=new Proxy(e[t],this.simProxyHandler)}),this.simProxyHandler&&(e=new Proxy(e,this.simProxyHandler))}return this.option.proxy&&(e=this.option.proxy.onAfterProxy(e)),e}catch(e){throw console.log("sim proxy error"),e}}run(e=new Map){for(const[t,n]of Array.from(e.entries()))"object"==typeof t?(0,a.tS)(t,n):(0,a.tS)({type:t},n);const t=O.flatArray(this.option.container).filter(r.O);Array.from(a.hm.entries()).forEach(([e,n])=>{const i=O.flatArray((0,a.Op)(e)?.container).filter(r.O);let o=!1;o=t.length<=0&&i.length<=0||i.length<=0||t.some(e=>i.includes(e)),this.registerStore(e,n)}),this.callBindPostConstruct(this),this.getSimAtomics().forEach(e=>{e.getConfig()?.autoCreate&&e.getValue()})}}},8537:(e,t,n)=>{n.d(t,{W$:()=>r,v0:()=>s}),n(6404);var r,i=n(5053),a=n(7441);!function(e){e.ERROR_OBJECT="SIMPLE_BOOT_CORE://ExceptionHandler/ERROR_OBJECT",e.PARAMETER="SIMPLE_BOOT_CORE://ExceptionHandler/PARAMETER"}(r||(r={}));const o=Symbol("ExceptionHandler"),s=(e,t,n=[])=>{let r=((e,t)=>{const n=(e=>(null!=e&&"object"==typeof e&&(e=e.constructor),i.d.getMetadata(o,e)))(e),r=n?.filter(e=>void 0===e.config.type),s=n?.filter(e=>a.B.isPrototypeOfTarget(e.config.type,t)),c=s?.sort((e,n)=>{const r=a.B.prototypeOfDepth(t,e.config.type),i=a.B.prototypeOfDepth(t,n.config.type);return r.length-i.length});return(c??[]).concat(...r??[])})(e,t);return r=r?.filter(e=>!n.includes(e.method)),r&&r.length>0?r[0]:void 0}},9212:(e,t,n)=>{n.d(t,{J:()=>a});var r=n(742),i=n(5053);class a{constructor(e,t,n){this.type=e,this.simstanceManager=t,this.config=n,this.value=e.value}getConfig(e=r.wB){return i.d.getMetadata(e,this.type.originalType)}getConfigs(){return i.d.getMetadatas(this.type.originalType)}getValue(e){return e?.refresh&&(this.value=void 0),this.value||(this.value=this.simstanceManager.getOrNewSim({target:this.type.targetKeyType,originTypeTarget:this.type.originalType,newInstanceCarrier:e?.newInstanceCarrier})),this.value}}},9492:(e,t,n)=>{n.d(t,{O:()=>o});var r={d:(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},i={};r.d(i,{O:()=>a});const a=e=>null!=e,o=i.O}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e](n,n.exports,o),n.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const s=o(4642).B;var c=r(3587);const u=e(import.meta.url)("http"),p=e(import.meta.url)("https");var l=r(3500),d=r(9108),f=r(229),h=r(7953),y=r(1946),m={5053:(e,t,n)=>{n.d(t,{d:()=>c});var r={9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t=N(e,i);if(void 0!==t){var n=t.call(e,"string");if(S(n))throw new TypeError;return n}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o,s={};a.d(s,{d:()=>o}),a(9771),function(e){e.getParameterTypes=(e,t)=>t?Reflect.getMetadata("design:paramtypes",e,t)||[]:Reflect.getMetadata("design:paramtypes",e)||[],e.getReturnType=(e,t)=>Reflect.getMetadata("design:returntype",e,t),e.getType=(e,t)=>t?Reflect.getMetadata("design:type",e,t):Reflect.getMetadata("design:type",e),e.getMetadata=(e,t,n)=>n?Reflect.getMetadata(e,t,n):Reflect.getMetadata(e,t),e.getMetadataKeys=e=>Reflect.getMetadataKeys(e),e.getOwnMetadata=(e,t,n)=>n?Reflect.getOwnMetadata(e,t,n):Reflect.getOwnMetadata(e,t),e.getMetadatas=t=>e.getMetadataKeys(t).map(n=>e.getMetadata(n,t)),e.metadata=(e,t)=>Reflect.metadata(e,t),e.defineMetadata=(e,t,n,r)=>{r&&Reflect.defineMetadata?Reflect.defineMetadata(e,t,n,r):Reflect.defineMetadata&&Reflect.defineMetadata(e,t,n)}}(o||(o={}));const c=s.d},6404:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t="string",n=N(e,i);if(void 0!==n){var r=n.call(e,t);if(S(r))throw new TypeError;return r}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))},7441:(e,t,n)=>{n.d(t,{B:()=>p});var r={7855:(e,t,n)=>{n.d(t,{O:()=>r});const r=e=>null!=e},9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};a.d(o,{B:()=>s});var s,c=a(7855),u=a(9284);!function(e){let t,n;e.constructorName=e=>e&&e.constructor&&e.constructor.name?e.constructor.name:e&&e.name?e.name:void 0,e.deepCopy=e=>e instanceof Map?new Map(JSON.parse(JSON.stringify(Array.from(e.entries())))):e instanceof Set?new Set(JSON.parse(JSON.stringify(Array.from(e.values())))):u.U.isNullOrUndefined(e)?e:JSON.parse(JSON.stringify(e)),e.allProtoTypeName=(t,n)=>{let r=[];if(t){const i=Object.getPrototypeOf(t);i&&(r=Object.keys(i)||[]).length>0&&(r=r.concat(e.allProtoTypeName(i,n)))}let i=r.filter(e=>"constructor"!==e);if(n&&t){const e=Object.getPrototypeOf(t);i=i.filter(t=>n(t,e?.[t]))}return i},e.uniqueKeys=e=>Array.from(new Set((Array.isArray(e)?e:[e]).flatMap(e=>Object.keys(e)))),e.ownPropertyNames=e=>{const t=[];if(e)if(e.prototype)t.push(...Object.getOwnPropertyNames(Object.getPrototypeOf(e)));else{const n=Object.getPrototypeOf(e);t.push(...Object.getOwnPropertyNames(n))}return t.filter(e=>"constructor"!==e)},e.protoTypeName=e=>{let t=[];if(e){const n=Object.getPrototypeOf(e);t=Object.keys(n)||[]}return t.filter(e=>"constructor"!==e)},e.protoTypes=e=>{const t=[];if(e){const n=Object.getPrototypeOf(e);(Object.keys(n)||[]).filter(e=>"constructor"!==e).forEach(e=>{t.push(n[e])})}return t},e.seal=e=>Object.seal(e),e.isPrototypeOfTarget=(e,t)=>!(!e||!t)&&Object.prototype.isPrototypeOf.call(e.prototype,t),e.prototypeOfDepth=(e,t)=>{let n=e;const r=[];if(t)do{if(n=Object.getPrototypeOf(n),n?.constructor===t)break;r.push(n)}while(n);return r},e.allProtoType=e=>{const t=(e,n=[])=>(e.prototype&&(n.push(e),t(Object.getPrototypeOf(e),n)),n);return t(e)},e.prototypeOf=e=>Object.getPrototypeOf(e),e.prototypeKeyMap=e=>{const t=new Map;if(e){const n=Object.getPrototypeOf(e);(Object.keys(n)||[]).filter(e=>"constructor"!==e).forEach(e=>{t.set(n[e],e)})}return t},e.prototypeName=(t,n)=>e.prototypeKeyMap(t).get(n),e.pickRandomKey=e=>{const t=Object.keys(e);return t[Math.floor(Math.random()*t.length)]},e.pickRandomValue=e=>{const t=Object.keys(e);return e[t[Math.floor(Math.random()*t.length)]]},e.pickRandomKeyValue=e=>{const t=Object.keys(e),n=t[Math.floor(Math.random()*t.length)];return{key:n,value:e[n]}},e.keyValues=e=>Object.keys(e).map(t=>({key:t,value:e[t]})),e.entries=e=>Object.entries(e),e.values=e=>Object.values(e),e.keys=e=>Object.keys(e),e.keyLength=t=>e.keys(t).length,e.toDeleteUndefinedAndNull=(e,t)=>{const n=e=>Array.isArray(e)?e.filter(e=>null!=e).map(n):e&&"object"==typeof e?t?.deep?Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t).map(([e,t])=>[e,n(t)])):Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t)):e;return n(e)},function(e){e.isFunctionScript=e=>e.trim().startsWith("function"),e.isArrowFunctionScript=e=>/^\s*\([^)]*\)\s*=>/.test(e),e.toOptionalChainPath=t=>{if(!t)return"";if(t.trim().startsWith("{")&&t.trim().endsWith("}"))return t;if(e.isFunctionScript(t)||e.isArrowFunctionScript(t))return t;if(t.includes(" ? ")&&t.includes(" : ")){const e=t.split(/(\s+\?\s+|\s+:\s+)/).map((e,t)=>{if(0===t){const t=e.match(/[^?.[\]]+|\[[^\]]*\]/g);if(t&&t.length>1)return t.join("?.")}return e});return e.join("")}if(t.includes("(")){const n=[];let r=t,i=0;const a=/(\w+)\(([^()]*(?:\([^()]*\)[^()]*)*)\)/g;let o;for(;null!==(o=a.exec(t));){const t=o[0],a=o[1],s=o[2],c=`__FUNC_CALL_${i}__`,u=`${a}?.(${s?e.toOptionalChainPath(s):""})`;n.push({original:t,processed:u,placeholder:c}),r=r.replace(t,c),i++}const s=r.match(/[^?.[\]]+|\[[^\]]*\]/g);let c="";c=s&&s.length>1?s.join("?."):r;for(const e of n)c=c.replace(e.placeholder,e.processed);return c}const n=t.match(/[^?.[\]]+|\[[^\]]*\]/g);return n?n.join("?."):t},e.removeOptionalChainOperator=e=>e?e.replace(/\?\./g,".").replace(/\.\[/g,"["):"";const t=e=>{const t=[],n=/\.([^.\[]+)|\[(\d+)\]|\[(['"])(.*?)\3\]/g;let r,i=0;const a=e.match(n);if(a&&(a?.index??0)>0)t.push(e.substring(0,a.index)),i=a.index;else if(!a&&e.length>0)return t.push(e),t;for(;null!==(r=n.exec(e));){if(r.index>i){const n=e.substring(i,r.index);n.startsWith(".")?t.push(n.substring(1)):t.push(n)}r[1]?t.push(r[1]):r[2]?t.push(parseInt(r[2],10)):r[4]&&t.push(r[4]),i=n.lastIndex}if(i<e.length){const n=e.substring(i);n.startsWith(".")?t.push(n.substring(1)):t.push(n)}return t};e.to=t=>{const n={};return Object.entries(t).forEach(([t,r])=>{e.set(n,t,r)}),n},e.set=(e,n,r)=>{const i=t(n);let a=e;for(let e=0;e<i.length;e++){const t=i[e];if(e===i.length-1)a[t]=r;else{const n=i[e+1];if("number"==typeof n){if(Array.isArray(a[t])||(a[t]=[]),Array.isArray(a[t]))for(;a[t].length<=n;)a[t].push({})}else"object"==typeof a[t]&&null!==a[t]||(a[t]={});a=a[t]}}},e.get=(e,n,r)=>{const i=t(n);let a=e;for(let e=0;e<i.length;e++){const t=i[e];if(null==a)return r;if("object"!=typeof a||null===a||!(t in a))return r;a=a[t]}return a},e.deletePath=(e,n)=>{const r=t(n);if(0===r.length)return!1;let i=e;for(let e=0;e<r.length-1;e++){const t=r[e];if(null==i)return!1;if("object"!=typeof i||null===i||!(t in i))return!1;i=i[t]}const a=r[r.length-1];return null!==i&&"object"==typeof i&&a in i&&(Array.isArray(i)&&"number"==typeof a?i.splice(a,1):delete i[a],!0)},e.availablePath=(e,t)=>{const n=[],r=e=>"number"==typeof e?"["+e+"]":/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)?e:"['"+e+"']",i=(e,a,o)=>{null!==e&&"object"==typeof e&&(o.has(e)||(o.add(e),Array.isArray(e)?e.forEach((e,s)=>{const c=r(s),u=a?`${a}${c}`:c;t&&!t(u,e)||n.push(u),i(e,u,o)}):Object.keys(e).forEach(s=>{const c=r(s);let u;u=c.startsWith("[")?a?`${a}${c}`:c:a?`${a}.${c}`:c,t&&!t(u,e[s])||n.push(u),i(e[s],u,o)})))};return i(e,"",new Set),n},e.detectPathFromScript=(e,t)=>{const n=new Set;class r{constructor(e){this.prefix=e,this.usingVars=n}set(e,t,n,r){return!0}get(e,t,n){if("symbol"==typeof t)return this.createSafeProxy(this.prefix);let r;const i=String(t);return r=isNaN(Number(i))?this.prefix?`${this.prefix}.${i}`:i:this.prefix?`${this.prefix}[${i}]`:i,r&&this.usingVars.add(r),this.createSafeProxy(r)}apply(e,t,n){return this.createSafeProxy(this.prefix)}createSafeProxy(e){const t=new r(e);return new Proxy(()=>{},{get:(n,r,i)=>r===Symbol.toPrimitive?()=>"":"valueOf"===r?()=>t.createSafeProxy(e):"toString"===r?()=>"":t.get(n,r,i),set:t.set.bind(t),apply:t.apply.bind(t)})}}const i={window:new Proxy(()=>{},new r("window")),document:new Proxy(()=>{},new r("document")),console:new Proxy(()=>{},new r("console"))},a=new Proxy(()=>{},new r("this"));try{new Function("window","document","console",`"use strict"; ${e}; `).call(a,i.window,i.document,i.console)}catch(e){console.error("detectPathFromScript error:",e)}if(t?.excludeThis){const e=new Set;return n.forEach(t=>{"this"!==t&&(t.startsWith("this.")?e.add(t.substring(5)):e.add(t))}),e}return n}}(t=e.Path||(e.Path={})),e.toDeleteKey=(t,n)=>{const r={...t};return e.deleteKey(r,n),r},e.deleteKey=(e,t)=>{t.filter(e=>(0,c.O)(e)).forEach(t=>{delete e[t]})},function(e){e.evalReturn=(t,n={})=>{let r="",i="";return"object"==typeof t?(r=t.bodyScript,i=t.returnScript):i=t,e.eval(`${r}; return ${i} `,n)},e.eval=(e,t={})=>{try{return Function(`"use strict"; ${e} `).bind(t)()}catch(t){return console.error("eval error",t),void console.error(e)}}}(n=e.Script||(e.Script={}))}(s||(s={}));const p=o.B}},v={};function g(e){var t=v[e];if(void 0!==t)return t.exports;var n=v[e]={exports:{}};return m[e](n,n.exports,g),n.exports}g.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return g.d(t,{a:t}),t},g.d=(e,t)=>{for(var n in t)g.o(t,n)&&!g.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},g.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var x={};g.d(x,{AR:()=>S,SX:()=>k,W$:()=>b,dM:()=>M,ey:()=>j,v0:()=>P}),g(6404);var b,w=g(5053),O=g(7441);!function(e){e.ERROR_OBJECT="SIMPLE_BOOT_CORE://ExceptionHandler/ERROR_OBJECT",e.PARAMETER="SIMPLE_BOOT_CORE://ExceptionHandler/PARAMETER"}(b||(b={}));const _=Symbol("ExceptionHandler"),k=(e={})=>(t,n,r)=>{const i=w.d.getMetadata(_,t.constructor)??[],a=t[n];i.push({propertyKey:n,method:a,config:e}),w.d.defineMetadata(_,i,t.constructor),w.d.defineMetadata(_,e,t,n)},j=(e,t)=>w.d.getMetadata(_,e,t),M=e=>(null!=e&&"object"==typeof e&&(e=e.constructor),w.d.getMetadata(_,e)),S=(e,t)=>{const n=M(e),r=n?.filter(e=>void 0===e.config.type),i=n?.filter(e=>O.B.isPrototypeOfTarget(e.config.type,t)),a=i?.sort((e,n)=>{const r=O.B.prototypeOfDepth(t,e.config.type),i=O.B.prototypeOfDepth(t,n.config.type);return r.length-i.length});return(a??[]).concat(...r??[])},P=(e,t,n=[])=>{let r=S(e,t);return r=r?.filter(e=>!n.includes(e.method)),r&&r.length>0?r[0]:void 0},E=x.W$,T=x.v0;var A={5053:(e,t,n)=>{n.d(t,{d:()=>c});var r={9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t=N(e,i);if(void 0!==t){var n=t.call(e,"string");if(S(n))throw new TypeError;return n}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o,s={};a.d(s,{d:()=>o}),a(9771),function(e){e.getParameterTypes=(e,t)=>t?Reflect.getMetadata("design:paramtypes",e,t)||[]:Reflect.getMetadata("design:paramtypes",e)||[],e.getReturnType=(e,t)=>Reflect.getMetadata("design:returntype",e,t),e.getType=(e,t)=>t?Reflect.getMetadata("design:type",e,t):Reflect.getMetadata("design:type",e),e.getMetadata=(e,t,n)=>n?Reflect.getMetadata(e,t,n):Reflect.getMetadata(e,t),e.getMetadataKeys=e=>Reflect.getMetadataKeys(e),e.getOwnMetadata=(e,t,n)=>n?Reflect.getOwnMetadata(e,t,n):Reflect.getOwnMetadata(e,t),e.getMetadatas=t=>e.getMetadataKeys(t).map(n=>e.getMetadata(n,t)),e.metadata=(e,t)=>Reflect.metadata(e,t),e.defineMetadata=(e,t,n,r)=>{r&&Reflect.defineMetadata?Reflect.defineMetadata(e,t,n,r):Reflect.defineMetadata&&Reflect.defineMetadata(e,t,n)}}(o||(o={}));const c=s.d},6404:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t="string",n=N(e,i);if(void 0!==n){var r=n.call(e,t);if(S(r))throw new TypeError;return r}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},R={};function z(e){var t=R[e];if(void 0!==t)return t.exports;var n=R[e]={exports:{}};return A[e](n,n.exports,z),n.exports}z.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return z.d(t,{a:t}),t},z.d=(e,t)=>{for(var n in t)z.o(t,n)&&!z.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},z.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var N={};z.d(N,{Mq:()=>K,Qp:()=>C,_t:()=>L,tr:()=>I,y_:()=>D}),z(6404);var C,F=z(5053);!function(e){e.INDEX="SIMPLE_BOOT_CORE://Inject/INDEX"}(C||(C={}));class L{constructor({situationType:e,data:t,index:n}){this.situationType=e,this.data=t,this.index=n}}class I{constructor(e){this.containers=[],e&&this.containers.push(...e)}push(...e){this.containers.push(...e)}get length(){return this.containers.length}find(e,t){return this.containers.find(e)}}const B=Symbol("Inject"),U=(e,t,n,r)=>{if(n&&"object"==typeof t){const i=t;t=t.constructor;const a=Reflect.getOwnMetadata(B,t,n)||[],o=F.d.getParameterTypes(i,n)[r];a.push({index:r,config:e,propertyKey:n,type:o}),F.d.defineMetadata(B,a,t,n)}else if(!n||"function"==typeof t){const n=F.d.getMetadata(B,t)||[],i=F.d.getParameterTypes(t)[r];n.push({index:r,config:e,type:i}),F.d.defineMetadata(B,n,t)}};function D(e,t,n){if(!t||void 0===n)return(t,n,r)=>{U(e,t,n,r)};U({},e,t,n)}const K=(e,t)=>(null!=e&&void 0!==e&&"object"==typeof e&&(e=e.constructor),t?Reflect.getOwnMetadata(B,e,t):F.d.getMetadata(B,e)??[]),q=N._t,H=N.tr,W=N.Mq;var V=r(5053),$=r(6377),X=r(1022),J=r(9434),Y={420:(e,t,n)=>{n.d(t,{e:()=>i});var r=n(3966);class i extends r.W{constructor(e,t,n,r){super(e,t,r),this.propertyKeys=n}}},532:(e,t,n)=>{n.d(t,{r:()=>u});var r={3056:(e,t,n)=>{n.d(t,{$:()=>r});var r,i=n(9284);!function(e){e.deleteEnter=e=>e.replace(/\r?\n/g,""),e.pickEmoji=e=>e.match(/[\p{Emoji}]/gu)??[],e.regexExec=(e,t)=>{let n=e.exec(t);const r=[];for(;n;)r.push(n),n=e.exec(n.input);return r},e.regexExecArrayReplace=(t,n,r)=>((Array.isArray(n)?n:e.regexExec(n,t)).reverse().forEach(e=>{const n="string"==typeof r?r:r(e);t=t.substr(0,e.index)+t.substr(e.index).replace(e[0],n)}),t),e.escapeSpecialCharacterRegExp=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),e.trim=e=>e.trim(),e.rsubString=(e,t)=>e.substring(e.length-t,e.length),e.lsubString=(e,t)=>e.substring(0,t),e.lpad=(t,n,r)=>{for(;n>r.length;)r=t+r;return e.rsubString(r,n)},e.rpad=(t,n,r)=>{for(;n>r.length;)r+=t;return e.lsubString(r,n)},e.lappend=(e,t)=>{let n="",r=0;for(;r++<e;)n+=t;return n},e.unescape=e=>{if(!e)return"";const t={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿","#x27":"'"};return e.replace(/&((?:(?:[a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});?)+);/gi,(e,n)=>n.toLowerCase().split(";").map(n=>n in t?t[n]:e).join(""))},e.executeExpression=(e,t)=>e.replace(/\${([^{}]*)}/g,(e,n)=>String(t[n]??e)),e.ellipsis=(e,t)=>e.length>t?`${e.slice(0,t)}...`:e,e.appendPostposition=(e,{vowel:t,consonant:n})=>`${e}${i.U.lastConsonantLetter(e)?n:t}`}(r||(r={}))},9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};a.d(o,{r:()=>s});var s,c=a(3056);!function(e){let t,n;e.bindExpression=(e,t)=>(e??"").replace(/\$\{([\s\S.]*?)\}/g,(e,n)=>{const[r,i]=n.split(":"),a=t[r];return a?"function"==typeof a?a(t[i]):a:""}),function(e){e.isExpression=e=>/[$#]\{([\s\S.]*?)\}[$#]/g.test(e??""),e.expressionGroups=e=>c.$.regexExec(/[$#]\{([\s\S.]*?)\}[$#]/g,e??"")}(t=e.Group||(e.Group={})),function(e){e.pathNameData=(e,t)=>{const n=e.split("/"),r=t.split("/");if(n.length!==r.length)return;const i={};for(let e=0;e<r.length;e++){const t=r[e],a=n[e],o=/^\{(.+)\}$/g.exec(t);if(!o){if(t!==a)return;continue}const[s,c]=o[1].split(":");if(c&&!new RegExp(c).test(a))return;i[s]=a}return i}}(n=e.Path||(e.Path={}))}(s||(s={}));const u=o.r},742:(e,t,n)=>{n.d(t,{wB:()=>o}),n(6404),n(5053);var r,i,a={d:(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};a.d({},{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={})),function(e){e.Singleton="Singleton",e.Transient="Transient"}(i||(i={})),new Map,new Set;const o=Symbol("Sim");Symbol("PostConstruct")},970:(e,t,n)=>{n.d(t,{cI:()=>a});var r=n(5053);const i=Symbol("Router"),a=e=>{null!=e&&"object"==typeof e&&(e=e.constructor);try{return r.d.getMetadata(i,e)}catch(e){}};Symbol("RouteMetadataKey")},3966:(e,t,n)=>{n.d(t,{W:()=>r});class r{constructor(e,t,n){this.message=e,this.name=t,this.stack=n}}},5053:(e,t,n)=>{n.d(t,{d:()=>c});var r={9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t=N(e,i);if(void 0!==t){var n=t.call(e,"string");if(S(n))throw new TypeError;return n}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o,s={};a.d(s,{d:()=>o}),a(9771),function(e){e.getParameterTypes=(e,t)=>t?Reflect.getMetadata("design:paramtypes",e,t)||[]:Reflect.getMetadata("design:paramtypes",e)||[],e.getReturnType=(e,t)=>Reflect.getMetadata("design:returntype",e,t),e.getType=(e,t)=>t?Reflect.getMetadata("design:type",e,t):Reflect.getMetadata("design:type",e),e.getMetadata=(e,t,n)=>n?Reflect.getMetadata(e,t,n):Reflect.getMetadata(e,t),e.getMetadataKeys=e=>Reflect.getMetadataKeys(e),e.getOwnMetadata=(e,t,n)=>n?Reflect.getOwnMetadata(e,t,n):Reflect.getOwnMetadata(e,t),e.getMetadatas=t=>e.getMetadataKeys(t).map(n=>e.getMetadata(n,t)),e.metadata=(e,t)=>Reflect.metadata(e,t),e.defineMetadata=(e,t,n,r)=>{r&&Reflect.defineMetadata?Reflect.defineMetadata(e,t,n,r):Reflect.defineMetadata&&Reflect.defineMetadata(e,t,n)}}(o||(o={}));const c=s.d},5846:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(5053);const i=Symbol("Injection"),a=(e,t)=>r.d.getMetadata(i,e,t)},6404:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t="string",n=N(e,i);if(void 0!==n){var r=n.call(e,t);if(S(r))throw new TypeError;return r}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))},9212:(e,t,n)=>{n.d(t,{J:()=>a});var r=n(742),i=n(5053);class a{constructor(e,t,n){this.type=e,this.simstanceManager=t,this.config=n,this.value=e.value}getConfig(e=r.wB){return i.d.getMetadata(e,this.type.originalType)}getConfigs(){return i.d.getMetadatas(this.type.originalType)}getValue(e){return e?.refresh&&(this.value=void 0),this.value||(this.value=this.simstanceManager.getOrNewSim({target:this.type.targetKeyType,originTypeTarget:this.type.originalType,newInstanceCarrier:e?.newInstanceCarrier})),this.value}}}},G={};function Z(e){var t=G[e];if(void 0!==t)return t.exports;var n=G[e]={exports:{}};return Y[e](n,n.exports,Z),n.exports}Z.d=(e,t)=>{for(var n in t)Z.o(t,n)&&!Z.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Z.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Q={};Z.d(Q,{i:()=>ae});var ee=Z(9212),te=Z(5846),ne=Z(420),re=Z(970),ie=Z(532);class ae{get path(){return this._path}set path(e){this._path=e}get data(){return this._data}set data(e){this._data=e}get intent(){return this._intent}set intent(e){this._intent=e}get propertyKeys(){return this._propertyKeys}set propertyKeys(e){this._propertyKeys=e}get pathData(){return this._pathData}set pathData(e){this._pathData=e}constructor(e,t,n,r=[]){this.simstanceManager=e,this.router=t,this.module=n,this.routerChains=r}getRouterPath(e=""){return this.getRouterPaths().map(e=>e??"").join(e)}getRouterPaths(){return this.routerChains.map(e=>(0,re.cI)(e instanceof ee.J?e.type.targetKeyType:e)?.path)}getRouterPathData(e){return ie.r.Path.pathNameData(e,this.getRouterPath())}getModuleInstance(e,t=!0){const n=this.simstanceManager.getOrNewSim({target:this.module?.targetKeyType,originTypeTarget:this.module?.originalType});if(e&&this.propertyKeys&&this.propertyKeys.includes(e)){let r=n[e];return t&&"boolean"==typeof t?r=r.bind(n):t&&"object"==typeof t&&(r=r.bind(t)),r}return n}executeModuleProperty(e,...t){const n=this.getModuleInstance();if(e){if((0,te.A)(n,e)){const r=new Map;return t.forEach(e=>r.set(e.constructor,e)),this.simstanceManager.executeBindParameterSim({target:n,targetKey:e},r)}if(n[e])return n[e]?.(...t);throw new ne.e(`${e.toString()} noSuch`,e.toString(),e)}}get firstRouteChain(){return this.routerChains[0]}get firstRouteChainValue(){return this.firstRouteChain.getValue()}get lastRouteChain(){return this.routerChains[this.routerChains.length-1]}get lastRouteChainValue(){return this.lastRouteChain.getValue()}hasActivateInLastRoute(e){return!0===this.lastRouteChainValue?.hasActivate(e)}get queryParams(){if(this.intent)return this.intent.queryParams}get queryParamsAfterDecodeURI(){if(this.intent)return this.intent.queryParamsAfterDecodeURI}}const oe=Q.i;var se=r(2188),ce={5053:(e,t,n)=>{n.d(t,{d:()=>c});var r={9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t=N(e,i);if(void 0!==t){var n=t.call(e,"string");if(S(n))throw new TypeError;return n}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o,s={};a.d(s,{d:()=>o}),a(9771),function(e){e.getParameterTypes=(e,t)=>t?Reflect.getMetadata("design:paramtypes",e,t)||[]:Reflect.getMetadata("design:paramtypes",e)||[],e.getReturnType=(e,t)=>Reflect.getMetadata("design:returntype",e,t),e.getType=(e,t)=>t?Reflect.getMetadata("design:type",e,t):Reflect.getMetadata("design:type",e),e.getMetadata=(e,t,n)=>n?Reflect.getMetadata(e,t,n):Reflect.getMetadata(e,t),e.getMetadataKeys=e=>Reflect.getMetadataKeys(e),e.getOwnMetadata=(e,t,n)=>n?Reflect.getOwnMetadata(e,t,n):Reflect.getOwnMetadata(e,t),e.getMetadatas=t=>e.getMetadataKeys(t).map(n=>e.getMetadata(n,t)),e.metadata=(e,t)=>Reflect.metadata(e,t),e.defineMetadata=(e,t,n,r)=>{r&&Reflect.defineMetadata?Reflect.defineMetadata(e,t,n,r):Reflect.defineMetadata&&Reflect.defineMetadata(e,t,n)}}(o||(o={}));const c=s.d}},ue={};function pe(e){var t=ue[e];if(void 0!==t)return t.exports;var n=ue[e]={exports:{}};return ce[e](n,n.exports,pe),n.exports}pe.d=(e,t)=>{for(var n in t)pe.o(t,n)&&!pe.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},pe.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var le={};pe.d(le,{BR:()=>ke,Hl:()=>he,Lu:()=>Oe,OH:()=>ve,QL:()=>xe,aK:()=>be,by:()=>ge,nv:()=>ye,q7:()=>_e,xh:()=>we});var de=pe(5053);const fe=Symbol("ValidMetadataKey"),he=(e,t,n)=>{if(t&&"object"==typeof e){e=e.constructor;const r=Reflect.getOwnMetadata(fe,e,t)||[];r.push(n),Reflect.defineMetadata(fe,r,e,t)}else if(!t||"function"==typeof e){const t=Reflect.getOwnMetadata(fe,e)||[];t.push(n),Reflect.defineMetadata(fe,t,e)}},ye=(e,t)=>(null!=e&&"object"==typeof e&&(e=e.constructor),t?Reflect.getOwnMetadata(fe,e,t)??[]:de.d.getMetadata(fe,e)??[]),me=Symbol("ValidationMetadataKey"),ve=e=>(t,n)=>{const r=de.d.getMetadata(me,t.constructor)??[];r.push({propertyKey:n,validator:e}),de.d.defineMetadata(me,r,t.constructor),de.d.defineMetadata(me,e,t,n)},ge=(e,t)=>de.d.getMetadata(me,e,t),xe=e=>(null!=e&&"object"==typeof e&&(e=e.constructor),de.d.getMetadata(me,e)??[]),be=e=>(t,...n)=>e.test(t),we=(e,...t)=>null!==e,Oe=(e,...t)=>null!=e&&("string"==typeof e&&e.length>0||Array.isArray(e)&&e.length>0),_e=e=>ke(e).filter(e=>!e.valid),ke=e=>{const t=xe(e),n=[];return t.forEach(e=>{n.push({name:e.propertyKey,valid:e.validator(e.propertyKey,e),message:""})}),n},je=le.q7,Me=le.nv;var Se={d:(e,t)=>{for(var n in t)Se.o(t,n)&&!Se.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},Pe={};Se.d(Pe,{E:()=>Ee});class Ee{constructor(e){this.result=e}toString(){return this.result?JSON.stringify(this.result):"undefined"}get message(){return this.toString()}}const Te=Pe.E;var Ae=r(758),Re={5053:(e,t,n)=>{n.d(t,{d:()=>c});var r={9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t=N(e,i);if(void 0!==t){var n=t.call(e,"string");if(S(n))throw new TypeError;return n}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o,s={};a.d(s,{d:()=>o}),a(9771),function(e){e.getParameterTypes=(e,t)=>t?Reflect.getMetadata("design:paramtypes",e,t)||[]:Reflect.getMetadata("design:paramtypes",e)||[],e.getReturnType=(e,t)=>Reflect.getMetadata("design:returntype",e,t),e.getType=(e,t)=>t?Reflect.getMetadata("design:type",e,t):Reflect.getMetadata("design:type",e),e.getMetadata=(e,t,n)=>n?Reflect.getMetadata(e,t,n):Reflect.getMetadata(e,t),e.getMetadataKeys=e=>Reflect.getMetadataKeys(e),e.getOwnMetadata=(e,t,n)=>n?Reflect.getOwnMetadata(e,t,n):Reflect.getOwnMetadata(e,t),e.getMetadatas=t=>e.getMetadataKeys(t).map(n=>e.getMetadata(n,t)),e.metadata=(e,t)=>Reflect.metadata(e,t),e.defineMetadata=(e,t,n,r)=>{r&&Reflect.defineMetadata?Reflect.defineMetadata(e,t,n,r):Reflect.defineMetadata&&Reflect.defineMetadata(e,t,n)}}(o||(o={}));const c=s.d}},ze={};function Ne(e){var t=ze[e];if(void 0!==t)return t.exports;var n=ze[e]={exports:{}};return Re[e](n,n.exports,Ne),n.exports}Ne.d=(e,t)=>{for(var n in t)Ne.o(t,n)&&!Ne.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Ne.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Ce={};Ne.d(Ce,{Ix:()=>Be,X5:()=>He,aM:()=>qe,cI:()=>Ue,qh:()=>Ke,r3:()=>Ie,sP:()=>Le,yL:()=>De});var Fe=Ne(5053);const Le=Symbol("Router"),Ie=(e,t)=>{He(t)?.forEach(n=>{e.route=e.route??{};const r=Array.isArray(n.config.path)?n.config.path:[n.config.path];for(const i of r)if(e.route[i]){const t=e.route[i];t.propertyKeys.push(n.propertyKey),t.filters=t.filters??[],Array.isArray(n.config.filters)?t.filters.push(...n.config.filters):n.config.filters&&t.filters.push(n.config.filters)}else e.route[i]={target:t,propertyKeys:[n.propertyKey],filters:n.config.filters}}),Fe.d.defineMetadata(Le,e,t)};function Be(e){if("function"!=typeof e)return t=>{e.path=e.path??"",Ie(e,t)};Ie({path:""},e)}const Ue=e=>{null!=e&&"object"==typeof e&&(e=e.constructor);try{return Fe.d.getMetadata(Le,e)}catch(e){}},De=Symbol("RouteMetadataKey"),Ke=e=>(t,n,r)=>{const i=Fe.d.getMetadata(De,t.constructor)??[],a=t[n];i.push({propertyKey:n,method:a,config:e}),Fe.d.defineMetadata(De,i,t.constructor),Fe.d.defineMetadata(De,e,t,n)},qe=(e,t)=>Fe.d.getMetadata(De,e,t),He=e=>(null!=e&&"object"==typeof e&&(e=e.constructor),Fe.d.getMetadata(De,e)),We=Ce.aM;var Ve=r(7016),$e=r(5118),Xe=r(1262),Je=r(5797);class Ye extends s{constructor(e=new c.F){super(e),this.option=e,this.sessionManager=new Xe.C(this.option)}run(e){const t=super.run(e),n=[...this.option.closeEndPoints??[],...this.option.errorEndPoints??[],...this.option.requestEndPoints??[],...this.option.filters??[]];return Promise.all(n.map(e=>"function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e).map(e=>e.onInit(this))).then(e=>{this.startServer()}),t}startServer(){if(this.option.serverOption&&"key"in this.option.serverOption&&"cert"in this.option.serverOption){this.server=new p.Server(this.option.serverOption);const e=new u.Server;e.on("request",(e,t)=>{t.writeHead(301,{Location:`https://${e.headers.host}${e.url}`}),t.end()}),e.listen(80,this.option.listen.hostname,()=>{console.log("HTTP redirect server running on port 80")})}else this.option.serverOption?this.server=new u.Server(this.option.serverOption):this.server=new u.Server;this.server.on("request",async(e,t)=>{const n=this.option.transactionManagerFactory?await this.option.transactionManagerFactory():void 0;t.on("close",async()=>{if(this.option.closeEndPoints)for(const e of this.option.closeEndPoints)try{const t="function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e,n=t?.endPoint(r,this);n instanceof Promise&&await n}catch(e){}r.resIsDone()||r.resEnd()}),t.on("error",async()=>{if(this.option.errorEndPoints)for(const e of this.option.errorEndPoints)try{const t="function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e,n=t?.endPoint(r,this);n instanceof Promise&&await n}catch(e){}r.resIsDone()||r.resEnd()});const r=new l.z(e,t,{sessionManager:this.sessionManager,option:this.option});if(r.resSetHeader(h.L.Server,"simple-boot-http-server"),!r.reqCookieGet(this.option.sessionOption.key)){const e=await this.sessionManager.session();r.resSetHeader(h.L.SetCookie,`${this.option.sessionOption.key}=${e.uuid}; Path=/; HttpOnly`)}const i=new Map;i.set(l.z,r),i.set(u.IncomingMessage,e),i.set(u.ServerResponse,t);try{if(n?.try(),this.option.requestEndPoints)for(const e of this.option.requestEndPoints)try{const t="function"==typeof e?this.simstanceManager.getOrNewSim({target:e}):e;t?.endPoint(r,this)}catch(e){}const e={carrier:new Map,filters:[]};for(let t=0;this.option.filters&&t<this.option.filters.length;t++){const n=this.option.filters[t],i="function"==typeof n?this.simstanceManager.getOrNewSim({target:n}):n;let a=!0;if(i?.proceedBefore&&(a=await i.proceedBefore({rr:r,app:this,carrier:e.carrier}),e.filters.push({filter:i,sw:a})),!a)break}if(!r.resIsDone()){const e=await super.routing(r.reqIntent);i.set(oe,e);const t=e?.getModuleInstance?.();let a=[];if(e&&t){if(e.propertyKeys){const n=e.propertyKeys?.map(e=>({propertyKey:e,config:(0,d.Yu)(t,e)}));a.push(...n??[])}else a.push(...(0,d.Fz)(t).filter(e=>!We(t,e.propertyKey))??[]);if(r.reqMethod()?.toUpperCase()===$e.y.OPTIONS.toUpperCase()&&(r.resSetHeader(h.L.Allow,a.map(e=>e.config.method).join(", ")),r.resStatusCode(f.t.Ok)),a=a.filter(e=>e&&e.propertyKey&&e.config&&r.reqMethod()?.toUpperCase()===e.config.method.toUpperCase()),a.sort((e,t)=>(t.config?.req?.contentType?.length??0)+(t.config?.req?.accept?.length??0)-((e.config?.req?.contentType?.length??0)+(e.config?.req?.accept?.length??0))),a=a.filter(e=>!e.config?.req?.contentType||!!e.config?.req?.contentType?.find(e=>r.reqHasContentTypeHeader(e))).filter(e=>!e.config?.req?.accept||!!e.config?.req?.accept?.find(e=>r.reqHasAcceptHeader(e))),a[0]){const e=a[0],o=V.d.getParameterTypes(t,e.propertyKey),s=W(t,e.propertyKey),c=Me(t,e.propertyKey);if(s){const e=s.find(e=>e.config?.situationType===d.cr.REQ_JSON_BODY),t=s.find(e=>e.config?.situationType===d.cr.REQ_FORM_URL_BODY),a=s.find(e=>e.config?.situationType===Je.Q.TransactionManager),o=new H;if(e){let t=await r.reqBodyJsonData();if(e.type&&(t=Object.assign(new e.type,t)),c.includes(e.index)){const e=je(t);if((e?.length??0)>0)throw new Te(e)}o.push(new q({situationType:d.cr.REQ_JSON_BODY,data:t}))}if(t){let e=await r.reqBodyFormUrlData();if(t.type&&(e=Object.assign(new t.type,e)),c.includes(t.index)){const t=je(e);if((t?.length??0)>0)throw new Te(t)}o.push(new q({situationType:d.cr.REQ_FORM_URL_BODY,data:e}))}if(a&&a.type&&n&&n.hasTransaction(a.type)){let e=await n.getTransaction(a.type);e&&(e=await e.try(a.config.argument),o.push(new q({situationType:Je.Q.TransactionManager,data:e,index:a.index})))}o.length&&i.set(H,o)}for(const e of o)e===$.s?i.set($.s,await r.reqBodyReqFormUrlBody()):e===X.D?i.set(X.D,await r.reqBodyReqJsonBody()):e===Ve.URLSearchParams?i.set(Ve.URLSearchParams,r.reqUrlSearchParams):e===se.B?i.set(se.B,r.reqBodyMultipartFormData()):e===J.E&&i.set(J.E,r.reqHeaderObj);let u=await this.simstanceManager.executeBindParameterSimPromise({target:t,targetKey:e.propertyKey},i);if(e.config?.resolver){const t="function"==typeof e.config.resolver?this.simstanceManager.getOrNewSim({target:e.config.resolver}):e.config.resolver;u=await(t?.resolve?.(u,r))}const p=e.config?.res?.status??f.t.Ok,l=e.config?.res?.header??{};e.config?.res?.contentType&&(l[h.L.ContentType]=e.config?.res?.contentType),((e.config?.res?.contentType?.toLowerCase().indexOf(y.K.ApplicationJson.toLowerCase())??-1)>-1||u&&"object"==typeof u)&&(u=JSON.stringify(u)),r.resSetHeaders(l),r.resSetStatusCode(p),r.resWrite(u)}}if(this.option.noSuchRouteEndPointMappingThrow&&a.length<=0&&r.reqMethod()?.toUpperCase()!==$e.y.OPTIONS)throw this.option.noSuchRouteEndPointMappingThrow(r)}for(const t of e.filters.reverse())if(t.filter?.proceedAfter&&!await t.filter.proceedAfter({rr:r,app:this,before:t.sw,carrier:e.carrier}))break}catch(e){n?.catch(e),r.resStatusCode(e instanceof Ae.j?e.status:f.t.InternalServerError);const t="function"==typeof this.option.globalAdvice?this.simstanceManager.getOrNewSim(this.option.globalAdvice):this.option.globalAdvice;if(!t)return void r.resEnd();e&&"object"==typeof e&&(i.set(e.constructor,e),i.set(q,new q({situationType:E.ERROR_OBJECT,data:e})));const a=T(t,e);a&&await this.simstanceManager.executeBindParameterSimPromise({target:t,targetKey:a.propertyKey},i)}finally{n?.finally()}r.resIsDone()||r.resEnd()}),this.server.listen(this.option.listen.port,this.option.listen.hostname,this.option.listen.backlog,()=>{this.option.listen.listeningListener?.(this,this.server)})}}},1022:(e,t,n)=>{n.d(t,{D:()=>r});class r{}},1262:(e,t,n)=>{n.d(t,{C:()=>a});var r=n(889),i=n(3500);class a{constructor(e){this.option=e,this.sessions=new Map,this.sessionOption=e.sessionOption,setInterval(async()=>{const e=await this.getSessionUUIDs();for(const t of e){const e=await this.getSessionDataSet(t);e&&this.isExpired(e.access)&&await this.deleteSession(t)}},this.sessionOption.expiredTime)}async getSessionUUIDs(){return this.sessionOption.provider?.uuids?this.sessionOption.provider.uuids():Array.from(this.sessions.keys())}async deleteSession(e){this.sessionOption.provider?.delete?this.sessionOption.provider.delete(e):this.sessions.delete(e)}async getSessionDataSet(e){return this.sessionOption.provider?.get?this.sessionOption.provider.get(e):this.sessions.get(e)}async setSessionDataSet(e,t){this.sessionOption.provider?.set?this.sessionOption.provider.set(e,t):this.sessions.set(e,t)}isExpired(e,t=Date.now()){return t-e>=this.option.sessionOption.expiredTime}makeUUID(){return r.n.uuid("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")}async session(e){let t;t=e instanceof i.z?e.reqCookieGet(this.sessionOption.key)??this.makeUUID():"string"==typeof e?e:this.makeUUID();let n=await this.getSessionDataSet(t);const r=Date.now();return n?(this.isExpired(n.access,r)&&delete n.data,n.access=r):n={access:r},await this.setSessionDataSet(t,n),{uuid:t,dataSet:n}}}},1506:(e,t,n)=>{n.d(t,{F:()=>r.F});var r=n(3587)},1872:(e,t,n)=>{n.d(t,{D:()=>a});var r=n(758),i=n(229);class a extends r.j{constructor({status:e=i.t.Unauthorized,message:t="Unauthorized"}={}){super({status:e,message:t})}}},1946:(e,t,n)=>{var r;n.d(t,{K:()=>r}),function(e){e.ApplicationJson="application/json",e.ApplicationOctetStream="application/octet-stream",e.ApplicationXml="application/xml",e.ApplicationJsonPatch="application/json-patch+json",e.ApplicationXWwwFormUrlencoded="application/x-www-form-urlencoded",e.TextPlain="text/plain",e.TextHtml="text/html",e.All="*/*",e.TextCss="text/css",e.TextJavascript="text/javascript",e.TextXml="text/xml",e.TextXslt="text/xslt",e.TextXmlDtd="text/xml-dtd",e.TextPlainUtf8="text/plain; charset=utf-8",e.ImagePng="image/png",e.ImageGif="image/gif",e.ImageJpeg="image/jpeg",e.ImageSvg="image/svg+xml",e.ImageBmp="image/bmp",e.ImageTiff="image/tiff",e.ImagePdf="application/pdf",e.ImageXBmp="image/x-bmp",e.ImageXpixmap="image/x-xpixmap",e.ImageXxbm="image/x-xbm",e.MultipartFormData="multipart/form-data"}(r||(r={}))},2001:(e,t,n)=>{n.d(t,{Ay:()=>r.Ay,D9:()=>r.D9,Df:()=>r.Df,Fz:()=>r.Fz,L3:()=>r.L3,LO:()=>r.LO,Ro:()=>r.Ro,SJ:()=>r.SJ,Sl:()=>r.Sl,Uc:()=>r.Uc,Vx:()=>r.Vx,Y:()=>r.Y,Yu:()=>r.Yu,ZD:()=>r.ZD,Zy:()=>r.Zy,_P:()=>r._P,aK:()=>r.aK,a_:()=>r.a_,cr:()=>r.cr,fG:()=>r.fG,ft:()=>r.ft,hZ:()=>r.hZ,hg:()=>r.hg,kl:()=>r.kl,lw:()=>r.lw,mI:()=>r.mI,nw:()=>r.nw,oB:()=>r.oB,q4:()=>r.q4,rX:()=>r.rX,sp:()=>r.sp});var r=n(9108)},2188:(e,t,n)=>{n.d(t,{B:()=>r});class r{constructor(e=[]){this.field=e}}},2240:(e,t,n)=>{n.d(t,{n:()=>r});class r{constructor(e){this.error=e}async onInit(e){}async proceedBefore({rr:e,app:t}){return!0}async proceedAfter({rr:e,app:t}){if(!e.resIsDone())throw this.error;return!1}}},2302:(e,t,n)=>{n.d(t,{z:()=>r.z});var r=n(3497)},2821:(e,t,n)=>{n.d(t,{$O:()=>p.$,Bv:()=>u.B,DX:()=>c.D,E0:()=>a.E,FW:()=>o.F,m6:()=>i.m,sG:()=>s.s,yh:()=>r.y,zb:()=>r.z});var r=n(3500),i=n(7578),a=n(9434),o=n(3779),s=n(6377),c=n(1022),u=n(2188),p=n(9183)},3055:(t,n,r)=>{r.d(n,{i:()=>m});const i=e(import.meta.url)("node:module"),a=(0,i.createRequire)("file:///Users/hyunhakim/workspace/dooboostore/source/dooboostore-develop/dooboostore-develop.github.io/source/packages/@dooboostore/core-node/dist/esm/file/FileUtils.js")("node:os"),o=(0,i.createRequire)("file:///Users/hyunhakim/workspace/dooboostore/source/dooboostore-develop/dooboostore-develop.github.io/source/packages/@dooboostore/core-node/dist/esm/file/FileUtils.js")("node:fs"),s=(0,i.createRequire)("file:///Users/hyunhakim/workspace/dooboostore/source/dooboostore-develop/dooboostore-develop.github.io/source/packages/@dooboostore/core-node/dist/esm/file/FileUtils.js")("node:path");var c={9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},u={};function p(e){var t=u[e];if(void 0!==t)return t.exports;var n=u[e]={exports:{}};return c[e](n,n.exports,p),n.exports}p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var l={};p.d(l,{n:()=>d});var d,f,h=p(9284);(f=d||(d={})).uniqueInts=(e,t,n)=>{const r=[];if(n>t-e)throw new Error("Count is greater than the range of unique integers");for(;r.length<n;){const n=f.int(e,t);r.includes(n)||r.push(n)}return r},f.chance=e=>{if(e<0||e>1)throw new Error("Percentage must be between 0 and 1");return Math.random()<e},f.int=(e,t)=>Math.floor(f.float(e,t)),f.float=(e,t)=>h.U.isNullOrUndefined(e)?Math.random():!h.U.isNullOrUndefined(e)&&h.U.isNullOrUndefined(t)?Math.random()*(e||0):Math.random()*((t||0)-(e||0))+(e||0),f.uuid=(e="xxxx-xxxx-xxxx-xxxx")=>e.replace(/[xy]/g,function(e){const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),f.uuid4=()=>{let e,t="";for(e=0;e<32;e+=1)switch(e){case 8:case 20:t+="-",t+=(16*Math.random()|0).toString(16);break;case 12:t+="-",t+="4";break;case 16:t+="-",t+=(4*Math.random()|8).toString(16);break;default:t+=(16*Math.random()|0).toString(16)}return t},f.hex=()=>{const e="0123456789ABCDEF".split("");let t="";for(let n=0;n<6;n++)t+=e[Math.floor(16*Math.random())];return t},f.rgb=()=>{const e="0123456789ABCDEF".split("");let t="#";for(let n=0;n<6;n++)t+=e[Math.floor(16*Math.random())];return t},f.rgba=()=>{const e="0123456789ABCDEF".split("");let t="#";for(let n=0;n<8;n++)t+=e[Math.floor(16*Math.random())];return t},f.alphabet=e=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");let n="";for(let r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n};const y=l.n;var m;!function(e){class t{constructor(e){this._data=e,this.updateStats()}get originalName(){return this._data.originalName}get directory(){return this._data.path.substring(0,this._data.path.lastIndexOf("/"))}get fileName(){return this._data.path.substring(this._data.path.lastIndexOf("/")+1)}get path(){return this._data.path}get extension(){const e=this._data.path.substring(this._data.path.lastIndexOf(".")+1);return e.length>0?e:void 0}async updateStats(){const e=await o.promises.stat(this._data.path);this.size=e.size}async delete(){await o.promises.unlink(this._data.path),this._data.path="",this.size=void 0}async copy(e){await o.promises.copyFile(this._data.path,e),this._data.path=e,this.size=(await o.promises.stat(e)).size}async move(e){const t=e.substring(0,e.lastIndexOf("/"));await o.promises.mkdir(t,{recursive:!0}),await o.promises.rename(this._data.path,e),this._data.path=e,this.size=(await o.promises.stat(e)).size}async rename(e){const t=`${this.directory}/${e}`;await o.promises.rename(this._data.path,t),this.size=(await o.promises.stat(t)).size,this._data.path=t}}e.File=t,e.writeFile=async(e,n)=>(n.path??(n.path=`${a.tmpdir()}/${y.uuid4()}_${Date.now()}`),await o.promises.mkdir(n.path.substring(0,n.path.lastIndexOf("/")),{recursive:!0}),await o.promises.writeFile(n.path,e),new t({path:n.path,originalName:n.originalName})),e.path=e=>Array.isArray(e)?s.join(...e):e,e.existsSync=(t,n)=>{const r=e.path(t);return o.existsSync(r)?(n?.existes?.(r),!0):(n?.noExistes?.(r),!1)},e.mkdirSync=(t,n)=>{e.existsSync(t,{noExistes:e=>{o.mkdirSync(e,n)}})},e.mkdir=async(t,n)=>new Promise((r,i)=>{e.existsSync(t,{noExistes:e=>{o.mkdirSync(e,n),r(e)},existes:e=>{r(e)}})}),e.readSync=(t,n)=>{const r=e.path(t);return n?.option?o.readFileSync(r,n.option):o.readFileSync(r)},e.read=async(t,n)=>{const r=e.path(t);return o.readFile(r,n.option)},e.write=(t,n)=>{const r=e.path(n.path);return n.options?o.writeFileSync(r,t,n.options):o.writeFileSync(r,t),r},e.writeAppend=(t,n)=>{const r=e.path(n.path);return n.options?o.appendFileSync(r,t,n.options):o.appendFileSync(r,t),r},e.deleteSync=(t,n)=>{const r=e.path(t);e.existsSync(r)&&(n?.options?o.rmSync(r,n?.options):o.rmSync(r))},e.deleteDirSync=(t,n)=>{const r=e.path(t);e.existsSync(r)&&(n?.options?o.rmdirSync(r,n?.options):o.rmdirSync(r))},e.deleteFileSync=t=>{const n=e.path(t);e.existsSync(n)&&o.unlinkSync(n)},e.copySync=(t,n,r)=>{const i=e.path(t),a=e.path(n);o.cpSync(i,a,r)}}(m||(m={}))},3106:t=>{t.exports=e(import.meta.url)("zlib")},3367:(e,t,n)=>{n.d(t,{n:()=>r});class r{constructor(e){this.headers=e}async endPoint(e,t){this.headers&&e.resSetHeaders(this.headers)}async onInit(e){}}},3497:(e,t,n)=>{n.d(t,{z:()=>l});var r=n(3779),i={5053:(e,t,n)=>{n.d(t,{d:()=>c});var r={9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t=N(e,i);if(void 0!==t){var n=t.call(e,"string");if(S(n))throw new TypeError;return n}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o,s={};a.d(s,{d:()=>o}),a(9771),function(e){e.getParameterTypes=(e,t)=>t?Reflect.getMetadata("design:paramtypes",e,t)||[]:Reflect.getMetadata("design:paramtypes",e)||[],e.getReturnType=(e,t)=>Reflect.getMetadata("design:returntype",e,t),e.getType=(e,t)=>t?Reflect.getMetadata("design:type",e,t):Reflect.getMetadata("design:type",e),e.getMetadata=(e,t,n)=>n?Reflect.getMetadata(e,t,n):Reflect.getMetadata(e,t),e.getMetadataKeys=e=>Reflect.getMetadataKeys(e),e.getOwnMetadata=(e,t,n)=>n?Reflect.getOwnMetadata(e,t,n):Reflect.getOwnMetadata(e,t),e.getMetadatas=t=>e.getMetadataKeys(t).map(n=>e.getMetadata(n,t)),e.metadata=(e,t)=>Reflect.metadata(e,t),e.defineMetadata=(e,t,n,r)=>{r&&Reflect.defineMetadata?Reflect.defineMetadata(e,t,n,r):Reflect.defineMetadata&&Reflect.defineMetadata(e,t,n)}}(o||(o={}));const c=s.d},6404:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}(),r=function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,i)},t.prototype.values=function(){return new n(this._keys,this._values,o)},t.prototype.entries=function(){return new n(this._keys,this._values,s)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();return r;function i(e,t){return e}function o(e,t){return t}function s(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t="string",n=N(e,i);if(void 0!==n){var r=n.call(e,t);if(S(r))throw new TypeError;return r}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e](n,n.exports,o),n.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var s,c,u=(o(6404),o(5053),{d:(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)});u.d({},{U:()=>s}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(s||(s={})),function(e){e.Singleton="Singleton",e.Transient="Transient"}(c||(c={})),new Map,new Set,Symbol("Sim"),Symbol("PostConstruct");const p={}.on;let l=class{resolve(e,t){return new r.F(e??t).write(t)}};l=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([p],l)},3500:(t,n,r)=>{r.d(n,{z:()=>R,y:()=>z});var i=r(7953),a={532:(e,t,n)=>{n.d(t,{r:()=>u});var r={3056:(e,t,n)=>{n.d(t,{$:()=>r});var r,i=n(9284);!function(e){e.deleteEnter=e=>e.replace(/\r?\n/g,""),e.pickEmoji=e=>e.match(/[\p{Emoji}]/gu)??[],e.regexExec=(e,t)=>{let n=e.exec(t);const r=[];for(;n;)r.push(n),n=e.exec(n.input);return r},e.regexExecArrayReplace=(t,n,r)=>((Array.isArray(n)?n:e.regexExec(n,t)).reverse().forEach(e=>{const n="string"==typeof r?r:r(e);t=t.substr(0,e.index)+t.substr(e.index).replace(e[0],n)}),t),e.escapeSpecialCharacterRegExp=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),e.trim=e=>e.trim(),e.rsubString=(e,t)=>e.substring(e.length-t,e.length),e.lsubString=(e,t)=>e.substring(0,t),e.lpad=(t,n,r)=>{for(;n>r.length;)r=t+r;return e.rsubString(r,n)},e.rpad=(t,n,r)=>{for(;n>r.length;)r+=t;return e.lsubString(r,n)},e.lappend=(e,t)=>{let n="",r=0;for(;r++<e;)n+=t;return n},e.unescape=e=>{if(!e)return"";const t={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿","#x27":"'"};return e.replace(/&((?:(?:[a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});?)+);/gi,(e,n)=>n.toLowerCase().split(";").map(n=>n in t?t[n]:e).join(""))},e.executeExpression=(e,t)=>e.replace(/\${([^{}]*)}/g,(e,n)=>String(t[n]??e)),e.ellipsis=(e,t)=>e.length>t?`${e.slice(0,t)}...`:e,e.appendPostposition=(e,{vowel:t,consonant:n})=>`${e}${i.U.lastConsonantLetter(e)?n:t}`}(r||(r={}))},9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};a.d(o,{r:()=>s});var s,c=a(3056);!function(e){let t,n;e.bindExpression=(e,t)=>(e??"").replace(/\$\{([\s\S.]*?)\}/g,(e,n)=>{const[r,i]=n.split(":"),a=t[r];return a?"function"==typeof a?a(t[i]):a:""}),function(e){e.isExpression=e=>/[$#]\{([\s\S.]*?)\}[$#]/g.test(e??""),e.expressionGroups=e=>c.$.regexExec(/[$#]\{([\s\S.]*?)\}[$#]/g,e??"")}(t=e.Group||(e.Group={})),function(e){e.pathNameData=(e,t)=>{const n=e.split("/"),r=t.split("/");if(n.length!==r.length)return;const i={};for(let e=0;e<r.length;e++){const t=r[e],a=n[e],o=/^\{(.+)\}$/g.exec(t);if(!o){if(t!==a)return;continue}const[s,c]=o[1].split(":");if(c&&!new RegExp(c).test(a))return;i[s]=a}return i}}(n=e.Path||(e.Path={}))}(s||(s={}));const u=o.r}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return a[e](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var c={};s.d(c,{J:()=>l,M:()=>u});var u,p=s(532);!function(e){e.DATA_PARAMETERS="DATA_PARAMETERS",e.INLINE_DATA_PARAMETERS="INLINE_DATA_PARAMETERS"}(u||(u={}));class l{constructor(e,t,n){if(this.uri=e,this.data=t,this.event=n,this.sessionData=new Map,"string"==typeof e){const t=e.match(/^Symbol\.for\((.+)\):\/(.*)$/);if(t){const e=Symbol.for(t[1]);this.uri={symbol:e,uri:t[2]}}}}get symbols(){if("object"==typeof this.uri)return Array.isArray(this.uri.symbol)?this.uri.symbol:[this.uri.symbol]}get scheme(){if("string"==typeof this.uri){const e=this.uri.split("://");return e.length>1?e[0]:void 0}}get paths(){return this.pathname.split("/")??[]}get fullPath(){const e=("string"==typeof this.uri?this.uri:this.uri.uri).split("://");return e[e.length>=2?1:0]??""}get pathname(){return this.fullPath.split("?")[0]}get query(){return this.fullPath.split("?")[1]??""}get queryParams(){const e={};return this.query.split("&")?.forEach(t=>{const n=t.split("=");e[n[0]]=n[1]}),e}get queryParamsAfterDecodeURI(){const e=this.queryParams;for(const t in e)e.hasOwnProperty(t)&&(e[t]=decodeURIComponent(e[t]));return e}getPathnameData(e){return p.r.Path.pathNameData(this.pathname,e)}get isSymbolScheme(){return void 0!==this.symbols}}const d=c.J;var f=r(7016);const h=e(import.meta.url)("buffer");var y=r(6377),m=r(1022),v=r(9434),g=r(5884),x=r(3055),b={2676:(e,t,n)=>{n.d(t,{B:()=>r});var r,i=n(7855),a=n(9284);!function(e){let t,n;e.constructorName=e=>e&&e.constructor&&e.constructor.name?e.constructor.name:e&&e.name?e.name:void 0,e.deepCopy=e=>e instanceof Map?new Map(JSON.parse(JSON.stringify(Array.from(e.entries())))):e instanceof Set?new Set(JSON.parse(JSON.stringify(Array.from(e.values())))):a.U.isNullOrUndefined(e)?e:JSON.parse(JSON.stringify(e)),e.allProtoTypeName=(t,n)=>{let r=[];if(t){const i=Object.getPrototypeOf(t);i&&(r=Object.keys(i)||[]).length>0&&(r=r.concat(e.allProtoTypeName(i,n)))}let i=r.filter(e=>"constructor"!==e);if(n&&t){const e=Object.getPrototypeOf(t);i=i.filter(t=>n(t,e?.[t]))}return i},e.uniqueKeys=e=>Array.from(new Set((Array.isArray(e)?e:[e]).flatMap(e=>Object.keys(e)))),e.ownPropertyNames=e=>{const t=[];if(e)if(e.prototype)t.push(...Object.getOwnPropertyNames(Object.getPrototypeOf(e)));else{const n=Object.getPrototypeOf(e);t.push(...Object.getOwnPropertyNames(n))}return t.filter(e=>"constructor"!==e)},e.protoTypeName=e=>{let t=[];if(e){const n=Object.getPrototypeOf(e);t=Object.keys(n)||[]}return t.filter(e=>"constructor"!==e)},e.protoTypes=e=>{const t=[];if(e){const n=Object.getPrototypeOf(e);(Object.keys(n)||[]).filter(e=>"constructor"!==e).forEach(e=>{t.push(n[e])})}return t},e.seal=e=>Object.seal(e),e.isPrototypeOfTarget=(e,t)=>!(!e||!t)&&Object.prototype.isPrototypeOf.call(e.prototype,t),e.prototypeOfDepth=(e,t)=>{let n=e;const r=[];if(t)do{if(n=Object.getPrototypeOf(n),n?.constructor===t)break;r.push(n)}while(n);return r},e.allProtoType=e=>{const t=(e,n=[])=>(e.prototype&&(n.push(e),t(Object.getPrototypeOf(e),n)),n);return t(e)},e.prototypeOf=e=>Object.getPrototypeOf(e),e.prototypeKeyMap=e=>{const t=new Map;if(e){const n=Object.getPrototypeOf(e);(Object.keys(n)||[]).filter(e=>"constructor"!==e).forEach(e=>{t.set(n[e],e)})}return t},e.prototypeName=(t,n)=>e.prototypeKeyMap(t).get(n),e.pickRandomKey=e=>{const t=Object.keys(e);return t[Math.floor(Math.random()*t.length)]},e.pickRandomValue=e=>{const t=Object.keys(e);return e[t[Math.floor(Math.random()*t.length)]]},e.pickRandomKeyValue=e=>{const t=Object.keys(e),n=t[Math.floor(Math.random()*t.length)];return{key:n,value:e[n]}},e.keyValues=e=>Object.keys(e).map(t=>({key:t,value:e[t]})),e.entries=e=>Object.entries(e),e.values=e=>Object.values(e),e.keys=e=>Object.keys(e),e.keyLength=t=>e.keys(t).length,e.toDeleteUndefinedAndNull=(e,t)=>{const n=e=>Array.isArray(e)?e.filter(e=>null!=e).map(n):e&&"object"==typeof e?t?.deep?Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t).map(([e,t])=>[e,n(t)])):Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t)):e;return n(e)},function(e){e.isFunctionScript=e=>e.trim().startsWith("function"),e.isArrowFunctionScript=e=>/^\s*\([^)]*\)\s*=>/.test(e),e.toOptionalChainPath=t=>{if(!t)return"";if(t.trim().startsWith("{")&&t.trim().endsWith("}"))return t;if(e.isFunctionScript(t)||e.isArrowFunctionScript(t))return t;if(t.includes(" ? ")&&t.includes(" : ")){const e=t.split(/(\s+\?\s+|\s+:\s+)/).map((e,t)=>{if(0===t){const t=e.match(/[^?.[\]]+|\[[^\]]*\]/g);if(t&&t.length>1)return t.join("?.")}return e});return e.join("")}if(t.includes("(")){const n=[];let r=t,i=0;const a=/(\w+)\(([^()]*(?:\([^()]*\)[^()]*)*)\)/g;let o;for(;null!==(o=a.exec(t));){const t=o[0],a=o[1],s=o[2],c=`__FUNC_CALL_${i}__`,u=`${a}?.(${s?e.toOptionalChainPath(s):""})`;n.push({original:t,processed:u,placeholder:c}),r=r.replace(t,c),i++}const s=r.match(/[^?.[\]]+|\[[^\]]*\]/g);let c="";c=s&&s.length>1?s.join("?."):r;for(const e of n)c=c.replace(e.placeholder,e.processed);return c}const n=t.match(/[^?.[\]]+|\[[^\]]*\]/g);return n?n.join("?."):t},e.removeOptionalChainOperator=e=>e?e.replace(/\?\./g,".").replace(/\.\[/g,"["):"";const t=e=>{const t=[],n=/\.([^.\[]+)|\[(\d+)\]|\[(['"])(.*?)\3\]/g;let r,i=0;const a=e.match(n);if(a&&(a?.index??0)>0)t.push(e.substring(0,a.index)),i=a.index;else if(!a&&e.length>0)return t.push(e),t;for(;null!==(r=n.exec(e));){if(r.index>i){const n=e.substring(i,r.index);n.startsWith(".")?t.push(n.substring(1)):t.push(n)}r[1]?t.push(r[1]):r[2]?t.push(parseInt(r[2],10)):r[4]&&t.push(r[4]),i=n.lastIndex}if(i<e.length){const n=e.substring(i);n.startsWith(".")?t.push(n.substring(1)):t.push(n)}return t};e.to=t=>{const n={};return Object.entries(t).forEach(([t,r])=>{e.set(n,t,r)}),n},e.set=(e,n,r)=>{const i=t(n);let a=e;for(let e=0;e<i.length;e++){const t=i[e];if(e===i.length-1)a[t]=r;else{const n=i[e+1];if("number"==typeof n){if(Array.isArray(a[t])||(a[t]=[]),Array.isArray(a[t]))for(;a[t].length<=n;)a[t].push({})}else"object"==typeof a[t]&&null!==a[t]||(a[t]={});a=a[t]}}},e.get=(e,n,r)=>{const i=t(n);let a=e;for(let e=0;e<i.length;e++){const t=i[e];if(null==a)return r;if("object"!=typeof a||null===a||!(t in a))return r;a=a[t]}return a},e.deletePath=(e,n)=>{const r=t(n);if(0===r.length)return!1;let i=e;for(let e=0;e<r.length-1;e++){const t=r[e];if(null==i)return!1;if("object"!=typeof i||null===i||!(t in i))return!1;i=i[t]}const a=r[r.length-1];return null!==i&&"object"==typeof i&&a in i&&(Array.isArray(i)&&"number"==typeof a?i.splice(a,1):delete i[a],!0)},e.availablePath=(e,t)=>{const n=[],r=e=>"number"==typeof e?"["+e+"]":/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)?e:"['"+e+"']",i=(e,a,o)=>{null!==e&&"object"==typeof e&&(o.has(e)||(o.add(e),Array.isArray(e)?e.forEach((e,s)=>{const c=r(s),u=a?`${a}${c}`:c;t&&!t(u,e)||n.push(u),i(e,u,o)}):Object.keys(e).forEach(s=>{const c=r(s);let u;u=c.startsWith("[")?a?`${a}${c}`:c:a?`${a}.${c}`:c,t&&!t(u,e[s])||n.push(u),i(e[s],u,o)})))};return i(e,"",new Set),n},e.detectPathFromScript=(e,t)=>{const n=new Set;class r{constructor(e){this.prefix=e,this.usingVars=n}set(e,t,n,r){return!0}get(e,t,n){if("symbol"==typeof t)return this.createSafeProxy(this.prefix);let r;const i=String(t);return r=isNaN(Number(i))?this.prefix?`${this.prefix}.${i}`:i:this.prefix?`${this.prefix}[${i}]`:i,r&&this.usingVars.add(r),this.createSafeProxy(r)}apply(e,t,n){return this.createSafeProxy(this.prefix)}createSafeProxy(e){const t=new r(e);return new Proxy(()=>{},{get:(n,r,i)=>r===Symbol.toPrimitive?()=>"":"valueOf"===r?()=>t.createSafeProxy(e):"toString"===r?()=>"":t.get(n,r,i),set:t.set.bind(t),apply:t.apply.bind(t)})}}const i={window:new Proxy(()=>{},new r("window")),document:new Proxy(()=>{},new r("document")),console:new Proxy(()=>{},new r("console"))},a=new Proxy(()=>{},new r("this"));try{new Function("window","document","console",`"use strict"; ${e}; `).call(a,i.window,i.document,i.console)}catch(e){console.error("detectPathFromScript error:",e)}if(t?.excludeThis){const e=new Set;return n.forEach(t=>{"this"!==t&&(t.startsWith("this.")?e.add(t.substring(5)):e.add(t))}),e}return n}}(t=e.Path||(e.Path={})),e.toDeleteKey=(t,n)=>{const r={...t};return e.deleteKey(r,n),r},e.deleteKey=(e,t)=>{t.filter(e=>(0,i.O)(e)).forEach(t=>{delete e[t]})},function(e){e.evalReturn=(t,n={})=>{let r="",i="";return"object"==typeof t?(r=t.bodyScript,i=t.returnScript):i=t,e.eval(`${r}; return ${i} `,n)},e.eval=(e,t={})=>{try{return Function(`"use strict"; ${e} `).bind(t)()}catch(t){return console.error("eval error",t),void console.error(e)}}}(n=e.Script||(e.Script={}))}(r||(r={}))},3205:(e,t,n)=>{n.d(t,{O:()=>a});var r=n(7553),i=n(9244);class a extends r.M{constructor(e){super(),this.volume=0,this.mass=0,this.e=0,this.rotate=0,this.width=0,this.height=0,this.transform=[1,0,0,1,0,0],this.color={r:0,g:0,b:0,a:255},this.updateObjWithDefaults(e)}copyObj(){return new a({x:this.x,y:this.y,z:this.z,volume:this.volume,mass:this.mass,e:this.e,rotate:this.rotate,width:this.width,height:this.height,transform:[...this.transform],color:{...this.color},data:{...this.data}})}updateObjWithDefaults(e){if(e){this.x=e.x??this.x,this.y=e.y??this.y,this.z=e.z??this.z,this.volume=e.volume??this.volume,this.mass=e.mass??this.mass,this.e=e.e??this.e,this.rotate=e.rotate??this.rotate,this.width=e.width??this.width,this.height=e.height??this.height,this.transform=[...e.transform??this.transform],this.color={...e.color??this.color};const t=e.data??this.data;this.data=t?{...t}:void 0}}setObj(e){if(e){this.x=e.x??0,this.y=e.y??0,this.z=e.z??0,this.volume=e.volume??0,this.mass=e.mass??0,this.e=e.e??0,this.rotate=e.rotate??0,this.width=e.width??0,this.height=e.height??0,this.transform=[...e.transform??[1,0,0,1,0,0]],this.color={...e.color??{r:0,g:0,b:0,a:255}};const t=e.data;this.data=t?{...t}:void 0}}toRect(){return new i.r(this.x,this.y,this.width,this.height)}}},3599:(e,t,n)=>{n.d(t,{z:()=>r});var r,i=n(8741),a=n(7553),o=n(3205),s=n(4068);!function(e){e.getMinByObjectArray=(e,t)=>{let n;if(t&&e&&e.length>0){n=e[0][t];for(let r=1;r<e.length;r++)n=Math.min(n,e[r][t])}return n},e.hypot=(...e)=>Math.hypot(...e),e.pythagorean=(e,t)=>Math.sqrt(e*e+t*t),e.getMaxByObjectArray=(e,t)=>{let n;if(t&&e&&e.length>0){n=e[0][t];for(let r=1;r<e.length;r++)n=Math.max(n,e[r][t])}return n},e.sum=e=>e.reduce((e,t)=>e+t,0),e.avg=t=>t.length>0?e.sum(t)/t.length:0,e.minMax=(e,t)=>Math.min(Math.max(e,t.min),t.max),e.max=e=>e.length>0?Math.max(...e):void 0,e.min=e=>e.length>0?Math.min(...e):void 0,e.getSumByObjectArray=(e,t)=>{let n=0;if(t&&e&&e.length>0)for(let r=0;r<e.length;r++)n+=e[r][t];return n},e.radians=(e,{type:t="degreeAngle"})=>"ratio"===t?2*e*Math.PI:"percent"===t?e/100*2*Math.PI:e/180*Math.PI,e.degrees=(e,{type:t="degreeAngle"})=>"ratio"===t?360*e:"percent"===t?e/100*360:180*e/Math.PI,e.ratio=(e,t,n=1)=>n*(t/e),e.getBetweenLength=(e,t)=>t-e,e.getPercentByTotal=(e,t)=>t/e*100,e.getRatioByTotal=(e,t)=>t/e,e.getValueByTotalInPercent=(e,t)=>e*t/100,e.getValueByTotalInRatio=(e,t)=>e*t,e.getValuePercentUp=(e,t)=>e*(1+t/100),e.getValueRatioUp=(e,t)=>e*(1+t),e.getValuePercentDown=(e,t)=>e*(1-t/100),e.getValueRatioDown=(e,t)=>e*(1-t),e.beziers=(t,n)=>{const r=new Array(n).fill(void 0);for(let i=0;i<r.length;i++)r[i]=e.bezier(t,n,i);return r},e.bezier=(t,n,r)=>{if(t&&t.length>0){const o=t.map(e=>new a.M(e.x,e.y,e.z)),s=[];return o.reduce((e,t)=>{const i=e.toSub(t).div(n).mult(r+1);return s.push(e.toSub(i)),t}),s.length<=1?s[0]:e.bezier(s.map(e=>new i.M(e)),n,r)}return new a.M},e.cubicBezier=function(t,n,r){if(t.start instanceof o.O&&t.end instanceof o.O){const i=e.cubicBezier({start:t.start.x,end:t.end.x},n,r),a=e.cubicBezier({start:t.start.y,end:t.end.y},n,r),s=e.cubicBezier({start:t.start.z,end:t.end.z},n,r),c=e.cubicBezier({start:t.start.volume,end:t.end.volume},n,r),u=e.cubicBezier({start:t.start.mass,end:t.end.mass},n,r),p=e.cubicBezier({start:t.start.e,end:t.end.e},n,r),l=e.cubicBezier({start:t.start.rotate,end:t.end.rotate},n,r),d=e.cubicBezier({start:t.start.width,end:t.end.width},n,r),f=e.cubicBezier({start:t.start.height,end:t.end.height},n,r),h=e.cubicBezier({start:t.start.transform[0],end:t.end.transform[0]},n,r),y=e.cubicBezier({start:t.start.transform[1],end:t.end.transform[1]},n,r),m=e.cubicBezier({start:t.start.transform[2],end:t.end.transform[2]},n,r),v=e.cubicBezier({start:t.start.transform[3],end:t.end.transform[3]},n,r),g=e.cubicBezier({start:t.start.transform[4],end:t.end.transform[4]},n,r),x=e.cubicBezier({start:t.start.transform[5],end:t.end.transform[5]},n,r),b=e.cubicBezier({start:t.start.color.r??0,end:t.end.color.r??0},n,r),w=e.cubicBezier({start:t.start.color.g??0,end:t.end.color.g??0},n,r),O=e.cubicBezier({start:t.start.color.b??0,end:t.end.color.b??0},n,r),_=e.cubicBezier({start:t.start.color.a??255,end:t.end.color.a??255},n,r);return i.map((e,t)=>{const n=new o.O({x:e,y:a[t],z:s[t]});return n.volume=c[t],n.mass=u[t],n.e=p[t],n.rotate=l[t],n.width=d[t],n.height=f[t],n.transform=[h[t],y[t],m[t],v[t],g[t],x[t]],n.color={r:b[t],g:w[t],b:O[t],a:_[t]},n})}if(t.start instanceof i.M&&t.end instanceof i.M){const a=e.cubicBezier({start:t.start.x,end:t.end.x},n,r),o=e.cubicBezier({start:t.start.y,end:t.end.y},n,r),s=e.cubicBezier({start:t.start.z,end:t.end.z},n,r);return a.map((e,t)=>new i.M(e,o[t],s[t]))}const{start:a,end:s}=t,{frame:c}=n;let{p1x:u,p1y:p,p2x:l,p2y:d}=Array.isArray(r)?{p1x:r[0],p1y:r[1],p2x:r[2],p2y:r[3]}:r;u="random"===u?Math.random():u,p="random"===p?Math.random():p,l="random"===l?Math.random():l,d="random"===d?Math.random():d;const f=[],h=s-a,y=e=>{const t=Number(e*e),n=Number(t*e),r=Number(1-e),i=Number(r*r);return 0*Number(i*r)+3*i*e*Number(p)+3*r*t*Number(d)+1*n},m=c+1;for(let e=1;e<m;e++){const t=a+h*y(e/m);f.push(t)}return f},e.diff=(e,t)=>Math.abs(e-t),e.distSqToLineSegment=(e,t,n)=>{const r=(t.x-n.x)**2+(t.y-n.y)**2;if(0===r)return(e.x-t.x)**2+(e.y-t.y)**2;let i=((e.x-t.x)*(n.x-t.x)+(e.y-t.y)*(n.y-t.y))/r;i=Math.max(0,Math.min(1,i));const a=t.x+i*(n.x-t.x),o=t.y+i*(n.y-t.y);return(e.x-a)**2+(e.y-o)**2},e.rotatePoint=(e,t,n)=>{const r=e.x-t.x,i=e.y-t.y,a=r*Math.cos(n)-i*Math.sin(n),o=r*Math.sin(n)+i*Math.cos(n);return new s.P(a+t.x,o+t.y)}}(r||(r={}))},4068:(e,t,n)=>{n.d(t,{P:()=>r});class r{constructor(e,t){"object"==typeof e?(this.x=e.x??0,this.y=e.y??0):(this.x=e??0,this.y=t??0)}copy(){return new r(this.x,this.y)}}},5275:(e,t,n)=>{n.d(t,{s:()=>r});const r=e=>!!e&&"number"==typeof e.width&&"number"==typeof e.height},7553:(e,t,n)=>{n.d(t,{M:()=>a});var r=n(8741),i=n(4068);class a{constructor(e,t,n){e instanceof r.M?(this.x=e.x,this.y=e.y,this.z=e.z):"object"==typeof e?(this.x=e.x??0,this.y=e.y??0,this.z=e.z??0):(this.x=e??0,this.y=t??0,this.z=n??0)}set(e,t=0,n=0){return e instanceof a||e instanceof r.M?this.set(e.x||0,e.y||0,e.z||0):(this.x=e,this.y=t,this.z=n),this}get(){return new a(this.x,this.y,this.z)}mag(){const e=this.x,t=this.y,n=this.z;return Math.sqrt(e*e+t*t+n*n)}add(e,t=0,n=0){e instanceof a||e instanceof r.M?(this.x+=e.x,this.y+=e.y,this.z+=e.z):(this.x+=e,this.y+=t,this.z+=n)}toAdd(e,t){return new a(e.x+t.x,e.y+t.y,e.x+t.y)}sub(e,t=0,n=0){e instanceof a||e instanceof r.M?(this.x-=e.x,this.y-=e.y,this.z-=e.z):(this.x-=e,this.y-=t,this.z-=n)}toSub(e){const t=this;return new a(t.x-e.x,t.y-e.y,t.z-e.z)}mult(e){return e instanceof a||e instanceof r.M?(this.x*=e.x,this.y*=e.y,this.z*=e.z):(this.x*=e,this.y*=e,this.z*=e),this}toMult(e){const t=this;return new a(t.x*=e.x,t.y*=e.y,t.z*=e.z)}div(e){return e instanceof a||e instanceof r.M?(this.x/=e.x,this.y/=e.y,this.z/=e.z):(this.x/=e,this.y/=e,this.z/=e),this}toDiv(e){const t=this.get();return t.x/=e,t.y/=e,t.z/=e,t}dist(e){const t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return Math.sqrt(t*t+n*n+r*r)}toDist(e){const t=this,n=t.x-e.x,r=t.y-e.y,i=t.z-e.z;return Math.sqrt(n*n+r*r+i*i)}dot(e,t,n){return e instanceof a||e instanceof r.M?this.x*e.x+this.y*e.y+this.z*e.z:this.x*e+this.y*t+this.z*n}cross(e){const t=this.x,n=this.y,r=this.z;return new a(n*e.z-e.y*r,r*e.x-e.z*t,t*e.y-e.x*n)}normalize(){const e=this.mag();e>0&&this.div(e)}limit(e){this.mag()>e&&(this.normalize(),this.mult(e))}heading2D(){return-Math.atan2(-this.y,this.x)}random2D(){return this.fromAngle(Math.random()*(2*Math.PI))}fromAngle(e,t=1){return new a(t*Math.cos(e),t*Math.sin(e),0)}fromAngles(e,t,n=1){const r=Math.cos(t),i=Math.sin(t),o=Math.cos(e),s=Math.sin(e);return new a(n*s*i,-n*o,n*s*r)}array(){return[this.x,this.y,this.z]}toPoint3D(){return new r.M(this.x,this.y,this.z)}toPoint2D(){return new i.P(this.x,this.y)}copy(){return new a(this.x,this.y,this.z)}toString(){return"["+this.x+", "+this.y+", "+this.z+"]"}}},7855:(e,t,n)=>{n.d(t,{O:()=>r});const r=e=>null!=e},8741:(e,t,n)=>{n.d(t,{M:()=>a});var r=n(7553),i=n(4068);class a extends i.P{constructor(e,t,n){e instanceof r.M?(super(e.x,e.y),this.z=e.z):"object"==typeof e?(super({x:e.x??0,y:e.y??0}),this.z=e.z??0):(super(e,t),this.z=n??0)}copy(){return new a(this.x,this.y,this.z)}}},9244:(e,t,n)=>{n.d(t,{r:()=>o});var r=n(4068),i=n(3599),a=n(5275);class o{constructor(e,t,n=0,i=0){(0,a.s)(e)?(this._start=new r.P(0,0),this._width=e.width,this._height=e.height):"object"==typeof e&&"object"==typeof t?(this._start=e instanceof r.P?e:new r.P(e.x,e.y),this.end=t instanceof r.P?t:new r.P(t.x,t.y)):"object"==typeof e&&"number"==typeof t?(this._start=e instanceof r.P?e:new r.P(e.x,e.y),this._width=t,this._height=n):"number"==typeof e&&"number"==typeof t&&(this._start=new r.P(e,t),this._width=n,this._height=i)}valueLinkControl(e){let t,n=!1;var r;return"object"==typeof(r=e)&&"value"in r&&"noLink"in r?(t=e.value,n=e.noLink):t=e,{value:t,noLink:n}}get width(){return this._width}get height(){return this._height}get start(){return this._start.copy()}set width(e){this.setWidth(e)}setWidth(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=i.z.getPercentByTotal(this._width,t);this._width=t,this.applyWidthPercentLinks({value:r,noLink:n})}set height(e){this.setHeight(e)}setHeight(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=i.z.getPercentByTotal(this._height,t);this._height=t,this.applyHeightPercentLinks({value:r,noLink:n})}set start(e){let{value:t,noLink:n}=this.valueLinkControl(e);const a=new r.P({x:i.z.getPercentByTotal(this._start.x,t.x),y:i.z.getPercentByTotal(this._start.y,t.y)});this._start=t,this.applyStartPercentLinks({value:a,noLink:n})}setWidthFromEnd(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=i.z.getPercentByTotal(this.start.x,t);this._start.x=this.end.x-t,this.applyStartXPercentLinks({value:r,noLink:n})}set widthFromEnd(e){this.setWidthFromEnd(e)}setHeightFromEnd(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=this.end.y-t,a=i.z.getPercentByTotal(this.start.y,r);this._start.y=r,this.applyStartYPercentLinks({value:a,noLink:n})}set heightFromEnd(e){this.setHeightFromEnd(e)}setWidthFromCenter(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=this.center.x-t/2,a=i.z.getPercentByTotal(this.start.x,r);this._start.x=r,this.applyStartXPercentLinks(a)}set widthFromCenter(e){this.setWidthFromCenter(e)}setHeightFromCenter(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=this.center.y-t/2,a=i.z.getPercentByTotal(this.start.y,r);this._start.y=r,this.applyStartYPercentLinks(a)}set heightFromCenter(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=this.center.y-t/2,a=i.z.getPercentByTotal(this.start.y,r);this._start.y=r,this.applyStartYPercentLinks(a)}set x(e){this.setX(e)}setX(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=t-this._start.x,a=i.z.getPercentByTotal(this.width,r);this._start.x=t,this.applyStartXPercentLinks({value:a,noLink:n})}set y(e){this.setY(e)}setY(e){let{value:t,noLink:n}=this.valueLinkControl(e);const r=t-this._start.y,a=i.z.getPercentByTotal(this.height,r);this._start.y=t,this.applyStartYPercentLinks({value:a,noLink:n})}applyWidthPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);!this.linkRects||"boolean"==typeof n&&n||Array.from(this.linkRects.values()).filter(e=>"boolean"==typeof n||e!==n).forEach(e=>{e.setWidthByWidthPercent({value:t,noLink:this})})}applyHeightPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);!this.linkRects||"boolean"==typeof n&&n||Array.from(this.linkRects.values()).filter(e=>"boolean"==typeof n||e!==n).forEach(e=>{e.setHeightByHeightPercent({value:t,noLink:this})})}applyStartPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.applyStartXPercentLinks({value:t.x,noLink:n}),this.applyStartYPercentLinks({value:t.y,noLink:n})}applyStartXPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);!this.linkRects||"boolean"==typeof n&&n||Array.from(this.linkRects.values()).filter(e=>"boolean"==typeof n||e!==n).forEach(e=>{e.addXByWidthPercent({value:t,noLink:this})})}applyStartYPercentLinks(e){let{value:t,noLink:n}=this.valueLinkControl(e);!this.linkRects||"boolean"==typeof n&&n||Array.from(this.linkRects.values()).filter(e=>"boolean"==typeof n||e!==n).forEach(e=>{e.addYByHeightPercent({value:t,noLink:this})})}hasLink(e){return this.linkRects?.has(e)}isLinked(){return!!this.linkRects?.size}addLink(...e){this.linkRects??(this.linkRects=new Set),e.filter(e=>!this.linkRects?.has(e)).forEach(e=>{this.linkRects?.add(e),e.addLink(this)})}setLinks(e){this.unLinkAll(),this.addLink(...e)}unLinkAll(){this.linkRects&&(Array.from(this.linkRects.values()).forEach(e=>{this.unLink(e)}),this.linkRects.clear())}unLink(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.linkRects&&this.linkRects.delete(t),n||t.unLink({value:this,noLink:this})}addWidthPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setWidth({value:this.width+i.z.getValueByTotalInPercent(this.width,t),noLink:n})}addHeightPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setHeight({value:this.height+i.z.getValueByTotalInPercent(this.height,t),noLink:n})}addWidthRatio(e){this.width=this.width+i.z.getValueByTotalInRatio(this.width,e)}addHeightRatio(e){this.height=this.height+i.z.getValueByTotalInRatio(this.height,e)}addXPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:this.x+i.z.getValueByTotalInPercent(this.width,t),noLink:n})}addYPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:this.y+i.z.getValueByTotalInPercent(this.height,t),noLink:n})}addXRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:this.x+i.z.getValueByTotalInRatio(this.width,t),noLink:n})}addYRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:this.y+i.z.getValueByTotalInRatio(this.height,t),noLink:n})}set endX(e){const t=e-this.x;this.width=t}set endXPercent(e){this.endX=i.z.getValueByTotalInPercent(this.width,e)}set endYPercent(e){this.endY=i.z.getValueByTotalInPercent(this.height,e)}set endY(e){this.height=e-this.y}set end(e){this.width=e.x-this.x,this.height=e.y-this.y}get x(){return this.start.x}get y(){return this.start.y}get endX(){return this.end.x}get endY(){return this.end.y}to(e){const t=this.copy();return t.start=e,t}toRotate(e,{rotatePoint:t=this.center,type:n="degreeAngle"}){const a=i.z.radians(e,{type:n}),o=t instanceof r.P?t:new r.P(t.x,t.y);return[this.leftTop,this.rightTop,this.rightBottom,this.leftBottom].map(e=>i.z.rotatePoint(e,o,a))}get center(){return new r.P(this.start.x+this.width/2,this.start.y+this.height/2)}get end(){return new r.P(this.start.x+this.width,this.start.y+this.height)}get leftTop(){return this.start.copy()}get leftBottom(){return new r.P(this.start.x,this.end.y)}get rightTop(){return new r.P(this.end.x,this.start.y)}get rightBottom(){return this.end}copy(){return new o(this.x,this.y,this.width,this.height)}getWidthPercent(e){return i.z.getPercentByTotal(this.width,e)}getWidthRatio(e){return i.z.getRatioByTotal(this.width,e)}getWidthByPercent(e){return i.z.getValueByTotalInPercent(this.width,e)}getWidthByRatio(e){return i.z.getValueByTotalInRatio(this.width,e)}getHeightPercent(e){return i.z.getPercentByTotal(this.height,e)}getHeightRatio(e){return i.z.getRatioByTotal(this.height,e)}getHeightByPercent(e){return i.z.getValueByTotalInPercent(this.height,e)}getHeightByRatio(e){return i.z.getValueByTotalInRatio(this.height,e)}getXPercent(e){return i.z.getPercentByTotal(this.width,e-this.x)}getXRatio(e){return i.z.getRatioByTotal(this.width,e-this.x)}getXByPercent(e){return this.x+i.z.getValueByTotalInPercent(this.width,e)}getXByRatio(e){return this.x+i.z.getValueByTotalInRatio(this.width,e)}getYPercent(e){return i.z.getPercentByTotal(this.height,e-this.y)}getYRatio(e){return i.z.getRatioByTotal(this.height,e-this.y)}getYByPercent(e){return this.y+i.z.getValueByTotalInPercent(this.height,e)}getYByRatio(e){return this.y+i.z.getValueByTotalInRatio(this.height,e)}getPercent(e){return new r.P(this.getXPercent(e.x),this.getYPercent(e.y))}toScaleByWidth(e){const t=this.height/this.width;return new o(this.x,this.y,e,e*t)}toScaleByHeight(e){const t=this.width/this.height;return new o(this.x,this.y,e*t,e)}toRatio(e){return new o(this.getXRatio(e.x),this.getYRatio(e.y),this.getWidthRatio(e instanceof o?e.width:e.w),this.getHeightRatio(e instanceof o?e.height:e.h))}getRatio(e){return new r.P(this.getXRatio(e.x),this.getYRatio(e.y))}getByPercent(e){return new r.P(this.getXByPercent(e.x),this.getYByPercent(e.y))}getByRatio(e){return new r.P(this.getXByRatio(e.x),this.getYByRatio(e.y))}getDiffX(e){return e-this.x}getDiffY(e){return e-this.y}getDiffLeft(e){this.getDiffX(e)}getDiffTop(e){this.getDiffY(e)}getDiffRight(e){return e-this.end.x}getDiffBottom(e){return e-this.end.y}getDiffWidth(e){return e-this.width}getDiffHeight(e){return e-this.height}toDiff(e){return new o(e.x-this.x,e.y-this.y,e.width-this.width,e.height-this.height)}setXByWidthPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:i.z.getValueByTotalInPercent(this.width,t),noLink:n})}set xByWidthPercent(e){this.setXByWidthPercent(e)}setXByWidthRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:i.z.getValueByTotalInRatio(this.width,t),noLink:n})}set xByWidthRatio(e){this.setXByWidthRatio(e)}setYByHeightPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:i.z.getValueByTotalInPercent(this.height,t),noLink:n})}set yByHeightPercent(e){this.setYByHeightPercent(e)}setYByHeightRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:i.z.getValueByTotalInRatio(this.height,t),noLink:n})}set yByHeightRatio(e){this.setYByHeightRatio(e)}addXByWidthPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:this.x+i.z.getValueByTotalInPercent(this.width,t),noLink:n})}addXByWidthRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setX({value:this.x+i.z.getValueByTotalInRatio(this.width,t),noLink:n})}addYByHeightPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:this.y+i.z.getValueByTotalInPercent(this.height,t),noLink:n})}addYByHeightRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setY({value:this.y+i.z.getValueByTotalInRatio(this.height,t),noLink:n})}setWidthByWidthPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setWidth({value:i.z.getValueByTotalInPercent(this.width,t),noLink:n})}set widthByWidthPercent(e){this.setWidthByWidthPercent(e)}setWidthByWidthRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setWidth({value:i.z.getValueByTotalInRatio(this.width,t),noLink:n})}set widthByWidthRatio(e){this.setWidthByWidthRatio(e)}setHeightByHeightPercent(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setHeight({value:i.z.getValueByTotalInPercent(this.height,t),noLink:n})}set heightByHeightPercent(e){this.setHeightByHeightPercent(e)}setHeightByHeightRatio(e){let{value:t,noLink:n}=this.valueLinkControl(e);this.setHeight({value:i.z.getValueByTotalInRatio(this.height,t),noLink:n})}set heightByHeightRatio(e){this.setHeightByHeightRatio(e)}copyByPercent(e,t){return new o(this.x,this.y,i.z.getValueByTotalInPercent(this.width,e),i.z.getValueByTotalInPercent(this.height,t??e))}copyByRatio(e,t){return new o(this.x,this.y,i.z.getValueByTotalInRatio(this.width,e),i.z.getValueByTotalInRatio(this.height,t??e))}isIn(e){return e instanceof o?this.isIn(e.start)&&this.isIn(e.end):e.x>=this.start.x&&e.x<=this.end.x&&e.y>=this.start.y&&e.y<=this.end.y}isOut(e){return e instanceof o?!this.isOverlap(e):!this.isIn(e)}isOverlap(e){return e instanceof o?!(this.endX<e.x||this.x>e.endX||this.endY<e.y||this.y>e.endY):this.isIn(e)}toString(){return`x:${this.x}, y:${this.y}, width: ${this.width}, height: ${this.height}`}}},9284:(e,t,n)=>{var r;n.d(t,{U:()=>r}),function(e){e.isArrowFunction=e=>"function"==typeof e&&void 0===e.prototype&&!e.toString().startsWith("class"),e.isPlainObject=e=>null!==e&&"object"==typeof e&&e.constructor===Object,e.isFrozen=e=>Object.isFrozen(e),e.isSealed=e=>Object.isSealed(e),e.isFrozenOrSealed=t=>e.isFrozen(t)||e.isSealed(t),e.isFrozenAndSealed=t=>e.isFrozen(t)&&e.isSealed(t),e.isNotFrozen=e=>!Object.isFrozen(e),e.isNotSealed=e=>!Object.isSealed(e),e.isNotFrozenOrSealed=t=>!e.isFrozen(t)&&!e.isSealed(t),e.isNotFrozenAndSealed=t=>!e.isFrozen(t)||!e.isSealed(t),e.isNullOrUndefined=e=>null==e||void 0===e,e.isConstructor=e=>"function"==typeof e&&void 0!==e.prototype&&e.prototype.constructor===e,e.isFunction=t=>"function"==typeof t&&!e.isConstructor(t),e.isNullish=t=>e.isNotNullish(t),e.isNotNullish=t=>Array.isArray(t)||e.isString(t)?t.length>0:t instanceof Set||t instanceof Map?t.size>0:"object"==typeof t&&null!==t?Object.keys(t).length>0:null!=t,e.isNotNullUndefined=e=>null!=e,e.isNull=e=>null===e,e.isUndefined=e=>void 0===e,e.isArray=t=>!e.isNullOrUndefined(t)&&"[object Array]"===Object.prototype.toString.call(t).trim(),e.isStringNumber=e=>"number"==typeof e?!isNaN(e):"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e)),e.isNumber=t=>!e.isNullOrUndefined(t)&&"[object Number]"===Object.prototype.toString.call(t).trim(),e.isIterator=e=>null!=e&&"function"==typeof e[Symbol.iterator],e.isString=t=>!e.isNullOrUndefined(t)&&"[object String]"===Object.prototype.toString.call(t).trim(),e.isObject=t=>!e.isNullOrUndefined(t)&&"[object Object]"===Object.prototype.toString.call(t).trim(),e.isMap=t=>!e.isNullOrUndefined(t)&&"[object Map]"===Object.prototype.toString.call(t).trim(),e.isEmpty=t=>!!e.isNullOrUndefined(t)||(e.isArray(t)?0===t.length:e.isString(t)?0===t.trim().length:e.isMap(t)?0===t.size:!!e.isObject(t)&&0===Object.keys(t).length),e.isSet=e=>e instanceof Set,e.isNullishFiltered=e=>Array.isArray(e)?e.every(e=>null!=e):null!=e,e.isFalsyFiltered=e=>Array.isArray(e)?e.every(e=>e):!!e,e.includeValue=(e,t)=>Object.values(e).includes(t),e.includeKey=(e,t)=>Object.keys(e).includes(t),e.lastConsonantLetter=e=>(e.charCodeAt(e.length-1)-44032)%28>0,e.inRange=(e,t,n)=>t<=e&&e<=n,e.isBase64=e=>{let t=e;const n=e.split(";base64,");if(n.length>1)t=n[1];else if(e.startsWith("data:")){const n=e.indexOf(",");n>-1&&(t=e.substring(n+1))}return""===t||t.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}}(r||(r={}))}},w={};function O(e){var t=w[e];if(void 0!==t)return t.exports;var n=w[e]={exports:{}};return b[e](n,n.exports,O),n.exports}O.d=(e,t)=>{for(var n in t)O.o(t,n)&&!O.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},O.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var _={};O.d(_,{T:()=>k});var k,j=O(9284),M=O(4068),S=O(8741),P=O(9244),E=O(2676);!function(e){e.objToGetURL=e=>Object.keys(e).reduce((t,n,r)=>`${t}${0!==r?"&":""}${n}=${e[n]}`,""),e.mapToJson=e=>JSON.stringify(Array.from(e.entries()).reduce((e,[t,n])=>(e[t]=n,e),{})),e.jsonToMap=e=>new Map(JSON.parse(e)),e.decodeURIString=e=>decodeURIComponent(e),e.objToStrMap=e=>{const t=new Map;for(const n of Object.keys(e))t.set(n,e[n]);return t},e.jsonToStrMap=t=>e.objToStrMap(JSON.parse(t)),e.strToObject=e=>JSON.parse(e),e.objToJson=e=>JSON.stringify(e),e.objToMap=e=>{const t=new Map;return Object.keys(e).forEach(n=>{t.set(n,e[n])}),t},e.mapToObj=e=>{const t={};return e.forEach((e,n)=>{t[n]=e}),t},e.snakeToCamelCase=e=>e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),e.camelToSnakeCase=e=>e.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase(),e.toFormData=function(e){const t=new FormData;for(const n in e)t.append(n,e[n]);return t},e.toObject=function(t,n){if(t instanceof URLSearchParams){const e={};return t.forEach((t,r)=>{n?.firstValue&&void 0===e[r]?e[r]=t:n?.firstValue||(e[r]?Array.isArray(e[r])?e[r].push(t):e[r]=[e[r],t]:e[r]=t)}),e}if(t instanceof FormData){const e=e=>{const t={};for(const n of e.keys()){const r=e.getAll(n);t[n]=r.length>1?r:r[0]}return t};return e(t)}if(t&&"function"==typeof t[Symbol.iterator])return Object.fromEntries(t);if(Array.isArray(t))return Object.fromEntries(t);if(j.U.isMap(t)){const n=t;t=e.mapToObj(n)}if(j.U.isArray(t)){const n=t;for(let t=0;t<n.length;t++)n[t]=e.toObject(n[t])}if(j.U.isObject(t))for(const n in t)t[n]=e.toObject(t[n]);return t},e.toArray=e=>e instanceof Set?Array.from(e.values()):Array.isArray(e)?e:e?[e]:[],e.flatArray=(...e)=>e.flatMap(e=>e instanceof Object&&Symbol.iterator in e?Array.from(e):[e]),e.iteratorToArray=e=>Array.from(e),e.toJson=t=>{const n=e.toObject(t);return JSON.stringify(n)},e.concatenateToAttribute=t=>e.concatenateToString(t,"="," ","'"),e.concatenateToParameter=t=>e.concatenateToString(t,"=","&",""),e.concatenateToString=(e,t="=",n=" ",r="")=>{const i=[];for(const n in e){const a=e[n];a&&i.push(n.toString()+t+r+a+r)}return i.join(n)},e.specialCharsToEscape=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),e.decodeHTMLEscape=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(///g,"/"),e.copyObject=(e,t={})=>({...e,...t}),e.copyArrayWithAddition=(e,t)=>[...e,...t||[]],e.hexToInt=e=>(e.startsWith("#")&&(e=e.slice(1)),3===e.length&&(e=e.split("").map(e=>e+e).join("")),parseInt(e,16)),e.toHex=e=>(e<0&&(e=4294967295+e+1),(e=Number(e.toFixed(0))).toString(16).padStart(2,"0").toUpperCase()),e.toHexColor=t=>`#${e.toHex(t.r??0)}${e.toHex(t.g??0)}${e.toHex(t.b??0)}${e.toHex(t.a??255)}`,e.avgColor=e=>{const t=e.reduce((e,t)=>(e.r+=t.r??0,e.g+=t.g??0,e.b+=t.b??0,e.a+=t.a??0,e),{r:0,g:0,b:0,a:0});return{r:Math.floor(t.r/e.length),g:Math.floor(t.g/e.length),b:Math.floor(t.b/e.length),a:Math.floor(t.a/e.length)}},e.toRGBA=e=>{e??(e="#000000FF");const t=e.replace("#","");return{r:parseInt(t.slice(0,2)||"0",16),g:parseInt(t.slice(2,4)||"0",16),b:parseInt(t.slice(4,6)||"0",16),a:t.length>6?parseInt(t.slice(6,8)||"0",16):255}},e.minMaxCenterAvg=e=>{const t={},n=E.B.uniqueKeys(e);for(const r of n){const n=e.map(e=>e[r]),i=Math.min(...n),a=Math.max(...n),o=(i+a)/2,s=n.reduce((e,t)=>e+t,0)/n.length;t[r]={min:i,max:a,center:o,avg:s,diff:a-i}}return t},e.minMaxCenterRectAvg2D=e=>{const t=new M.P(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),n=new M.P(Number.MIN_SAFE_INTEGER,Number.MIN_SAFE_INTEGER);let r=new M.P(0,0);e.forEach(e=>{t.x=Math.min(t.x,e.x),t.y=Math.min(t.y,e.y),n.x=Math.max(n.x,e.x),n.y=Math.max(n.y,e.y),r.x+=e.x,r.y+=e.y});const i=new M.P((t.x+n.x)/2,(t.y+n.y)/2),a=new M.P(r.x/e.length,r.y/e.length),o=new P.r(t.x,t.y,n.x-t.x,n.y-t.y);return{min:t,max:n,center:i,avg:a,minMaxRect:o}},e.minMaxCenterAvg3D=e=>{const t=new S.M(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),n=new S.M(Number.MIN_VALUE,Number.MIN_VALUE,Number.MIN_VALUE);let r=new S.M(0,0,0);e.forEach(e=>{t.x=Math.min(t.x,e.x),t.y=Math.min(t.y,e.y),t.z=Math.max(t.z,e.z),n.x=Math.max(n.x,e.x),n.y=Math.max(n.y,e.y),n.z=Math.max(n.z,e.y),r.x+=e.x,r.y+=e.y,r.z+=e.z});const i=new S.M((t.x+n.x)/2,(t.y+n.y)/2,(t.z+n.z)/2),a=new S.M(r.x/e.length,r.y/e.length,r.z/e.length);return{min:t,max:n,center:i,avg:a}},e.roundRectRadiiToFullRadii=e=>e?1===e.length?[e[0]??0,e[0]??0,e[0]??0,e[0]??0]:2===e.length?[e[0]??0,e[1]??0,e[0]??0,e[1]??0]:3===e.length?[e[0]??0,e[1]??0,e[2]??0,e[1]??0]:e:[0,0,0,0],e.toArrayDirectionChange=e=>{if(!e||0===e.length||!e[0]||0===e[0].length)return[];const t=[],n=e[0].length,r=e.length;for(let i=0;i<n;i++){const n=[];for(let t=0;t<r;t++)n.push(e[t][i]);t.push(n)}return t},e.groupByMap=(e,t)=>e.reduce((e,n)=>{const r=t(n),i=e.get(r)||[];return i.push(n),e.set(r,i),e},new Map),e.groupByObject=(t,n)=>{const r=e.groupByMap(t,n);return Object.fromEntries(r)},e.toURLSearchParams=e=>{const t=new URLSearchParams;if("string"==typeof e)new URLSearchParams(e).forEach((e,n)=>{t.append(n,e)});else if("object"==typeof e){const n=e instanceof URLSearchParams?e.entries():Array.isArray(e)?e:Object.entries(e);for(const[e,r]of Array.from(n))Array.isArray(r)?r.forEach(n=>t.append(e,n)):t.append(e,r)}return t},e.stringJsonToKeyPairs=e=>Array.from(e.matchAll(/(\w+):\s*([^,}]+)/g)).map(e=>({key:e[1],value:e[2]}))}(k||(k={}));const T=_.T;var A=r(426);class R{constructor(e,t,n){e instanceof R?(this.req=e.req,this.res=e.res,this.config=n):(this.req=e,this.res=t,this.config=n)}get reqSocket(){return this.req.socket}get reqCookieMap(){let e=this.reqHeader(i.L.Cookie)??"";Array.isArray(e)&&(e=e.join(";"));const t=new Map;return e.split(";").map(e=>e.trim().split("=")).forEach(e=>{t.set(e[0],e[1])}),t}reqCookieGet(e){return this.reqCookieMap.get(e)}get reqRemoteAddress(){const e=this.req.headers["x-forwarded-for"];let t=this.req.socket.remoteAddress;return Array.isArray(e)?t=e.join(",").split(",").shift():"string"==typeof e&&(t=e.split(",").shift()),t}get reqUrlObject(){return new f.URL(this.reqUrl,`${this.reqSocket?"https://":"http"}${this.reqHost??"localhost"}`)}get reqUrlPathName(){return this.reqUrlObj().pathname??""}get reqUrl(){return this.req.url??""}reqUrlObj(e){return new f.URL(`${e?.scheme??"http"}://${e?.host?e?.host:this.reqHeaderFirst(i.L.Host)??"localhost"}${this.req.url??""}`)}get reqUrlSearchParamTuples(){return Array.from(this.reqUrlObj().searchParams)}get reqUrlSearchParams(){return this.reqUrlObj().searchParams}get reqUrlSearchParamsObj(){const e=this.reqUrlObj().searchParams;return T.toObject(e)}get reqPathSearchParamUrl(){const e=this.reqUrlObj();return e.pathname+(e.searchParams.toString()?"?"+e.searchParams.toString():"")}get reqReadable(){return this.req.readable}get reqIntent(){return new d(this.reqPathSearchParamUrl)}reqHasContentTypeHeader(e){return(this.reqHeaderFirst(i.L.ContentType)??"").toLowerCase().indexOf(e.toLocaleLowerCase())>-1}reqHasAcceptHeader(e){return(this.reqHeaderFirst(i.L.Accept)??"").toLowerCase().indexOf(e.toLocaleLowerCase())>-1}reqBodyData(){return new Promise((e,t)=>{if(this.reqReadable){const n=[];this.req.on("data",e=>n.push(e)),this.req.on("error",e=>t(e)),this.req.on("end",()=>{this.reqBodyChunk=h.Buffer.concat(n),e(this.reqBodyChunk)})}else e(this.reqBodyChunk??h.Buffer.alloc(0))})}resBodyData(){return this.resWriteChunk}async reqBodyMultipartFormDataObject(){const e=await this.reqBodyMultipartFormData(),t={};for(const n of e)if(n.isFile)t[n.name]=await x.i.writeFile(n.value,{originalName:n.filename});else{const e=t[n.name];Array.isArray(e)?e.push(n.value):t[n.name]="string"==typeof e?[e,n.value]:n.value}return t}reqBodyMultipartFormData(){return new Promise((e,t)=>{const n=this.req.headers["content-type"];if(!n||!n.startsWith("multipart/form-data"))return t(new Error("Invalid Content-Type. Expected multipart/form-data."));const r=n.match(/boundary=(?:"([^"]+)"|([^;]+))/i);if(!r)return t(new Error("Boundary not found in Content-Type header."));const i=r[1]||r[2];if(!i)return t(new Error("Failed to extract boundary."));const a=h.Buffer.from(`--${i}`),o=h.Buffer.from("\r\n"),s=h.Buffer.from("\r\n\r\n"),c=[];let u=0;this.req.on("data",e=>{c.push(e),u+=e.length}),this.req.on("error",e=>{t(e)}),this.req.on("end",()=>{if(0===u)return e([]);const n=h.Buffer.concat(c,u),r=[];let i=0,p=n.indexOf(a,i);if(-1===p)return t(new Error("Initial boundary not found."));for(i=p+a.length,n.slice(i,i+o.length).equals(o)&&(i+=o.length);i<n.length;){const e=n.indexOf(a,i);if(-1===e)break;let t=e;t>o.length&&n.slice(t-o.length,t).equals(o)&&(t-=o.length);const c=n.slice(i,t),u=c.indexOf(s);if(-1===u){if(console.warn("Skipping malformed part: no header/body separator found."),i=e+a.length,n.slice(i,i+o.length).equals(o)&&(i+=o.length),"--"===n.slice(i,i+2).toString())break;continue}const p=c.slice(0,u),l=c.slice(u+s.length),d=p.toString("utf-8"),f={};d.split("\r\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.substring(0,t).trim().toLowerCase(),r=e.substring(t+1).trim();f[n]=r}});const h=f["content-disposition"];if(!h){if(console.warn("Skipping part: no Content-Disposition header."),i=e+a.length,n.slice(i,i+o.length).equals(o)&&(i+=o.length),"--"===n.slice(i,i+2).toString())break;continue}const y=h.match(/name="([^"]+)"/i),m=h.match(/filename="([^"]+)"/i),v=y?y[1]:null,g=m?m[1]:null,x=f["content-type"]||null;if(v){const e=!!g,t={name:v,isFile:e,filename:g,contentType:x,value:e?l:l.toString("utf-8")};r.push(t)}else console.warn("Skipping part: 'name' not found in Content-Disposition.");if(i=e+a.length,n.slice(i,i+o.length).equals(o)&&(i+=o.length),"--"===n.slice(i,i+2).toString())break}e(r)})})}async reqBodyStringData(){return(await this.reqBodyData()).toString()}async reqBodyJsonData(){return JSON.parse(await this.reqBodyStringData())}async reqBodyFormUrlData(){const e=await this.reqBodyStringData(),t={};return Array.from(new f.URLSearchParams(e).entries()).forEach(([e,n])=>{const r=t[e];Array.isArray(r)?r.push(n):t[e]="string"==typeof r?[r,n]:n}),t}async reqBodyReqFormUrlBody(){const e=await this.reqBodyFormUrlData();return Object.assign(new y.s,e)}async reqBodyReqJsonBody(){const e=await this.reqBodyStringData();return Object.assign(new m.D,e?JSON.parse(e):{})}resBodyJsonData(){const e=A.T.toString(this.resBodyData());return e?JSON.parse(e):null}resBodyStringData(){return A.T.toString(this.resBodyData())}reqMethod(){return this.req.method?.toUpperCase()}reqHeader(e){return this.req.headers[e.toLowerCase()]}get reqHost(){return this.reqHeaderFirst(i.L.Host)}get reqHeaderObj(){const e=new v.E;return Object.entries(this.req.headers).forEach(([t,n])=>{e[t]=n}),e}reqHeaderFirst(e,t){const n=this.req.headers[e.toLowerCase()];return n&&Array.isArray(n)?n[0]??t:n??t}reqAuthorizationHeader(){return this.reqHeaderFirst(i.L.Authorization)}reqRefreshTokenHeader(){return this.reqHeaderFirst(i.L.Authorization)}resStatusCode(e){return e?(this.res.statusCode=e,new z(this.req,this.res,this.config,this.res.statusCode)):this.res.statusCode}resHeader(e){return this.res.getHeader(e.toLowerCase())}resHeaderFirst(e,t){const n=this.res.getHeader(e.toLowerCase());return n&&Array.isArray(n)?n[0]??t:n??t}async reqSession(){return this.config.sessionManager?(await this.config.sessionManager.session(this)).dataSet.data:Promise.reject(new Error("Not SessionManager"))}reqSessionSet(e,t){this.reqSession[e]=t}reqSessionGet(e){const t=this.reqSession;if(t)return t[e]}resSetStatusCode(e){return this.res.statusCode=e,this.createRequestResponseChain(this.res.statusCode)}resWrite(e,t="utf8"){return this.resWriteChunk=e,this.createRequestResponseChain(this.resWriteChunk)}resWriteJson(e,t="utf8"){return this.resWrite(JSON.stringify(e),t)}resSetHeader(e,t){return this.createRequestResponseChain(this.res.setHeader(e.toLowerCase(),t))}resAddHeader(e,t){const n=this.res.getHeader(e.toLowerCase()),r=Array.isArray(n)?n.concat(t):n?[n.toString(),...[].concat(t)]:t;return this.createRequestResponseChain(this.res.setHeader(e.toLowerCase(),r))}resSetHeaders(e){return Object.entries(e).forEach(([e,t])=>this.resSetHeader(e,t)),this.createRequestResponseChain()}resAddHeaders(e){return Object.entries(e).forEach(([e,t])=>this.resAddHeader(e,t)),this.createRequestResponseChain()}async resEndChunk(){const e=this.reqHeaderFirst(i.L.AcceptEncoding);let t=this.resWriteChunk;e?.includes("gzip")&&(t=await(0,g.gzip)(t),this.resSetHeader(i.L.ContentEncoding,"gzip")),this.res.end(t)}async resEnd(e){this.resWriteChunk=e??this.resWriteChunk,this.req.readable?(await this.reqBodyData(),await this.resEndChunk()):await this.resEndChunk()}resWriteHead(e,t){return this.createRequestResponseChain(this.res.writeHead(e,t))}resWriteHeadEnd(e,t){this.createRequestResponseChain(this.res.writeHead(e,t)),this.res.end()}resIsDone(){return this.res.finished||this.res.writableEnded||this.res.headersSent}createRequestResponseChain(e){const t=new z(this.req,this.res,this.config,e);return t.resWriteChunk=this.resWriteChunk,t.reqBodyChunk=this.reqBodyChunk,t}}class z extends R{constructor(e,t,n,r){super(e,t,n),this.result=r}}},3587:(e,t,n)=>{n.d(t,{F:()=>s});var r={d:(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},i={};r.d(i,{t:()=>a});class a{constructor({rootRouter:e,container:t,cache:n,advice:r=[],proxy:i,using:a}={}){this.rootRouter=e,this.container=t,this.advice=r,this.proxy=i,this.using=a,this.cache=n}addAdvicce(e){this.advice??(this.advice=[]),this.advice.push(e)}setAdvice(...e){return this.advice=e,this}}const o=i.t;class s extends o{constructor({serverOption:e,listen:t,filters:n,requestEndPoints:r,closeEndPoints:i,errorEndPoints:a,sessionOption:o,globalAdvice:c,fileUploadTempPath:u,noSuchRouteEndPointMappingThrow:p,transactionManagerFactory:l}={},d){super(d),this.serverOption=e,this.listen=Object.assign({port:s.DEFAULT_PORT,hostname:s.DEFAULT_HOSTNAME},t),this.filters=n,this.requestEndPoints=r,this.closeEndPoints=i,this.errorEndPoints=a,this.sessionOption=Object.assign({key:"SBSESSIONID",expiredTime:18e5},o),this.globalAdvice=c,this.fileUploadTempPath=u,this.noSuchRouteEndPointMappingThrow=p,this.transactionManagerFactory=l}get hostname(){return this.listen.hostname}get port(){return this.listen.port}get protocol(){return this.isSecure?"https":"http"}get address(){return`${this.protocol}://${this.hostname}:${this.port}`}get isSecure(){return this.serverOption&&"key"in this.serverOption&&"cert"in this.serverOption}}s.DEFAULT_PORT=8081,s.DEFAULT_HOSTNAME="127.0.0.1"},3770:e=>{e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},3779:(e,t,n)=>{n.d(t,{F:()=>l});var r=n(9896),i=n.n(r),a=n(6928),o=n.n(a),s=n(5506),c=n(3500),u=n(229),p=n(7953);class l{constructor(e,t=process.cwd()){this.path=e,this.rootPath=t}get absolutePath(){return this.path instanceof c.z?o().join(this.rootPath,this.path.reqUrlObj().pathname):this.path instanceof URL?o().join(this.rootPath,this.path.pathname):o().join(this.rootPath,this.path)}get conTentType(){return s.lookup(this.absolutePath).toString()}get data(){return new Promise((e,t)=>{i().readFile("",(n,r)=>{n&&t(n);const i=r.toString();e(i)})})}async write(e){e.resStatusCode(u.t.Ok),e.resSetHeader(p.L.ContentType,this.conTentType),await e.resEnd(i().readFileSync(this.absolutePath))}}},4374:(e,t,n)=>{n.d(t,{v:()=>a});var r=n(758),i=n(229);class a extends r.j{constructor({status:e=i.t.BadRequest,message:t="Bad Request"}={}){super({status:e,message:t})}}},4843:(e,t,n)=>{n.d(t,{m:()=>a});var r=n(758),i=n(229);class a extends r.j{constructor({status:e=i.t.NotFound,message:t="Not Found"}={}){super({status:e,message:t})}}},5053:(e,t,n)=>{n.d(t,{d:()=>c});var r={9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return D(Object.create(null))}:s?function(){return D({__proto__:null})}:function(){return D({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,z(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!z(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(z(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(new Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:function(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}},getProvider:c,setProvider:function(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}};return o;function s(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=C(i);;){var s=L(o);if(!s)return;var c=F(s);if(c.isProviderFor(t,a))return I(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function c(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=s(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function u(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&P(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=C(i.keys()),o=0;;){var s=L(a);if(!s)return n.length=o,n;var c=F(s);try{n[o]=c}catch(e){try{I(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=B(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=U(t,n,!1);return!j(r)&&P(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=B(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=U(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){U(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=B(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=U(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e){return!!e}function E(e){var t=function(e){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t="string",n=N(e,i);if(void 0!==n){var r=n.call(e,t);if(S(r))throw new TypeError;return r}return function(e){var t,n,r=e.toString;if(A(r)&&!S(n=r.call(e)))return n;if(A(t=e.valueOf)&&!S(n=t.call(e)))return n;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function R(e){return"function"==typeof e}function z(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!A(n))throw new TypeError;return n}}function C(e){var t=N(e,a);if(!A(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function L(e){var t=e.next();return!t.done&&t}function I(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function U(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function D(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!T(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=E(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=E(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=E(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=E(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=E(n)),!S(t))throw new TypeError;j(n)||(n=E(n));var r=U(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o,s={};a.d(s,{d:()=>o}),a(9771),function(e){e.getParameterTypes=(e,t)=>t?Reflect.getMetadata("design:paramtypes",e,t)||[]:Reflect.getMetadata("design:paramtypes",e)||[],e.getReturnType=(e,t)=>Reflect.getMetadata("design:returntype",e,t),e.getType=(e,t)=>t?Reflect.getMetadata("design:type",e,t):Reflect.getMetadata("design:type",e),e.getMetadata=(e,t,n)=>n?Reflect.getMetadata(e,t,n):Reflect.getMetadata(e,t),e.getMetadataKeys=e=>Reflect.getMetadataKeys(e),e.getOwnMetadata=(e,t,n)=>n?Reflect.getOwnMetadata(e,t,n):Reflect.getOwnMetadata(e,t),e.getMetadatas=t=>e.getMetadataKeys(t).map(n=>e.getMetadata(n,t)),e.metadata=(e,t)=>Reflect.metadata(e,t),e.defineMetadata=(e,t,n,r)=>{r&&Reflect.defineMetadata?Reflect.defineMetadata(e,t,n,r):Reflect.defineMetadata&&Reflect.defineMetadata(e,t,n)}}(o||(o={}));const c=s.d},5118:(e,t,n)=>{var r;n.d(t,{y:()=>r}),function(e){e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e.PATCH="PATCH",e.HEAD="HEAD",e.OPTIONS="OPTIONS",e.TRACE="TRACE",e.CONNECT="CONNECT"}(r||(r={}))},5161:(e,t,n)=>{n.d(t,{C:()=>r.C});var r=n(1262)},5468:(e,t,n)=>{n.d(t,{P:()=>a});var r=n(758),i=n(229);class a extends r.j{constructor({status:e=i.t.InternalServerError,message:t="Internal Server Error"}={}){super({status:e,message:t})}}},5506:(e,t,n)=>{var r,i,a,o=n(6439),s=n(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,u=/^text\//i;function p(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&o[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!u.test(t[1]))&&"UTF-8"}t.charset=p,t.charsets={lookup:p},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),r=n&&t.extensions[n[1].toLowerCase()];return!(!r||!r.length)&&r[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),r=t.extensions,i=t.types,a=["nginx","apache",void 0,"iana"],Object.keys(o).forEach(function(e){var t=o[e],n=t.extensions;if(n&&n.length){r[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(i[c]){var u=a.indexOf(o[i[c]].source),p=a.indexOf(t.source);if("application/octet-stream"!==i[c]&&(u>p||u===p&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}})},5797:(e,t,n)=>{var r;n.d(t,{Q:()=>r}),function(e){e.TransactionManager=Symbol("TransactionManager")}(r||(r={}))},5884:(e,t,n)=>{var r=n(3106);e.exports={gzip:function(e,t){return new Promise(function(n,i){r.gzip(e,t,function(e,t){e?i(Error(e)):n(t)})})},ungzip:function(e,t){return new Promise(function(n,i){r.gunzip(e,t,function(e,t){e?i(Error(e)):n(t)})})}}},6079:(e,t,n)=>{n.d(t,{KV:()=>o.K,Lr:()=>r.L,t3:()=>a.t,ym:()=>i.y});var r=n(7953),i=n(5118),a=n(229),o=n(1946)},6377:(e,t,n)=>{n.d(t,{s:()=>r});class r{}},6439:(e,t,n)=>{e.exports=n(3770)},6799:(e,t,n)=>{n.d(t,{R:()=>r.R,n:()=>i.n});var r=n(115),i=n(3367)},6928:t=>{t.exports=e(import.meta.url)("path")},7016:t=>{t.exports=e(import.meta.url)("url")},7035:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(229),i=n(9108);const a={openapi:"3.0.1",info:{title:"SimpleBootHttpServer OpenApi3",description:"SimpleBootHttpServer OpenApi3"}};class o{constructor(e,t){this.config=e,this.openApiConfig=Object.assign(Object.assign({},a),t??{})}async onInit(e){}async proceedBefore({rr:e,app:t}){if(e.reqUrl===this.config.path){const n=t.routerManager.routingMap(),a={paths:{}};return Object.entries(n).filter(([e,t])=>"string"!=typeof t).forEach(([e,t])=>{const n=a.paths[e]={};(0,i.Fz)(t)?.forEach(e=>{n[e.config.method]={summary:e.propertyKey,description:e.propertyKey}})}),e.resWriteJson(Object.assign(Object.assign({},this.openApiConfig),a)).resStatusCode(r.t.Ok).resEnd(),!1}return!0}async proceedAfter({rr:e,app:t}){return!0}}},7522:(e,t,n)=>{n.d(t,{AA:()=>a.A,dd:()=>r.d,ho:()=>i.h,n1:()=>s.n,nC:()=>o.n});var r=n(9822),i=n(8864),a=n(7035),o=n(14),s=n(2240)},7578:(e,t,n)=>{n.d(t,{m:()=>r});class r{constructor(e,t){this.header=e,this.data=t}}},7953:(e,t,n)=>{var r;n.d(t,{L:()=>r}),function(e){e.ContentLength="Content-Length",e.ContentType="Content-Type",e.ContentEncoding="Content-Encoding",e.Accept="Accept",e.Authorization="Authorization",e.CacheControl="Cache-Control",e.Connection="Connection",e.Date="Date",e.Host="Host",e.Pragma="Pragma",e.Trailer="Trailer",e.TransferEncoding="Transfer-Encoding",e.Upgrade="Upgrade",e.Via="Via",e.Warning="Warning",e.AcceptCharset="Accept-Charset",e.AcceptEncoding="Accept-Encoding",e.AcceptLanguage="Accept-Language",e.AccessControlAllowOrigin="Access-Control-Allow-Origin",e.AccessControlAllowMethods="Access-Control-Allow-Methods",e.AccessControlAllowHeaders="Access-Control-Allow-Headers",e.AccessControlExposeHeaders="Access-Control-Expose-Headers",e.Expect="Expect",e.From="From",e.MaxForwards="Max-Forwards",e.Referer="Referer",e.UserAgent="User-Agent",e.Cookie="Cookie",e.SetCookie="Set-Cookie",e.Cookie2="Cookie2",e.SetCookie2="Set-Cookie2",e.Location="Location",e.IfModifiedSince="If-Modified-Since",e.IfUnmodifiedSince="If-Unmodified-Since",e.IfMatch="If-Match",e.IfNoneMatch="If-None-Match",e.IfRange="If-Range",e.Allow="Allow",e.Server="Server"}(r||(r={}))},8864:(e,t,n)=>{n.d(t,{h:()=>r});class r{constructor(e){this.httpStatus=e}async proceedBefore({rr:e,app:t}){return e.resStatusCode(this.httpStatus),e.resEnd(),!1}async proceedAfter({rr:e,app:t}){return!0}async onInit(e){}}},9108:(e,t,n)=>{n.d(t,{Ay:()=>m,D9:()=>_,Df:()=>y,Fz:()=>p,L3:()=>x,LO:()=>h,Ro:()=>N,SJ:()=>v,Sl:()=>A,Uc:()=>b,Vx:()=>E,Y:()=>f,Yu:()=>u,ZD:()=>F,Zy:()=>d,_P:()=>R,aK:()=>L,a_:()=>w,cr:()=>r,fG:()=>l,ft:()=>T,hZ:()=>S,hg:()=>C,kl:()=>z,lw:()=>M,mI:()=>j,nw:()=>k,oB:()=>P,q4:()=>c,rX:()=>O,sp:()=>g}),n(9771);var r,i=n(5053),a=n(5118);!function(e){e.REQ_JSON_BODY="SIMPLE_BOOT_HTTP_SERVER://URLMAPPING/REQ_JSON_BODY",e.REQ_FORM_URL_BODY="SIMPLE_BOOT_HTTP_SERVER://URLMAPPING/REQ_FORM_URL_BODY"}(r||(r={}));const o=Symbol("MappingMetadataKey"),s=(e,t,n,r)=>{const a=i.d.getMetadata(o,t.constructor)??[];a.push({propertyKey:n,config:e}),i.d.defineMetadata(o,a,t.constructor),i.d.defineMetadata(o,e,t,n)};function c(e,t,n){if(!t||!n)return(t,n,r)=>{s(e,t,n,r)};s({method:a.y.GET},e,t,n)}const u=(e,t)=>i.d.getMetadata(o,e,t),p=e=>(null!=e&&"object"==typeof e&&(e=e.constructor),i.d.getMetadata(o,e));function l(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.GET,s(e,t,n,r)};s({method:a.y.GET},e,t,n)}const d=(e,t)=>u(e,t),f=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.GET);function h(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.POST,s(e,t,n,r)};s({method:a.y.POST},e,t,n)}const y=(e,t)=>u(e,t),m=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.POST);function v(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.DELETE,s(e,t,n,r)};s({method:a.y.DELETE},e,t,n)}const g=(e,t)=>u(e,t),x=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.DELETE);function b(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.PUT,s(e,t,n,r)};s({method:a.y.PUT},e,t,n)}const w=(e,t)=>u(e,t),O=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.PUT);function _(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.PATCH,s(e,t,n,r)};s({method:a.y.PATCH},e,t,n)}const k=(e,t)=>u(e,t),j=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.GET);function M(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.OPTIONS,s(e,t,n,r)};s({method:a.y.OPTIONS},e,t,n)}const S=(e,t)=>u(e,t),P=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.OPTIONS);function E(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.HEAD,s(e,t,n,r)};s({method:a.y.HEAD},e,t,n)}const T=(e,t)=>u(e,t),A=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.GET);function R(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.TRACE,s(e,t,n,r)};s({method:a.y.TRACE},e,t,n)}const z=(e,t)=>u(e,t),N=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.TRACE);function C(e,t,n){if(!t||!n)return(t,n,r)=>{e.method=a.y.CONNECT,s(e,t,n,r)};s({method:a.y.CONNECT},e,t,n)}const F=(e,t)=>u(e,t),L=e=>p(e)?.filter(e=>e.config?.method.toUpperCase()===a.y.CONNECT)},9183:(e,t,n)=>{n.d(t,{$:()=>L});var r={};n.r(r),n.d(r,{JsonPatchError:()=>v,_areEquals:()=>S,applyOperation:()=>O,applyPatch:()=>_,applyReducer:()=>k,deepClone:()=>g,getValueByPointer:()=>w,validate:()=>M,validator:()=>j});var i={};n.r(i),n.d(i,{compare:()=>C,generate:()=>z,observe:()=>R,unobserve:()=>A});var a,o=(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},a(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=Object.prototype.hasOwnProperty;function c(e,t){return s.call(e,t)}function u(e){if(Array.isArray(e)){for(var t=new Array(e.length),n=0;n<t.length;n++)t[n]=""+n;return t}if(Object.keys)return Object.keys(e);var r=[];for(var i in e)c(e,i)&&r.push(i);return r}function p(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function l(e){for(var t,n=0,r=e.length;n<r;){if(!((t=e.charCodeAt(n))>=48&&t<=57))return!1;n++}return!0}function d(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function f(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function h(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var t=0,n=e.length;t<n;t++)if(h(e[t]))return!0}else if("object"==typeof e)for(var r=u(e),i=r.length,a=0;a<i;a++)if(h(e[r[a]]))return!0;return!1}function y(e,t){var n=[e];for(var r in t){var i="object"==typeof t[r]?JSON.stringify(t[r],null,2):t[r];void 0!==i&&n.push(r+": "+i)}return n.join("\n")}var m=function(e){function t(t,n,r,i,a){var o=this.constructor,s=e.call(this,y(t,{name:n,index:r,operation:i,tree:a}))||this;return s.name=n,s.index=r,s.operation=i,s.tree=a,Object.setPrototypeOf(s,o.prototype),s.message=y(t,{name:n,index:r,operation:i,tree:a}),s}return o(t,e),t}(Error),v=m,g=p,x={add:function(e,t,n){return e[t]=this.value,{newDocument:n}},remove:function(e,t,n){var r=e[t];return delete e[t],{newDocument:n,removed:r}},replace:function(e,t,n){var r=e[t];return e[t]=this.value,{newDocument:n,removed:r}},move:function(e,t,n){var r=w(n,this.path);r&&(r=p(r));var i=O(n,{op:"remove",path:this.from}).removed;return O(n,{op:"add",path:this.path,value:i}),{newDocument:n,removed:r}},copy:function(e,t,n){var r=w(n,this.from);return O(n,{op:"add",path:this.path,value:p(r)}),{newDocument:n}},test:function(e,t,n){return{newDocument:n,test:S(e[t],this.value)}},_get:function(e,t,n){return this.value=e[t],{newDocument:n}}},b={add:function(e,t,n){return l(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:n,index:t}},remove:function(e,t,n){return{newDocument:n,removed:e.splice(t,1)[0]}},replace:function(e,t,n){var r=e[t];return e[t]=this.value,{newDocument:n,removed:r}},move:x.move,copy:x.copy,test:x.test,_get:x._get};function w(e,t){if(""==t)return e;var n={op:"_get",path:t};return O(e,n),n.value}function O(e,t,n,r,i,a){if(void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===i&&(i=!0),void 0===a&&(a=0),n&&("function"==typeof n?n(t,0,e,t.path):j(t,0)),""===t.path){var o={newDocument:e};if("add"===t.op)return o.newDocument=t.value,o;if("replace"===t.op)return o.newDocument=t.value,o.removed=e,o;if("move"===t.op||"copy"===t.op)return o.newDocument=w(e,t.from),"move"===t.op&&(o.removed=e),o;if("test"===t.op){if(o.test=S(e,t.value),!1===o.test)throw new v("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return o.newDocument=e,o}if("remove"===t.op)return o.removed=e,o.newDocument=null,o;if("_get"===t.op)return t.value=e,o;if(n)throw new v("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",a,t,e);return o}r||(e=p(e));var s=(t.path||"").split("/"),c=e,u=1,d=s.length,h=void 0,y=void 0,m=void 0;for(m="function"==typeof n?n:j;;){if((y=s[u])&&-1!=y.indexOf("~")&&(y=f(y)),i&&("__proto__"==y||"prototype"==y&&u>0&&"constructor"==s[u-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(n&&void 0===h&&(void 0===c[y]?h=s.slice(0,u).join("/"):u==d-1&&(h=t.path),void 0!==h&&m(t,0,e,h)),u++,Array.isArray(c)){if("-"===y)y=c.length;else{if(n&&!l(y))throw new v("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",a,t,e);l(y)&&(y=~~y)}if(u>=d){if(n&&"add"===t.op&&y>c.length)throw new v("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,t,e);if(!1===(o=b[t.op].call(t,c,y,e)).test)throw new v("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return o}}else if(u>=d){if(!1===(o=x[t.op].call(t,c,y,e)).test)throw new v("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return o}if(c=c[y],n&&u<d&&(!c||"object"!=typeof c))throw new v("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",a,t,e)}}function _(e,t,n,r,i){if(void 0===r&&(r=!0),void 0===i&&(i=!0),n&&!Array.isArray(t))throw new v("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");r||(e=p(e));for(var a=new Array(t.length),o=0,s=t.length;o<s;o++)a[o]=O(e,t[o],n,!0,i,o),e=a[o].newDocument;return a.newDocument=e,a}function k(e,t,n){var r=O(e,t);if(!1===r.test)throw new v("Test operation failed","TEST_OPERATION_FAILED",n,t,e);return r.newDocument}function j(e,t,n,r){if("object"!=typeof e||null===e||Array.isArray(e))throw new v("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,n);if(!x[e.op])throw new v("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,n);if("string"!=typeof e.path)throw new v("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,n);if(0!==e.path.indexOf("/")&&e.path.length>0)throw new v('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,n);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new v("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new v("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&h(e.value))throw new v("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,n);if(n)if("add"==e.op){var i=e.path.split("/").length,a=r.split("/").length;if(i!==a+1&&i!==a)throw new v("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,n)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==r)throw new v("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,n)}else if("move"===e.op||"copy"===e.op){var o=M([{op:"_get",path:e.from,value:void 0}],n);if(o&&"OPERATION_PATH_UNRESOLVABLE"===o.name)throw new v("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,n)}}function M(e,t,n){try{if(!Array.isArray(e))throw new v("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)_(p(t),p(e),n||!0);else{n=n||j;for(var r=0;r<e.length;r++)n(e[r],r,t,void 0)}}catch(e){if(e instanceof v)return e;throw e}}function S(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,r,i,a=Array.isArray(e),o=Array.isArray(t);if(a&&o){if((r=e.length)!=t.length)return!1;for(n=r;0!==n--;)if(!S(e[n],t[n]))return!1;return!0}if(a!=o)return!1;var s=Object.keys(e);if((r=s.length)!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!t.hasOwnProperty(s[n]))return!1;for(n=r;0!==n--;)if(!S(e[i=s[n]],t[i]))return!1;return!0}return e!=e&&t!=t}var P=new WeakMap,E=function(e){this.observers=new Map,this.obj=e},T=function(e,t){this.callback=e,this.observer=t};function A(e,t){t.unobserve()}function R(e,t){var n,r=function(e){return P.get(e)}(e);if(r){var i=function(e,t){return e.observers.get(t)}(r,t);n=i&&i.observer}else r=new E(e),P.set(e,r);if(n)return n;if(n={},r.value=p(e),t){n.callback=t,n.next=null;var a=function(){z(n)},o=function(){clearTimeout(n.next),n.next=setTimeout(a)};"undefined"!=typeof window&&(window.addEventListener("mouseup",o),window.addEventListener("keyup",o),window.addEventListener("mousedown",o),window.addEventListener("keydown",o),window.addEventListener("change",o))}return n.patches=[],n.object=e,n.unobserve=function(){z(n),clearTimeout(n.next),function(e,t){e.observers.delete(t.callback)}(r,n),"undefined"!=typeof window&&(window.removeEventListener("mouseup",o),window.removeEventListener("keyup",o),window.removeEventListener("mousedown",o),window.removeEventListener("keydown",o),window.removeEventListener("change",o))},r.observers.set(t,new T(t,n)),n}function z(e,t){void 0===t&&(t=!1);var n=P.get(e.object);N(n.value,e.object,e.patches,"",t),e.patches.length&&_(n.value,e.patches);var r=e.patches;return r.length>0&&(e.patches=[],e.callback&&e.callback(r)),r}function N(e,t,n,r,i){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var a=u(t),o=u(e),s=!1,l=o.length-1;l>=0;l--){var f=e[y=o[l]];if(!c(t,y)||void 0===t[y]&&void 0!==f&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(i&&n.push({op:"test",path:r+"/"+d(y),value:p(f)}),n.push({op:"remove",path:r+"/"+d(y)}),s=!0):(i&&n.push({op:"test",path:r,value:e}),n.push({op:"replace",path:r,value:t}));else{var h=t[y];"object"==typeof f&&null!=f&&"object"==typeof h&&null!=h&&Array.isArray(f)===Array.isArray(h)?N(f,h,n,r+"/"+d(y),i):f!==h&&(i&&n.push({op:"test",path:r+"/"+d(y),value:p(f)}),n.push({op:"replace",path:r+"/"+d(y),value:p(h)}))}}if(s||a.length!=o.length)for(l=0;l<a.length;l++){var y;c(e,y=a[l])||void 0===t[y]||n.push({op:"add",path:r+"/"+d(y),value:p(t[y])})}}}function C(e,t,n){void 0===n&&(n=!1);var r=[];return N(e,t,r,"",n),r}const F=Object.assign({},r,i,{JsonPatchError:m,deepClone:p,escapePathComponent:d,unescapePathComponent:f});class L{constructor(e){this.patch=e}apply(e){return F.applyPatch(e,this.patch).newDocument}}},9434:(e,t,n)=>{n.d(t,{E:()=>r});class r{}},9771:()=>{var e;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=r(e);function r(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(n=r(t.Reflect,n)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!o&&!s,u={create:o?function(){return K(Object.create(null))}:s?function(){return K({__proto__:null})}:function(){return K({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},p=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,N(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){if(!N(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(N(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new l}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),f="function"==typeof WeakMap?WeakMap:function(){var e=u.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(u.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:u.create()})}return e[t]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):a(t,e),t}return a(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),h=r?Symbol.for("@reflect-metadata:registry"):void 0,y=function(){var e;return!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[h]),j(e)&&(e=function(){var e,n,r,i;j(h)||void 0===t.Reflect||h in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new f;return{isProviderFor:function(e,t){var n=o.get(e);return!(j(n)||!n.has(t))||!!i(e,t).length&&(j(n)&&(n=new d,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}(t.Reflect));var a=new f,o={registerProvider:s,getProvider:u,setProvider:y};return o;function s(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case j(n):n=t;break;case n===t:break;case j(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}}function c(t,a){if(!j(n)){if(n.isProviderFor(t,a))return n;if(!j(r)){if(r.isProviderFor(t,a))return n;if(!j(i))for(var o=F(i);;){var s=I(o);if(!s)return;var c=L(s);if(c.isProviderFor(t,a))return B(o),c}}}if(!j(e)&&e.isProviderFor(t,a))return e}function u(e,t){var n,r=a.get(e);return j(r)||(n=r.get(t)),j(n)?(j(n=c(e,t))||(j(r)&&(r=new l,a.set(e,r)),r.set(t,n)),n):n}function p(e){if(j(e))throw new TypeError;return n===e||r===e||!j(i)&&i.has(e)}function y(e,t,n){if(!p(n))throw new Error("Metadata provider not registered.");var r=u(e,t);if(r!==n){if(!j(r))return!1;var i=a.get(e);j(i)&&(i=new l,a.set(e,i)),i.set(t,n)}return!0}}()),!j(h)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new f,n={isProviderFor:function(e,n){var r=t.get(e);return!j(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!j(i)&&E(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!j(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(j(i))return n;for(var a=F(i.keys()),o=0;;){var s=I(a);if(!s)return n.length=o,n;var c=L(s);try{n[o]=c}catch(e){try{B(a)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,i){var a=r(n,i,!1);if(j(a))return!1;if(!a.delete(e))return!1;if(0===a.size){var o=t.get(n);j(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}};return y.registerProvider(n),n;function r(r,i,a){var o=t.get(r),s=!1;if(j(o)){if(!a)return;o=new l,t.set(r,o),s=!0}var c=o.get(i);if(j(c)){if(!a)return;if(c=new l,o.set(i,c),!e.setProvider(r,i,n))throw o.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return c}}(y);function v(e,t,n){if(g(e,t,n))return!0;var r=U(t);return!M(r)&&v(e,r,n)}function g(e,t,n){var r=D(t,n,!1);return!j(r)&&E(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(g(e,t,n))return b(e,t,n);var r=U(t);return M(r)?void 0:x(e,r,n)}function b(e,t,n){var r=D(t,n,!1);if(!j(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){D(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function O(e,t){var n=_(e,t),r=U(e);if(null===r)return n;var i=O(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new d,o=[],s=0,c=n;s<c.length;s++){var u=c[s];a.has(u)||(a.add(u),o.push(u))}for(var p=0,l=i;p<l.length;p++)u=l[p],a.has(u)||(a.add(u),o.push(u));return o}function _(e,t){var n=D(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function k(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function j(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e,t){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=C(e,i);if(void 0!==r){var a=r.call(e,n);if(S(a))throw new TypeError;return a}return function(e,t){if("string"===t){var n=e.toString;if(R(n)&&!S(i=n.call(e)))return i;if(R(r=e.valueOf)&&!S(i=r.call(e)))return i}else{var r;if(R(r=e.valueOf)&&!S(i=r.call(e)))return i;var i,a=e.toString;if(R(a)&&!S(i=a.call(e)))return i}throw new TypeError}(e,"default"===n?"number":n)}function E(e){return!!e}function T(e){var t=P(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function A(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function R(e){return"function"==typeof e}function z(e){return"function"==typeof e}function N(e,t){return e===t||e!=e&&t!=t}function C(e,t){var n=e[t];if(null!=n){if(!R(n))throw new TypeError;return n}}function F(e){var t=C(e,a);if(!R(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function L(e){return e.value}function I(e){var t=e.next();return!t.done&&t}function B(e){var t=e.return;t&&t.call(e)}function U(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===p)return t;if(t!==p)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function D(e,t,n){var r=y.getProvider(e,t);if(!j(r))return r;if(n){if(y.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function K(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(j(n)){if(!A(e))throw new TypeError;if(!z(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!j(r)&&!M(r)){if(!z(r))throw new TypeError;t=r}}return t}(e,t)}if(!A(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!j(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(t,n,r);if(!j(a)&&!M(a)){if(!S(a))throw new TypeError;r=a}}return r}(e,t,n=T(n),r)}),e("metadata",function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!j(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!S(n))throw new TypeError;return j(r)||(r=T(r)),w(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=T(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=T(n)),g(e,t,n)}),e("getMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=T(n)),x(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!S(t))throw new TypeError;return j(n)||(n=T(n)),b(e,t,n)}),e("getMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=T(t)),O(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!S(e))throw new TypeError;return j(t)||(t=T(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!S(t))throw new TypeError;if(j(n)||(n=T(n)),!S(t))throw new TypeError;j(n)||(n=T(n));var r=D(t,n,!1);return!j(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(e||(e={}))},9822:(e,t,n)=>{n.d(t,{d:()=>o});var r=n(3055),i=n(426),a=n(889);class o{constructor(e){this.config=e,this.storage=new Map,e.config.cacheDir&&e.config.startUpClean&&r.i.deleteSync(e.config.cacheDir,{options:{recursive:!0}})}async onInit(e){}async proceedBefore({rr:e,app:t,carrier:n}){var a,s,c;const u=this.config.filter?.(e,t);if(!u)return!0;if(this.config.config.cacheDir&&r.i.mkdirSync(this.config.config.cacheDir,{recursive:!0}),!this.cacheConfig&&this.config.config.cacheDir)try{this.cacheConfig=JSON.parse(i.T.toString(r.i.readSync([this.config.config.cacheDir,"cacheConfig.json"],{option:{encoding:"utf-8"}})))}catch(e){}const p=(new Date).toISOString();this.cacheConfig??(this.cacheConfig={createDate:p,updateDate:p,caches:{}}),(a=this.cacheConfig).createDate??(a.createDate=p),(s=this.cacheConfig).updateDate??(s.updateDate=p),(c=this.cacheConfig).caches??(c.caches={});const l=this.config.key(e,t),d={key:l.key,lifeTime:l.lifeTime??this.config.config.lifeTime,isUpdate:!1,responseHeaders:l.responseHeaders},f=this.cacheConfig.caches[d.key];if(f){const t=this.config.config.cacheDir?r.i.existsSync(f.path):this.storage.has(f.path),n=Date.now()-f.createTime;if(!t||n>f.lifeTime)delete this.cacheConfig[d.key],this.deleteChunk(f.path),d.isUpdate=!0;else{e.resSetHeaders({...f.responseHeader,cacheFilter:"true;remainTime="+(f.lifeTime-n)});try{const t=this.getChunk(f.path);await e.resEnd(t)}catch(e){console.log("--------e",e)}}}else d.isUpdate=!0;return n.set(o.CARRIER_KEY_NAME,d),d.isUpdate}deleteChunk(e){this.config.config.cacheDir&&r.i.existsSync(e)?r.i.deleteFileSync(e):this.storage.has(e)&&this.storage.delete(e)}getChunk(e){return this.config.config.cacheDir?r.i.readSync(e):this.storage.get(e)}async proceedAfter({rr:e,app:t,carrier:n}){var i;const s=n.get(o.CARRIER_KEY_NAME);if(s&&s.isUpdate)try{this.config.config.cacheDir&&r.i.mkdirSync([this.config.config.cacheDir,"caches"],{recursive:!0});const t=e.resBodyData();if(!t)return!0;let n;const o=a.n.uuid4();n=this.writeChunk(o,t);const c=Date.now(),u=new Date(c).toISOString();(i=this.cacheConfig).createDate??(i.createDate=u),this.cacheConfig.updateDate=u;const p={};s.responseHeaders?.map(e=>e.toLowerCase()).forEach(t=>{p[t]=e.resHeader(t)}),this.cacheConfig.caches[s.key]={path:n,createTime:c,lifeTime:s.lifeTime,responseHeader:p},this.config.config.cacheDir&&r.i.write(JSON.stringify(this.cacheConfig),{path:[this.config.config.cacheDir,"cacheConfig.json"]})}catch(e){console.log("---",e)}return!0}writeChunk(e,t){return this.config.config.cacheDir?r.i.write(t,{path:[this.config.config.cacheDir,"caches",e]}):(this.storage.set(e,t),e)}}o.CARRIER_KEY_NAME="_CARRIER_CACHE_FILTER_KEY_NAME"},9868:(e,t,n)=>{n.d(t,{D_:()=>c.D,PO:()=>o.P,j$:()=>a.j,m_:()=>s.m,qQ:()=>i.q,v7:()=>r.v});var r=n(4374),i=n(283),a=n(758),o=n(5468),s=n(4843),c=n(1872)},9896:t=>{t.exports=e(import.meta.url)("fs")}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{$O:()=>d.$O,AA:()=>p.AA,Ay:()=>s.Ay,Bv:()=>d.Bv,Cv:()=>y.C,D9:()=>s.D9,DX:()=>d.DX,D_:()=>u.D_,Df:()=>s.Df,E0:()=>d.E0,EB:()=>a.E,FW:()=>d.FW,Fb:()=>f.F,Fz:()=>s.Fz,KV:()=>o.KV,L3:()=>s.L3,LO:()=>s.LO,Lr:()=>o.Lr,PO:()=>u.PO,Qp:()=>l.Q,RX:()=>c.R,Ro:()=>s.Ro,SJ:()=>s.SJ,Sl:()=>s.Sl,Uc:()=>s.Uc,Vx:()=>s.Vx,Y:()=>s.Y,Yu:()=>s.Yu,ZD:()=>s.ZD,Zy:()=>s.Zy,_P:()=>s._P,aK:()=>s.aK,a_:()=>s.a_,cr:()=>s.cr,dd:()=>p.dd,fG:()=>s.fG,ft:()=>s.ft,hZ:()=>s.hZ,hg:()=>s.hg,ho:()=>p.ho,j$:()=>u.j$,kl:()=>s.kl,lw:()=>s.lw,m6:()=>d.m6,mI:()=>s.mI,m_:()=>u.m_,n1:()=>p.n1,nC:()=>p.nC,nw:()=>s.nw,nz:()=>c.n,oB:()=>s.oB,q4:()=>s.q4,qQ:()=>u.qQ,rX:()=>s.rX,sG:()=>d.sG,sp:()=>s.sp,t3:()=>o.t3,v7:()=>u.v7,yh:()=>d.yh,ym:()=>o.ym,zb:()=>d.zb,zz:()=>h.z});var a=r(1013),o=r(6079),s=r(2001),c=r(6799),u=r(9868),p=r(7522),l=r(346),d=r(2821),f=r(1506),h=r(2302),y=r(5161);const m=i.v7,v=i.hg,g=i.dd,x=i.RX,b=i.SJ,w=i.qQ,O=i.fG,_=i.Vx,k=i.m6,j=i.nz,M=i.j$,S=i.Lr,P=i.ym,E=i.Fb,T=i.t3,A=i.ho,R=i.Qp,z=i.PO,N=i.KV,C=i.m_,F=i.lw,L=i.AA,I=i.D9,B=i.LO,U=i.Uc,D=i.$O,K=i.sG,q=i.E0,H=i.DX,W=i.Bv,V=i.zb,$=i.yh,X=i.FW,J=i.nC,Y=i.zz,G=i.Cv,Z=i.EB,Q=i._P,ee=i.n1,te=i.D_,ne=i.q4,re=i.cr,ie=i.ZD,ae=i.aK,oe=i.sp,se=i.L3,ce=i.Zy,ue=i.Y,pe=i.ft,le=i.Sl,de=i.hZ,fe=i.oB,he=i.nw,ye=i.mI,me=i.Df,ve=i.Ay,ge=i.a_,xe=i.rX,be=i.kl,we=i.Ro,Oe=i.Yu,_e=i.Fz;export{m as BadRequestError,v as CONNECT,g as CacheFilter,x as CrossDomainHeaderEndPoint,b as DELETE,w as ForbiddenError,O as GET,_ as HEAD,k as HeaderData,j as HeaderEndPoint,M as HttpError,S as HttpHeaders,P as HttpMethod,E as HttpServerOption,T as HttpStatus,A as HttpStatusFilter,R as InjectSituationType,z as InternalServerError,N as Mimes,C as NotFoundError,F as OPTIONS,L as OpenApi3Filter,I as PATCH,B as POST,U as PUT,D as PatchJson,K as ReqFormUrlBody,q as ReqHeader,H as ReqJsonBody,W as ReqMultipartFormBody,V as RequestResponse,$ as RequestResponseChain,X as Resource,J as ResourceFilter,Y as ResourceResorver,G as SessionManager,Z as SimpleBootHttpServer,Q as TRACE,ee as ThrowFilter,te as UnauthorizedError,ne as UrlMapping,re as UrlMappingSituationType,ie as getCONNECT,ae as getCONNECTS,oe as getDELETE,se as getDELETES,ce as getGET,ue as getGETS,pe as getHEAD,le as getHEADS,de as getOPTIONS,fe as getOPTIONSS,he as getPATCH,ye as getPATCHS,me as getPOST,ve as getPOSTS,ge as getPUT,xe as getPUTS,be as getTRACE,we as getTRACES,Oe as getUrlMapping,_e as getUrlMappings};
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
4
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
5
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
|
+
if (decorator = decorators[i])
|
|
7
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
+
if (kind && result) __defProp(target, key, result);
|
|
9
|
+
return result;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
// src/SimpleBootHttpServer.ts
|
|
13
|
+
import { SimpleApplication } from "@dooboostore/simple-boot/SimpleApplication";
|
|
14
|
+
|
|
15
|
+
// src/option/HttpServerOption.ts
|
|
16
|
+
import { SimOption } from "@dooboostore/simple-boot/SimOption";
|
|
17
|
+
var HttpServerOption = class _HttpServerOption extends SimOption {
|
|
18
|
+
static {
|
|
19
|
+
this.DEFAULT_PORT = 8081;
|
|
20
|
+
}
|
|
21
|
+
static {
|
|
22
|
+
this.DEFAULT_HOSTNAME = "127.0.0.1";
|
|
23
|
+
}
|
|
24
|
+
constructor({ serverOption, listen, filters, requestEndPoints, closeEndPoints, errorEndPoints, sessionOption, globalAdvice, fileUploadTempPath, noSuchRouteEndPointMappingThrow, transactionManagerFactory } = {}, initSimOption) {
|
|
25
|
+
super(initSimOption);
|
|
26
|
+
this.serverOption = serverOption;
|
|
27
|
+
this.listen = Object.assign({ port: _HttpServerOption.DEFAULT_PORT, hostname: _HttpServerOption.DEFAULT_HOSTNAME }, listen);
|
|
28
|
+
this.filters = filters;
|
|
29
|
+
this.requestEndPoints = requestEndPoints;
|
|
30
|
+
this.closeEndPoints = closeEndPoints;
|
|
31
|
+
this.errorEndPoints = errorEndPoints;
|
|
32
|
+
this.sessionOption = Object.assign({ key: "SBSESSIONID", expiredTime: 1e3 * 60 * 30 }, sessionOption);
|
|
33
|
+
this.globalAdvice = globalAdvice;
|
|
34
|
+
this.fileUploadTempPath = fileUploadTempPath;
|
|
35
|
+
this.noSuchRouteEndPointMappingThrow = noSuchRouteEndPointMappingThrow;
|
|
36
|
+
this.transactionManagerFactory = transactionManagerFactory;
|
|
37
|
+
}
|
|
38
|
+
get hostname() {
|
|
39
|
+
return this.listen.hostname;
|
|
40
|
+
}
|
|
41
|
+
get port() {
|
|
42
|
+
return this.listen.port;
|
|
43
|
+
}
|
|
44
|
+
get protocol() {
|
|
45
|
+
return this.isSecure ? "https" : "http";
|
|
46
|
+
}
|
|
47
|
+
get address() {
|
|
48
|
+
return `${this.protocol}://${this.hostname}:${this.port}`;
|
|
49
|
+
}
|
|
50
|
+
get isSecure() {
|
|
51
|
+
return this.serverOption && "key" in this.serverOption && "cert" in this.serverOption;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
// src/SimpleBootHttpServer.ts
|
|
56
|
+
import { IncomingMessage, Server as HttpServer, ServerResponse } from "http";
|
|
57
|
+
import { Server as HttpsServer } from "https";
|
|
58
|
+
|
|
59
|
+
// src/codes/HttpHeaders.ts
|
|
60
|
+
var HttpHeaders = /* @__PURE__ */ ((HttpHeaders2) => {
|
|
61
|
+
HttpHeaders2["ContentLength"] = "Content-Length";
|
|
62
|
+
HttpHeaders2["ContentType"] = "Content-Type";
|
|
63
|
+
HttpHeaders2["ContentEncoding"] = "Content-Encoding";
|
|
64
|
+
HttpHeaders2["Accept"] = "Accept";
|
|
65
|
+
HttpHeaders2["Authorization"] = "Authorization";
|
|
66
|
+
HttpHeaders2["CacheControl"] = "Cache-Control";
|
|
67
|
+
HttpHeaders2["Connection"] = "Connection";
|
|
68
|
+
HttpHeaders2["Date"] = "Date";
|
|
69
|
+
HttpHeaders2["Host"] = "Host";
|
|
70
|
+
HttpHeaders2["Pragma"] = "Pragma";
|
|
71
|
+
HttpHeaders2["Trailer"] = "Trailer";
|
|
72
|
+
HttpHeaders2["TransferEncoding"] = "Transfer-Encoding";
|
|
73
|
+
HttpHeaders2["Upgrade"] = "Upgrade";
|
|
74
|
+
HttpHeaders2["Via"] = "Via";
|
|
75
|
+
HttpHeaders2["Warning"] = "Warning";
|
|
76
|
+
HttpHeaders2["AcceptCharset"] = "Accept-Charset";
|
|
77
|
+
HttpHeaders2["AcceptEncoding"] = "Accept-Encoding";
|
|
78
|
+
HttpHeaders2["AcceptLanguage"] = "Accept-Language";
|
|
79
|
+
HttpHeaders2["AccessControlAllowOrigin"] = "Access-Control-Allow-Origin";
|
|
80
|
+
HttpHeaders2["AccessControlAllowMethods"] = "Access-Control-Allow-Methods";
|
|
81
|
+
HttpHeaders2["AccessControlAllowHeaders"] = "Access-Control-Allow-Headers";
|
|
82
|
+
HttpHeaders2["AccessControlExposeHeaders"] = "Access-Control-Expose-Headers";
|
|
83
|
+
HttpHeaders2["Expect"] = "Expect";
|
|
84
|
+
HttpHeaders2["From"] = "From";
|
|
85
|
+
HttpHeaders2["MaxForwards"] = "Max-Forwards";
|
|
86
|
+
HttpHeaders2["Referer"] = "Referer";
|
|
87
|
+
HttpHeaders2["UserAgent"] = "User-Agent";
|
|
88
|
+
HttpHeaders2["Cookie"] = "Cookie";
|
|
89
|
+
HttpHeaders2["SetCookie"] = "Set-Cookie";
|
|
90
|
+
HttpHeaders2["Cookie2"] = "Cookie2";
|
|
91
|
+
HttpHeaders2["SetCookie2"] = "Set-Cookie2";
|
|
92
|
+
HttpHeaders2["Location"] = "Location";
|
|
93
|
+
HttpHeaders2["IfModifiedSince"] = "If-Modified-Since";
|
|
94
|
+
HttpHeaders2["IfUnmodifiedSince"] = "If-Unmodified-Since";
|
|
95
|
+
HttpHeaders2["IfMatch"] = "If-Match";
|
|
96
|
+
HttpHeaders2["IfNoneMatch"] = "If-None-Match";
|
|
97
|
+
HttpHeaders2["IfRange"] = "If-Range";
|
|
98
|
+
HttpHeaders2["Allow"] = "Allow";
|
|
99
|
+
HttpHeaders2["Server"] = "Server";
|
|
100
|
+
return HttpHeaders2;
|
|
101
|
+
})(HttpHeaders || {});
|
|
102
|
+
|
|
103
|
+
// src/models/RequestResponse.ts
|
|
104
|
+
import { Intent } from "@dooboostore/simple-boot/intent/Intent";
|
|
105
|
+
import { URL as URL2, URLSearchParams } from "url";
|
|
106
|
+
import { Buffer as Buffer2 } from "buffer";
|
|
107
|
+
|
|
108
|
+
// src/models/datas/body/ReqFormUrlBody.ts
|
|
109
|
+
var ReqFormUrlBody = class {
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
// src/models/datas/body/ReqJsonBody.ts
|
|
113
|
+
var ReqJsonBody = class {
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
// src/models/datas/ReqHeader.ts
|
|
117
|
+
var ReqHeader = class {
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
// src/models/RequestResponse.ts
|
|
121
|
+
import { gzip } from "node-gzip";
|
|
122
|
+
import { FileUtils } from "@dooboostore/core-node/file/FileUtils";
|
|
123
|
+
import { ConvertUtils as CoreConvertUtils } from "@dooboostore/core/convert/ConvertUtils";
|
|
124
|
+
import { ConvertUtils } from "@dooboostore/core-node/convert/ConvertUtils";
|
|
125
|
+
var RequestResponse = class _RequestResponse {
|
|
126
|
+
// protected sessionManager?: SessionManager;
|
|
127
|
+
// constructor(req: IncomingMessage, res: ServerResponse);
|
|
128
|
+
// constructor(req: RequestResponse);
|
|
129
|
+
// constructor(req: IncomingMessage, res: ServerResponse, sessionManager?: SessionManager);
|
|
130
|
+
// constructor(req: IncomingMessage | RequestResponse, res?: ServerResponse, sessionManager?: SessionManager) {
|
|
131
|
+
// // this.req = req;
|
|
132
|
+
// // this.res = res;
|
|
133
|
+
// if (req instanceof RequestResponse) {
|
|
134
|
+
// this.req = req.req;
|
|
135
|
+
// this.res = req.res;
|
|
136
|
+
// this.sessionManager = req.sessionManager;
|
|
137
|
+
// } else {
|
|
138
|
+
// this.req = req;
|
|
139
|
+
// this.res = res!;
|
|
140
|
+
// this.sessionManager = sessionManager;
|
|
141
|
+
// }
|
|
142
|
+
// }
|
|
143
|
+
constructor(req, res, config) {
|
|
144
|
+
if (req instanceof _RequestResponse) {
|
|
145
|
+
this.req = req.req;
|
|
146
|
+
this.res = req.res;
|
|
147
|
+
this.config = config;
|
|
148
|
+
} else {
|
|
149
|
+
this.req = req;
|
|
150
|
+
this.res = res;
|
|
151
|
+
this.config = config;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
get reqSocket() {
|
|
155
|
+
return this.req.socket;
|
|
156
|
+
}
|
|
157
|
+
get reqCookieMap() {
|
|
158
|
+
let cookies = this.reqHeader("Cookie" /* Cookie */) ?? "";
|
|
159
|
+
if (Array.isArray(cookies)) {
|
|
160
|
+
cookies = cookies.join(";");
|
|
161
|
+
}
|
|
162
|
+
const map = /* @__PURE__ */ new Map();
|
|
163
|
+
cookies.split(";").map((it) => it.trim().split("=")).forEach((it) => {
|
|
164
|
+
map.set(it[0], it[1]);
|
|
165
|
+
});
|
|
166
|
+
return map;
|
|
167
|
+
}
|
|
168
|
+
reqCookieGet(key) {
|
|
169
|
+
return this.reqCookieMap.get(key);
|
|
170
|
+
}
|
|
171
|
+
get reqRemoteAddress() {
|
|
172
|
+
const ipHeader = this.req.headers["x-forwarded-for"];
|
|
173
|
+
let ip = this.req.socket.remoteAddress;
|
|
174
|
+
if (Array.isArray(ipHeader)) {
|
|
175
|
+
ip = ipHeader.join(",").split(",").shift();
|
|
176
|
+
} else if (typeof ipHeader === "string") {
|
|
177
|
+
ip = ipHeader.split(",").shift();
|
|
178
|
+
}
|
|
179
|
+
return ip;
|
|
180
|
+
}
|
|
181
|
+
get reqUrlObject() {
|
|
182
|
+
return new URL2(this.reqUrl, `${this.reqSocket ? "https://" : "http"}${this.reqHost ?? "localhost"}`);
|
|
183
|
+
}
|
|
184
|
+
get reqUrlPathName() {
|
|
185
|
+
return this.reqUrlObj().pathname ?? "";
|
|
186
|
+
}
|
|
187
|
+
get reqUrl() {
|
|
188
|
+
return this.req.url ?? "";
|
|
189
|
+
}
|
|
190
|
+
reqUrlObj(config) {
|
|
191
|
+
return new URL2(`${config?.scheme ?? "http"}://${config?.host ? config?.host : this.reqHeaderFirst("Host" /* Host */) ?? "localhost"}${this.req.url ?? ""}`);
|
|
192
|
+
}
|
|
193
|
+
get reqUrlSearchParamTuples() {
|
|
194
|
+
return Array.from(this.reqUrlObj().searchParams);
|
|
195
|
+
}
|
|
196
|
+
get reqUrlSearchParams() {
|
|
197
|
+
return this.reqUrlObj().searchParams;
|
|
198
|
+
}
|
|
199
|
+
get reqUrlSearchParamsObj() {
|
|
200
|
+
const entries = this.reqUrlObj().searchParams;
|
|
201
|
+
return CoreConvertUtils.toObject(entries);
|
|
202
|
+
}
|
|
203
|
+
get reqPathSearchParamUrl() {
|
|
204
|
+
const reqUrlObj = this.reqUrlObj();
|
|
205
|
+
return reqUrlObj.pathname + (reqUrlObj.searchParams.toString() ? "?" + reqUrlObj.searchParams.toString() : "");
|
|
206
|
+
}
|
|
207
|
+
get reqReadable() {
|
|
208
|
+
return this.req.readable;
|
|
209
|
+
}
|
|
210
|
+
get reqIntent() {
|
|
211
|
+
return new Intent(this.reqPathSearchParamUrl);
|
|
212
|
+
}
|
|
213
|
+
reqHasContentTypeHeader(mime3) {
|
|
214
|
+
return (this.reqHeaderFirst("Content-Type" /* ContentType */) ?? "").toLowerCase().indexOf(mime3.toLocaleLowerCase()) > -1;
|
|
215
|
+
}
|
|
216
|
+
reqHasAcceptHeader(mime3) {
|
|
217
|
+
return (this.reqHeaderFirst("Accept" /* Accept */) ?? "").toLowerCase().indexOf(mime3.toLocaleLowerCase()) > -1;
|
|
218
|
+
}
|
|
219
|
+
reqBodyData() {
|
|
220
|
+
return new Promise((resolve, reject) => {
|
|
221
|
+
if (this.reqReadable) {
|
|
222
|
+
const data = [];
|
|
223
|
+
this.req.on("data", (chunk) => data.push(chunk));
|
|
224
|
+
this.req.on("error", (err) => reject(err));
|
|
225
|
+
this.req.on("end", () => {
|
|
226
|
+
this.reqBodyChunk = Buffer2.concat(data);
|
|
227
|
+
resolve(this.reqBodyChunk);
|
|
228
|
+
});
|
|
229
|
+
} else {
|
|
230
|
+
resolve(this.reqBodyChunk ?? Buffer2.alloc(0));
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
resBodyData() {
|
|
235
|
+
return this.resWriteChunk;
|
|
236
|
+
}
|
|
237
|
+
async reqBodyMultipartFormDataObject() {
|
|
238
|
+
const m = await this.reqBodyMultipartFormData();
|
|
239
|
+
const formData = {};
|
|
240
|
+
for (const it of m) {
|
|
241
|
+
if (it.isFile) {
|
|
242
|
+
formData[it.name] = await FileUtils.writeFile(it.value, { originalName: it.filename });
|
|
243
|
+
} else {
|
|
244
|
+
const target = formData[it.name];
|
|
245
|
+
if (Array.isArray(target)) {
|
|
246
|
+
target.push(it.value);
|
|
247
|
+
} else if (typeof target === "string") {
|
|
248
|
+
formData[it.name] = [target, it.value];
|
|
249
|
+
} else {
|
|
250
|
+
formData[it.name] = it.value;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
;
|
|
255
|
+
return formData;
|
|
256
|
+
}
|
|
257
|
+
reqBodyMultipartFormData() {
|
|
258
|
+
return new Promise((resolve, reject) => {
|
|
259
|
+
const contentTypeHeader = this.req.headers["content-type"];
|
|
260
|
+
if (!contentTypeHeader || !contentTypeHeader.startsWith("multipart/form-data")) {
|
|
261
|
+
return reject(new Error("Invalid Content-Type. Expected multipart/form-data."));
|
|
262
|
+
}
|
|
263
|
+
const boundaryMatch = contentTypeHeader.match(/boundary=(?:"([^"]+)"|([^;]+))/i);
|
|
264
|
+
if (!boundaryMatch) {
|
|
265
|
+
return reject(new Error("Boundary not found in Content-Type header."));
|
|
266
|
+
}
|
|
267
|
+
const boundary = boundaryMatch[1] || boundaryMatch[2];
|
|
268
|
+
if (!boundary) {
|
|
269
|
+
return reject(new Error("Failed to extract boundary."));
|
|
270
|
+
}
|
|
271
|
+
const boundaryBuffer = Buffer2.from(`--${boundary}`);
|
|
272
|
+
const crlfBuffer = Buffer2.from("\r\n");
|
|
273
|
+
const doubleCrlfBuffer = Buffer2.from("\r\n\r\n");
|
|
274
|
+
const chunks = [];
|
|
275
|
+
let totalLength = 0;
|
|
276
|
+
this.req.on("data", (chunk) => {
|
|
277
|
+
chunks.push(chunk);
|
|
278
|
+
totalLength += chunk.length;
|
|
279
|
+
});
|
|
280
|
+
this.req.on("error", (err) => {
|
|
281
|
+
reject(err);
|
|
282
|
+
});
|
|
283
|
+
this.req.on("end", () => {
|
|
284
|
+
if (totalLength === 0) {
|
|
285
|
+
return resolve([]);
|
|
286
|
+
}
|
|
287
|
+
const fullBuffer = Buffer2.concat(chunks, totalLength);
|
|
288
|
+
const parsedParts = [];
|
|
289
|
+
let currentPosition = 0;
|
|
290
|
+
let boundaryStartIndex = fullBuffer.indexOf(boundaryBuffer, currentPosition);
|
|
291
|
+
if (boundaryStartIndex === -1) {
|
|
292
|
+
return reject(new Error("Initial boundary not found."));
|
|
293
|
+
}
|
|
294
|
+
currentPosition = boundaryStartIndex + boundaryBuffer.length;
|
|
295
|
+
if (fullBuffer.slice(currentPosition, currentPosition + crlfBuffer.length).equals(crlfBuffer)) {
|
|
296
|
+
currentPosition += crlfBuffer.length;
|
|
297
|
+
}
|
|
298
|
+
while (currentPosition < fullBuffer.length) {
|
|
299
|
+
const nextBoundaryIndex = fullBuffer.indexOf(boundaryBuffer, currentPosition);
|
|
300
|
+
if (nextBoundaryIndex === -1) {
|
|
301
|
+
break;
|
|
302
|
+
}
|
|
303
|
+
let partEndIndex = nextBoundaryIndex;
|
|
304
|
+
if (partEndIndex > crlfBuffer.length && fullBuffer.slice(partEndIndex - crlfBuffer.length, partEndIndex).equals(crlfBuffer)) {
|
|
305
|
+
partEndIndex -= crlfBuffer.length;
|
|
306
|
+
}
|
|
307
|
+
const partBuffer = fullBuffer.slice(currentPosition, partEndIndex);
|
|
308
|
+
const headerBodySeparatorIndex = partBuffer.indexOf(doubleCrlfBuffer);
|
|
309
|
+
if (headerBodySeparatorIndex === -1) {
|
|
310
|
+
console.warn("Skipping malformed part: no header/body separator found.");
|
|
311
|
+
currentPosition = nextBoundaryIndex + boundaryBuffer.length;
|
|
312
|
+
if (fullBuffer.slice(currentPosition, currentPosition + crlfBuffer.length).equals(crlfBuffer)) {
|
|
313
|
+
currentPosition += crlfBuffer.length;
|
|
314
|
+
}
|
|
315
|
+
if (fullBuffer.slice(currentPosition, currentPosition + 2).toString() === "--") break;
|
|
316
|
+
continue;
|
|
317
|
+
}
|
|
318
|
+
const headerBuffer = partBuffer.slice(0, headerBodySeparatorIndex);
|
|
319
|
+
const bodyBuffer = partBuffer.slice(headerBodySeparatorIndex + doubleCrlfBuffer.length);
|
|
320
|
+
const headersStr = headerBuffer.toString("utf-8");
|
|
321
|
+
const headers = {};
|
|
322
|
+
headersStr.split("\r\n").forEach((line) => {
|
|
323
|
+
const colonIndex = line.indexOf(":");
|
|
324
|
+
if (colonIndex > 0) {
|
|
325
|
+
const key = line.substring(0, colonIndex).trim().toLowerCase();
|
|
326
|
+
const value = line.substring(colonIndex + 1).trim();
|
|
327
|
+
headers[key] = value;
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
const contentDisposition = headers["content-disposition"];
|
|
331
|
+
if (!contentDisposition) {
|
|
332
|
+
console.warn("Skipping part: no Content-Disposition header.");
|
|
333
|
+
currentPosition = nextBoundaryIndex + boundaryBuffer.length;
|
|
334
|
+
if (fullBuffer.slice(currentPosition, currentPosition + crlfBuffer.length).equals(crlfBuffer)) {
|
|
335
|
+
currentPosition += crlfBuffer.length;
|
|
336
|
+
}
|
|
337
|
+
if (fullBuffer.slice(currentPosition, currentPosition + 2).toString() === "--") break;
|
|
338
|
+
continue;
|
|
339
|
+
}
|
|
340
|
+
const nameMatch = contentDisposition.match(/name="([^"]+)"/i);
|
|
341
|
+
const filenameMatch = contentDisposition.match(/filename="([^"]+)"/i);
|
|
342
|
+
const name = nameMatch ? nameMatch[1] : null;
|
|
343
|
+
const filename = filenameMatch ? filenameMatch[1] : null;
|
|
344
|
+
const contentType = headers["content-type"] || null;
|
|
345
|
+
if (name) {
|
|
346
|
+
const isFile = !!filename;
|
|
347
|
+
const multipartData = {
|
|
348
|
+
name,
|
|
349
|
+
isFile,
|
|
350
|
+
// filename이 있으면 파일로 간주
|
|
351
|
+
filename,
|
|
352
|
+
contentType,
|
|
353
|
+
value: isFile ? bodyBuffer : bodyBuffer.toString("utf-8")
|
|
354
|
+
};
|
|
355
|
+
parsedParts.push(multipartData);
|
|
356
|
+
} else {
|
|
357
|
+
console.warn("Skipping part: 'name' not found in Content-Disposition.");
|
|
358
|
+
}
|
|
359
|
+
currentPosition = nextBoundaryIndex + boundaryBuffer.length;
|
|
360
|
+
if (fullBuffer.slice(currentPosition, currentPosition + crlfBuffer.length).equals(crlfBuffer)) {
|
|
361
|
+
currentPosition += crlfBuffer.length;
|
|
362
|
+
}
|
|
363
|
+
if (fullBuffer.slice(currentPosition, currentPosition + 2).toString() === "--") {
|
|
364
|
+
break;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
resolve(parsedParts);
|
|
368
|
+
});
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
async reqBodyStringData() {
|
|
372
|
+
const data = (await this.reqBodyData()).toString();
|
|
373
|
+
return data;
|
|
374
|
+
}
|
|
375
|
+
async reqBodyJsonData() {
|
|
376
|
+
return JSON.parse(await this.reqBodyStringData());
|
|
377
|
+
}
|
|
378
|
+
async reqBodyFormUrlData() {
|
|
379
|
+
const data = await this.reqBodyStringData();
|
|
380
|
+
const formData = {};
|
|
381
|
+
Array.from(new URLSearchParams(data).entries()).forEach(([k, v]) => {
|
|
382
|
+
const target = formData[k];
|
|
383
|
+
if (Array.isArray(target)) {
|
|
384
|
+
target.push(v);
|
|
385
|
+
} else if (typeof target === "string") {
|
|
386
|
+
formData[k] = [target, v];
|
|
387
|
+
} else {
|
|
388
|
+
formData[k] = v;
|
|
389
|
+
}
|
|
390
|
+
});
|
|
391
|
+
return formData;
|
|
392
|
+
}
|
|
393
|
+
async reqBodyReqFormUrlBody() {
|
|
394
|
+
const data = await this.reqBodyFormUrlData();
|
|
395
|
+
return Object.assign(new ReqFormUrlBody(), data);
|
|
396
|
+
}
|
|
397
|
+
async reqBodyReqJsonBody() {
|
|
398
|
+
const data = await this.reqBodyStringData();
|
|
399
|
+
return Object.assign(new ReqJsonBody(), data ? JSON.parse(data) : {});
|
|
400
|
+
}
|
|
401
|
+
// reqBodyReqMultipartFormBody(): Promise<ReqMultipartFormBody> {
|
|
402
|
+
// return this.reqBodyMultipartFormData().then(it => new ReqMultipartFormBody(it))
|
|
403
|
+
// }
|
|
404
|
+
resBodyJsonData() {
|
|
405
|
+
const data = ConvertUtils.toString(this.resBodyData());
|
|
406
|
+
return data ? JSON.parse(data) : null;
|
|
407
|
+
}
|
|
408
|
+
resBodyStringData() {
|
|
409
|
+
return ConvertUtils.toString(this.resBodyData());
|
|
410
|
+
}
|
|
411
|
+
reqMethod() {
|
|
412
|
+
return this.req.method?.toUpperCase();
|
|
413
|
+
}
|
|
414
|
+
reqHeader(key) {
|
|
415
|
+
return this.req.headers[key.toLowerCase()];
|
|
416
|
+
}
|
|
417
|
+
get reqHost() {
|
|
418
|
+
return this.reqHeaderFirst("Host" /* Host */);
|
|
419
|
+
}
|
|
420
|
+
get reqHeaderObj() {
|
|
421
|
+
const h = new ReqHeader();
|
|
422
|
+
Object.entries(this.req.headers).forEach(([k, v]) => {
|
|
423
|
+
h[k] = v;
|
|
424
|
+
});
|
|
425
|
+
return h;
|
|
426
|
+
}
|
|
427
|
+
reqHeaderFirst(key, defaultValue) {
|
|
428
|
+
const header = this.req.headers[key.toLowerCase()];
|
|
429
|
+
if (header && Array.isArray(header)) {
|
|
430
|
+
return header[0] ?? defaultValue;
|
|
431
|
+
} else {
|
|
432
|
+
return header ?? defaultValue;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
reqAuthorizationHeader() {
|
|
436
|
+
return this.reqHeaderFirst("Authorization" /* Authorization */);
|
|
437
|
+
}
|
|
438
|
+
reqRefreshTokenHeader() {
|
|
439
|
+
return this.reqHeaderFirst("Authorization" /* Authorization */);
|
|
440
|
+
}
|
|
441
|
+
// eslint-disable-next-line no-dupe-class-members
|
|
442
|
+
resStatusCode(code) {
|
|
443
|
+
if (code) {
|
|
444
|
+
this.res.statusCode = code;
|
|
445
|
+
return new RequestResponseChain(this.req, this.res, this.config, this.res.statusCode);
|
|
446
|
+
} else {
|
|
447
|
+
return this.res.statusCode;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
resHeader(key) {
|
|
451
|
+
return this.res.getHeader(key.toLowerCase());
|
|
452
|
+
}
|
|
453
|
+
resHeaderFirst(key, defaultValue) {
|
|
454
|
+
const header = this.res.getHeader(key.toLowerCase());
|
|
455
|
+
if (header && Array.isArray(header)) {
|
|
456
|
+
return header[0] ?? defaultValue;
|
|
457
|
+
} else {
|
|
458
|
+
return header ?? defaultValue;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
async reqSession() {
|
|
462
|
+
if (this.config.sessionManager) {
|
|
463
|
+
return (await this.config.sessionManager.session(this)).dataSet.data;
|
|
464
|
+
} else {
|
|
465
|
+
return Promise.reject(new Error("Not SessionManager"));
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
reqSessionSet(key, value) {
|
|
469
|
+
this.reqSession[key] = value;
|
|
470
|
+
}
|
|
471
|
+
reqSessionGet(key) {
|
|
472
|
+
const session = this.reqSession;
|
|
473
|
+
if (session) {
|
|
474
|
+
return session[key];
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
resSetStatusCode(statusCode) {
|
|
478
|
+
this.res.statusCode = statusCode;
|
|
479
|
+
return this.createRequestResponseChain(this.res.statusCode);
|
|
480
|
+
}
|
|
481
|
+
// resEnd() {
|
|
482
|
+
// this.res.end();
|
|
483
|
+
// }
|
|
484
|
+
// eslint-disable-next-line no-undef
|
|
485
|
+
resWrite(chunk, encoding = "utf8") {
|
|
486
|
+
this.resWriteChunk = chunk;
|
|
487
|
+
return this.createRequestResponseChain(this.resWriteChunk);
|
|
488
|
+
}
|
|
489
|
+
// eslint-disable-next-line no-undef
|
|
490
|
+
resWriteJson(chunk, encoding = "utf8") {
|
|
491
|
+
return this.resWrite(JSON.stringify(chunk), encoding);
|
|
492
|
+
}
|
|
493
|
+
resSetHeader(key, value) {
|
|
494
|
+
return this.createRequestResponseChain(this.res.setHeader(key.toLowerCase(), value));
|
|
495
|
+
}
|
|
496
|
+
resAddHeader(key, value) {
|
|
497
|
+
const existingValue = this.res.getHeader(key.toLowerCase());
|
|
498
|
+
const newValue = Array.isArray(existingValue) ? existingValue.concat(value) : existingValue ? [existingValue.toString(), ...[].concat(value)] : value;
|
|
499
|
+
return this.createRequestResponseChain(this.res.setHeader(key.toLowerCase(), newValue));
|
|
500
|
+
}
|
|
501
|
+
resSetHeaders(headers) {
|
|
502
|
+
Object.entries(headers).forEach(([key, value]) => this.resSetHeader(key, value));
|
|
503
|
+
return this.createRequestResponseChain();
|
|
504
|
+
}
|
|
505
|
+
resAddHeaders(headers) {
|
|
506
|
+
Object.entries(headers).forEach(([key, value]) => this.resAddHeader(key, value));
|
|
507
|
+
return this.createRequestResponseChain();
|
|
508
|
+
}
|
|
509
|
+
// 마지막 종료될때 타는거.
|
|
510
|
+
async resEndChunk() {
|
|
511
|
+
const encoding = this.reqHeaderFirst("Accept-Encoding" /* AcceptEncoding */);
|
|
512
|
+
let data = this.resWriteChunk;
|
|
513
|
+
if (encoding?.includes("gzip")) {
|
|
514
|
+
data = await gzip(data);
|
|
515
|
+
this.resSetHeader("Content-Encoding" /* ContentEncoding */, "gzip");
|
|
516
|
+
}
|
|
517
|
+
this.res.end(data);
|
|
518
|
+
}
|
|
519
|
+
async resEnd(chunk) {
|
|
520
|
+
this.resWriteChunk = chunk ?? this.resWriteChunk;
|
|
521
|
+
if (this.req.readable) {
|
|
522
|
+
await this.reqBodyData();
|
|
523
|
+
await this.resEndChunk();
|
|
524
|
+
} else {
|
|
525
|
+
await this.resEndChunk();
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
// writeContinue(callback?: () => void) {
|
|
529
|
+
// this.res.writeContinue(callback);
|
|
530
|
+
// return new RequestResponseChain(this.req, this.res);
|
|
531
|
+
// }
|
|
532
|
+
// reqWrite(chunk?: any) {
|
|
533
|
+
// this.resWriteChunk = chunk;
|
|
534
|
+
// // this.res.write(chunk);
|
|
535
|
+
// return this.createRequestResponseChain();
|
|
536
|
+
// }
|
|
537
|
+
resWriteHead(statusCode, headers) {
|
|
538
|
+
return this.createRequestResponseChain(this.res.writeHead(statusCode, headers));
|
|
539
|
+
}
|
|
540
|
+
resWriteHeadEnd(statusCode, headers) {
|
|
541
|
+
this.createRequestResponseChain(this.res.writeHead(statusCode, headers));
|
|
542
|
+
this.res.end();
|
|
543
|
+
}
|
|
544
|
+
resIsDone() {
|
|
545
|
+
return this.res.finished || this.res.writableEnded || this.res.headersSent;
|
|
546
|
+
}
|
|
547
|
+
createRequestResponseChain(data) {
|
|
548
|
+
const requestResponseChain = new RequestResponseChain(this.req, this.res, this.config, data);
|
|
549
|
+
requestResponseChain.resWriteChunk = this.resWriteChunk;
|
|
550
|
+
requestResponseChain.reqBodyChunk = this.reqBodyChunk;
|
|
551
|
+
return requestResponseChain;
|
|
552
|
+
}
|
|
553
|
+
// res.on("readable", () => {
|
|
554
|
+
// console.log('readable???')
|
|
555
|
+
// });
|
|
556
|
+
// res.on('complete', function (details) {
|
|
557
|
+
// var size = details.req.bytes;
|
|
558
|
+
// console.log('complete-->', size)
|
|
559
|
+
// });
|
|
560
|
+
// res.on('finish', function() {
|
|
561
|
+
// console.log('finish??');
|
|
562
|
+
// });
|
|
563
|
+
// res.on('end', () => {
|
|
564
|
+
// console.log('end--?')
|
|
565
|
+
// });
|
|
566
|
+
};
|
|
567
|
+
var RequestResponseChain = class extends RequestResponse {
|
|
568
|
+
constructor(req, res, config, result) {
|
|
569
|
+
super(req, res, config);
|
|
570
|
+
this.result = result;
|
|
571
|
+
}
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
// src/decorators/MethodMapping.ts
|
|
575
|
+
import "reflect-metadata";
|
|
576
|
+
import { ReflectUtils } from "@dooboostore/core/reflect/ReflectUtils";
|
|
577
|
+
|
|
578
|
+
// src/codes/HttpMethod.ts
|
|
579
|
+
var HttpMethod = /* @__PURE__ */ ((HttpMethod2) => {
|
|
580
|
+
HttpMethod2["GET"] = "GET";
|
|
581
|
+
HttpMethod2["POST"] = "POST";
|
|
582
|
+
HttpMethod2["PUT"] = "PUT";
|
|
583
|
+
HttpMethod2["DELETE"] = "DELETE";
|
|
584
|
+
HttpMethod2["PATCH"] = "PATCH";
|
|
585
|
+
HttpMethod2["HEAD"] = "HEAD";
|
|
586
|
+
HttpMethod2["OPTIONS"] = "OPTIONS";
|
|
587
|
+
HttpMethod2["TRACE"] = "TRACE";
|
|
588
|
+
HttpMethod2["CONNECT"] = "CONNECT";
|
|
589
|
+
return HttpMethod2;
|
|
590
|
+
})(HttpMethod || {});
|
|
591
|
+
|
|
592
|
+
// src/decorators/MethodMapping.ts
|
|
593
|
+
var UrlMappingSituationType = /* @__PURE__ */ ((UrlMappingSituationType2) => {
|
|
594
|
+
UrlMappingSituationType2["REQ_JSON_BODY"] = "SIMPLE_BOOT_HTTP_SERVER://URLMAPPING/REQ_JSON_BODY";
|
|
595
|
+
UrlMappingSituationType2["REQ_FORM_URL_BODY"] = "SIMPLE_BOOT_HTTP_SERVER://URLMAPPING/REQ_FORM_URL_BODY";
|
|
596
|
+
return UrlMappingSituationType2;
|
|
597
|
+
})(UrlMappingSituationType || {});
|
|
598
|
+
var MappingMetadataKey = Symbol("MappingMetadataKey");
|
|
599
|
+
var process2 = (config, target, propertyKey, descriptor) => {
|
|
600
|
+
const saveMappingConfigs = ReflectUtils.getMetadata(MappingMetadataKey, target.constructor) ?? [];
|
|
601
|
+
saveMappingConfigs.push({ propertyKey, config });
|
|
602
|
+
ReflectUtils.defineMetadata(MappingMetadataKey, saveMappingConfigs, target.constructor);
|
|
603
|
+
ReflectUtils.defineMetadata(MappingMetadataKey, config, target, propertyKey);
|
|
604
|
+
};
|
|
605
|
+
function UrlMapping(configOrtarget, propertyKey, descriptor) {
|
|
606
|
+
if (propertyKey && descriptor) {
|
|
607
|
+
process2({ method: "GET" /* GET */ }, configOrtarget, propertyKey, descriptor);
|
|
608
|
+
} else {
|
|
609
|
+
return (target, propertyKey2, descriptor2) => {
|
|
610
|
+
process2(configOrtarget, target, propertyKey2, descriptor2);
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
var getUrlMapping = (target, propertyKey) => {
|
|
615
|
+
return ReflectUtils.getMetadata(MappingMetadataKey, target, propertyKey);
|
|
616
|
+
};
|
|
617
|
+
var getUrlMappings = (target) => {
|
|
618
|
+
if (target !== null && void 0 !== target && typeof target === "object") {
|
|
619
|
+
target = target.constructor;
|
|
620
|
+
}
|
|
621
|
+
return ReflectUtils.getMetadata(MappingMetadataKey, target);
|
|
622
|
+
};
|
|
623
|
+
function GET(configOrTarget, propertyKey, descriptor) {
|
|
624
|
+
if (propertyKey && descriptor) {
|
|
625
|
+
process2({ method: "GET" /* GET */ }, configOrTarget, propertyKey, descriptor);
|
|
626
|
+
} else {
|
|
627
|
+
return (target, propertyKey2, descriptor2) => {
|
|
628
|
+
configOrTarget.method = "GET" /* GET */;
|
|
629
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
630
|
+
};
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
var getGET = (target, propertyKey) => {
|
|
634
|
+
return getUrlMapping(target, propertyKey);
|
|
635
|
+
};
|
|
636
|
+
var getGETS = (target) => {
|
|
637
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "GET" /* GET */);
|
|
638
|
+
};
|
|
639
|
+
function POST(configOrTarget, propertyKey, descriptor) {
|
|
640
|
+
if (propertyKey && descriptor) {
|
|
641
|
+
process2({ method: "POST" /* POST */ }, configOrTarget, propertyKey, descriptor);
|
|
642
|
+
} else {
|
|
643
|
+
return (target, propertyKey2, descriptor2) => {
|
|
644
|
+
configOrTarget.method = "POST" /* POST */;
|
|
645
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
var getPOST = (target, propertyKey) => {
|
|
650
|
+
return getUrlMapping(target, propertyKey);
|
|
651
|
+
};
|
|
652
|
+
var getPOSTS = (target) => {
|
|
653
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "POST" /* POST */);
|
|
654
|
+
};
|
|
655
|
+
function DELETE(configOrTarget, propertyKey, descriptor) {
|
|
656
|
+
if (propertyKey && descriptor) {
|
|
657
|
+
process2({ method: "DELETE" /* DELETE */ }, configOrTarget, propertyKey, descriptor);
|
|
658
|
+
} else {
|
|
659
|
+
return (target, propertyKey2, descriptor2) => {
|
|
660
|
+
configOrTarget.method = "DELETE" /* DELETE */;
|
|
661
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
var getDELETE = (target, propertyKey) => {
|
|
666
|
+
return getUrlMapping(target, propertyKey);
|
|
667
|
+
};
|
|
668
|
+
var getDELETES = (target) => {
|
|
669
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "DELETE" /* DELETE */);
|
|
670
|
+
};
|
|
671
|
+
function PUT(configOrTarget, propertyKey, descriptor) {
|
|
672
|
+
if (propertyKey && descriptor) {
|
|
673
|
+
process2({ method: "PUT" /* PUT */ }, configOrTarget, propertyKey, descriptor);
|
|
674
|
+
} else {
|
|
675
|
+
return (target, propertyKey2, descriptor2) => {
|
|
676
|
+
configOrTarget.method = "PUT" /* PUT */;
|
|
677
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
var getPUT = (target, propertyKey) => {
|
|
682
|
+
return getUrlMapping(target, propertyKey);
|
|
683
|
+
};
|
|
684
|
+
var getPUTS = (target) => {
|
|
685
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "PUT" /* PUT */);
|
|
686
|
+
};
|
|
687
|
+
function PATCH(configOrTarget, propertyKey, descriptor) {
|
|
688
|
+
if (propertyKey && descriptor) {
|
|
689
|
+
process2({ method: "PATCH" /* PATCH */ }, configOrTarget, propertyKey, descriptor);
|
|
690
|
+
} else {
|
|
691
|
+
return (target, propertyKey2, descriptor2) => {
|
|
692
|
+
configOrTarget.method = "PATCH" /* PATCH */;
|
|
693
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
var getPATCH = (target, propertyKey) => {
|
|
698
|
+
return getUrlMapping(target, propertyKey);
|
|
699
|
+
};
|
|
700
|
+
var getPATCHS = (target) => {
|
|
701
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "GET" /* GET */);
|
|
702
|
+
};
|
|
703
|
+
function OPTIONS(configOrTarget, propertyKey, descriptor) {
|
|
704
|
+
if (propertyKey && descriptor) {
|
|
705
|
+
process2({ method: "OPTIONS" /* OPTIONS */ }, configOrTarget, propertyKey, descriptor);
|
|
706
|
+
} else {
|
|
707
|
+
return (target, propertyKey2, descriptor2) => {
|
|
708
|
+
configOrTarget.method = "OPTIONS" /* OPTIONS */;
|
|
709
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
710
|
+
};
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
var getOPTIONS = (target, propertyKey) => {
|
|
714
|
+
return getUrlMapping(target, propertyKey);
|
|
715
|
+
};
|
|
716
|
+
var getOPTIONSS = (target) => {
|
|
717
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "OPTIONS" /* OPTIONS */);
|
|
718
|
+
};
|
|
719
|
+
function HEAD(configOrTarget, propertyKey, descriptor) {
|
|
720
|
+
if (propertyKey && descriptor) {
|
|
721
|
+
process2({ method: "HEAD" /* HEAD */ }, configOrTarget, propertyKey, descriptor);
|
|
722
|
+
} else {
|
|
723
|
+
return (target, propertyKey2, descriptor2) => {
|
|
724
|
+
configOrTarget.method = "HEAD" /* HEAD */;
|
|
725
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
726
|
+
};
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
var getHEAD = (target, propertyKey) => {
|
|
730
|
+
return getUrlMapping(target, propertyKey);
|
|
731
|
+
};
|
|
732
|
+
var getHEADS = (target) => {
|
|
733
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "GET" /* GET */);
|
|
734
|
+
};
|
|
735
|
+
function TRACE(configOrTarget, propertyKey, descriptor) {
|
|
736
|
+
if (propertyKey && descriptor) {
|
|
737
|
+
process2({ method: "TRACE" /* TRACE */ }, configOrTarget, propertyKey, descriptor);
|
|
738
|
+
} else {
|
|
739
|
+
return (target, propertyKey2, descriptor2) => {
|
|
740
|
+
configOrTarget.method = "TRACE" /* TRACE */;
|
|
741
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
var getTRACE = (target, propertyKey) => {
|
|
746
|
+
return getUrlMapping(target, propertyKey);
|
|
747
|
+
};
|
|
748
|
+
var getTRACES = (target) => {
|
|
749
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "TRACE" /* TRACE */);
|
|
750
|
+
};
|
|
751
|
+
function CONNECT(configOrTarget, propertyKey, descriptor) {
|
|
752
|
+
if (propertyKey && descriptor) {
|
|
753
|
+
process2({ method: "CONNECT" /* CONNECT */ }, configOrTarget, propertyKey, descriptor);
|
|
754
|
+
} else {
|
|
755
|
+
return (target, propertyKey2, descriptor2) => {
|
|
756
|
+
configOrTarget.method = "CONNECT" /* CONNECT */;
|
|
757
|
+
process2(configOrTarget, target, propertyKey2, descriptor2);
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
var getCONNECT = (target, propertyKey) => {
|
|
762
|
+
return getUrlMapping(target, propertyKey);
|
|
763
|
+
};
|
|
764
|
+
var getCONNECTS = (target) => {
|
|
765
|
+
return getUrlMappings(target)?.filter((it) => it.config?.method.toUpperCase() === "CONNECT" /* CONNECT */);
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
// src/codes/HttpStatus.ts
|
|
769
|
+
var HttpStatus = /* @__PURE__ */ ((HttpStatus2) => {
|
|
770
|
+
HttpStatus2[HttpStatus2["Ok"] = 200] = "Ok";
|
|
771
|
+
HttpStatus2[HttpStatus2["MovedPermanently"] = 301] = "MovedPermanently";
|
|
772
|
+
HttpStatus2[HttpStatus2["Found"] = 302] = "Found";
|
|
773
|
+
HttpStatus2[HttpStatus2["SeeOther"] = 303] = "SeeOther";
|
|
774
|
+
HttpStatus2[HttpStatus2["NotModified"] = 304] = "NotModified";
|
|
775
|
+
HttpStatus2[HttpStatus2["TemporaryRedirect"] = 307] = "TemporaryRedirect";
|
|
776
|
+
HttpStatus2[HttpStatus2["PermanentRedirect"] = 308] = "PermanentRedirect";
|
|
777
|
+
HttpStatus2[HttpStatus2["BadRequest"] = 400] = "BadRequest";
|
|
778
|
+
HttpStatus2[HttpStatus2["Unauthorized"] = 401] = "Unauthorized";
|
|
779
|
+
HttpStatus2[HttpStatus2["Forbidden"] = 403] = "Forbidden";
|
|
780
|
+
HttpStatus2[HttpStatus2["NotFound"] = 404] = "NotFound";
|
|
781
|
+
HttpStatus2[HttpStatus2["InternalServerError"] = 500] = "InternalServerError";
|
|
782
|
+
HttpStatus2[HttpStatus2["NotImplemented"] = 501] = "NotImplemented";
|
|
783
|
+
HttpStatus2[HttpStatus2["BadGateway"] = 502] = "BadGateway";
|
|
784
|
+
HttpStatus2[HttpStatus2["ServiceUnavailable"] = 503] = "ServiceUnavailable";
|
|
785
|
+
HttpStatus2[HttpStatus2["GatewayTimeout"] = 504] = "GatewayTimeout";
|
|
786
|
+
HttpStatus2[HttpStatus2["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported";
|
|
787
|
+
return HttpStatus2;
|
|
788
|
+
})(HttpStatus || {});
|
|
789
|
+
|
|
790
|
+
// src/codes/Mimes.ts
|
|
791
|
+
var Mimes = /* @__PURE__ */ ((Mimes2) => {
|
|
792
|
+
Mimes2["ApplicationJson"] = "application/json";
|
|
793
|
+
Mimes2["ApplicationOctetStream"] = "application/octet-stream";
|
|
794
|
+
Mimes2["ApplicationXml"] = "application/xml";
|
|
795
|
+
Mimes2["ApplicationJsonPatch"] = "application/json-patch+json";
|
|
796
|
+
Mimes2["ApplicationXWwwFormUrlencoded"] = "application/x-www-form-urlencoded";
|
|
797
|
+
Mimes2["TextPlain"] = "text/plain";
|
|
798
|
+
Mimes2["TextHtml"] = "text/html";
|
|
799
|
+
Mimes2["All"] = "*/*";
|
|
800
|
+
Mimes2["TextCss"] = "text/css";
|
|
801
|
+
Mimes2["TextJavascript"] = "text/javascript";
|
|
802
|
+
Mimes2["TextXml"] = "text/xml";
|
|
803
|
+
Mimes2["TextXslt"] = "text/xslt";
|
|
804
|
+
Mimes2["TextXmlDtd"] = "text/xml-dtd";
|
|
805
|
+
Mimes2["TextPlainUtf8"] = "text/plain; charset=utf-8";
|
|
806
|
+
Mimes2["ImagePng"] = "image/png";
|
|
807
|
+
Mimes2["ImageGif"] = "image/gif";
|
|
808
|
+
Mimes2["ImageJpeg"] = "image/jpeg";
|
|
809
|
+
Mimes2["ImageSvg"] = "image/svg+xml";
|
|
810
|
+
Mimes2["ImageBmp"] = "image/bmp";
|
|
811
|
+
Mimes2["ImageTiff"] = "image/tiff";
|
|
812
|
+
Mimes2["ImagePdf"] = "application/pdf";
|
|
813
|
+
Mimes2["ImageXBmp"] = "image/x-bmp";
|
|
814
|
+
Mimes2["ImageXpixmap"] = "image/x-xpixmap";
|
|
815
|
+
Mimes2["ImageXxbm"] = "image/x-xbm";
|
|
816
|
+
Mimes2["MultipartFormData"] = "multipart/form-data";
|
|
817
|
+
return Mimes2;
|
|
818
|
+
})(Mimes || {});
|
|
819
|
+
|
|
820
|
+
// src/SimpleBootHttpServer.ts
|
|
821
|
+
import { ExceptionHandlerSituationType, targetExceptionHandler } from "@dooboostore/simple-boot/decorators/exception/ExceptionDecorator";
|
|
822
|
+
import { getInject, SituationTypeContainer, SituationTypeContainers } from "@dooboostore/simple-boot/decorators/inject/Inject";
|
|
823
|
+
import { ReflectUtils as ReflectUtils2 } from "@dooboostore/core/reflect/ReflectUtils";
|
|
824
|
+
import { RouterModule } from "@dooboostore/simple-boot/route/RouterModule";
|
|
825
|
+
|
|
826
|
+
// src/models/datas/body/ReqMultipartFormBody.ts
|
|
827
|
+
var ReqMultipartFormBody = class {
|
|
828
|
+
constructor(field = []) {
|
|
829
|
+
this.field = field;
|
|
830
|
+
}
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
// src/SimpleBootHttpServer.ts
|
|
834
|
+
import { execValidationInValid, getValidIndex } from "@dooboostore/simple-boot/decorators/validate/Validation";
|
|
835
|
+
import { ValidException } from "@dooboostore/simple-boot/errors/ValidException";
|
|
836
|
+
|
|
837
|
+
// src/errors/HttpError.ts
|
|
838
|
+
var HttpError = class {
|
|
839
|
+
constructor({ status, message = "HttpError" }) {
|
|
840
|
+
this.name = "Error";
|
|
841
|
+
this.message = message;
|
|
842
|
+
this.status = status;
|
|
843
|
+
}
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
// src/SimpleBootHttpServer.ts
|
|
847
|
+
import { getRoute } from "@dooboostore/simple-boot/decorators/route/Router";
|
|
848
|
+
import { URLSearchParams as URLSearchParams2 } from "url";
|
|
849
|
+
|
|
850
|
+
// src/session/SessionManager.ts
|
|
851
|
+
import { RandomUtils } from "@dooboostore/core/random/RandomUtils";
|
|
852
|
+
var SessionManager = class {
|
|
853
|
+
constructor(option) {
|
|
854
|
+
this.option = option;
|
|
855
|
+
this.sessions = /* @__PURE__ */ new Map();
|
|
856
|
+
this.sessionOption = option.sessionOption;
|
|
857
|
+
setInterval(async () => {
|
|
858
|
+
const uuids = await this.getSessionUUIDs();
|
|
859
|
+
for (const uuid of uuids) {
|
|
860
|
+
const dataSet = await this.getSessionDataSet(uuid);
|
|
861
|
+
if (dataSet && this.isExpired(dataSet.access)) {
|
|
862
|
+
await this.deleteSession(uuid);
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
}, this.sessionOption.expiredTime);
|
|
866
|
+
}
|
|
867
|
+
async getSessionUUIDs() {
|
|
868
|
+
if (this.sessionOption.provider?.uuids) {
|
|
869
|
+
return this.sessionOption.provider.uuids();
|
|
870
|
+
} else {
|
|
871
|
+
return Array.from(this.sessions.keys());
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
async deleteSession(uuid) {
|
|
875
|
+
if (this.sessionOption.provider?.delete) {
|
|
876
|
+
this.sessionOption.provider.delete(uuid);
|
|
877
|
+
} else {
|
|
878
|
+
this.sessions.delete(uuid);
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
async getSessionDataSet(uuid) {
|
|
882
|
+
if (this.sessionOption.provider?.get) {
|
|
883
|
+
return this.sessionOption.provider.get(uuid);
|
|
884
|
+
} else {
|
|
885
|
+
return this.sessions.get(uuid);
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
async setSessionDataSet(uuid, dataSet) {
|
|
889
|
+
if (this.sessionOption.provider?.set) {
|
|
890
|
+
this.sessionOption.provider.set(uuid, dataSet);
|
|
891
|
+
} else {
|
|
892
|
+
this.sessions.set(uuid, dataSet);
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
isExpired(access, now = Date.now()) {
|
|
896
|
+
return now - access >= this.option.sessionOption.expiredTime;
|
|
897
|
+
}
|
|
898
|
+
makeUUID() {
|
|
899
|
+
return RandomUtils.uuid("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
|
|
900
|
+
}
|
|
901
|
+
async session(rrOrUUID) {
|
|
902
|
+
let uuid;
|
|
903
|
+
if (rrOrUUID instanceof RequestResponse) {
|
|
904
|
+
uuid = rrOrUUID.reqCookieGet(this.sessionOption.key) ?? this.makeUUID();
|
|
905
|
+
} else if (typeof rrOrUUID === "string") {
|
|
906
|
+
uuid = rrOrUUID;
|
|
907
|
+
} else {
|
|
908
|
+
uuid = this.makeUUID();
|
|
909
|
+
}
|
|
910
|
+
let dataSet = await this.getSessionDataSet(uuid);
|
|
911
|
+
const now = Date.now();
|
|
912
|
+
if (dataSet) {
|
|
913
|
+
if (this.isExpired(dataSet.access, now)) {
|
|
914
|
+
delete dataSet.data;
|
|
915
|
+
}
|
|
916
|
+
dataSet.access = now;
|
|
917
|
+
} else {
|
|
918
|
+
dataSet = {
|
|
919
|
+
access: now
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
await this.setSessionDataSet(uuid, dataSet);
|
|
923
|
+
return { uuid, dataSet };
|
|
924
|
+
}
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
// src/inject/InjectSituationType.ts
|
|
928
|
+
var InjectSituationType;
|
|
929
|
+
((InjectSituationType2) => {
|
|
930
|
+
InjectSituationType2.TransactionManager = Symbol("TransactionManager");
|
|
931
|
+
})(InjectSituationType || (InjectSituationType = {}));
|
|
932
|
+
|
|
933
|
+
// src/SimpleBootHttpServer.ts
|
|
934
|
+
var SimpleBootHttpServer = class extends SimpleApplication {
|
|
935
|
+
constructor(option = new HttpServerOption()) {
|
|
936
|
+
super(option);
|
|
937
|
+
this.option = option;
|
|
938
|
+
this.sessionManager = new SessionManager(this.option);
|
|
939
|
+
}
|
|
940
|
+
run(otherInstanceSim) {
|
|
941
|
+
const simstanceManager = super.run(otherInstanceSim);
|
|
942
|
+
const targets = [...this.option.closeEndPoints ?? [], ...this.option.errorEndPoints ?? [], ...this.option.requestEndPoints ?? [], ...this.option.filters ?? []];
|
|
943
|
+
Promise.all(targets.map((it) => typeof it === "function" ? this.simstanceManager.getOrNewSim({ target: it }) : it).map((it) => it.onInit(this))).then((it) => {
|
|
944
|
+
this.startServer();
|
|
945
|
+
});
|
|
946
|
+
return simstanceManager;
|
|
947
|
+
}
|
|
948
|
+
startServer() {
|
|
949
|
+
if (this.option.serverOption && "key" in this.option.serverOption && "cert" in this.option.serverOption) {
|
|
950
|
+
this.server = new HttpsServer(this.option.serverOption);
|
|
951
|
+
const httpServer = new HttpServer();
|
|
952
|
+
httpServer.on("request", (req, res) => {
|
|
953
|
+
res.writeHead(301, { Location: `https://${req.headers.host}${req.url}` });
|
|
954
|
+
res.end();
|
|
955
|
+
});
|
|
956
|
+
httpServer.listen(80, this.option.listen.hostname, () => {
|
|
957
|
+
console.log("HTTP redirect server running on port 80");
|
|
958
|
+
});
|
|
959
|
+
} else if (this.option.serverOption) {
|
|
960
|
+
this.server = new HttpServer(this.option.serverOption);
|
|
961
|
+
} else {
|
|
962
|
+
this.server = new HttpServer();
|
|
963
|
+
}
|
|
964
|
+
this.server.on("request", async (req, res) => {
|
|
965
|
+
const transactionManager = this.option.transactionManagerFactory ? await this.option.transactionManagerFactory() : void 0;
|
|
966
|
+
res.on("close", async () => {
|
|
967
|
+
if (this.option.closeEndPoints) {
|
|
968
|
+
for (const it of this.option.closeEndPoints) {
|
|
969
|
+
try {
|
|
970
|
+
const execute = typeof it === "function" ? this.simstanceManager.getOrNewSim({ target: it }) : it;
|
|
971
|
+
const endPoint = execute?.endPoint(rr, this);
|
|
972
|
+
if (endPoint instanceof Promise) {
|
|
973
|
+
await endPoint;
|
|
974
|
+
}
|
|
975
|
+
} catch (e) {
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
if (!rr.resIsDone()) {
|
|
980
|
+
rr.resEnd();
|
|
981
|
+
}
|
|
982
|
+
});
|
|
983
|
+
res.on("error", async () => {
|
|
984
|
+
if (this.option.errorEndPoints) {
|
|
985
|
+
for (const it of this.option.errorEndPoints) {
|
|
986
|
+
try {
|
|
987
|
+
const execute = typeof it === "function" ? this.simstanceManager.getOrNewSim({ target: it }) : it;
|
|
988
|
+
const endPoint = execute?.endPoint(rr, this);
|
|
989
|
+
if (endPoint instanceof Promise) {
|
|
990
|
+
await endPoint;
|
|
991
|
+
}
|
|
992
|
+
} catch (e) {
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
if (!rr.resIsDone()) {
|
|
997
|
+
rr.resEnd();
|
|
998
|
+
}
|
|
999
|
+
});
|
|
1000
|
+
const rr = new RequestResponse(req, res, { sessionManager: this.sessionManager, option: this.option });
|
|
1001
|
+
rr.resSetHeader("Server" /* Server */, "simple-boot-http-server");
|
|
1002
|
+
const cookie = rr.reqCookieGet(this.option.sessionOption.key);
|
|
1003
|
+
if (!cookie) {
|
|
1004
|
+
const session = await this.sessionManager.session();
|
|
1005
|
+
rr.resSetHeader("Set-Cookie" /* SetCookie */, `${this.option.sessionOption.key}=${session.uuid}; Path=/; HttpOnly`);
|
|
1006
|
+
}
|
|
1007
|
+
const otherStorage = /* @__PURE__ */ new Map();
|
|
1008
|
+
otherStorage.set(RequestResponse, rr);
|
|
1009
|
+
otherStorage.set(IncomingMessage, req);
|
|
1010
|
+
otherStorage.set(ServerResponse, res);
|
|
1011
|
+
try {
|
|
1012
|
+
transactionManager?.try();
|
|
1013
|
+
if (this.option.requestEndPoints) {
|
|
1014
|
+
for (const it of this.option.requestEndPoints) {
|
|
1015
|
+
try {
|
|
1016
|
+
const execute = typeof it === "function" ? this.simstanceManager.getOrNewSim({ target: it }) : it;
|
|
1017
|
+
execute?.endPoint(rr, this);
|
|
1018
|
+
} catch (e) {
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
const filter = {
|
|
1023
|
+
carrier: /* @__PURE__ */ new Map(),
|
|
1024
|
+
filters: []
|
|
1025
|
+
};
|
|
1026
|
+
for (let i = 0; this.option.filters && i < this.option.filters.length; i++) {
|
|
1027
|
+
const it = this.option.filters[i];
|
|
1028
|
+
const execute = typeof it === "function" ? this.simstanceManager.getOrNewSim({ target: it }) : it;
|
|
1029
|
+
let sw = true;
|
|
1030
|
+
if (execute?.proceedBefore) {
|
|
1031
|
+
sw = await execute.proceedBefore({ rr, app: this, carrier: filter.carrier });
|
|
1032
|
+
filter.filters.push({ filter: execute, sw });
|
|
1033
|
+
}
|
|
1034
|
+
if (!sw) {
|
|
1035
|
+
break;
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
if (!rr.resIsDone()) {
|
|
1039
|
+
const routerModule = await super.routing(rr.reqIntent);
|
|
1040
|
+
otherStorage.set(RouterModule, routerModule);
|
|
1041
|
+
const moduleInstance = routerModule?.getModuleInstance?.();
|
|
1042
|
+
let methods = [];
|
|
1043
|
+
if (routerModule && moduleInstance) {
|
|
1044
|
+
if (routerModule.propertyKeys) {
|
|
1045
|
+
const map = routerModule.propertyKeys?.map((it) => {
|
|
1046
|
+
return { propertyKey: it, config: getUrlMapping(moduleInstance, it) };
|
|
1047
|
+
});
|
|
1048
|
+
methods.push(...map ?? []);
|
|
1049
|
+
} else {
|
|
1050
|
+
methods.push(...getUrlMappings(moduleInstance).filter((it) => !getRoute(moduleInstance, it.propertyKey)) ?? []);
|
|
1051
|
+
}
|
|
1052
|
+
if (rr.reqMethod()?.toUpperCase() === "OPTIONS" /* OPTIONS */.toUpperCase()) {
|
|
1053
|
+
rr.resSetHeader("Allow" /* Allow */, methods.map((it) => it.config.method).join(", "));
|
|
1054
|
+
rr.resStatusCode(200 /* Ok */);
|
|
1055
|
+
}
|
|
1056
|
+
methods = methods.filter((it) => it && it.propertyKey && it.config && rr.reqMethod()?.toUpperCase() === it.config.method.toUpperCase());
|
|
1057
|
+
methods.sort((a, b) => {
|
|
1058
|
+
return (b.config?.req?.contentType?.length ?? 0) + (b.config?.req?.accept?.length ?? 0) - ((a.config?.req?.contentType?.length ?? 0) + (a.config?.req?.accept?.length ?? 0));
|
|
1059
|
+
});
|
|
1060
|
+
methods = methods.filter((it) => it.config?.req?.contentType ? !!it.config?.req?.contentType?.find((sit) => rr.reqHasContentTypeHeader(sit)) : true).filter((it) => it.config?.req?.accept ? !!it.config?.req?.accept?.find((sit) => rr.reqHasAcceptHeader(sit)) : true);
|
|
1061
|
+
if (methods[0]) {
|
|
1062
|
+
const it = methods[0];
|
|
1063
|
+
const paramTypes = ReflectUtils2.getParameterTypes(moduleInstance, it.propertyKey);
|
|
1064
|
+
const injects = getInject(moduleInstance, it.propertyKey);
|
|
1065
|
+
const validIndexs = getValidIndex(moduleInstance, it.propertyKey);
|
|
1066
|
+
if (injects) {
|
|
1067
|
+
const isJson = injects.find((it2) => it2.config?.situationType === "SIMPLE_BOOT_HTTP_SERVER://URLMAPPING/REQ_JSON_BODY" /* REQ_JSON_BODY */);
|
|
1068
|
+
const isFormUrl = injects.find((it2) => it2.config?.situationType === "SIMPLE_BOOT_HTTP_SERVER://URLMAPPING/REQ_FORM_URL_BODY" /* REQ_FORM_URL_BODY */);
|
|
1069
|
+
const isTransactionManager = injects.find((it2) => it2.config?.situationType === InjectSituationType.TransactionManager);
|
|
1070
|
+
const siturationContainers = new SituationTypeContainers();
|
|
1071
|
+
if (isJson) {
|
|
1072
|
+
let data2 = await rr.reqBodyJsonData();
|
|
1073
|
+
if (isJson.type) {
|
|
1074
|
+
data2 = Object.assign(new isJson.type(), data2);
|
|
1075
|
+
}
|
|
1076
|
+
if (validIndexs.includes(isJson.index)) {
|
|
1077
|
+
const inValid = execValidationInValid(data2);
|
|
1078
|
+
if ((inValid?.length ?? 0) > 0) {
|
|
1079
|
+
throw new ValidException(inValid);
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
siturationContainers.push(new SituationTypeContainer({
|
|
1083
|
+
situationType: "SIMPLE_BOOT_HTTP_SERVER://URLMAPPING/REQ_JSON_BODY" /* REQ_JSON_BODY */,
|
|
1084
|
+
data: data2
|
|
1085
|
+
}));
|
|
1086
|
+
}
|
|
1087
|
+
if (isFormUrl) {
|
|
1088
|
+
let data2 = await rr.reqBodyFormUrlData();
|
|
1089
|
+
if (isFormUrl.type) {
|
|
1090
|
+
data2 = Object.assign(new isFormUrl.type(), data2);
|
|
1091
|
+
}
|
|
1092
|
+
if (validIndexs.includes(isFormUrl.index)) {
|
|
1093
|
+
const inValid = execValidationInValid(data2);
|
|
1094
|
+
if ((inValid?.length ?? 0) > 0) {
|
|
1095
|
+
throw new ValidException(inValid);
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
siturationContainers.push(new SituationTypeContainer({ situationType: "SIMPLE_BOOT_HTTP_SERVER://URLMAPPING/REQ_FORM_URL_BODY" /* REQ_FORM_URL_BODY */, data: data2 }));
|
|
1099
|
+
}
|
|
1100
|
+
if (isTransactionManager && isTransactionManager.type && transactionManager && transactionManager.hasTransaction(isTransactionManager.type)) {
|
|
1101
|
+
let data2 = await transactionManager.getTransaction(isTransactionManager.type);
|
|
1102
|
+
if (data2) {
|
|
1103
|
+
data2 = await data2.try(isTransactionManager.config.argument);
|
|
1104
|
+
siturationContainers.push(new SituationTypeContainer({ situationType: InjectSituationType.TransactionManager, data: data2, index: isTransactionManager.index }));
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
if (siturationContainers.length) {
|
|
1108
|
+
otherStorage.set(SituationTypeContainers, siturationContainers);
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
for (const paramType of paramTypes) {
|
|
1112
|
+
if (paramType === ReqFormUrlBody) {
|
|
1113
|
+
otherStorage.set(ReqFormUrlBody, await rr.reqBodyReqFormUrlBody());
|
|
1114
|
+
} else if (paramType === ReqJsonBody) {
|
|
1115
|
+
otherStorage.set(ReqJsonBody, await rr.reqBodyReqJsonBody());
|
|
1116
|
+
} else if (paramType === URLSearchParams2) {
|
|
1117
|
+
otherStorage.set(URLSearchParams2, rr.reqUrlSearchParams);
|
|
1118
|
+
} else if (paramType === ReqMultipartFormBody) {
|
|
1119
|
+
otherStorage.set(ReqMultipartFormBody, rr.reqBodyMultipartFormData());
|
|
1120
|
+
} else if (paramType === ReqHeader) {
|
|
1121
|
+
otherStorage.set(ReqHeader, rr.reqHeaderObj);
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
let data = await this.simstanceManager.executeBindParameterSimPromise({
|
|
1125
|
+
target: moduleInstance,
|
|
1126
|
+
targetKey: it.propertyKey
|
|
1127
|
+
}, otherStorage);
|
|
1128
|
+
if (it.config?.resolver) {
|
|
1129
|
+
const execute = typeof it.config.resolver === "function" ? this.simstanceManager.getOrNewSim({ target: it.config.resolver }) : it.config.resolver;
|
|
1130
|
+
data = await execute?.resolve?.(data, rr);
|
|
1131
|
+
}
|
|
1132
|
+
const status = it.config?.res?.status ?? 200 /* Ok */;
|
|
1133
|
+
const headers = it.config?.res?.header ?? {};
|
|
1134
|
+
if (it.config?.res?.contentType) {
|
|
1135
|
+
headers["Content-Type" /* ContentType */] = it.config?.res?.contentType;
|
|
1136
|
+
}
|
|
1137
|
+
if ((it.config?.res?.contentType?.toLowerCase().indexOf("application/json" /* ApplicationJson */.toLowerCase()) ?? -1) > -1) {
|
|
1138
|
+
data = JSON.stringify(data);
|
|
1139
|
+
} else if (data && typeof data === "object") {
|
|
1140
|
+
data = JSON.stringify(data);
|
|
1141
|
+
}
|
|
1142
|
+
rr.resSetHeaders(headers);
|
|
1143
|
+
rr.resSetStatusCode(status);
|
|
1144
|
+
rr.resWrite(data);
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
if (this.option.noSuchRouteEndPointMappingThrow && methods.length <= 0 && rr.reqMethod()?.toUpperCase() !== "OPTIONS" /* OPTIONS */) {
|
|
1148
|
+
throw this.option.noSuchRouteEndPointMappingThrow(rr);
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
for (const it of filter.filters.reverse()) {
|
|
1152
|
+
if (it.filter?.proceedAfter && !await it.filter.proceedAfter({ rr, app: this, before: it.sw, carrier: filter.carrier })) {
|
|
1153
|
+
break;
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
} catch (e) {
|
|
1157
|
+
transactionManager?.catch(e);
|
|
1158
|
+
rr.resStatusCode(e instanceof HttpError ? e.status : 500 /* InternalServerError */);
|
|
1159
|
+
const execute = typeof this.option.globalAdvice === "function" ? this.simstanceManager.getOrNewSim(this.option.globalAdvice) : this.option.globalAdvice;
|
|
1160
|
+
if (!execute) {
|
|
1161
|
+
rr.resEnd();
|
|
1162
|
+
return;
|
|
1163
|
+
}
|
|
1164
|
+
if (e && typeof e === "object") {
|
|
1165
|
+
otherStorage.set(e.constructor, e);
|
|
1166
|
+
otherStorage.set(SituationTypeContainer, new SituationTypeContainer({
|
|
1167
|
+
situationType: ExceptionHandlerSituationType.ERROR_OBJECT,
|
|
1168
|
+
data: e
|
|
1169
|
+
}));
|
|
1170
|
+
}
|
|
1171
|
+
const target = targetExceptionHandler(execute, e);
|
|
1172
|
+
if (target) {
|
|
1173
|
+
await this.simstanceManager.executeBindParameterSimPromise({
|
|
1174
|
+
target: execute,
|
|
1175
|
+
targetKey: target.propertyKey
|
|
1176
|
+
}, otherStorage);
|
|
1177
|
+
}
|
|
1178
|
+
} finally {
|
|
1179
|
+
transactionManager?.finally();
|
|
1180
|
+
}
|
|
1181
|
+
if (!rr.resIsDone()) {
|
|
1182
|
+
rr.resEnd();
|
|
1183
|
+
}
|
|
1184
|
+
});
|
|
1185
|
+
this.server.listen(this.option.listen.port, this.option.listen.hostname, this.option.listen.backlog, () => {
|
|
1186
|
+
this.option.listen.listeningListener?.(this, this.server);
|
|
1187
|
+
});
|
|
1188
|
+
}
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
// src/endpoints/CrossDomainHeaderEndPoint.ts
|
|
1192
|
+
var CrossDomainHeaderEndPoint = class {
|
|
1193
|
+
constructor(config) {
|
|
1194
|
+
this.config = config;
|
|
1195
|
+
}
|
|
1196
|
+
/*
|
|
1197
|
+
rr.resSetHeader("Access-Control-Allow-Origin", "*")
|
|
1198
|
+
rr.resSetHeader("Access-Control-Allow-Methods", "DELETE, POST, GET, OPTIONS")
|
|
1199
|
+
rr.resSetHeader("Access-Control-Allow-Headers", "Content-Type, Authorization, X-Requested-With")
|
|
1200
|
+
*/
|
|
1201
|
+
async endPoint(rr, app) {
|
|
1202
|
+
if (this.config?.accessControlAllowOrigin) {
|
|
1203
|
+
rr.resSetHeader("Access-Control-Allow-Origin" /* AccessControlAllowOrigin */, Array.isArray(this.config.accessControlAllowOrigin) ? this.config.accessControlAllowOrigin.join(", ") : this.config.accessControlAllowOrigin);
|
|
1204
|
+
}
|
|
1205
|
+
if (this.config?.accessControlAllowMethods) {
|
|
1206
|
+
rr.resSetHeader("Access-Control-Allow-Methods" /* AccessControlAllowMethods */, Array.isArray(this.config.accessControlAllowMethods) ? this.config.accessControlAllowMethods.join(", ") : this.config.accessControlAllowMethods);
|
|
1207
|
+
}
|
|
1208
|
+
if (this.config?.accessControlAllowHeaders) {
|
|
1209
|
+
rr.resSetHeader("Access-Control-Allow-Headers" /* AccessControlAllowHeaders */, Array.isArray(this.config.accessControlAllowHeaders) ? this.config.accessControlAllowHeaders.join(", ") : this.config.accessControlAllowHeaders);
|
|
1210
|
+
}
|
|
1211
|
+
if (this.config?.accessControlExposeHeaders) {
|
|
1212
|
+
rr.resSetHeader("Access-Control-Expose-Headers" /* AccessControlExposeHeaders */, Array.isArray(this.config.accessControlExposeHeaders) ? this.config.accessControlExposeHeaders.join(", ") : this.config.accessControlExposeHeaders);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
async onInit(app) {
|
|
1216
|
+
}
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
// src/endpoints/HeaderEndPoint.ts
|
|
1220
|
+
var HeaderEndPoint = class {
|
|
1221
|
+
constructor(headers) {
|
|
1222
|
+
this.headers = headers;
|
|
1223
|
+
}
|
|
1224
|
+
async endPoint(rr, app) {
|
|
1225
|
+
if (this.headers) {
|
|
1226
|
+
rr.resSetHeaders(this.headers);
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
async onInit(app) {
|
|
1230
|
+
}
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
// src/errors/BadRequestError.ts
|
|
1234
|
+
var BadRequestError = class extends HttpError {
|
|
1235
|
+
constructor({ status = 400 /* BadRequest */, message = "Bad Request" } = {}) {
|
|
1236
|
+
super({ status, message });
|
|
1237
|
+
}
|
|
1238
|
+
};
|
|
1239
|
+
|
|
1240
|
+
// src/errors/ForbiddenError.ts
|
|
1241
|
+
var ForbiddenError = class extends HttpError {
|
|
1242
|
+
constructor({ status = 403 /* Forbidden */, message = "Forbidden" } = {}) {
|
|
1243
|
+
super({ status, message });
|
|
1244
|
+
}
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
// src/errors/InternalServerError.ts
|
|
1248
|
+
var InternalServerError = class extends HttpError {
|
|
1249
|
+
constructor({ status = 500 /* InternalServerError */, message = "Internal Server Error" } = {}) {
|
|
1250
|
+
super({ status, message });
|
|
1251
|
+
}
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
// src/errors/NotFoundError.ts
|
|
1255
|
+
var NotFoundError = class extends HttpError {
|
|
1256
|
+
constructor({ status = 404 /* NotFound */, message = "Not Found" } = {}) {
|
|
1257
|
+
super({ status, message });
|
|
1258
|
+
}
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
// src/errors/UnauthorizedError.ts
|
|
1262
|
+
var UnauthorizedError = class extends HttpError {
|
|
1263
|
+
constructor({ status = 401 /* Unauthorized */, message = "Unauthorized" } = {}) {
|
|
1264
|
+
super({ status, message });
|
|
1265
|
+
}
|
|
1266
|
+
};
|
|
1267
|
+
|
|
1268
|
+
// src/filters/CacheFilter.ts
|
|
1269
|
+
import { FileUtils as FileUtils2 } from "@dooboostore/core-node/file/FileUtils";
|
|
1270
|
+
import { ConvertUtils as ConvertUtils2 } from "@dooboostore/core-node/convert/ConvertUtils";
|
|
1271
|
+
import { RandomUtils as RandomUtils2 } from "@dooboostore/core/random/RandomUtils";
|
|
1272
|
+
var CacheFilter = class _CacheFilter {
|
|
1273
|
+
constructor(config) {
|
|
1274
|
+
this.config = config;
|
|
1275
|
+
this.storage = /* @__PURE__ */ new Map();
|
|
1276
|
+
if (config.config.cacheDir && config.config.startUpClean) {
|
|
1277
|
+
FileUtils2.deleteSync(config.config.cacheDir, { options: { recursive: true } });
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
static {
|
|
1281
|
+
this.CARRIER_KEY_NAME = "_CARRIER_CACHE_FILTER_KEY_NAME";
|
|
1282
|
+
}
|
|
1283
|
+
async onInit(app) {
|
|
1284
|
+
}
|
|
1285
|
+
async proceedBefore({ rr, app, carrier }) {
|
|
1286
|
+
const filter = this.config.filter?.(rr, app);
|
|
1287
|
+
if (!filter) {
|
|
1288
|
+
return true;
|
|
1289
|
+
}
|
|
1290
|
+
if (this.config.config.cacheDir) {
|
|
1291
|
+
FileUtils2.mkdirSync(this.config.config.cacheDir, { recursive: true });
|
|
1292
|
+
}
|
|
1293
|
+
if (!this.cacheConfig && this.config.config.cacheDir) {
|
|
1294
|
+
try {
|
|
1295
|
+
this.cacheConfig = JSON.parse(ConvertUtils2.toString(FileUtils2.readSync([this.config.config.cacheDir, "cacheConfig.json"], { option: { encoding: "utf-8" } })));
|
|
1296
|
+
} catch (e) {
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
const date = (/* @__PURE__ */ new Date()).toISOString();
|
|
1300
|
+
this.cacheConfig ??= {
|
|
1301
|
+
createDate: date,
|
|
1302
|
+
updateDate: date,
|
|
1303
|
+
// accessDate: date,
|
|
1304
|
+
caches: {}
|
|
1305
|
+
};
|
|
1306
|
+
this.cacheConfig.createDate ??= date;
|
|
1307
|
+
this.cacheConfig.updateDate ??= date;
|
|
1308
|
+
this.cacheConfig.caches ??= {};
|
|
1309
|
+
const rkey = this.config.key(rr, app);
|
|
1310
|
+
const sessionData = { key: rkey.key, lifeTime: rkey.lifeTime ?? this.config.config.lifeTime, isUpdate: false, responseHeaders: rkey.responseHeaders };
|
|
1311
|
+
const cache = this.cacheConfig.caches[sessionData.key];
|
|
1312
|
+
if (cache) {
|
|
1313
|
+
const existes = this.config.config.cacheDir ? FileUtils2.existsSync(cache.path) : this.storage.has(cache.path);
|
|
1314
|
+
const diffTime = Date.now() - cache.createTime;
|
|
1315
|
+
if (!existes || diffTime > cache.lifeTime) {
|
|
1316
|
+
delete this.cacheConfig[sessionData.key];
|
|
1317
|
+
this.deleteChunk(cache.path);
|
|
1318
|
+
sessionData.isUpdate = true;
|
|
1319
|
+
} else {
|
|
1320
|
+
rr.resSetHeaders({
|
|
1321
|
+
...cache.responseHeader,
|
|
1322
|
+
cacheFilter: `true;remainTime=${cache.lifeTime - diffTime}`
|
|
1323
|
+
});
|
|
1324
|
+
try {
|
|
1325
|
+
const chunk = this.getChunk(cache.path);
|
|
1326
|
+
await rr.resEnd(chunk);
|
|
1327
|
+
} catch (e) {
|
|
1328
|
+
console.log("--------e", e);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
} else {
|
|
1332
|
+
sessionData.isUpdate = true;
|
|
1333
|
+
}
|
|
1334
|
+
carrier.set(_CacheFilter.CARRIER_KEY_NAME, sessionData);
|
|
1335
|
+
return sessionData.isUpdate;
|
|
1336
|
+
}
|
|
1337
|
+
deleteChunk(path3) {
|
|
1338
|
+
if (this.config.config.cacheDir && FileUtils2.existsSync(path3)) {
|
|
1339
|
+
FileUtils2.deleteFileSync(path3);
|
|
1340
|
+
} else if (this.storage.has(path3)) {
|
|
1341
|
+
this.storage.delete(path3);
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
getChunk(path3) {
|
|
1345
|
+
return this.config.config.cacheDir ? FileUtils2.readSync(path3) : this.storage.get(path3);
|
|
1346
|
+
}
|
|
1347
|
+
async proceedAfter({ rr, app, carrier }) {
|
|
1348
|
+
const sessionData = carrier.get(_CacheFilter.CARRIER_KEY_NAME);
|
|
1349
|
+
if (sessionData && sessionData.isUpdate) {
|
|
1350
|
+
try {
|
|
1351
|
+
if (this.config.config.cacheDir) {
|
|
1352
|
+
FileUtils2.mkdirSync([this.config.config.cacheDir, "caches"], { recursive: true });
|
|
1353
|
+
}
|
|
1354
|
+
const resBody = rr.resBodyData();
|
|
1355
|
+
if (!resBody) {
|
|
1356
|
+
return true;
|
|
1357
|
+
}
|
|
1358
|
+
let p = void 0;
|
|
1359
|
+
const destFileUUID = RandomUtils2.uuid4();
|
|
1360
|
+
p = this.writeChunk(destFileUUID, resBody);
|
|
1361
|
+
const updateDateNow = Date.now();
|
|
1362
|
+
const updateDate = new Date(updateDateNow).toISOString();
|
|
1363
|
+
this.cacheConfig.createDate ??= updateDate;
|
|
1364
|
+
this.cacheConfig.updateDate = updateDate;
|
|
1365
|
+
const responseHeaders = {};
|
|
1366
|
+
sessionData.responseHeaders?.map((it) => it.toLowerCase()).forEach((it) => {
|
|
1367
|
+
responseHeaders[it] = rr.resHeader(it);
|
|
1368
|
+
});
|
|
1369
|
+
this.cacheConfig.caches[sessionData.key] = {
|
|
1370
|
+
path: p,
|
|
1371
|
+
createTime: updateDateNow,
|
|
1372
|
+
lifeTime: sessionData.lifeTime,
|
|
1373
|
+
responseHeader: responseHeaders
|
|
1374
|
+
};
|
|
1375
|
+
if (this.config.config.cacheDir) {
|
|
1376
|
+
FileUtils2.write(JSON.stringify(this.cacheConfig), { path: [this.config.config.cacheDir, "cacheConfig.json"] });
|
|
1377
|
+
}
|
|
1378
|
+
} catch (e) {
|
|
1379
|
+
console.log("---", e);
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
return true;
|
|
1383
|
+
}
|
|
1384
|
+
writeChunk(destFileUUID, resBody) {
|
|
1385
|
+
if (this.config.config.cacheDir) {
|
|
1386
|
+
return FileUtils2.write(resBody, { path: [this.config.config.cacheDir, "caches", destFileUUID] });
|
|
1387
|
+
} else {
|
|
1388
|
+
this.storage.set(destFileUUID, resBody);
|
|
1389
|
+
return destFileUUID;
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
// src/filters/HttpStatusFilter.ts
|
|
1395
|
+
var HttpStatusFilter = class {
|
|
1396
|
+
constructor(httpStatus) {
|
|
1397
|
+
this.httpStatus = httpStatus;
|
|
1398
|
+
}
|
|
1399
|
+
async proceedBefore({ rr, app }) {
|
|
1400
|
+
rr.resStatusCode(this.httpStatus);
|
|
1401
|
+
rr.resEnd();
|
|
1402
|
+
return false;
|
|
1403
|
+
}
|
|
1404
|
+
async proceedAfter({ rr, app }) {
|
|
1405
|
+
return true;
|
|
1406
|
+
}
|
|
1407
|
+
async onInit(app) {
|
|
1408
|
+
}
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
// src/filters/OpenApi3Filter.ts
|
|
1412
|
+
var DefulatData = {
|
|
1413
|
+
openapi: "3.0.1",
|
|
1414
|
+
info: {
|
|
1415
|
+
title: "SimpleBootHttpServer OpenApi3",
|
|
1416
|
+
description: "SimpleBootHttpServer OpenApi3"
|
|
1417
|
+
}
|
|
1418
|
+
};
|
|
1419
|
+
var OpenApi3Filter = class {
|
|
1420
|
+
constructor(config, openApiConfig) {
|
|
1421
|
+
this.config = config;
|
|
1422
|
+
this.openApiConfig = Object.assign(Object.assign({}, DefulatData), openApiConfig ?? {});
|
|
1423
|
+
}
|
|
1424
|
+
async onInit(app) {
|
|
1425
|
+
}
|
|
1426
|
+
async proceedBefore({ rr, app }) {
|
|
1427
|
+
if (rr.reqUrl === this.config.path) {
|
|
1428
|
+
const map = app.routerManager.routingMap();
|
|
1429
|
+
const data = {
|
|
1430
|
+
paths: {}
|
|
1431
|
+
};
|
|
1432
|
+
Object.entries(map).filter(([k, v]) => typeof v !== "string").forEach(([k, v]) => {
|
|
1433
|
+
const method = data.paths[k] = {};
|
|
1434
|
+
getUrlMappings(v)?.forEach((it) => {
|
|
1435
|
+
method[it.config.method] = {
|
|
1436
|
+
summary: it.propertyKey,
|
|
1437
|
+
description: it.propertyKey
|
|
1438
|
+
// operationId: it.operationId,
|
|
1439
|
+
// parameters: it.parameters,
|
|
1440
|
+
// responses: it.responses,
|
|
1441
|
+
};
|
|
1442
|
+
});
|
|
1443
|
+
});
|
|
1444
|
+
rr.resWriteJson(Object.assign(Object.assign({}, this.openApiConfig), data)).resStatusCode(200 /* Ok */).resEnd();
|
|
1445
|
+
return false;
|
|
1446
|
+
}
|
|
1447
|
+
return true;
|
|
1448
|
+
}
|
|
1449
|
+
async proceedAfter({ rr, app }) {
|
|
1450
|
+
return true;
|
|
1451
|
+
}
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
// src/filters/ResourceFilter.ts
|
|
1455
|
+
import fs from "fs";
|
|
1456
|
+
import path from "path";
|
|
1457
|
+
import mime from "mime-types";
|
|
1458
|
+
var ResourceFilter = class {
|
|
1459
|
+
constructor(resourceDistPath, resourceRegex = []) {
|
|
1460
|
+
this.resourceDistPath = resourceDistPath;
|
|
1461
|
+
this.resourceRegex = resourceRegex;
|
|
1462
|
+
}
|
|
1463
|
+
async onInit(app) {
|
|
1464
|
+
}
|
|
1465
|
+
async proceedBefore({ rr, app }) {
|
|
1466
|
+
const url = (rr.reqUrlPathName ?? "").replace(/\.\./g, "");
|
|
1467
|
+
const urlObj = rr.reqUrlObject;
|
|
1468
|
+
let sw = true;
|
|
1469
|
+
const regExps = this.resourceRegex.filter((it) => {
|
|
1470
|
+
if (it instanceof RegExp) {
|
|
1471
|
+
return it.test(url);
|
|
1472
|
+
}
|
|
1473
|
+
if (typeof it === "string") {
|
|
1474
|
+
return RegExp(it).test(url);
|
|
1475
|
+
}
|
|
1476
|
+
if (typeof it === "function") {
|
|
1477
|
+
return it(rr, app);
|
|
1478
|
+
}
|
|
1479
|
+
if (typeof it === "object" && "request" in it) {
|
|
1480
|
+
if (typeof it.request === "function") {
|
|
1481
|
+
return it.request(rr, app);
|
|
1482
|
+
}
|
|
1483
|
+
return RegExp(it.request).test(url);
|
|
1484
|
+
}
|
|
1485
|
+
});
|
|
1486
|
+
for (const it of regExps) {
|
|
1487
|
+
const resourcePath = path.join(this.resourceDistPath, typeof it === "object" && "dist" in it ? it.dist : urlObj.pathname);
|
|
1488
|
+
sw = false;
|
|
1489
|
+
if (fs.existsSync(resourcePath)) {
|
|
1490
|
+
rr.resStatusCode(200 /* Ok */);
|
|
1491
|
+
rr.resSetHeader("Content-Type" /* ContentType */, mime.lookup(resourcePath).toString());
|
|
1492
|
+
await rr.resEnd(fs.readFileSync(resourcePath));
|
|
1493
|
+
break;
|
|
1494
|
+
} else {
|
|
1495
|
+
rr.resStatusCode(404 /* NotFound */);
|
|
1496
|
+
await rr.resEnd();
|
|
1497
|
+
break;
|
|
1498
|
+
}
|
|
1499
|
+
sw = false;
|
|
1500
|
+
}
|
|
1501
|
+
return sw;
|
|
1502
|
+
}
|
|
1503
|
+
async proceedAfter({ rr, app }) {
|
|
1504
|
+
return true;
|
|
1505
|
+
}
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
// src/filters/ThrowFilter.ts
|
|
1509
|
+
var ThrowFilter = class {
|
|
1510
|
+
constructor(error) {
|
|
1511
|
+
this.error = error;
|
|
1512
|
+
}
|
|
1513
|
+
async onInit(app) {
|
|
1514
|
+
}
|
|
1515
|
+
async proceedBefore({ rr, app }) {
|
|
1516
|
+
return true;
|
|
1517
|
+
}
|
|
1518
|
+
async proceedAfter({ rr, app }) {
|
|
1519
|
+
const sw = rr.resIsDone();
|
|
1520
|
+
if (!sw) {
|
|
1521
|
+
throw this.error;
|
|
1522
|
+
}
|
|
1523
|
+
;
|
|
1524
|
+
return false;
|
|
1525
|
+
}
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
// src/models/datas/HeaderData.ts
|
|
1529
|
+
var HeaderData = class {
|
|
1530
|
+
constructor(header, data) {
|
|
1531
|
+
this.header = header;
|
|
1532
|
+
this.data = data;
|
|
1533
|
+
}
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
// src/models/datas/Resource.ts
|
|
1537
|
+
import fs2 from "fs";
|
|
1538
|
+
import path2 from "path";
|
|
1539
|
+
import mime2 from "mime-types";
|
|
1540
|
+
var Resource = class {
|
|
1541
|
+
constructor(path3, rootPath = process.cwd()) {
|
|
1542
|
+
this.path = path3;
|
|
1543
|
+
this.rootPath = rootPath;
|
|
1544
|
+
}
|
|
1545
|
+
get absolutePath() {
|
|
1546
|
+
if (this.path instanceof RequestResponse) {
|
|
1547
|
+
return path2.join(this.rootPath, this.path.reqUrlObj().pathname);
|
|
1548
|
+
} else if (this.path instanceof URL) {
|
|
1549
|
+
return path2.join(this.rootPath, this.path.pathname);
|
|
1550
|
+
} else {
|
|
1551
|
+
return path2.join(this.rootPath, this.path);
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
get conTentType() {
|
|
1555
|
+
return mime2.lookup(this.absolutePath).toString();
|
|
1556
|
+
}
|
|
1557
|
+
get data() {
|
|
1558
|
+
const promise = new Promise((resolve, reject) => {
|
|
1559
|
+
fs2.readFile("", (error, fileBuffer) => {
|
|
1560
|
+
if (error) {
|
|
1561
|
+
reject(error);
|
|
1562
|
+
}
|
|
1563
|
+
const fileContent = fileBuffer.toString();
|
|
1564
|
+
resolve(fileContent);
|
|
1565
|
+
});
|
|
1566
|
+
});
|
|
1567
|
+
return promise;
|
|
1568
|
+
}
|
|
1569
|
+
async write(rr) {
|
|
1570
|
+
rr.resStatusCode(200 /* Ok */);
|
|
1571
|
+
rr.resSetHeader("Content-Type" /* ContentType */, this.conTentType);
|
|
1572
|
+
await rr.resEnd(fs2.readFileSync(this.absolutePath));
|
|
1573
|
+
}
|
|
1574
|
+
};
|
|
1575
|
+
|
|
1576
|
+
// src/models/method/patch/PatchJson.ts
|
|
1577
|
+
import jsonpatch from "fast-json-patch";
|
|
1578
|
+
var PatchJson = class {
|
|
1579
|
+
constructor(patch) {
|
|
1580
|
+
this.patch = patch;
|
|
1581
|
+
}
|
|
1582
|
+
apply(obj) {
|
|
1583
|
+
obj = jsonpatch.applyPatch(obj, this.patch).newDocument;
|
|
1584
|
+
return obj;
|
|
1585
|
+
}
|
|
1586
|
+
};
|
|
1587
|
+
|
|
1588
|
+
// src/resolvers/ResourceResolver.ts
|
|
1589
|
+
import { Sim } from "@dooboostore/simple-boot/decorators/SimDecorator";
|
|
1590
|
+
var ResourceResolver = class {
|
|
1591
|
+
resolve(data, rr) {
|
|
1592
|
+
return new Resource(data ?? rr).write(rr);
|
|
1593
|
+
}
|
|
1594
|
+
};
|
|
1595
|
+
ResourceResolver = __decorateClass([
|
|
1596
|
+
Sim
|
|
1597
|
+
], ResourceResolver);
|
|
1598
|
+
export {
|
|
1599
|
+
BadRequestError,
|
|
1600
|
+
CONNECT,
|
|
1601
|
+
CacheFilter,
|
|
1602
|
+
CrossDomainHeaderEndPoint,
|
|
1603
|
+
DELETE,
|
|
1604
|
+
ForbiddenError,
|
|
1605
|
+
GET,
|
|
1606
|
+
HEAD,
|
|
1607
|
+
HeaderData,
|
|
1608
|
+
HeaderEndPoint,
|
|
1609
|
+
HttpError,
|
|
1610
|
+
HttpHeaders,
|
|
1611
|
+
HttpMethod,
|
|
1612
|
+
HttpServerOption,
|
|
1613
|
+
HttpStatus,
|
|
1614
|
+
HttpStatusFilter,
|
|
1615
|
+
InjectSituationType,
|
|
1616
|
+
InternalServerError,
|
|
1617
|
+
Mimes,
|
|
1618
|
+
NotFoundError,
|
|
1619
|
+
OPTIONS,
|
|
1620
|
+
OpenApi3Filter,
|
|
1621
|
+
PATCH,
|
|
1622
|
+
POST,
|
|
1623
|
+
PUT,
|
|
1624
|
+
PatchJson,
|
|
1625
|
+
ReqFormUrlBody,
|
|
1626
|
+
ReqHeader,
|
|
1627
|
+
ReqJsonBody,
|
|
1628
|
+
ReqMultipartFormBody,
|
|
1629
|
+
RequestResponse,
|
|
1630
|
+
RequestResponseChain,
|
|
1631
|
+
Resource,
|
|
1632
|
+
ResourceFilter,
|
|
1633
|
+
ResourceResolver,
|
|
1634
|
+
SessionManager,
|
|
1635
|
+
SimpleBootHttpServer,
|
|
1636
|
+
TRACE,
|
|
1637
|
+
ThrowFilter,
|
|
1638
|
+
UnauthorizedError,
|
|
1639
|
+
UrlMapping,
|
|
1640
|
+
UrlMappingSituationType,
|
|
1641
|
+
getCONNECT,
|
|
1642
|
+
getCONNECTS,
|
|
1643
|
+
getDELETE,
|
|
1644
|
+
getDELETES,
|
|
1645
|
+
getGET,
|
|
1646
|
+
getGETS,
|
|
1647
|
+
getHEAD,
|
|
1648
|
+
getHEADS,
|
|
1649
|
+
getOPTIONS,
|
|
1650
|
+
getOPTIONSS,
|
|
1651
|
+
getPATCH,
|
|
1652
|
+
getPATCHS,
|
|
1653
|
+
getPOST,
|
|
1654
|
+
getPOSTS,
|
|
1655
|
+
getPUT,
|
|
1656
|
+
getPUTS,
|
|
1657
|
+
getTRACE,
|
|
1658
|
+
getTRACES,
|
|
1659
|
+
getUrlMapping,
|
|
1660
|
+
getUrlMappings
|
|
1661
|
+
};
|
|
1662
|
+
//# sourceMappingURL=index.js.map
|