import{a as r,b as o,c as s,d as n,e as u,g as l,p as d,r as c,t as T}from"./chunk-4R4BOZG6.mjs";import{a}from"./chunk-AQ6EADP3.mjs";var V=class extends c{static{a(this,"TreeViewValueConverter")}static{r(this,"TreeViewValueConverter")}runCustomConverter(t,e,i){if(t.name==="INDENTATION")return e?.length||0;if(t.name==="STRING2")return e.substring(1,e.length-1)}},m=class extends T{static{a(this,"TreeViewTokenBuilder")}static{r(this,"TreeViewTokenBuilder")}constructor(){super(["treeView-beta"])}},v={parser:{TokenBuilder:r(()=>new m,"TokenBuilder"),ValueConverter:r(()=>new V,"ValueConverter")}};function w(t=u){let e=n(s(t),l),i=n(o({shared:e}),d,v);return e.ServiceRegistry.register(i),{shared:e,TreeView:i}}a(w,"createTreeViewServices");r(w,"createTreeViewServices");export{v as a,w as b};
