var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var module_mapping_exports = {};
__export(module_mapping_exports, {
  DEFAULT_MODULE_MAPPINGS: () => DEFAULT_MODULE_MAPPINGS,
  getModuleMappings: () => getModuleMappings,
  resolveModuleName: () => resolveModuleName
});
module.exports = __toCommonJS(module_mapping_exports);
const DEFAULT_MODULE_MAPPINGS = {
  "@tachybase/utils/client": "@tachybase/utils",
  "@tachybase/module-pdf/client": "@tachybase/module-pdf",
  "@react-pdf/renderer": "@tachybase/module-pdf",
  // 兼容旧的 hera 模块
  "@hera/plugin-core": "@tachybase/module-hera"
};
function getModuleMappings() {
  return {
    ...DEFAULT_MODULE_MAPPINGS
  };
}
function resolveModuleName(moduleName, mappings) {
  return mappings[moduleName] || moduleName;
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  DEFAULT_MODULE_MAPPINGS,
  getModuleMappings,
  resolveModuleName
});
