import{R as r}from"./codemirror-core-vkcnXJgD.js";function c(t){return null}c.getCollectionNode=function*(e,i){let{childItems:d,title:u,children:h}=e,a=e.title||e.children,n=e.textValue||(typeof a=="string"?a:"")||e["aria-label"]||"";!n&&!(i!=null&&i.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:a,textValue:n,"aria-label":e["aria-label"],hasChildNodes:s(e),*childNodes(){if(d)for(let l of d)yield{type:"item",value:l};else if(u){let l=[];r.Children.forEach(h,f=>{l.push({type:"item",element:f})}),yield*l}}}};function s(t){return t.hasChildItems!=null?t.hasChildItems:!!(t.childItems||t.title&&r.Children.count(t.children)>0)}let m=c;export{m as $};
