"use strict";

Liferay.Loader.define("frontend-js-components-web$dom-helpers@5.2.0/cjs/ownerWindow", ['module', 'exports', 'require', '@frontend-js-components-web$babel/runtime/helpers/interopRequireDefault', './ownerDocument'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    var _interopRequireDefault = require("@frontend-js-components-web$babel/runtime/helpers/interopRequireDefault");

    exports.__esModule = true;
    exports.default = ownerWindow;

    var _ownerDocument = _interopRequireDefault(require("./ownerDocument"));

    function ownerWindow(node) {
      var doc = (0, _ownerDocument.default)(node);
      return doc && doc.defaultView || window;
    }

    module.exports = exports["default"];
  }
});
//# sourceMappingURL=ownerWindow.js.map