function groupKeysMap(keys) {
  const map = /* @__PURE__ */ new Map();
  keys.forEach((key, index) => {
    map.set(key, index);
  });
  return map;
}
function groupDisabledKeysMap(dataSource) {
  const map = /* @__PURE__ */ new Map();
  dataSource.forEach(({ disabled, key }, index) => {
    if (disabled)
      map.set(key, index);
  });
  return map;
}

export { groupDisabledKeysMap, groupKeysMap };
//# sourceMappingURL=transKeys.mjs.map
