import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{S as t,_ as n,b as r,g as i,h as a,m as o,n as s,r as c,s as l,t as u,x as d}from"./chunk-K5T4RW27-DBsaZQmV.js";function f(e=n){let i=r(t(e),l),a=r(d({shared:i}),c,h);return i.ServiceRegistry.register(a),{shared:i,Architecture:a}}var p,m,h,g=e((()=>{a(),i(),p=class extends u{static{o(this,`ArchitectureTokenBuilder`)}constructor(){super([`architecture`])}},m=class extends s{static{o(this,`ArchitectureValueConverter`)}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()}}},h={parser:{TokenBuilder:o(()=>new p,`TokenBuilder`),ValueConverter:o(()=>new m,`ValueConverter`)}},o(f,`createArchitectureServices`)}));export{f as n,g as r,h as t};
//# sourceMappingURL=chunk-7N4EOEYR-7en_DI4g.js.map