"use client";
function c(i, e, r) {
  const n = [];
  let o = -1;
  for (; ++o < i.length; ) {
    const l = i[o].resolveAll;
    l && !n.includes(l) && (e = l(e, r), n.push(l));
  }
  return e;
}
export {
  c as resolveAll
};
