import { j as n } from "./jsx-runtime-B6kdoens.js";
import { y as o } from "./aggregator-BpQMir30.js";
import { g as c, h as j, i as p } from "./Toggle-3WohopP9.js";
const L = ({
  children: u,
  data: r,
  emptyContent: t,
  omit: s
}) => {
  const f = c(
    () => s != null ? r == null ? void 0 : r.filter((e) => !s.includes(e.key)) : r,
    ([e, m], [i, x]) => {
      let l = !1;
      return e != null && i != null ? l = o.unorderedPrimitiveArrays(e, i) === o.EQUAL : l = e == i, m === x && l;
    },
    [s, r]
  );
  return /* @__PURE__ */ n.jsx(j, { children: /* @__PURE__ */ n.jsx(p, { data: f, emptyContent: t, children: u }) });
};
export {
  L
};
