import { getOriginal as o$1 } from "./Event.mjs";
import { isMac as t } from "./Platform.mjs";
function n(r, i) {
  return (o$1(r) || r).button === i;
}
function o(r) {
  return n(r, 0);
}
function e(r) {
  return n(r, 1);
}
function s(r) {
  var i = o$1(r) || r;
  return o(r) ? t() ? i.metaKey : i.ctrlKey : false;
}
function c(r) {
  var i = o$1(r) || r;
  return o(r) && i.shiftKey;
}
export {
  s as hasPrimaryModifier,
  c as hasSecondaryModifier,
  e as isAuxiliaryButton,
  n as isButton,
  t as isMac,
  o as isPrimaryButton
};
