"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const constants = require("./constants.js");
const DOMutils = require("./utils/DOMutils.js");
const array = require("./utils/array.js");
const getActiveElement = require("./utils/getActiveElement.js");
var focusIsHidden = function() {
  var activeElement = document && getActiveElement.getActiveElement();
  if (!activeElement) {
    return false;
  }
  return array.toArray(document.querySelectorAll("[".concat(constants.FOCUS_ALLOW, "]"))).some(function(node) {
    return DOMutils.contains(node, activeElement);
  });
};
exports.focusIsHidden = focusIsHidden;
//# sourceMappingURL=focusIsHidden.js.map
