import{k as r,u as t}from"./p-a7fc1e02.js";import{_ as o}from"./p-d0993bb9.js";function s(){const s=o(),e=s.children.length?Array.from(s.children):[],[n,a]=r(e);let i;return t((()=>{i=new MutationObserver((()=>{const r=Array.from(s.children);a([...r])}))}),[]),t((()=>{if(i)return i.observe(s,{childList:!0}),()=>{i.disconnect()}}),[s]),n}export{s as u}