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