"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const defaults = require("./lib-icon-defaults.cjs");
const transformations = require("./lib-icon-transformations.cjs");
function mergeIconData(parent, child) {
  const result = transformations.mergeIconTransformations(parent, child);
  for (const key in defaults.defaultExtendedIconProps) if (key in defaults.defaultIconTransformations) {
    if (key in parent && !(key in result)) result[key] = defaults.defaultIconTransformations[key];
  } else if (key in child) result[key] = child[key];
  else if (key in parent) result[key] = parent[key];
  return result;
}
exports.mergeIconData = mergeIconData;
//# sourceMappingURL=lib-icon-merge.cjs.map
