"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const variants = require("../../render/utils/variants.js");
function getCurrentTreeVariants(props, context) {
  if (variants.checkIfControllingVariants(props)) {
    var initial = props.initial, animate = props.animate;
    return {
      initial: initial === false || variants.isVariantLabel(initial) ? initial : void 0,
      animate: variants.isVariantLabel(animate) ? animate : void 0
    };
  }
  return props.inherit !== false ? context : {};
}
exports.getCurrentTreeVariants = getCurrentTreeVariants;
//# sourceMappingURL=utils.js.map
