var t,e=[],queueMicroTask=function(n){if(!t){var r=0,c=document.createTextNode("");new MutationObserver((function(){return e.splice(0).forEach((function(t){return t()}))})).observe(c,{characterData:!0}),t=function(){c.textContent="".concat(r?r--:r++)}}e.push(n),t()};export{queueMicroTask};