import { isForcedMotionValue } from "./dist-es-motion-utils-is-forced-motion-value.js";
import { isMotionValue } from "./dist-es-value-utils-is-motion-value.js";
function scrapeMotionValuesFromProps(props, prevProps, visualElement) {
  var _a;
  const { style } = props;
  const newValues = {};
  for (const key in style) {
    if (isMotionValue(style[key]) || prevProps.style && isMotionValue(prevProps.style[key]) || isForcedMotionValue(key, props) || ((_a = visualElement === null || visualElement === void 0 ? void 0 : visualElement.getValue(key)) === null || _a === void 0 ? void 0 : _a.liveStyle) !== void 0) {
      newValues[key] = style[key];
    }
  }
  return newValues;
}
export {
  scrapeMotionValuesFromProps
};
//# sourceMappingURL=dist-es-render-html-utils-scrape-motion-values.js.map
