import { __module as i } from "../../../../../../_virtual/ajv2.js";
import { __require as b } from "./core.js";
import { __require as j } from "./vocabularies/draft7.js";
import { __require as g } from "./vocabularies/discriminator/index.js";
import y from "./refs/json-schema-draft-07.json.js";
import { __require as q } from "./compile/validate/index.js";
import { __require as v } from "./compile/codegen/index.js";
import { __require as M } from "./runtime/validation_error.js";
import { __require as p } from "./compile/ref_error.js";
var d;
function K() {
  return d ? i.exports : (d = 1, function(u, e) {
    Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv = void 0;
    const f = b(), c = j(), m = g(), o = y, s = ["/properties"], t = "http://json-schema.org/draft-07/schema";
    class a extends f.default {
      _addVocabularies() {
        super._addVocabularies(), c.default.forEach((n) => this.addVocabulary(n)), this.opts.discriminator && this.addKeyword(m.default);
      }
      _addDefaultMetaSchema() {
        if (super._addDefaultMetaSchema(), !this.opts.meta)
          return;
        const n = this.opts.$data ? this.$dataMetaSchema(o, s) : o;
        this.addMetaSchema(n, t, !1), this.refs["http://json-schema.org/schema"] = t;
      }
      defaultMeta() {
        return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(t) ? t : void 0);
      }
    }
    e.Ajv = a, u.exports = e = a, u.exports.Ajv = a, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = a;
    var _ = q();
    Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
      return _.KeywordCxt;
    } });
    var r = v();
    Object.defineProperty(e, "_", { enumerable: !0, get: function() {
      return r._;
    } }), Object.defineProperty(e, "str", { enumerable: !0, get: function() {
      return r.str;
    } }), Object.defineProperty(e, "stringify", { enumerable: !0, get: function() {
      return r.stringify;
    } }), Object.defineProperty(e, "nil", { enumerable: !0, get: function() {
      return r.nil;
    } }), Object.defineProperty(e, "Name", { enumerable: !0, get: function() {
      return r.Name;
    } }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
      return r.CodeGen;
    } });
    var l = M();
    Object.defineProperty(e, "ValidationError", { enumerable: !0, get: function() {
      return l.default;
    } });
    var h = p();
    Object.defineProperty(e, "MissingRefError", { enumerable: !0, get: function() {
      return h.default;
    } });
  }(i, i.exports), i.exports);
}
export {
  K as __require
};
//# sourceMappingURL=ajv.js.map
