const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/info-3K5VOQVL-BpmV08Mr.js","assets/chunk-XZSTWKYB-Bd3PyOw4.js","assets/chunk-CFjPhJqf.js","assets/isEmpty-G9JdwNQp.js","assets/isArrayLikeObject-BVwxJxhV.js","assets/_baseUniq-CemzNzjI.js","assets/_basePickBy-BUdpwOvl.js","assets/clone-JKau2nOA.js","assets/chunk-EGIJ26TM-yPGkos35.js","assets/packet-RMMSAZCW-vJjvvy0z.js","assets/chunk-C72U2L5F-Bgt5Q38-.js","assets/pie-UPGHQEXC-DbIA2cQD.js","assets/chunk-XIRO2GV7-xBEyrNzo.js","assets/architecture-PBZL5I3N-BJgtFChM.js","assets/chunk-R5LLSJPH-BHlwlurL.js","assets/gitGraph-HDMCJU4V-Tn2mO9zw.js","assets/chunk-7E7YKBS2-CEqvgxCd.js","assets/radar-KQ55EAFF-C-0f50Z_.js","assets/chunk-L3YUKLVL-7-QE7wWn.js","assets/treemap-KZPCXAKY-BS22b8dG.js","assets/chunk-OZEHJAEY-BdbdKt1v.js"])))=>i.map(i=>d[i]);
import{t as e}from"./preload-helper-rov5CBGT.js";import{f as t}from"./chunk-XZSTWKYB-Bd3PyOw4.js";var n={},r={info:t(async()=>{let{createInfoServices:t}=await e(async()=>{let{createInfoServices:e}=await import(`./info-3K5VOQVL-BpmV08Mr.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-RMMSAZCW-vJjvvy0z.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-UPGHQEXC-DbIA2cQD.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-PBZL5I3N-BJgtFChM.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-HDMCJU4V-Tn2mO9zw.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-KQ55EAFF-C-0f50Z_.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-KZPCXAKY-BS22b8dG.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=>`Lexer error on line ${e.line!==void 0&&!isNaN(e.line)?e.line:`?`}, column ${e.column!==void 0&&!isNaN(e.column)?e.column:`?`}: ${e.message}`).join(`
`),n=e.parserErrors.map(e=>`Parse error on line ${e.token.startLine!==void 0&&!isNaN(e.token.startLine)?e.token.startLine:`?`}, column ${e.token.startColumn!==void 0&&!isNaN(e.token.startColumn)?e.token.startColumn:`?`}: ${e.message}`).join(`
`);super(`Parsing failed: ${t} ${n}`),this.result=e}static{t(this,`MermaidParseError`)}};export{i as t};