import { isControllingVariants as r } from "../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.es.js";
import { isVariantLabel as e } from "../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.es.js";
function o(i, a) {
  if (r(i)) {
    const { initial: n, animate: t } = i;
    return {
      initial: n === !1 || e(n) ? n : void 0,
      animate: e(t) ? t : void 0
    };
  }
  return i.inherit !== !1 ? a : {};
}
export {
  o as getCurrentTreeVariants
};
//# sourceMappingURL=utils.es.js.map
