import{I as m,J as l,S as h,U as p,a as r,b as s,c as d,d as u,e as n,f as A}from"./chunk-3AB64ZUG.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};
