const n = () => [...document.body.querySelectorAll("*")].reduce(
  (e, t) => Math.max(e, +window.getComputedStyle(t).zIndex || 0),
  0
), d = () => ({
  nextZIndex: () => n() + 1
});
export {
  d as useZIndex
};
