import{s as f}from"./vendor-micromark-util-chunked-DrRIdSP-.js";const i={}.hasOwnProperty;function d(t){const e={};let n=-1;for(;++n<t.length;)l(e,t[n]);return e}function l(t,e){let n;for(n in e){const s=(i.call(t,n)?t[n]:void 0)||(t[n]={}),a=e[n];let o;if(a)for(o in a){i.call(s,o)||(s[o]=[]);const r=a[o];h(s[o],Array.isArray(r)?r:r?[r]:[])}}}function h(t,e){let n=-1;const c=[];for(;++n<e.length;)(e[n].add==="after"?t:c).push(e[n]);f(t,0,0,c)}export{d as c};
