import d from "./measureColumnWidth.js";
function h(r, a) {
  try {
    const e = {};
    return r.forEach((t) => {
      const n = String(t.columnDef.header), c = a.map((i) => String(i.getValue(t.id) ?? "")), o = d(n, c);
      e[t.id] = o;
    }), e;
  } catch {
    return {};
  }
}
export {
  h as default
};
//# sourceMappingURL=calculateColumnMaxWidth.js.map
