var n = function(e) {
  return {
    isEnabled: function(o) {
      return e.some(function(t) {
        return !!o[t];
      });
    }
  };
}, i = {
  measureLayout: n(["layout", "layoutId", "drag"]),
  animation: n([
    "animate",
    "exit",
    "variants",
    "whileHover",
    "whileTap",
    "whileFocus",
    "whileDrag",
    "whileInView"
  ]),
  exit: n(["exit"]),
  drag: n(["drag", "dragControls"]),
  focus: n(["whileFocus"]),
  hover: n(["whileHover", "onHoverStart", "onHoverEnd"]),
  tap: n(["whileTap", "onTap", "onTapStart", "onTapCancel"]),
  pan: n([
    "onPan",
    "onPanStart",
    "onPanSessionStart",
    "onPanEnd"
  ]),
  inView: n([
    "whileInView",
    "onViewportEnter",
    "onViewportLeave"
  ])
};
function a(e) {
  for (var o in e)
    e[o] !== null && (o === "projectionNodeConstructor" ? i.projectionNodeConstructor = e[o] : i[o].Component = e[o]);
}
export {
  i as featureDefinitions,
  a as loadFeatures
};
//# sourceMappingURL=definitions.es.js.map
