{“ast”:null,“code”:“'use strict';nnObject.defineProperty(exports, "__esModule", {n value: truen});nexports.tagName = tagName;nexports.attr = attr;nexports.className = className;n/**n * Validate the syntax of a tagName to make sure that it has a valid syntax for the query engine.n * Many libraries use invalid property and tag names, such as Facebook that use FB: prefixed tags.n * These make the query engines fail and must be filtered out.n * @param {string} tagName. The element's tag namen */nnfunction tagName(tagName) {n if (typeof tagName === 'string' && tagName.match(/^+$/gi) !== null) {n return tagName;n }nn return false;n}n/**n * Validate the syntax of an attribute to make sure that it has a valid syntax for the query engine.n * @param {string} attribute. The element's attribute's valuen */nnnfunction attr(attribute) {n if (typeof attribute === 'string' && attribute.match(/^[a-zA-Z_\-:0-9.]*$/gi) !== null) {n return attribute;n }nn return false;n}n/**n * Validate the syntax of an attribute to make sure that it has a valid syntax for the query engine.n * @param {string} attribute. The element's attribute's valuen */nnnfunction className(className) {n if (typeof className === 'string' && className.match(/^\.?*$/gi) !== null) {n return className;n }nn return false;n}”,“map”:null,“metadata”:{},“sourceType”:“module”}