/*!
 * KoliBri - The accessible HTML-Standard
 */
'use strict';

let openTooltips = 0;
const tooltipOpened = () => {
    openTooltips++;
};
const tooltipClosed = () => {
    openTooltips = Math.max(0, openTooltips - 1);
};
const handleCancelOverlay = (event) => {
    if (openTooltips > 0) {
        event.preventDefault();
    }
};
const isTooltipOpen = () => openTooltips > 0;

exports.handleCancelOverlay = handleCancelOverlay;
exports.isTooltipOpen = isTooltipOpen;
exports.tooltipClosed = tooltipClosed;
exports.tooltipOpened = tooltipOpened;
//# sourceMappingURL=tooltip-open-tracking-Ba0udJRU.js.map

//# sourceMappingURL=tooltip-open-tracking-Ba0udJRU.js.map