import{a as s,b as u,c as i,d as n,e as m,f as t,g as o,h as l,o as d,q as h}from"./chunk-45I6NZL6.js";var A=class extends h{static{t(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},C=class extends d{static{t(this,"ArchitectureValueConverter")}runCustomConverter(c,r,a){if(c.name==="ARCH_ICON")return r.replace(/[()]/g,"").trim();if(c.name==="ARCH_TEXT_ICON")return r.replace(/["()]/g,"");if(c.name==="ARCH_TITLE"){let e=r.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()}}},v={parser:{TokenBuilder:t(()=>new A,"TokenBuilder"),ValueConverter:t(()=>new C,"ValueConverter")}};function f(c=n){let r=i(u(c),o),a=i(s({shared:r}),l,v);return r.ServiceRegistry.register(a),{shared:r,Architecture:a}}t(f,"createArchitectureServices");export{v as a,f as b};
