import{isRule as o,isAtRule as n,isRoot as t}from"./typeGuards.mjs";function e(e,s){!function e(f){var d;if((o(d=f)||n(d)||t(d))&&f.nodes&&f.nodes.length){const o=[];for(const n of f.nodes)"decl"===n.type&&o.push(n),e(n);o.length&&s(o.forEach.bind(o))}}(e)}export{e as default};