import{r as e}from"./index-8ee6c85d.js";function o(t,n){typeof t=="function"?t(n):t&&(t.current=n)}function i(...t){return e.useMemo(()=>t.every(n=>n==null)?null:n=>{t.forEach(r=>{o(r,n)})},t)}export{o as s,i as u};
