const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/info-VBDWY6EO-C88DPXJA.js","assets/chunk-TCCFYFTB-gUis-eQj.js","assets/rolldown-runtime-C5c2KzVm.js","assets/isEmpty-BMZjlEpW.js","assets/_createAssigner-CY_UBwBq.js","assets/_baseUniq-gTUuvs71.js","assets/_basePickBy-BuVphSgv.js","assets/clone-CvGsTWUN.js","assets/chunk-FRFDVMJY-3ucyvEIQ.js","assets/packet-DYOGHKS2-zgXGPzJ-.js","assets/chunk-SJTYNZTY-C5I03lvH.js","assets/pie-VRWISCQL-tLQqJoB_.js","assets/chunk-PL6DKKU2-CVUBcNKI.js","assets/architecture-7HQA4BMR-Di-ZJejv.js","assets/chunk-UMXZTB3W-xw7vhcng.js","assets/gitGraph-G5XIXVHT-B_Y-GrTS.js","assets/chunk-4F5CHEZ2-t9X9tDB0.js","assets/radar-ZZBFDIW7-5WGzHGur.js","assets/chunk-TQ3KTPDO-54KTzUtw.js","assets/treemap-GDKQZRPO-D_L19iMJ.js","assets/chunk-B2363JML-CSvrkFc_.js"])))=>i.map(i=>d[i]);
import{r as e}from"./lucide-C4oWPzu4.js";import{f as t}from"./chunk-TCCFYFTB-gUis-eQj.js";var n={},r={info:t(async()=>{let{createInfoServices:t}=await e(async()=>{let{createInfoServices:e}=await import(`./info-VBDWY6EO-C88DPXJA.js`);return{createInfoServices:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]));n.info=t().Info.parser.LangiumParser},`info`),packet:t(async()=>{let{createPacketServices:t}=await e(async()=>{let{createPacketServices:e}=await import(`./packet-DYOGHKS2-zgXGPzJ-.js`);return{createPacketServices:e}},__vite__mapDeps([9,1,2,3,4,5,6,7,10]));n.packet=t().Packet.parser.LangiumParser},`packet`),pie:t(async()=>{let{createPieServices:t}=await e(async()=>{let{createPieServices:e}=await import(`./pie-VRWISCQL-tLQqJoB_.js`);return{createPieServices:e}},__vite__mapDeps([11,1,2,3,4,5,6,7,12]));n.pie=t().Pie.parser.LangiumParser},`pie`),architecture:t(async()=>{let{createArchitectureServices:t}=await e(async()=>{let{createArchitectureServices:e}=await import(`./architecture-7HQA4BMR-Di-ZJejv.js`);return{createArchitectureServices:e}},__vite__mapDeps([13,1,2,3,4,5,6,7,14]));n.architecture=t().Architecture.parser.LangiumParser},`architecture`),gitGraph:t(async()=>{let{createGitGraphServices:t}=await e(async()=>{let{createGitGraphServices:e}=await import(`./gitGraph-G5XIXVHT-B_Y-GrTS.js`);return{createGitGraphServices:e}},__vite__mapDeps([15,1,2,3,4,5,6,7,16]));n.gitGraph=t().GitGraph.parser.LangiumParser},`gitGraph`),radar:t(async()=>{let{createRadarServices:t}=await e(async()=>{let{createRadarServices:e}=await import(`./radar-ZZBFDIW7-5WGzHGur.js`);return{createRadarServices:e}},__vite__mapDeps([17,1,2,3,4,5,6,7,18]));n.radar=t().Radar.parser.LangiumParser},`radar`),treemap:t(async()=>{let{createTreemapServices:t}=await e(async()=>{let{createTreemapServices:e}=await import(`./treemap-GDKQZRPO-D_L19iMJ.js`);return{createTreemapServices:e}},__vite__mapDeps([19,1,2,3,4,5,6,7,20]));n.treemap=t().Treemap.parser.LangiumParser},`treemap`)};async function i(e,t){let i=r[e];if(!i)throw Error(`Unknown diagram type: ${e}`);n[e]||await i();let o=n[e].parse(t);if(o.lexerErrors.length>0||o.parserErrors.length>0)throw new a(o);return o.value}t(i,`parse`);var a=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>e.message).join(`
`),n=e.parserErrors.map(e=>e.message).join(`
`);super(`Parsing failed: ${t} ${n}`),this.result=e}static{t(this,`MermaidParseError`)}};export{i as t};