import { useInitialized as u } from "./use-initialized.mjs";
const l = (e) => d(e.active, e.forceRender, e.destroyOnClose) ? e.children : null;
function d(e, n, r) {
  const t = u(e);
  return n || e ? !0 : t ? !r : !1;
}
export {
  l as ShouldRender,
  d as useShouldRender
};
