import{Va as c,a as t,b as d,c as s,d as n,e as u,f as C,hb as l,jb as T,lb as S}from"./chunk-RKHDN2Z7.mjs";var o=class extends T{static{t(this,"TreeViewValueConverter")}runCustomConverter(e,r,V){if(e.name==="INDENTATION")return r?.length||0;if(e.name==="QUOTED_NAME")return r.substring(1,r.length-1);if(e.name==="BARE_NAME")return r.replace(/[\t ]+$/,"");if(e.name==="CLASS_ANNOTATION")return r.trim().substring(3).trim();if(e.name==="ICON_ANNOTATION"){let i=r.trim();return i.substring(5,i.length-1)}if(e.name==="DESC_ANNOTATION")return r.trim().substring(2).trim()}};var a=class extends S{static{t(this,"TreeViewTokenBuilder")}constructor(){super(["treeView-beta"])}};var f={parser:{TokenBuilder:t(()=>new a,"TokenBuilder"),ValueConverter:t(()=>new o,"ValueConverter")}};function O(m=u){let e=n(s(m),c),r=n(d({shared:e}),l,f);return e.ServiceRegistry.register(r),{shared:e,TreeView:r}}t(O,"createTreeViewServices");export{f as a,O as b};
