import{Va as m,Wa as l,a as r,b as s,c as d,d as u,e as n,f as A,jb as h,lb as p}from"./chunk-RKHDN2Z7.mjs";var c=class extends p{static{r(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}};var a=class extends h{static{r(this,"ArchitectureValueConverter")}runCustomConverter(t,i,S){if(t.name==="ARCH_ICON")return i.replace(/[()]/g,"").trim();if(t.name==="ARCH_TEXT_ICON")return i.replace(/["()]/g,"");if(t.name==="ARCH_TITLE"){let e=i.replace(/^\[|]$/g,"").trim();return(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1),e=e.replace(/\\"/g,'"').replace(/\\'/g,"'")),e.trim()}}};var C={parser:{TokenBuilder:r(()=>new c,"TokenBuilder"),ValueConverter:r(()=>new a,"ValueConverter")}};function N(o=n){let t=u(d(o),m),i=u(s({shared:t}),l,C);return t.ServiceRegistry.register(i),{shared:t,Architecture:i}}r(N,"createArchitectureServices");export{C as a,N as b};
