globalThis.__nitro_main__ = import.meta.url;
import { a as FastResponse, n as HTTPError, r as defineLazyEventHandler, t as H3Core } from "./_libs/h3+rou3+srvx.mjs";
import { t as HookableCore } from "./_libs/hookable.mjs";
//#region #nitro-vite-setup
function lazyService(loader) {
	let promise, mod;
	return { fetch(req) {
		if (mod) return mod.fetch(req);
		if (!promise) promise = loader().then((_mod) => mod = _mod.default || _mod);
		return promise.then((mod) => mod.fetch(req));
	} };
}
var services = { ["ssr"]: lazyService(() => import("./_ssr/ssr.mjs")) };
globalThis.__nitro_vite_envs__ = services;
//#endregion
//#region #nitro/virtual/public-assets-data
var public_assets_data_default = {
	"/favicon.ico": {
		"type": "image/vnd.microsoft.icon",
		"etag": "\"4f95-3RXc3p2mhEAs1WBwaIvE0Y0uu0Y\"",
		"mtime": "2026-07-14T07:32:42.486Z",
		"size": 20373,
		"path": "../public/favicon.ico"
	},
	"/assets/administration-CyRXwnx1.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"139a-PzuZBxKpXTezV7AWH9rOpdc3drs\"",
		"mtime": "2026-07-14T07:38:50.556Z",
		"size": 5018,
		"path": "../public/assets/administration-CyRXwnx1.js"
	},
	"/assets/aen-hooks-BIg43l8E.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"2a8-B+k1imv+Z0E5CPPIwAyeekpwkR8\"",
		"mtime": "2026-07-14T07:38:50.556Z",
		"size": 680,
		"path": "../public/assets/aen-hooks-BIg43l8E.js"
	},
	"/assets/alert-dialog-CUHagr4n.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"e8b-+82YvDeIAaqx3rD2qsGOoOYFfQ4\"",
		"mtime": "2026-07-14T07:38:50.557Z",
		"size": 3723,
		"path": "../public/assets/alert-dialog-CUHagr4n.js"
	},
	"/assets/alerts-BWotufj3.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"de3-hDn03OcLK5ukrc+9dOdrEBCOJtU\"",
		"mtime": "2026-07-14T07:38:50.558Z",
		"size": 3555,
		"path": "../public/assets/alerts-BWotufj3.js"
	},
	"/assets/arrow-left-DWsA1N-W.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"a5-RAk+hnR5hj9ik2cs2YpKos3vwVM\"",
		"mtime": "2026-07-14T07:38:50.558Z",
		"size": 165,
		"path": "../public/assets/arrow-left-DWsA1N-W.js"
	},
	"/assets/audit-log-CBAn_TMP.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"6be-q8K3QYSPcArlJ4EEE9WyuTEw1kQ\"",
		"mtime": "2026-07-14T07:38:50.558Z",
		"size": 1726,
		"path": "../public/assets/audit-log-CBAn_TMP.js"
	},
	"/assets/aen-performance-h6AmiPqN.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"1b9e-YgxqTyupRZdfT47hjecpIdHPdxo\"",
		"mtime": "2026-07-14T07:38:50.557Z",
		"size": 7070,
		"path": "../public/assets/aen-performance-h6AmiPqN.js"
	},
	"/assets/auth-DxMukLXH.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"1100-ZR7nc72lJ5tMltg6rse851TU568\"",
		"mtime": "2026-07-14T07:38:50.558Z",
		"size": 4352,
		"path": "../public/assets/auth-DxMukLXH.js"
	},
	"/assets/badge-7GJDNue6.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"324-JznRMTDkwYlqQkG6xjFGNneHj9Y\"",
		"mtime": "2026-07-14T07:38:50.559Z",
		"size": 804,
		"path": "../public/assets/badge-7GJDNue6.js"
	},
	"/assets/building-2-C36hfAPr.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"17f-Z5YbTs7AH6+AP6SMe7OBMeJ3lck\"",
		"mtime": "2026-07-14T07:38:50.559Z",
		"size": 383,
		"path": "../public/assets/building-2-C36hfAPr.js"
	},
	"/assets/button-CpC4WAFQ.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"55e-i8BFZsjhuoqr4e1YfH7jRadU0FA\"",
		"mtime": "2026-07-14T07:38:50.559Z",
		"size": 1374,
		"path": "../public/assets/button-CpC4WAFQ.js"
	},
	"/assets/calculations-Djz1Ahac.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"261-H6NPvmlmO5ioN5Nt/F28PeGPiMY\"",
		"mtime": "2026-07-14T07:38:50.559Z",
		"size": 609,
		"path": "../public/assets/calculations-Djz1Ahac.js"
	},
	"/assets/chevron-right-BYJJVHf4.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"82-9ENKfK6GvKgYrtMUcvK7/X9YQqM\"",
		"mtime": "2026-07-14T07:38:50.559Z",
		"size": 130,
		"path": "../public/assets/chevron-right-BYJJVHf4.js"
	},
	"/assets/card-2XLQ4Sqm.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"41c-EIHf7MpxGEMswQnbNlpJd7eyhd4\"",
		"mtime": "2026-07-14T07:38:50.559Z",
		"size": 1052,
		"path": "../public/assets/card-2XLQ4Sqm.js"
	},
	"/assets/createLucideIcon-DeQrcgrh.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"4ab-cR1PODv03KUfJz4HloEEypYngbs\"",
		"mtime": "2026-07-14T07:38:50.559Z",
		"size": 1195,
		"path": "../public/assets/createLucideIcon-DeQrcgrh.js"
	},
	"/assets/dashboard-DrYsfs0k.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"2a7f-46KxezFj0d5zgbRqqsVp8FqIAj0\"",
		"mtime": "2026-07-14T07:38:50.561Z",
		"size": 10879,
		"path": "../public/assets/dashboard-DrYsfs0k.js"
	},
	"/assets/data-hooks-B3BJoiaE.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"517-2RilFjbC8RZ0tfj39k4F1ciIysE\"",
		"mtime": "2026-07-14T07:38:50.561Z",
		"size": 1303,
		"path": "../public/assets/data-hooks-B3BJoiaE.js"
	},
	"/assets/data-sheets-CSV1iIDK.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"17ac-niORzpG/DrhzjbW4AnCQZLPWgDk\"",
		"mtime": "2026-07-14T07:38:50.561Z",
		"size": 6060,
		"path": "../public/assets/data-sheets-CSV1iIDK.js"
	},
	"/assets/dist-BHTPujRl.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"986-6PG/knmbXpTHbf0dcK2MrNR149s\"",
		"mtime": "2026-07-14T07:38:50.561Z",
		"size": 2438,
		"path": "../public/assets/dist-BHTPujRl.js"
	},
	"/assets/dist-BoLhn8b9.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"10ad-w+T6nxgEmAuWpH6jFRJqcxtNcSQ\"",
		"mtime": "2026-07-14T07:38:50.562Z",
		"size": 4269,
		"path": "../public/assets/dist-BoLhn8b9.js"
	},
	"/assets/dist-C1RJhgYD.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"281-K2XQEy4dSuaU+NZeVCiNF1cCMKU\"",
		"mtime": "2026-07-14T07:38:50.562Z",
		"size": 641,
		"path": "../public/assets/dist-C1RJhgYD.js"
	},
	"/assets/dist-CVRWQilr.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"69c1-V3ADhaLjSM0E4YogTM/X9GpScrc\"",
		"mtime": "2026-07-14T07:38:50.562Z",
		"size": 27073,
		"path": "../public/assets/dist-CVRWQilr.js"
	},
	"/assets/dist-DPwdVAoF.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"544-7Nb0FE1Z44NGSmxCgvkqjKNAbwQ\"",
		"mtime": "2026-07-14T07:38:50.563Z",
		"size": 1348,
		"path": "../public/assets/dist-DPwdVAoF.js"
	},
	"/assets/dist-ex3CQT46.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"14f7-5jc+FS5VoOi30lzugAzxwxhrq2A\"",
		"mtime": "2026-07-14T07:38:50.563Z",
		"size": 5367,
		"path": "../public/assets/dist-ex3CQT46.js"
	},
	"/assets/division-performance-C5wX-rw7.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"1e19-+PUokIDhU3tse+XgtD1mKU6MalM\"",
		"mtime": "2026-07-14T07:38:50.563Z",
		"size": 7705,
		"path": "../public/assets/division-performance-C5wX-rw7.js"
	},
	"/assets/download-C_iswExO.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"e8-sk4HSBQ8PXdPUcnDOwn0ppsmTPQ\"",
		"mtime": "2026-07-14T07:38:50.563Z",
		"size": 232,
		"path": "../public/assets/download-C_iswExO.js"
	},
	"/assets/eye-ktzBPylu.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"100-Ao44/4Woz9pYa8dGYe+ORsoV3tg\"",
		"mtime": "2026-07-14T07:38:50.564Z",
		"size": 256,
		"path": "../public/assets/eye-ktzBPylu.js"
	},
	"/assets/es2015-CDKC8-jK.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"51ea-jx+aL9694mRfG/DosN3MyMr5TV4\"",
		"mtime": "2026-07-14T07:38:50.564Z",
		"size": 20970,
		"path": "../public/assets/es2015-CDKC8-jK.js"
	},
	"/assets/fy-nH1xvncr.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"27d-4g3tl4IhqLaLZP38DzucvnfPAmU\"",
		"mtime": "2026-07-14T07:38:50.564Z",
		"size": 637,
		"path": "../public/assets/fy-nH1xvncr.js"
	},
	"/assets/heat-maps-CcPbIPV9.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"e5a-BFQ3/2r4G2RZnqL1W+fwPlGBvQ4\"",
		"mtime": "2026-07-14T07:38:50.565Z",
		"size": 3674,
		"path": "../public/assets/heat-maps-CcPbIPV9.js"
	},
	"/assets/input-ybUNh9ew.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"26d-3I8X0nF7uneLp4EBA20Qv2rWFqg\"",
		"mtime": "2026-07-14T07:38:50.566Z",
		"size": 621,
		"path": "../public/assets/input-ybUNh9ew.js"
	},
	"/assets/item-risk-p74zgPw6.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"2a59-q/TrY50IhSTCWJAtMZn5lyJ0EjY\"",
		"mtime": "2026-07-14T07:38:50.566Z",
		"size": 10841,
		"path": "../public/assets/item-risk-p74zgPw6.js"
	},
	"/assets/label-KRr-9qDf.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"291-uusMs7G7zL7CEXB1waZhnlwtwD8\"",
		"mtime": "2026-07-14T07:38:50.566Z",
		"size": 657,
		"path": "../public/assets/label-KRr-9qDf.js"
	},
	"/assets/jsx-runtime-bzQ4Vb5N.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"20d8-vMfP+4a4ykIjbw4InHkj3E5HWt0\"",
		"mtime": "2026-07-14T07:38:50.566Z",
		"size": 8408,
		"path": "../public/assets/jsx-runtime-bzQ4Vb5N.js"
	},
	"/assets/link-HXBcj0tw.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"1148-zyPc87Y9FUbu8FC7Cg7cHY3NMEU\"",
		"mtime": "2026-07-14T07:38:50.566Z",
		"size": 4424,
		"path": "../public/assets/link-HXBcj0tw.js"
	},
	"/assets/matchContext-BaYN1Io5.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"29c-JTVxD1TMEt0bcPgRsIqfBh/6RSg\"",
		"mtime": "2026-07-14T07:38:50.566Z",
		"size": 668,
		"path": "../public/assets/matchContext-BaYN1Io5.js"
	},
	"/assets/page-header-CqpDR1d0.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"193-J16pPAmomgaA4vLP2hn2ozL+tdQ\"",
		"mtime": "2026-07-14T07:38:50.567Z",
		"size": 403,
		"path": "../public/assets/page-header-CqpDR1d0.js"
	},
	"/assets/Match-DlldOhhF.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"be2f-TjfvdwKo4hFxRnmW8L7VsBDTGaQ\"",
		"mtime": "2026-07-14T07:38:50.556Z",
		"size": 48687,
		"path": "../public/assets/Match-DlldOhhF.js"
	},
	"/assets/printer--2PazsfP.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"13f-60XnNzbkJJSrGCtkcq+noAJAJT8\"",
		"mtime": "2026-07-14T07:38:50.567Z",
		"size": 319,
		"path": "../public/assets/printer--2PazsfP.js"
	},
	"/assets/rankings-CcEYBMlM.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"e3c-pGSPoTwafhHc8NkUO6/nztjt+NM\"",
		"mtime": "2026-07-14T07:38:50.568Z",
		"size": 3644,
		"path": "../public/assets/rankings-CcEYBMlM.js"
	},
	"/assets/react-dom-DUKFG4MT.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"dda-2jwqka4uWIJMCW44vChkyRB+fA4\"",
		"mtime": "2026-07-14T07:38:50.568Z",
		"size": 3546,
		"path": "../public/assets/react-dom-DUKFG4MT.js"
	},
	"/assets/reports-Sk8fDxIM.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"760-TmwgDdbPF0T/u4NNf87zpGBtoEo\"",
		"mtime": "2026-07-14T07:38:50.568Z",
		"size": 1888,
		"path": "../public/assets/reports-Sk8fDxIM.js"
	},
	"/assets/route-B6GSbQ71.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"7801-tm/dzTatG8u44bnaQgiPHvwc8lw\"",
		"mtime": "2026-07-14T07:38:50.569Z",
		"size": 30721,
		"path": "../public/assets/route-B6GSbQ71.js"
	},
	"/assets/risk-centre-jgTWcsFk.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"2471-I+cYI1SpjqclfEJlOA8hqahVBSg\"",
		"mtime": "2026-07-14T07:38:50.568Z",
		"size": 9329,
		"path": "../public/assets/risk-centre-jgTWcsFk.js"
	},
	"/assets/search-mORkLIQH.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"ae-x2XbzeANoQsKbVkfT750lrmy+cw\"",
		"mtime": "2026-07-14T07:38:50.569Z",
		"size": 174,
		"path": "../public/assets/search-mORkLIQH.js"
	},
	"/assets/select-Brl3xHTL.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"5703-pa1MbTMz2YLRXRllBeTPGzFOdDM\"",
		"mtime": "2026-07-14T07:38:50.569Z",
		"size": 22275,
		"path": "../public/assets/select-Brl3xHTL.js"
	},
	"/assets/index-t_-MMk0R.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"7bfa8-EaNE1RGZqbAemh3gtxbhof2ZPWw\"",
		"mtime": "2026-07-14T07:38:50.556Z",
		"size": 507816,
		"path": "../public/assets/index-t_-MMk0R.js"
	},
	"/assets/sse-performance-DtHvPqk5.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"1e0d-eKxOquZrrgOladdj/1oEKCRog0c\"",
		"mtime": "2026-07-14T07:38:50.569Z",
		"size": 7693,
		"path": "../public/assets/sse-performance-DtHvPqk5.js"
	},
	"/assets/styles-DxDjR0PL.css": {
		"type": "text/css; charset=utf-8",
		"etag": "\"14831-YHJpVmYD8UhgM23rcbnGEevqMAA\"",
		"mtime": "2026-07-14T07:38:50.574Z",
		"size": 84017,
		"path": "../public/assets/styles-DxDjR0PL.css"
	},
	"/assets/table-CVkwN17b.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"673-XRbPecZTxxznbTJ30VfLC10j3jw\"",
		"mtime": "2026-07-14T07:38:50.569Z",
		"size": 1651,
		"path": "../public/assets/table-CVkwN17b.js"
	},
	"/assets/train-front-D3o-kwRh.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"17f-uVAO2RiOBinf1QxvcAFu+wWVZ2Y\"",
		"mtime": "2026-07-14T07:38:50.569Z",
		"size": 383,
		"path": "../public/assets/train-front-D3o-kwRh.js"
	},
	"/assets/tabs-DFilYnmT.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"1b69-gdZFK/oFdeCNPps6EuW9PPP/Ezg\"",
		"mtime": "2026-07-14T07:38:50.569Z",
		"size": 7017,
		"path": "../public/assets/tabs-DFilYnmT.js"
	},
	"/assets/trends-DeQE39jK.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"2b7-0UXnRfd6lCxmI8Jj9dyUBRNJyA4\"",
		"mtime": "2026-07-14T07:38:50.570Z",
		"size": 695,
		"path": "../public/assets/trends-DeQE39jK.js"
	},
	"/assets/upload-DsjEK5H6.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"e6-r2McfsMs+85JBYposxMq76ztwRo\"",
		"mtime": "2026-07-14T07:38:50.570Z",
		"size": 230,
		"path": "../public/assets/upload-DsjEK5H6.js"
	},
	"/assets/upload-R0qFGDWk.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"8d-unLgPCqOsSu15CPqOdFhGmqPKlM\"",
		"mtime": "2026-07-14T07:38:50.571Z",
		"size": 141,
		"path": "../public/assets/upload-R0qFGDWk.js"
	},
	"/assets/upload.index-WSRoR97M.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"14e0-y1rrlZjwq5Zbc+f96X+0Js/YCWY\"",
		"mtime": "2026-07-14T07:38:50.571Z",
		"size": 5344,
		"path": "../public/assets/upload.index-WSRoR97M.js"
	},
	"/assets/upload._division._aen.index-CmbIrSYo.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"2f62-3d4g6Gwc5/RUKU4FQpTZCxnXUTs\"",
		"mtime": "2026-07-14T07:38:50.571Z",
		"size": 12130,
		"path": "../public/assets/upload._division._aen.index-CmbIrSYo.js"
	},
	"/assets/upload._division._aen._uploadId-B_KC_LuA.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"1947-9palCs10pq6yZTXnDiN/Vlk4uhw\"",
		"mtime": "2026-07-14T07:38:50.571Z",
		"size": 6471,
		"path": "../public/assets/upload._division._aen._uploadId-B_KC_LuA.js"
	},
	"/assets/use-auth-BB974cwM.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"2b0-QE0Uz1ey/TRn89TeSXfKhekkXqI\"",
		"mtime": "2026-07-14T07:38:50.571Z",
		"size": 688,
		"path": "../public/assets/use-auth-BB974cwM.js"
	},
	"/assets/useQuery-Dt4yOFcF.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"225b-NvrymCo23NsUyS4ah4mMmXhIBbY\"",
		"mtime": "2026-07-14T07:38:50.571Z",
		"size": 8795,
		"path": "../public/assets/useQuery-Dt4yOFcF.js"
	},
	"/assets/upload._division.index-C2a9SGHb.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"d36-nNiSjksuFHoBbfoq1d700FvMFMk\"",
		"mtime": "2026-07-14T07:38:50.571Z",
		"size": 3382,
		"path": "../public/assets/upload._division.index-C2a9SGHb.js"
	},
	"/assets/useRouter-Cjk_0i46.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"97-gJK3oOHMBg6w7z3BqmB1RWGawXE\"",
		"mtime": "2026-07-14T07:38:50.573Z",
		"size": 151,
		"path": "../public/assets/useRouter-Cjk_0i46.js"
	},
	"/assets/useStore-Bf5KhkHY.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"4a98-6JFJDLeC4qDPg9NgDugvSfLckTc\"",
		"mtime": "2026-07-14T07:38:50.573Z",
		"size": 19096,
		"path": "../public/assets/useStore-Bf5KhkHY.js"
	},
	"/assets/utils-B6KiDbIe.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"6a7d-iNkBSvaSyIjvZOzWoTvEa49qwcI\"",
		"mtime": "2026-07-14T07:38:50.573Z",
		"size": 27261,
		"path": "../public/assets/utils-B6KiDbIe.js"
	},
	"/assets/x-DSHPaOOl.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"9a-9TrLs6zesrrKO5/Jp4+l+qQ540I\"",
		"mtime": "2026-07-14T07:38:50.573Z",
		"size": 154,
		"path": "../public/assets/x-DSHPaOOl.js"
	},
	"/assets/xlsx-DZIa3EYa.js": {
		"type": "text/javascript; charset=utf-8",
		"etag": "\"66e52-vY9TUwN9IBN9ZAN8ylNpo/wO1k4\"",
		"mtime": "2026-07-14T07:38:50.574Z",
		"size": 421458,
		"path": "../public/assets/xlsx-DZIa3EYa.js"
	}
};
//#endregion
//#region #nitro/virtual/public-assets
var publicAssetBases = {};
function isPublicAssetURL(id = "") {
	if (public_assets_data_default[id]) return true;
	for (const base in publicAssetBases) if (id.startsWith(base)) return true;
	return false;
}
//#endregion
//#region node_modules/nitro/dist/runtime/internal/route-rules.mjs
var headers = ((m) => function headersRouteRule(event) {
	for (const [key, value] of Object.entries(m.options || {})) event.res.headers.set(key, value);
});
//#endregion
//#region #nitro/virtual/routing
var findRouteRules = /* @__PURE__ */ (() => {
	const $0 = [{
		name: "headers",
		route: "/assets/**",
		handler: headers,
		options: { "cache-control": "public, max-age=31536000, immutable" }
	}];
	return (m, p) => {
		let r = [];
		if (p.charCodeAt(p.length - 1) === 47) p = p.slice(0, -1) || "/";
		let s = p.split("/");
		if (s.length > 1) {
			if (s[1] === "assets") r.unshift({
				data: $0,
				params: { "_": s.slice(2).join("/") }
			});
		}
		return r;
	};
})();
var _lazy_cFz1gx = defineLazyEventHandler(() => import("./_chunks/ssr-renderer.mjs"));
var findRoute = /* @__PURE__ */ (() => {
	const data = {
		route: "/**",
		handler: _lazy_cFz1gx
	};
	return ((_m, p) => {
		return {
			data,
			params: { "_": p.slice(1) }
		};
	});
})();
[].filter(Boolean);
//#endregion
//#region node_modules/nitro/dist/runtime/internal/error/prod.mjs
var errorHandler = (error, event) => {
	const res = defaultHandler(error, event);
	return new FastResponse(typeof res.body === "string" ? res.body : JSON.stringify(res.body, null, 2), res);
};
function defaultHandler(error, event) {
	const unhandled = error.unhandled ?? !HTTPError.isError(error);
	const { status = 500, statusText = "" } = unhandled ? {} : error;
	if (status === 404) {
		const url = event.url || new URL(event.req.url);
		const baseURL = "/";
		if (/^\/[^/]/.test(baseURL) && !url.pathname.startsWith(baseURL)) return {
			status: 302,
			headers: new Headers({ location: `${baseURL}${url.pathname.slice(1)}${url.search}` })
		};
	}
	const headers = new Headers(unhandled ? {} : error.headers);
	headers.set("content-type", "application/json; charset=utf-8");
	return {
		status,
		statusText,
		headers,
		body: {
			error: true,
			...unhandled ? {
				status,
				unhandled: true
			} : typeof error.toJSON === "function" ? error.toJSON() : {
				status,
				statusText,
				message: error.message
			}
		}
	};
}
//#endregion
//#region #nitro/virtual/error-handler
var errorHandlers = [errorHandler];
async function error_handler_default(error, event) {
	for (const handler of errorHandlers) try {
		const response = await handler(error, event, { defaultHandler });
		if (response) return response;
	} catch (error) {
		console.error(error);
	}
}
//#endregion
//#region #nitro/virtual/app
function createNitroApp() {
	const captureError = (error, errorCtx) => {
		if (errorCtx?.event) {
			const errors = errorCtx.event.req.context?.nitro?.errors;
			if (errors) errors.push({
				error,
				context: errorCtx
			});
		}
	};
	const h3App = createH3App({ onError(error, event) {
		return error_handler_default(error, event);
	} });
	let appHandler = (req) => {
		req.context ||= {};
		req.context.nitro = req.context.nitro || { errors: [] };
		return h3App.fetch(req);
	};
	return {
		fetch: appHandler,
		h3: h3App,
		hooks: void 0,
		captureError
	};
}
function createH3App(config) {
	const h3App = new H3Core(config);
	h3App["~findRoute"] = (event) => findRoute(event.req.method, event.url.pathname);
	h3App["~getMiddleware"] = (event, route) => {
		const pathname = event.url.pathname;
		const method = event.req.method;
		const middleware = [];
		const routeRules = getRouteRules(method, pathname);
		event.context.routeRules = routeRules?.routeRules;
		if (routeRules?.routeRuleMiddleware.length) middleware.push(...routeRules.routeRuleMiddleware);
		if (route?.data?.middleware?.length) middleware.push(...route.data.middleware);
		return middleware;
	};
	return h3App;
}
//#endregion
//#region node_modules/nitro/dist/runtime/internal/app.mjs
var APP_ID = "default";
function useNitroApp() {
	let instance = useNitroApp._instance;
	if (instance) return instance;
	instance = useNitroApp._instance = createNitroApp();
	globalThis.__nitro__ = globalThis.__nitro__ || {};
	globalThis.__nitro__[APP_ID] = instance;
	return instance;
}
function useNitroHooks() {
	const nitroApp = useNitroApp();
	const hooks = nitroApp.hooks;
	if (hooks) return hooks;
	return nitroApp.hooks = new HookableCore();
}
function getRouteRules(method, pathname) {
	const m = findRouteRules(method, pathname);
	if (!m?.length) return { routeRuleMiddleware: [] };
	const routeRules = {};
	for (const layer of m) for (const rule of layer.data) {
		const currentRule = routeRules[rule.name];
		if (currentRule) {
			if (rule.options === false) {
				delete routeRules[rule.name];
				continue;
			}
			if (typeof currentRule.options === "object" && typeof rule.options === "object") currentRule.options = {
				...currentRule.options,
				...rule.options
			};
			else currentRule.options = rule.options;
			currentRule.route = rule.route;
			currentRule.params = {
				...currentRule.params,
				...layer.params
			};
		} else if (rule.options !== false) routeRules[rule.name] = {
			...rule,
			params: layer.params
		};
	}
	const middleware = [];
	const orderedRules = Object.values(routeRules).sort((a, b) => (a.handler?.order || 0) - (b.handler?.order || 0));
	for (const rule of orderedRules) {
		if (rule.options === false || !rule.handler) continue;
		middleware.push(rule.handler(rule));
	}
	return {
		routeRules,
		routeRuleMiddleware: middleware
	};
}
//#endregion
//#region node_modules/nitro/dist/presets/cloudflare/runtime/_module-handler.mjs
function createHandler(hooks) {
	const nitroApp = useNitroApp();
	const nitroHooks = useNitroHooks();
	return {
		async fetch(request, env, context) {
			globalThis.__env__ = env;
			augmentReq(request, {
				env,
				context
			});
			const ctxExt = {};
			const url = new URL(request.url);
			if (hooks.fetch) {
				const res = await hooks.fetch(request, env, context, url, ctxExt);
				if (res) return res;
			}
			return await nitroApp.fetch(request);
		},
		scheduled(controller, env, context) {
			globalThis.__env__ = env;
			context.waitUntil(nitroHooks.callHook("cloudflare:scheduled", {
				controller,
				env,
				context
			}) || Promise.resolve());
		},
		email(message, env, context) {
			globalThis.__env__ = env;
			context.waitUntil(nitroHooks.callHook("cloudflare:email", {
				message,
				event: message,
				env,
				context
			}) || Promise.resolve());
		},
		queue(batch, env, context) {
			globalThis.__env__ = env;
			context.waitUntil(nitroHooks.callHook("cloudflare:queue", {
				batch,
				event: batch,
				env,
				context
			}) || Promise.resolve());
		},
		tail(traces, env, context) {
			globalThis.__env__ = env;
			context.waitUntil(nitroHooks.callHook("cloudflare:tail", {
				traces,
				env,
				context
			}) || Promise.resolve());
		},
		trace(traces, env, context) {
			globalThis.__env__ = env;
			context.waitUntil(nitroHooks.callHook("cloudflare:trace", {
				traces,
				env,
				context
			}) || Promise.resolve());
		}
	};
}
function augmentReq(cfReq, ctx) {
	const req = cfReq;
	req.ip = cfReq.headers.get("cf-connecting-ip") || void 0;
	req.runtime ??= { name: "cloudflare" };
	req.runtime.cloudflare = {
		...req.runtime.cloudflare,
		...ctx
	};
	req.waitUntil = ctx.context?.waitUntil.bind(ctx.context);
}
//#endregion
//#region node_modules/nitro/dist/presets/cloudflare/runtime/cloudflare-module.mjs
var cloudflare_module_default = createHandler({ fetch(cfRequest, env, context, url) {
	if (env.ASSETS && isPublicAssetURL(url.pathname)) return env.ASSETS.fetch(cfRequest);
} });
//#endregion
export { cloudflare_module_default as default };
