const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/info-VBDWY6EO-bzHpf4PZ.js","assets/chunk-TCCFYFTB-CIoxsSHn.js","assets/rolldown-runtime-BgcJHyDD.js","assets/isEmpty-BlNb3IHI.js","assets/isArrayLikeObject-BEnQnUJ1.js","assets/_baseUniq-f0A4lxj-.js","assets/_basePickBy-CBT-jXdX.js","assets/clone-Cw39eOcm.js","assets/chunk-FRFDVMJY-Bf9Vod_f.js","assets/packet-DYOGHKS2-DdD4QjMl.js","assets/chunk-SJTYNZTY-DNE58jQa.js","assets/pie-VRWISCQL-DXQ37_ci.js","assets/chunk-PL6DKKU2-BVPUl_nF.js","assets/architecture-7HQA4BMR-C0d6fMSl.js","assets/chunk-UMXZTB3W-WUWevUGC.js","assets/gitGraph-G5XIXVHT-BA3DRRhC.js","assets/chunk-4F5CHEZ2-C96QvsBF.js","assets/radar-ZZBFDIW7-xLD0hYUe.js","assets/chunk-TQ3KTPDO-CrB8L62g.js","assets/treemap-GDKQZRPO-CJHKWkso.js","assets/chunk-B2363JML-Dv5d6KNz.js"])))=>i.map(i=>d[i]);
import{K as r}from"./index-C4WYrXTy.js";import{f as e}from"./chunk-TCCFYFTB-CIoxsSHn.js";import"./chunk-UMXZTB3W-WUWevUGC.js";import"./chunk-4F5CHEZ2-C96QvsBF.js";import"./chunk-FRFDVMJY-Bf9Vod_f.js";import"./chunk-SJTYNZTY-DNE58jQa.js";import"./chunk-PL6DKKU2-BVPUl_nF.js";import"./chunk-TQ3KTPDO-CrB8L62g.js";import"./chunk-B2363JML-Dv5d6KNz.js";var a={},t={info:e(async()=>{const{createInfoServices:e}=await r(async()=>{const{createInfoServices:r}=await import("./info-VBDWY6EO-bzHpf4PZ.js");return{createInfoServices:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]));a.info=e().Info.parser.LangiumParser},"info"),packet:e(async()=>{const{createPacketServices:e}=await r(async()=>{const{createPacketServices:r}=await import("./packet-DYOGHKS2-DdD4QjMl.js");return{createPacketServices:r}},__vite__mapDeps([9,1,2,3,4,5,6,7,10]));a.packet=e().Packet.parser.LangiumParser},"packet"),pie:e(async()=>{const{createPieServices:e}=await r(async()=>{const{createPieServices:r}=await import("./pie-VRWISCQL-DXQ37_ci.js");return{createPieServices:r}},__vite__mapDeps([11,1,2,3,4,5,6,7,12]));a.pie=e().Pie.parser.LangiumParser},"pie"),architecture:e(async()=>{const{createArchitectureServices:e}=await r(async()=>{const{createArchitectureServices:r}=await import("./architecture-7HQA4BMR-C0d6fMSl.js");return{createArchitectureServices:r}},__vite__mapDeps([13,1,2,3,4,5,6,7,14]));a.architecture=e().Architecture.parser.LangiumParser},"architecture"),gitGraph:e(async()=>{const{createGitGraphServices:e}=await r(async()=>{const{createGitGraphServices:r}=await import("./gitGraph-G5XIXVHT-BA3DRRhC.js");return{createGitGraphServices:r}},__vite__mapDeps([15,1,2,3,4,5,6,7,16]));a.gitGraph=e().GitGraph.parser.LangiumParser},"gitGraph"),radar:e(async()=>{const{createRadarServices:e}=await r(async()=>{const{createRadarServices:r}=await import("./radar-ZZBFDIW7-xLD0hYUe.js");return{createRadarServices:r}},__vite__mapDeps([17,1,2,3,4,5,6,7,18]));a.radar=e().Radar.parser.LangiumParser},"radar"),treemap:e(async()=>{const{createTreemapServices:e}=await r(async()=>{const{createTreemapServices:r}=await import("./treemap-GDKQZRPO-CJHKWkso.js");return{createTreemapServices:r}},__vite__mapDeps([19,1,2,3,4,5,6,7,20]));a.treemap=e().Treemap.parser.LangiumParser},"treemap")};async function c(r,e){const c=t[r];if(!c)throw new Error(`Unknown diagram type: ${r}`);a[r]||await c();const i=a[r].parse(e);if(i.lexerErrors.length>0||i.parserErrors.length>0)throw new s(i);return i.value}e(c,"parse");var s=class extends Error{constructor(r){super(`Parsing failed: ${r.lexerErrors.map(r=>r.message).join("\n")} ${r.parserErrors.map(r=>r.message).join("\n")}`),this.result=r}static{e(this,"MermaidParseError")}};export{c as t};