import { checkIfControllingVariants as a, isVariantLabel as r } from "../../render/utils/variants.es.js";
function u(e, t) {
  if (a(e)) {
    var n = e.initial, i = e.animate;
    return {
      initial: n === !1 || r(n) ? n : void 0,
      animate: r(i) ? i : void 0
    };
  }
  return e.inherit !== !1 ? t : {};
}
export {
  u as getCurrentTreeVariants
};
//# sourceMappingURL=utils.es.js.map
