"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const Event = require("./Event.js");
const Platform = require("./Platform.js");
function n(r, i) {
  return (Event.getOriginal(r) || r).button === i;
}
function o(r) {
  return n(r, 0);
}
function e(r) {
  return n(r, 1);
}
function s(r) {
  var i = Event.getOriginal(r) || r;
  return o(r) ? Platform.isMac() ? i.metaKey : i.ctrlKey : false;
}
function c(r) {
  var i = Event.getOriginal(r) || r;
  return o(r) && i.shiftKey;
}
exports.isMac = Platform.isMac;
exports.hasPrimaryModifier = s;
exports.hasSecondaryModifier = c;
exports.isAuxiliaryButton = e;
exports.isButton = n;
exports.isPrimaryButton = o;
