import { __exports as r } from "../../../../../../../../_virtual/not.js";
import { __require as n } from "../../compile/util.js";
var t;
function m() {
  if (t) return r;
  t = 1, Object.defineProperty(r, "__esModule", { value: !0 });
  const a = n(), s = {
    keyword: "not",
    schemaType: ["object", "boolean"],
    trackErrors: !0,
    code(e) {
      const { gen: i, schema: u, it: l } = e;
      if ((0, a.alwaysValidSchema)(l, u)) {
        e.fail();
        return;
      }
      const o = i.name("valid");
      e.subschema({
        keyword: "not",
        compositeRule: !0,
        createErrors: !1,
        allErrors: !1
      }, o), e.failResult(o, () => e.reset(), () => e.error());
    },
    error: { message: "must NOT be valid" }
  };
  return r.default = s, r;
}
export {
  m as __require
};
//# sourceMappingURL=not.js.map
