import*as n from"react";var r=function(n){return Array.isArray(n)?n[0]:n},e=function(n){if("function"==typeof n){for(var r=arguments.length,e=new Array(r>1?r-1:0),t=1;t<r;t++)e[t-1]=arguments[t];return n.apply(void 0,e)}},t=function(n,r){if("function"==typeof n)return e(n,r);null!=n&&(n.current=r)},o=function(n){return n.reduce((function(n,r){var e=r[0],t=r[1];return n[e]=t,n}),{})},u="undefined"!=typeof window&&window.document&&window.document.createElement?n.useLayoutEffect:n.useEffect;export{o as fromEntries,e as safeInvoke,t as setRef,r as unwrapArray,u as useIsomorphicLayoutEffect};
//# sourceMappingURL=utils.js.map
