'use strict';

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;
}

exports.groupDisabledKeysMap = groupDisabledKeysMap;
exports.groupKeysMap = groupKeysMap;
//# sourceMappingURL=transKeys.cjs.map
