(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ActivatorBase = (function () { function ActivatorBase() { } return ActivatorBase; }()); exports.ActivatorBase = ActivatorBase; function isActivatedDisabled(ev, activatableEle) { if (!activatableEle || !activatableEle.parentNode) { return true; } if (!ev) { return false; } if (ev.defaultPrevented) { return true; } var targetEle = ev.target; for (var i = 0; i < 4; i++) { if (!targetEle) { break; } if (targetEle.hasAttribute('disable-activated')) { return true; } targetEle = targetEle.parentElement; } return false; } exports.isActivatedDisabled = isActivatedDisabled; }); //# sourceMappingURL=activator-base.js.map