const n = (e) => (t) => {
  const r = t.target === t.currentTarget;
  t.key === " " && r && t.preventDefault(), (t.key === " " || t.key === "Enter") && e();
};
export {
  n as handleInteractiveKeyEvent
};
