"use strict";const s=require("../../../../../../../_virtual/guards.js");require("./types.js");const p=require("../../../../../../../_virtual/types.js");s.__exports.__esModule=!0;s.__exports.isNode=o;s.__exports.isPseudoElement=l;s.__exports.isPseudoClass=m;s.__exports.isContainer=c;s.__exports.isNamespace=R;s.__exports.isUniversal=s.__exports.isTag=s.__exports.isString=s.__exports.isSelector=s.__exports.isRoot=s.__exports.isPseudo=s.__exports.isNesting=s.__exports.isIdentifier=s.__exports.isComment=s.__exports.isCombinator=s.__exports.isClassName=s.__exports.isAttribute=void 0;var e=p.__exports,r,x=(r={},r[e.ATTRIBUTE]=!0,r[e.CLASS]=!0,r[e.COMBINATOR]=!0,r[e.COMMENT]=!0,r[e.ID]=!0,r[e.NESTING]=!0,r[e.PSEUDO]=!0,r[e.ROOT]=!0,r[e.SELECTOR]=!0,r[e.STRING]=!0,r[e.TAG]=!0,r[e.UNIVERSAL]=!0,r);function o(t){return typeof t=="object"&&x[t.type]}function i(t,u){return o(u)&&u.type===t}var n=i.bind(null,e.ATTRIBUTE);s.__exports.isAttribute=n;var v=i.bind(null,e.CLASS);s.__exports.isClassName=v;var T=i.bind(null,e.COMBINATOR);s.__exports.isCombinator=T;var C=i.bind(null,e.COMMENT);s.__exports.isComment=C;var N=i.bind(null,e.ID);s.__exports.isIdentifier=N;var S=i.bind(null,e.NESTING);s.__exports.isNesting=S;var _=i.bind(null,e.PSEUDO);s.__exports.isPseudo=_;var b=i.bind(null,e.ROOT);s.__exports.isRoot=b;var d=i.bind(null,e.SELECTOR);s.__exports.isSelector=d;var E=i.bind(null,e.STRING);s.__exports.isString=E;var a=i.bind(null,e.TAG);s.__exports.isTag=a;var I=i.bind(null,e.UNIVERSAL);s.__exports.isUniversal=I;function l(t){return _(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function m(t){return _(t)&&!l(t)}function c(t){return!!(o(t)&&t.walk)}function R(t){return n(t)||a(t)}module.exports=s.__exports;
//# sourceMappingURL=guards.js.map
