import{a,F as p,ad as y}from"./framework.3f630664.js";function i(f,t=!0,n=[]){return f.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&n.push(a(String(r)));return}if(Array.isArray(r)){i(r,t,n);return}if(r.type===p){if(r.children===null)return;Array.isArray(r.children)&&i(r.children,t,n)}else r.type!==y&&n.push(r)}}),n}export{i as f};
