//#region src/gateway/hono/lib/extension-assets.ts
function extensionAssetMimeType(filePath) {
	return {
		html: "text/html; charset=utf-8",
		js: "application/javascript; charset=utf-8",
		mjs: "application/javascript; charset=utf-8",
		css: "text/css; charset=utf-8",
		json: "application/json; charset=utf-8",
		svg: "image/svg+xml",
		png: "image/png",
		jpg: "image/jpeg",
		jpeg: "image/jpeg",
		gif: "image/gif",
		webp: "image/webp",
		ico: "image/x-icon",
		woff: "font/woff",
		woff2: "font/woff2",
		ttf: "font/ttf",
		txt: "text/plain; charset=utf-8",
		map: "application/json; charset=utf-8"
	}[filePath.split(".").pop()?.toLowerCase() ?? ""] ?? "application/octet-stream";
}
//#endregion
export { extensionAssetMimeType };

//# sourceMappingURL=extension-assets.js.map