const findRelevantOptions = (element, tagName) => {
    if (element.nodeType !== 1) {
        return undefined;
    }
    return (element.nodeName === tagName.toUpperCase())
        ? [element]
        : Array.from(element.querySelectorAll(tagName));
};

export { findRelevantOptions as f };

//# sourceMappingURL=mutation-oberserver-ac258d15.js.map