about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/third-party/api/index.js14129
-rw-r--r--src/third-party/api/index.js.map8
-rw-r--r--src/third-party/api/src/client/index.d.ts32
-rw-r--r--src/third-party/api/src/client/lexicons.d.ts63
-rw-r--r--src/third-party/api/src/client/types/app/bsky/actor/createScene.d.ts19
-rw-r--r--src/third-party/api/src/client/types/app/bsky/actor/getProfile.d.ts24
-rw-r--r--src/third-party/api/src/client/types/app/bsky/actor/getSuggestions.d.ts38
-rw-r--r--src/third-party/api/src/client/types/app/bsky/actor/ref.d.ts13
-rw-r--r--src/third-party/api/src/client/types/app/bsky/actor/search.d.ts30
-rw-r--r--src/third-party/api/src/client/types/app/bsky/actor/searchTypeahead.d.ts26
-rw-r--r--src/third-party/api/src/client/types/app/bsky/actor/updateProfile.d.ts12
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/debug.d.ts57
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/embed.d.ts36
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/getAuthorFeed.d.ts67
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/getPostThread.d.ts83
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/getRepostedBy.d.ts30
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/getTimeline.d.ts68
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/getVotes.d.ts32
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/mediaEmbed.d.ts19
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/post.d.ts17
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/repost.d.ts8
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/setVote.d.ts19
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/trend.d.ts8
-rw-r--r--src/third-party/api/src/client/types/app/bsky/feed/vote.d.ts8
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/assertCreator.d.ts1
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/assertMember.d.ts1
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/assertion.d.ts7
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/confirmation.d.ts14
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/follow.d.ts7
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts53
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/getFollowers.d.ts44
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/getFollows.d.ts38
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/getMembers.d.ts38
-rw-r--r--src/third-party/api/src/client/types/app/bsky/graph/getMemberships.d.ts38
-rw-r--r--src/third-party/api/src/client/types/app/bsky/notification/getCount.d.ts7
-rw-r--r--src/third-party/api/src/client/types/app/bsky/notification/list.d.ts36
-rw-r--r--src/third-party/api/src/client/types/app/bsky/notification/updateSeen.d.ts11
-rw-r--r--src/third-party/api/src/client/types/app/bsky/system/actorScene.d.ts1
-rw-r--r--src/third-party/api/src/client/types/app/bsky/system/actorUser.d.ts1
-rw-r--r--src/third-party/api/src/client/types/app/bsky/system/declRef.d.ts5
-rw-r--r--src/third-party/api/src/client/types/app/bsky/system/declaration.d.ts4
-rw-r--r--src/third-party/api/src/client/types/com/atproto/account/create.d.ts12
-rw-r--r--src/third-party/api/src/client/types/com/atproto/account/createInviteCode.d.ts12
-rw-r--r--src/third-party/api/src/client/types/com/atproto/account/delete.d.ts9
-rw-r--r--src/third-party/api/src/client/types/com/atproto/account/get.d.ts6
-rw-r--r--src/third-party/api/src/client/types/com/atproto/account/requestPasswordReset.d.ts10
-rw-r--r--src/third-party/api/src/client/types/com/atproto/account/resetPassword.d.ts12
-rw-r--r--src/third-party/api/src/client/types/com/atproto/handle/resolve.d.ts7
-rw-r--r--src/third-party/api/src/client/types/com/atproto/repo/batchWrite.d.ts49
-rw-r--r--src/third-party/api/src/client/types/com/atproto/repo/createRecord.d.ts12
-rw-r--r--src/third-party/api/src/client/types/com/atproto/repo/deleteRecord.d.ts11
-rw-r--r--src/third-party/api/src/client/types/com/atproto/repo/describe.d.ts7
-rw-r--r--src/third-party/api/src/client/types/com/atproto/repo/getRecord.d.ts7
-rw-r--r--src/third-party/api/src/client/types/com/atproto/repo/listRecords.d.ts19
-rw-r--r--src/third-party/api/src/client/types/com/atproto/repo/putRecord.d.ts12
-rw-r--r--src/third-party/api/src/client/types/com/atproto/repo/strongRef.d.ts5
-rw-r--r--src/third-party/api/src/client/types/com/atproto/server/getAccountsConfig.d.ts13
-rw-r--r--src/third-party/api/src/client/types/com/atproto/session/create.d.ts12
-rw-r--r--src/third-party/api/src/client/types/com/atproto/session/delete.d.ts6
-rw-r--r--src/third-party/api/src/client/types/com/atproto/session/get.d.ts7
-rw-r--r--src/third-party/api/src/client/types/com/atproto/session/refresh.d.ts9
-rw-r--r--src/third-party/api/src/client/types/com/atproto/sync/getRepo.d.ts2
-rw-r--r--src/third-party/api/src/client/types/com/atproto/sync/getRoot.d.ts7
-rw-r--r--src/third-party/api/src/client/types/com/atproto/sync/updateRepo.d.ts2
-rw-r--r--src/third-party/api/tsconfig.build.tsbuildinfo2
65 files changed, 3804 insertions, 11598 deletions
diff --git a/src/third-party/api/index.js b/src/third-party/api/index.js
index d85fac37d..7475a9f84 100644
--- a/src/third-party/api/index.js
+++ b/src/third-party/api/index.js
@@ -5,9 +5,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
 var __getOwnPropNames = Object.getOwnPropertyNames;
 var __getProtoOf = Object.getPrototypeOf;
 var __hasOwnProp = Object.prototype.hasOwnProperty;
-var __commonJS = (cb, mod2) => function __require() {
-  return mod2 || (0, cb[__getOwnPropNames(cb)[0]])((mod2 = { exports: {} }).exports, mod2), mod2.exports;
-};
 var __export = (target, all) => {
   for (var name in all)
     __defProp(target, name, { get: all[name], enumerable: true });
@@ -26,6912 +23,6 @@ var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__
 ));
 var __toCommonJS = (mod2) => __copyProps(__defProp({}, "__esModule", { value: true }), mod2);
 
-// ../../node_modules/ajv/dist/compile/codegen/code.js
-var require_code = __commonJS({
-  "../../node_modules/ajv/dist/compile/codegen/code.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
-    var _CodeOrName = class {
-    };
-    exports._CodeOrName = _CodeOrName;
-    exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
-    var Name = class extends _CodeOrName {
-      constructor(s) {
-        super();
-        if (!exports.IDENTIFIER.test(s))
-          throw new Error("CodeGen: name must be a valid identifier");
-        this.str = s;
-      }
-      toString() {
-        return this.str;
-      }
-      emptyStr() {
-        return false;
-      }
-      get names() {
-        return { [this.str]: 1 };
-      }
-    };
-    exports.Name = Name;
-    var _Code = class extends _CodeOrName {
-      constructor(code) {
-        super();
-        this._items = typeof code === "string" ? [code] : code;
-      }
-      toString() {
-        return this.str;
-      }
-      emptyStr() {
-        if (this._items.length > 1)
-          return false;
-        const item = this._items[0];
-        return item === "" || item === '""';
-      }
-      get str() {
-        var _a;
-        return (_a = this._str) !== null && _a !== void 0 ? _a : this._str = this._items.reduce((s, c) => `${s}${c}`, "");
-      }
-      get names() {
-        var _a;
-        return (_a = this._names) !== null && _a !== void 0 ? _a : this._names = this._items.reduce((names, c) => {
-          if (c instanceof Name)
-            names[c.str] = (names[c.str] || 0) + 1;
-          return names;
-        }, {});
-      }
-    };
-    exports._Code = _Code;
-    exports.nil = new _Code("");
-    function _(strs, ...args) {
-      const code = [strs[0]];
-      let i = 0;
-      while (i < args.length) {
-        addCodeArg(code, args[i]);
-        code.push(strs[++i]);
-      }
-      return new _Code(code);
-    }
-    exports._ = _;
-    var plus = new _Code("+");
-    function str(strs, ...args) {
-      const expr = [safeStringify(strs[0])];
-      let i = 0;
-      while (i < args.length) {
-        expr.push(plus);
-        addCodeArg(expr, args[i]);
-        expr.push(plus, safeStringify(strs[++i]));
-      }
-      optimize(expr);
-      return new _Code(expr);
-    }
-    exports.str = str;
-    function addCodeArg(code, arg) {
-      if (arg instanceof _Code)
-        code.push(...arg._items);
-      else if (arg instanceof Name)
-        code.push(arg);
-      else
-        code.push(interpolate(arg));
-    }
-    exports.addCodeArg = addCodeArg;
-    function optimize(expr) {
-      let i = 1;
-      while (i < expr.length - 1) {
-        if (expr[i] === plus) {
-          const res = mergeExprItems(expr[i - 1], expr[i + 1]);
-          if (res !== void 0) {
-            expr.splice(i - 1, 3, res);
-            continue;
-          }
-          expr[i++] = "+";
-        }
-        i++;
-      }
-    }
-    function mergeExprItems(a, b) {
-      if (b === '""')
-        return a;
-      if (a === '""')
-        return b;
-      if (typeof a == "string") {
-        if (b instanceof Name || a[a.length - 1] !== '"')
-          return;
-        if (typeof b != "string")
-          return `${a.slice(0, -1)}${b}"`;
-        if (b[0] === '"')
-          return a.slice(0, -1) + b.slice(1);
-        return;
-      }
-      if (typeof b == "string" && b[0] === '"' && !(a instanceof Name))
-        return `"${a}${b.slice(1)}`;
-      return;
-    }
-    function strConcat(c1, c2) {
-      return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str`${c1}${c2}`;
-    }
-    exports.strConcat = strConcat;
-    function interpolate(x) {
-      return typeof x == "number" || typeof x == "boolean" || x === null ? x : safeStringify(Array.isArray(x) ? x.join(",") : x);
-    }
-    function stringify(x) {
-      return new _Code(safeStringify(x));
-    }
-    exports.stringify = stringify;
-    function safeStringify(x) {
-      return JSON.stringify(x).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
-    }
-    exports.safeStringify = safeStringify;
-    function getProperty(key) {
-      return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`;
-    }
-    exports.getProperty = getProperty;
-    function getEsmExportName(key) {
-      if (typeof key == "string" && exports.IDENTIFIER.test(key)) {
-        return new _Code(`${key}`);
-      }
-      throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);
-    }
-    exports.getEsmExportName = getEsmExportName;
-    function regexpCode(rx) {
-      return new _Code(rx.toString());
-    }
-    exports.regexpCode = regexpCode;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/codegen/scope.js
-var require_scope = __commonJS({
-  "../../node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
-    var code_1 = require_code();
-    var ValueError = class extends Error {
-      constructor(name) {
-        super(`CodeGen: "code" for ${name} not defined`);
-        this.value = name.value;
-      }
-    };
-    var UsedValueState;
-    (function(UsedValueState2) {
-      UsedValueState2[UsedValueState2["Started"] = 0] = "Started";
-      UsedValueState2[UsedValueState2["Completed"] = 1] = "Completed";
-    })(UsedValueState = exports.UsedValueState || (exports.UsedValueState = {}));
-    exports.varKinds = {
-      const: new code_1.Name("const"),
-      let: new code_1.Name("let"),
-      var: new code_1.Name("var")
-    };
-    var Scope = class {
-      constructor({ prefixes, parent } = {}) {
-        this._names = {};
-        this._prefixes = prefixes;
-        this._parent = parent;
-      }
-      toName(nameOrPrefix) {
-        return nameOrPrefix instanceof code_1.Name ? nameOrPrefix : this.name(nameOrPrefix);
-      }
-      name(prefix) {
-        return new code_1.Name(this._newName(prefix));
-      }
-      _newName(prefix) {
-        const ng = this._names[prefix] || this._nameGroup(prefix);
-        return `${prefix}${ng.index++}`;
-      }
-      _nameGroup(prefix) {
-        var _a, _b;
-        if (((_b = (_a = this._parent) === null || _a === void 0 ? void 0 : _a._prefixes) === null || _b === void 0 ? void 0 : _b.has(prefix)) || this._prefixes && !this._prefixes.has(prefix)) {
-          throw new Error(`CodeGen: prefix "${prefix}" is not allowed in this scope`);
-        }
-        return this._names[prefix] = { prefix, index: 0 };
-      }
-    };
-    exports.Scope = Scope;
-    var ValueScopeName = class extends code_1.Name {
-      constructor(prefix, nameStr) {
-        super(nameStr);
-        this.prefix = prefix;
-      }
-      setValue(value, { property, itemIndex }) {
-        this.value = value;
-        this.scopePath = (0, code_1._)`.${new code_1.Name(property)}[${itemIndex}]`;
-      }
-    };
-    exports.ValueScopeName = ValueScopeName;
-    var line = (0, code_1._)`\n`;
-    var ValueScope = class extends Scope {
-      constructor(opts) {
-        super(opts);
-        this._values = {};
-        this._scope = opts.scope;
-        this.opts = { ...opts, _n: opts.lines ? line : code_1.nil };
-      }
-      get() {
-        return this._scope;
-      }
-      name(prefix) {
-        return new ValueScopeName(prefix, this._newName(prefix));
-      }
-      value(nameOrPrefix, value) {
-        var _a;
-        if (value.ref === void 0)
-          throw new Error("CodeGen: ref must be passed in value");
-        const name = this.toName(nameOrPrefix);
-        const { prefix } = name;
-        const valueKey = (_a = value.key) !== null && _a !== void 0 ? _a : value.ref;
-        let vs = this._values[prefix];
-        if (vs) {
-          const _name = vs.get(valueKey);
-          if (_name)
-            return _name;
-        } else {
-          vs = this._values[prefix] = /* @__PURE__ */ new Map();
-        }
-        vs.set(valueKey, name);
-        const s = this._scope[prefix] || (this._scope[prefix] = []);
-        const itemIndex = s.length;
-        s[itemIndex] = value.ref;
-        name.setValue(value, { property: prefix, itemIndex });
-        return name;
-      }
-      getValue(prefix, keyOrRef) {
-        const vs = this._values[prefix];
-        if (!vs)
-          return;
-        return vs.get(keyOrRef);
-      }
-      scopeRefs(scopeName, values = this._values) {
-        return this._reduceValues(values, (name) => {
-          if (name.scopePath === void 0)
-            throw new Error(`CodeGen: name "${name}" has no value`);
-          return (0, code_1._)`${scopeName}${name.scopePath}`;
-        });
-      }
-      scopeCode(values = this._values, usedValues, getCode) {
-        return this._reduceValues(values, (name) => {
-          if (name.value === void 0)
-            throw new Error(`CodeGen: name "${name}" has no value`);
-          return name.value.code;
-        }, usedValues, getCode);
-      }
-      _reduceValues(values, valueCode, usedValues = {}, getCode) {
-        let code = code_1.nil;
-        for (const prefix in values) {
-          const vs = values[prefix];
-          if (!vs)
-            continue;
-          const nameSet = usedValues[prefix] = usedValues[prefix] || /* @__PURE__ */ new Map();
-          vs.forEach((name) => {
-            if (nameSet.has(name))
-              return;
-            nameSet.set(name, UsedValueState.Started);
-            let c = valueCode(name);
-            if (c) {
-              const def = this.opts.es5 ? exports.varKinds.var : exports.varKinds.const;
-              code = (0, code_1._)`${code}${def} ${name} = ${c};${this.opts._n}`;
-            } else if (c = getCode === null || getCode === void 0 ? void 0 : getCode(name)) {
-              code = (0, code_1._)`${code}${c}${this.opts._n}`;
-            } else {
-              throw new ValueError(name);
-            }
-            nameSet.set(name, UsedValueState.Completed);
-          });
-        }
-        return code;
-      }
-    };
-    exports.ValueScope = ValueScope;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/codegen/index.js
-var require_codegen = __commonJS({
-  "../../node_modules/ajv/dist/compile/codegen/index.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
-    var code_1 = require_code();
-    var scope_1 = require_scope();
-    var code_2 = require_code();
-    Object.defineProperty(exports, "_", { enumerable: true, get: function() {
-      return code_2._;
-    } });
-    Object.defineProperty(exports, "str", { enumerable: true, get: function() {
-      return code_2.str;
-    } });
-    Object.defineProperty(exports, "strConcat", { enumerable: true, get: function() {
-      return code_2.strConcat;
-    } });
-    Object.defineProperty(exports, "nil", { enumerable: true, get: function() {
-      return code_2.nil;
-    } });
-    Object.defineProperty(exports, "getProperty", { enumerable: true, get: function() {
-      return code_2.getProperty;
-    } });
-    Object.defineProperty(exports, "stringify", { enumerable: true, get: function() {
-      return code_2.stringify;
-    } });
-    Object.defineProperty(exports, "regexpCode", { enumerable: true, get: function() {
-      return code_2.regexpCode;
-    } });
-    Object.defineProperty(exports, "Name", { enumerable: true, get: function() {
-      return code_2.Name;
-    } });
-    var scope_2 = require_scope();
-    Object.defineProperty(exports, "Scope", { enumerable: true, get: function() {
-      return scope_2.Scope;
-    } });
-    Object.defineProperty(exports, "ValueScope", { enumerable: true, get: function() {
-      return scope_2.ValueScope;
-    } });
-    Object.defineProperty(exports, "ValueScopeName", { enumerable: true, get: function() {
-      return scope_2.ValueScopeName;
-    } });
-    Object.defineProperty(exports, "varKinds", { enumerable: true, get: function() {
-      return scope_2.varKinds;
-    } });
-    exports.operators = {
-      GT: new code_1._Code(">"),
-      GTE: new code_1._Code(">="),
-      LT: new code_1._Code("<"),
-      LTE: new code_1._Code("<="),
-      EQ: new code_1._Code("==="),
-      NEQ: new code_1._Code("!=="),
-      NOT: new code_1._Code("!"),
-      OR: new code_1._Code("||"),
-      AND: new code_1._Code("&&"),
-      ADD: new code_1._Code("+")
-    };
-    var Node = class {
-      optimizeNodes() {
-        return this;
-      }
-      optimizeNames(_names, _constants) {
-        return this;
-      }
-    };
-    var Def = class extends Node {
-      constructor(varKind, name, rhs) {
-        super();
-        this.varKind = varKind;
-        this.name = name;
-        this.rhs = rhs;
-      }
-      render({ es5, _n }) {
-        const varKind = es5 ? scope_1.varKinds.var : this.varKind;
-        const rhs = this.rhs === void 0 ? "" : ` = ${this.rhs}`;
-        return `${varKind} ${this.name}${rhs};` + _n;
-      }
-      optimizeNames(names, constants) {
-        if (!names[this.name.str])
-          return;
-        if (this.rhs)
-          this.rhs = optimizeExpr(this.rhs, names, constants);
-        return this;
-      }
-      get names() {
-        return this.rhs instanceof code_1._CodeOrName ? this.rhs.names : {};
-      }
-    };
-    var Assign = class extends Node {
-      constructor(lhs, rhs, sideEffects) {
-        super();
-        this.lhs = lhs;
-        this.rhs = rhs;
-        this.sideEffects = sideEffects;
-      }
-      render({ _n }) {
-        return `${this.lhs} = ${this.rhs};` + _n;
-      }
-      optimizeNames(names, constants) {
-        if (this.lhs instanceof code_1.Name && !names[this.lhs.str] && !this.sideEffects)
-          return;
-        this.rhs = optimizeExpr(this.rhs, names, constants);
-        return this;
-      }
-      get names() {
-        const names = this.lhs instanceof code_1.Name ? {} : { ...this.lhs.names };
-        return addExprNames(names, this.rhs);
-      }
-    };
-    var AssignOp = class extends Assign {
-      constructor(lhs, op, rhs, sideEffects) {
-        super(lhs, rhs, sideEffects);
-        this.op = op;
-      }
-      render({ _n }) {
-        return `${this.lhs} ${this.op}= ${this.rhs};` + _n;
-      }
-    };
-    var Label = class extends Node {
-      constructor(label) {
-        super();
-        this.label = label;
-        this.names = {};
-      }
-      render({ _n }) {
-        return `${this.label}:` + _n;
-      }
-    };
-    var Break = class extends Node {
-      constructor(label) {
-        super();
-        this.label = label;
-        this.names = {};
-      }
-      render({ _n }) {
-        const label = this.label ? ` ${this.label}` : "";
-        return `break${label};` + _n;
-      }
-    };
-    var Throw = class extends Node {
-      constructor(error) {
-        super();
-        this.error = error;
-      }
-      render({ _n }) {
-        return `throw ${this.error};` + _n;
-      }
-      get names() {
-        return this.error.names;
-      }
-    };
-    var AnyCode = class extends Node {
-      constructor(code) {
-        super();
-        this.code = code;
-      }
-      render({ _n }) {
-        return `${this.code};` + _n;
-      }
-      optimizeNodes() {
-        return `${this.code}` ? this : void 0;
-      }
-      optimizeNames(names, constants) {
-        this.code = optimizeExpr(this.code, names, constants);
-        return this;
-      }
-      get names() {
-        return this.code instanceof code_1._CodeOrName ? this.code.names : {};
-      }
-    };
-    var ParentNode = class extends Node {
-      constructor(nodes = []) {
-        super();
-        this.nodes = nodes;
-      }
-      render(opts) {
-        return this.nodes.reduce((code, n) => code + n.render(opts), "");
-      }
-      optimizeNodes() {
-        const { nodes } = this;
-        let i = nodes.length;
-        while (i--) {
-          const n = nodes[i].optimizeNodes();
-          if (Array.isArray(n))
-            nodes.splice(i, 1, ...n);
-          else if (n)
-            nodes[i] = n;
-          else
-            nodes.splice(i, 1);
-        }
-        return nodes.length > 0 ? this : void 0;
-      }
-      optimizeNames(names, constants) {
-        const { nodes } = this;
-        let i = nodes.length;
-        while (i--) {
-          const n = nodes[i];
-          if (n.optimizeNames(names, constants))
-            continue;
-          subtractNames(names, n.names);
-          nodes.splice(i, 1);
-        }
-        return nodes.length > 0 ? this : void 0;
-      }
-      get names() {
-        return this.nodes.reduce((names, n) => addNames(names, n.names), {});
-      }
-    };
-    var BlockNode = class extends ParentNode {
-      render(opts) {
-        return "{" + opts._n + super.render(opts) + "}" + opts._n;
-      }
-    };
-    var Root = class extends ParentNode {
-    };
-    var Else = class extends BlockNode {
-    };
-    Else.kind = "else";
-    var If = class extends BlockNode {
-      constructor(condition, nodes) {
-        super(nodes);
-        this.condition = condition;
-      }
-      render(opts) {
-        let code = `if(${this.condition})` + super.render(opts);
-        if (this.else)
-          code += "else " + this.else.render(opts);
-        return code;
-      }
-      optimizeNodes() {
-        super.optimizeNodes();
-        const cond = this.condition;
-        if (cond === true)
-          return this.nodes;
-        let e = this.else;
-        if (e) {
-          const ns = e.optimizeNodes();
-          e = this.else = Array.isArray(ns) ? new Else(ns) : ns;
-        }
-        if (e) {
-          if (cond === false)
-            return e instanceof If ? e : e.nodes;
-          if (this.nodes.length)
-            return this;
-          return new If(not(cond), e instanceof If ? [e] : e.nodes);
-        }
-        if (cond === false || !this.nodes.length)
-          return void 0;
-        return this;
-      }
-      optimizeNames(names, constants) {
-        var _a;
-        this.else = (_a = this.else) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants);
-        if (!(super.optimizeNames(names, constants) || this.else))
-          return;
-        this.condition = optimizeExpr(this.condition, names, constants);
-        return this;
-      }
-      get names() {
-        const names = super.names;
-        addExprNames(names, this.condition);
-        if (this.else)
-          addNames(names, this.else.names);
-        return names;
-      }
-    };
-    If.kind = "if";
-    var For = class extends BlockNode {
-    };
-    For.kind = "for";
-    var ForLoop = class extends For {
-      constructor(iteration) {
-        super();
-        this.iteration = iteration;
-      }
-      render(opts) {
-        return `for(${this.iteration})` + super.render(opts);
-      }
-      optimizeNames(names, constants) {
-        if (!super.optimizeNames(names, constants))
-          return;
-        this.iteration = optimizeExpr(this.iteration, names, constants);
-        return this;
-      }
-      get names() {
-        return addNames(super.names, this.iteration.names);
-      }
-    };
-    var ForRange = class extends For {
-      constructor(varKind, name, from, to) {
-        super();
-        this.varKind = varKind;
-        this.name = name;
-        this.from = from;
-        this.to = to;
-      }
-      render(opts) {
-        const varKind = opts.es5 ? scope_1.varKinds.var : this.varKind;
-        const { name, from, to } = this;
-        return `for(${varKind} ${name}=${from}; ${name}<${to}; ${name}++)` + super.render(opts);
-      }
-      get names() {
-        const names = addExprNames(super.names, this.from);
-        return addExprNames(names, this.to);
-      }
-    };
-    var ForIter = class extends For {
-      constructor(loop, varKind, name, iterable) {
-        super();
-        this.loop = loop;
-        this.varKind = varKind;
-        this.name = name;
-        this.iterable = iterable;
-      }
-      render(opts) {
-        return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(opts);
-      }
-      optimizeNames(names, constants) {
-        if (!super.optimizeNames(names, constants))
-          return;
-        this.iterable = optimizeExpr(this.iterable, names, constants);
-        return this;
-      }
-      get names() {
-        return addNames(super.names, this.iterable.names);
-      }
-    };
-    var Func = class extends BlockNode {
-      constructor(name, args, async) {
-        super();
-        this.name = name;
-        this.args = args;
-        this.async = async;
-      }
-      render(opts) {
-        const _async = this.async ? "async " : "";
-        return `${_async}function ${this.name}(${this.args})` + super.render(opts);
-      }
-    };
-    Func.kind = "func";
-    var Return = class extends ParentNode {
-      render(opts) {
-        return "return " + super.render(opts);
-      }
-    };
-    Return.kind = "return";
-    var Try = class extends BlockNode {
-      render(opts) {
-        let code = "try" + super.render(opts);
-        if (this.catch)
-          code += this.catch.render(opts);
-        if (this.finally)
-          code += this.finally.render(opts);
-        return code;
-      }
-      optimizeNodes() {
-        var _a, _b;
-        super.optimizeNodes();
-        (_a = this.catch) === null || _a === void 0 ? void 0 : _a.optimizeNodes();
-        (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNodes();
-        return this;
-      }
-      optimizeNames(names, constants) {
-        var _a, _b;
-        super.optimizeNames(names, constants);
-        (_a = this.catch) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants);
-        (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNames(names, constants);
-        return this;
-      }
-      get names() {
-        const names = super.names;
-        if (this.catch)
-          addNames(names, this.catch.names);
-        if (this.finally)
-          addNames(names, this.finally.names);
-        return names;
-      }
-    };
-    var Catch = class extends BlockNode {
-      constructor(error) {
-        super();
-        this.error = error;
-      }
-      render(opts) {
-        return `catch(${this.error})` + super.render(opts);
-      }
-    };
-    Catch.kind = "catch";
-    var Finally = class extends BlockNode {
-      render(opts) {
-        return "finally" + super.render(opts);
-      }
-    };
-    Finally.kind = "finally";
-    var CodeGen = class {
-      constructor(extScope, opts = {}) {
-        this._values = {};
-        this._blockStarts = [];
-        this._constants = {};
-        this.opts = { ...opts, _n: opts.lines ? "\n" : "" };
-        this._extScope = extScope;
-        this._scope = new scope_1.Scope({ parent: extScope });
-        this._nodes = [new Root()];
-      }
-      toString() {
-        return this._root.render(this.opts);
-      }
-      name(prefix) {
-        return this._scope.name(prefix);
-      }
-      scopeName(prefix) {
-        return this._extScope.name(prefix);
-      }
-      scopeValue(prefixOrName, value) {
-        const name = this._extScope.value(prefixOrName, value);
-        const vs = this._values[name.prefix] || (this._values[name.prefix] = /* @__PURE__ */ new Set());
-        vs.add(name);
-        return name;
-      }
-      getScopeValue(prefix, keyOrRef) {
-        return this._extScope.getValue(prefix, keyOrRef);
-      }
-      scopeRefs(scopeName) {
-        return this._extScope.scopeRefs(scopeName, this._values);
-      }
-      scopeCode() {
-        return this._extScope.scopeCode(this._values);
-      }
-      _def(varKind, nameOrPrefix, rhs, constant) {
-        const name = this._scope.toName(nameOrPrefix);
-        if (rhs !== void 0 && constant)
-          this._constants[name.str] = rhs;
-        this._leafNode(new Def(varKind, name, rhs));
-        return name;
-      }
-      const(nameOrPrefix, rhs, _constant) {
-        return this._def(scope_1.varKinds.const, nameOrPrefix, rhs, _constant);
-      }
-      let(nameOrPrefix, rhs, _constant) {
-        return this._def(scope_1.varKinds.let, nameOrPrefix, rhs, _constant);
-      }
-      var(nameOrPrefix, rhs, _constant) {
-        return this._def(scope_1.varKinds.var, nameOrPrefix, rhs, _constant);
-      }
-      assign(lhs, rhs, sideEffects) {
-        return this._leafNode(new Assign(lhs, rhs, sideEffects));
-      }
-      add(lhs, rhs) {
-        return this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs));
-      }
-      code(c) {
-        if (typeof c == "function")
-          c();
-        else if (c !== code_1.nil)
-          this._leafNode(new AnyCode(c));
-        return this;
-      }
-      object(...keyValues) {
-        const code = ["{"];
-        for (const [key, value] of keyValues) {
-          if (code.length > 1)
-            code.push(",");
-          code.push(key);
-          if (key !== value || this.opts.es5) {
-            code.push(":");
-            (0, code_1.addCodeArg)(code, value);
-          }
-        }
-        code.push("}");
-        return new code_1._Code(code);
-      }
-      if(condition, thenBody, elseBody) {
-        this._blockNode(new If(condition));
-        if (thenBody && elseBody) {
-          this.code(thenBody).else().code(elseBody).endIf();
-        } else if (thenBody) {
-          this.code(thenBody).endIf();
-        } else if (elseBody) {
-          throw new Error('CodeGen: "else" body without "then" body');
-        }
-        return this;
-      }
-      elseIf(condition) {
-        return this._elseNode(new If(condition));
-      }
-      else() {
-        return this._elseNode(new Else());
-      }
-      endIf() {
-        return this._endBlockNode(If, Else);
-      }
-      _for(node, forBody) {
-        this._blockNode(node);
-        if (forBody)
-          this.code(forBody).endFor();
-        return this;
-      }
-      for(iteration, forBody) {
-        return this._for(new ForLoop(iteration), forBody);
-      }
-      forRange(nameOrPrefix, from, to, forBody, varKind = this.opts.es5 ? scope_1.varKinds.var : scope_1.varKinds.let) {
-        const name = this._scope.toName(nameOrPrefix);
-        return this._for(new ForRange(varKind, name, from, to), () => forBody(name));
-      }
-      forOf(nameOrPrefix, iterable, forBody, varKind = scope_1.varKinds.const) {
-        const name = this._scope.toName(nameOrPrefix);
-        if (this.opts.es5) {
-          const arr = iterable instanceof code_1.Name ? iterable : this.var("_arr", iterable);
-          return this.forRange("_i", 0, (0, code_1._)`${arr}.length`, (i) => {
-            this.var(name, (0, code_1._)`${arr}[${i}]`);
-            forBody(name);
-          });
-        }
-        return this._for(new ForIter("of", varKind, name, iterable), () => forBody(name));
-      }
-      forIn(nameOrPrefix, obj, forBody, varKind = this.opts.es5 ? scope_1.varKinds.var : scope_1.varKinds.const) {
-        if (this.opts.ownProperties) {
-          return this.forOf(nameOrPrefix, (0, code_1._)`Object.keys(${obj})`, forBody);
-        }
-        const name = this._scope.toName(nameOrPrefix);
-        return this._for(new ForIter("in", varKind, name, obj), () => forBody(name));
-      }
-      endFor() {
-        return this._endBlockNode(For);
-      }
-      label(label) {
-        return this._leafNode(new Label(label));
-      }
-      break(label) {
-        return this._leafNode(new Break(label));
-      }
-      return(value) {
-        const node = new Return();
-        this._blockNode(node);
-        this.code(value);
-        if (node.nodes.length !== 1)
-          throw new Error('CodeGen: "return" should have one node');
-        return this._endBlockNode(Return);
-      }
-      try(tryBody, catchCode, finallyCode) {
-        if (!catchCode && !finallyCode)
-          throw new Error('CodeGen: "try" without "catch" and "finally"');
-        const node = new Try();
-        this._blockNode(node);
-        this.code(tryBody);
-        if (catchCode) {
-          const error = this.name("e");
-          this._currNode = node.catch = new Catch(error);
-          catchCode(error);
-        }
-        if (finallyCode) {
-          this._currNode = node.finally = new Finally();
-          this.code(finallyCode);
-        }
-        return this._endBlockNode(Catch, Finally);
-      }
-      throw(error) {
-        return this._leafNode(new Throw(error));
-      }
-      block(body, nodeCount) {
-        this._blockStarts.push(this._nodes.length);
-        if (body)
-          this.code(body).endBlock(nodeCount);
-        return this;
-      }
-      endBlock(nodeCount) {
-        const len = this._blockStarts.pop();
-        if (len === void 0)
-          throw new Error("CodeGen: not in self-balancing block");
-        const toClose = this._nodes.length - len;
-        if (toClose < 0 || nodeCount !== void 0 && toClose !== nodeCount) {
-          throw new Error(`CodeGen: wrong number of nodes: ${toClose} vs ${nodeCount} expected`);
-        }
-        this._nodes.length = len;
-        return this;
-      }
-      func(name, args = code_1.nil, async, funcBody) {
-        this._blockNode(new Func(name, args, async));
-        if (funcBody)
-          this.code(funcBody).endFunc();
-        return this;
-      }
-      endFunc() {
-        return this._endBlockNode(Func);
-      }
-      optimize(n = 1) {
-        while (n-- > 0) {
-          this._root.optimizeNodes();
-          this._root.optimizeNames(this._root.names, this._constants);
-        }
-      }
-      _leafNode(node) {
-        this._currNode.nodes.push(node);
-        return this;
-      }
-      _blockNode(node) {
-        this._currNode.nodes.push(node);
-        this._nodes.push(node);
-      }
-      _endBlockNode(N1, N2) {
-        const n = this._currNode;
-        if (n instanceof N1 || N2 && n instanceof N2) {
-          this._nodes.pop();
-          return this;
-        }
-        throw new Error(`CodeGen: not in block "${N2 ? `${N1.kind}/${N2.kind}` : N1.kind}"`);
-      }
-      _elseNode(node) {
-        const n = this._currNode;
-        if (!(n instanceof If)) {
-          throw new Error('CodeGen: "else" without "if"');
-        }
-        this._currNode = n.else = node;
-        return this;
-      }
-      get _root() {
-        return this._nodes[0];
-      }
-      get _currNode() {
-        const ns = this._nodes;
-        return ns[ns.length - 1];
-      }
-      set _currNode(node) {
-        const ns = this._nodes;
-        ns[ns.length - 1] = node;
-      }
-    };
-    exports.CodeGen = CodeGen;
-    function addNames(names, from) {
-      for (const n in from)
-        names[n] = (names[n] || 0) + (from[n] || 0);
-      return names;
-    }
-    function addExprNames(names, from) {
-      return from instanceof code_1._CodeOrName ? addNames(names, from.names) : names;
-    }
-    function optimizeExpr(expr, names, constants) {
-      if (expr instanceof code_1.Name)
-        return replaceName(expr);
-      if (!canOptimize(expr))
-        return expr;
-      return new code_1._Code(expr._items.reduce((items, c) => {
-        if (c instanceof code_1.Name)
-          c = replaceName(c);
-        if (c instanceof code_1._Code)
-          items.push(...c._items);
-        else
-          items.push(c);
-        return items;
-      }, []));
-      function replaceName(n) {
-        const c = constants[n.str];
-        if (c === void 0 || names[n.str] !== 1)
-          return n;
-        delete names[n.str];
-        return c;
-      }
-      function canOptimize(e) {
-        return e instanceof code_1._Code && e._items.some((c) => c instanceof code_1.Name && names[c.str] === 1 && constants[c.str] !== void 0);
-      }
-    }
-    function subtractNames(names, from) {
-      for (const n in from)
-        names[n] = (names[n] || 0) - (from[n] || 0);
-    }
-    function not(x) {
-      return typeof x == "boolean" || typeof x == "number" || x === null ? !x : (0, code_1._)`!${par(x)}`;
-    }
-    exports.not = not;
-    var andCode = mappend(exports.operators.AND);
-    function and(...args) {
-      return args.reduce(andCode);
-    }
-    exports.and = and;
-    var orCode = mappend(exports.operators.OR);
-    function or(...args) {
-      return args.reduce(orCode);
-    }
-    exports.or = or;
-    function mappend(op) {
-      return (x, y) => x === code_1.nil ? y : y === code_1.nil ? x : (0, code_1._)`${par(x)} ${op} ${par(y)}`;
-    }
-    function par(x) {
-      return x instanceof code_1.Name ? x : (0, code_1._)`(${x})`;
-    }
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/util.js
-var require_util = __commonJS({
-  "../../node_modules/ajv/dist/compile/util.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
-    var codegen_1 = require_codegen();
-    var code_1 = require_code();
-    function toHash(arr) {
-      const hash = {};
-      for (const item of arr)
-        hash[item] = true;
-      return hash;
-    }
-    exports.toHash = toHash;
-    function alwaysValidSchema(it, schema) {
-      if (typeof schema == "boolean")
-        return schema;
-      if (Object.keys(schema).length === 0)
-        return true;
-      checkUnknownRules(it, schema);
-      return !schemaHasRules(schema, it.self.RULES.all);
-    }
-    exports.alwaysValidSchema = alwaysValidSchema;
-    function checkUnknownRules(it, schema = it.schema) {
-      const { opts, self } = it;
-      if (!opts.strictSchema)
-        return;
-      if (typeof schema === "boolean")
-        return;
-      const rules = self.RULES.keywords;
-      for (const key in schema) {
-        if (!rules[key])
-          checkStrictMode(it, `unknown keyword: "${key}"`);
-      }
-    }
-    exports.checkUnknownRules = checkUnknownRules;
-    function schemaHasRules(schema, rules) {
-      if (typeof schema == "boolean")
-        return !schema;
-      for (const key in schema)
-        if (rules[key])
-          return true;
-      return false;
-    }
-    exports.schemaHasRules = schemaHasRules;
-    function schemaHasRulesButRef(schema, RULES) {
-      if (typeof schema == "boolean")
-        return !schema;
-      for (const key in schema)
-        if (key !== "$ref" && RULES.all[key])
-          return true;
-      return false;
-    }
-    exports.schemaHasRulesButRef = schemaHasRulesButRef;
-    function schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) {
-      if (!$data) {
-        if (typeof schema == "number" || typeof schema == "boolean")
-          return schema;
-        if (typeof schema == "string")
-          return (0, codegen_1._)`${schema}`;
-      }
-      return (0, codegen_1._)`${topSchemaRef}${schemaPath}${(0, codegen_1.getProperty)(keyword)}`;
-    }
-    exports.schemaRefOrVal = schemaRefOrVal;
-    function unescapeFragment(str) {
-      return unescapeJsonPointer(decodeURIComponent(str));
-    }
-    exports.unescapeFragment = unescapeFragment;
-    function escapeFragment(str) {
-      return encodeURIComponent(escapeJsonPointer(str));
-    }
-    exports.escapeFragment = escapeFragment;
-    function escapeJsonPointer(str) {
-      if (typeof str == "number")
-        return `${str}`;
-      return str.replace(/~/g, "~0").replace(/\//g, "~1");
-    }
-    exports.escapeJsonPointer = escapeJsonPointer;
-    function unescapeJsonPointer(str) {
-      return str.replace(/~1/g, "/").replace(/~0/g, "~");
-    }
-    exports.unescapeJsonPointer = unescapeJsonPointer;
-    function eachItem(xs, f) {
-      if (Array.isArray(xs)) {
-        for (const x of xs)
-          f(x);
-      } else {
-        f(xs);
-      }
-    }
-    exports.eachItem = eachItem;
-    function makeMergeEvaluated({ mergeNames, mergeToName, mergeValues: mergeValues2, resultToName }) {
-      return (gen, from, to, toName) => {
-        const res = to === void 0 ? from : to instanceof codegen_1.Name ? (from instanceof codegen_1.Name ? mergeNames(gen, from, to) : mergeToName(gen, from, to), to) : from instanceof codegen_1.Name ? (mergeToName(gen, to, from), from) : mergeValues2(from, to);
-        return toName === codegen_1.Name && !(res instanceof codegen_1.Name) ? resultToName(gen, res) : res;
-      };
-    }
-    exports.mergeEvaluated = {
-      props: makeMergeEvaluated({
-        mergeNames: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true && ${from} !== undefined`, () => {
-          gen.if((0, codegen_1._)`${from} === true`, () => gen.assign(to, true), () => gen.assign(to, (0, codegen_1._)`${to} || {}`).code((0, codegen_1._)`Object.assign(${to}, ${from})`));
-        }),
-        mergeToName: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true`, () => {
-          if (from === true) {
-            gen.assign(to, true);
-          } else {
-            gen.assign(to, (0, codegen_1._)`${to} || {}`);
-            setEvaluated(gen, to, from);
-          }
-        }),
-        mergeValues: (from, to) => from === true ? true : { ...from, ...to },
-        resultToName: evaluatedPropsToName
-      }),
-      items: makeMergeEvaluated({
-        mergeNames: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true && ${from} !== undefined`, () => gen.assign(to, (0, codegen_1._)`${from} === true ? true : ${to} > ${from} ? ${to} : ${from}`)),
-        mergeToName: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true`, () => gen.assign(to, from === true ? true : (0, codegen_1._)`${to} > ${from} ? ${to} : ${from}`)),
-        mergeValues: (from, to) => from === true ? true : Math.max(from, to),
-        resultToName: (gen, items) => gen.var("items", items)
-      })
-    };
-    function evaluatedPropsToName(gen, ps) {
-      if (ps === true)
-        return gen.var("props", true);
-      const props = gen.var("props", (0, codegen_1._)`{}`);
-      if (ps !== void 0)
-        setEvaluated(gen, props, ps);
-      return props;
-    }
-    exports.evaluatedPropsToName = evaluatedPropsToName;
-    function setEvaluated(gen, props, ps) {
-      Object.keys(ps).forEach((p) => gen.assign((0, codegen_1._)`${props}${(0, codegen_1.getProperty)(p)}`, true));
-    }
-    exports.setEvaluated = setEvaluated;
-    var snippets = {};
-    function useFunc(gen, f) {
-      return gen.scopeValue("func", {
-        ref: f,
-        code: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code))
-      });
-    }
-    exports.useFunc = useFunc;
-    var Type;
-    (function(Type2) {
-      Type2[Type2["Num"] = 0] = "Num";
-      Type2[Type2["Str"] = 1] = "Str";
-    })(Type = exports.Type || (exports.Type = {}));
-    function getErrorPath(dataProp, dataPropType, jsPropertySyntax) {
-      if (dataProp instanceof codegen_1.Name) {
-        const isNumber = dataPropType === Type.Num;
-        return jsPropertySyntax ? isNumber ? (0, codegen_1._)`"[" + ${dataProp} + "]"` : (0, codegen_1._)`"['" + ${dataProp} + "']"` : isNumber ? (0, codegen_1._)`"/" + ${dataProp}` : (0, codegen_1._)`"/" + ${dataProp}.replace(/~/g, "~0").replace(/\\//g, "~1")`;
-      }
-      return jsPropertySyntax ? (0, codegen_1.getProperty)(dataProp).toString() : "/" + escapeJsonPointer(dataProp);
-    }
-    exports.getErrorPath = getErrorPath;
-    function checkStrictMode(it, msg, mode = it.opts.strictSchema) {
-      if (!mode)
-        return;
-      msg = `strict mode: ${msg}`;
-      if (mode === true)
-        throw new Error(msg);
-      it.self.logger.warn(msg);
-    }
-    exports.checkStrictMode = checkStrictMode;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/names.js
-var require_names = __commonJS({
-  "../../node_modules/ajv/dist/compile/names.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var names = {
-      data: new codegen_1.Name("data"),
-      valCxt: new codegen_1.Name("valCxt"),
-      instancePath: new codegen_1.Name("instancePath"),
-      parentData: new codegen_1.Name("parentData"),
-      parentDataProperty: new codegen_1.Name("parentDataProperty"),
-      rootData: new codegen_1.Name("rootData"),
-      dynamicAnchors: new codegen_1.Name("dynamicAnchors"),
-      vErrors: new codegen_1.Name("vErrors"),
-      errors: new codegen_1.Name("errors"),
-      this: new codegen_1.Name("this"),
-      self: new codegen_1.Name("self"),
-      scope: new codegen_1.Name("scope"),
-      json: new codegen_1.Name("json"),
-      jsonPos: new codegen_1.Name("jsonPos"),
-      jsonLen: new codegen_1.Name("jsonLen"),
-      jsonPart: new codegen_1.Name("jsonPart")
-    };
-    exports.default = names;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/errors.js
-var require_errors = __commonJS({
-  "../../node_modules/ajv/dist/compile/errors.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var names_1 = require_names();
-    exports.keywordError = {
-      message: ({ keyword }) => (0, codegen_1.str)`must pass "${keyword}" keyword validation`
-    };
-    exports.keyword$DataError = {
-      message: ({ keyword, schemaType }) => schemaType ? (0, codegen_1.str)`"${keyword}" keyword must be ${schemaType} ($data)` : (0, codegen_1.str)`"${keyword}" keyword is invalid ($data)`
-    };
-    function reportError(cxt, error = exports.keywordError, errorPaths, overrideAllErrors) {
-      const { it } = cxt;
-      const { gen, compositeRule, allErrors } = it;
-      const errObj = errorObjectCode(cxt, error, errorPaths);
-      if (overrideAllErrors !== null && overrideAllErrors !== void 0 ? overrideAllErrors : compositeRule || allErrors) {
-        addError(gen, errObj);
-      } else {
-        returnErrors(it, (0, codegen_1._)`[${errObj}]`);
-      }
-    }
-    exports.reportError = reportError;
-    function reportExtraError(cxt, error = exports.keywordError, errorPaths) {
-      const { it } = cxt;
-      const { gen, compositeRule, allErrors } = it;
-      const errObj = errorObjectCode(cxt, error, errorPaths);
-      addError(gen, errObj);
-      if (!(compositeRule || allErrors)) {
-        returnErrors(it, names_1.default.vErrors);
-      }
-    }
-    exports.reportExtraError = reportExtraError;
-    function resetErrorsCount(gen, errsCount) {
-      gen.assign(names_1.default.errors, errsCount);
-      gen.if((0, codegen_1._)`${names_1.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign((0, codegen_1._)`${names_1.default.vErrors}.length`, errsCount), () => gen.assign(names_1.default.vErrors, null)));
-    }
-    exports.resetErrorsCount = resetErrorsCount;
-    function extendErrors({ gen, keyword, schemaValue, data, errsCount, it }) {
-      if (errsCount === void 0)
-        throw new Error("ajv implementation error");
-      const err = gen.name("err");
-      gen.forRange("i", errsCount, names_1.default.errors, (i) => {
-        gen.const(err, (0, codegen_1._)`${names_1.default.vErrors}[${i}]`);
-        gen.if((0, codegen_1._)`${err}.instancePath === undefined`, () => gen.assign((0, codegen_1._)`${err}.instancePath`, (0, codegen_1.strConcat)(names_1.default.instancePath, it.errorPath)));
-        gen.assign((0, codegen_1._)`${err}.schemaPath`, (0, codegen_1.str)`${it.errSchemaPath}/${keyword}`);
-        if (it.opts.verbose) {
-          gen.assign((0, codegen_1._)`${err}.schema`, schemaValue);
-          gen.assign((0, codegen_1._)`${err}.data`, data);
-        }
-      });
-    }
-    exports.extendErrors = extendErrors;
-    function addError(gen, errObj) {
-      const err = gen.const("err", errObj);
-      gen.if((0, codegen_1._)`${names_1.default.vErrors} === null`, () => gen.assign(names_1.default.vErrors, (0, codegen_1._)`[${err}]`), (0, codegen_1._)`${names_1.default.vErrors}.push(${err})`);
-      gen.code((0, codegen_1._)`${names_1.default.errors}++`);
-    }
-    function returnErrors(it, errs) {
-      const { gen, validateName, schemaEnv } = it;
-      if (schemaEnv.$async) {
-        gen.throw((0, codegen_1._)`new ${it.ValidationError}(${errs})`);
-      } else {
-        gen.assign((0, codegen_1._)`${validateName}.errors`, errs);
-        gen.return(false);
-      }
-    }
-    var E = {
-      keyword: new codegen_1.Name("keyword"),
-      schemaPath: new codegen_1.Name("schemaPath"),
-      params: new codegen_1.Name("params"),
-      propertyName: new codegen_1.Name("propertyName"),
-      message: new codegen_1.Name("message"),
-      schema: new codegen_1.Name("schema"),
-      parentSchema: new codegen_1.Name("parentSchema")
-    };
-    function errorObjectCode(cxt, error, errorPaths) {
-      const { createErrors } = cxt.it;
-      if (createErrors === false)
-        return (0, codegen_1._)`{}`;
-      return errorObject(cxt, error, errorPaths);
-    }
-    function errorObject(cxt, error, errorPaths = {}) {
-      const { gen, it } = cxt;
-      const keyValues = [
-        errorInstancePath(it, errorPaths),
-        errorSchemaPath(cxt, errorPaths)
-      ];
-      extraErrorProps(cxt, error, keyValues);
-      return gen.object(...keyValues);
-    }
-    function errorInstancePath({ errorPath }, { instancePath }) {
-      const instPath = instancePath ? (0, codegen_1.str)`${errorPath}${(0, util_1.getErrorPath)(instancePath, util_1.Type.Str)}` : errorPath;
-      return [names_1.default.instancePath, (0, codegen_1.strConcat)(names_1.default.instancePath, instPath)];
-    }
-    function errorSchemaPath({ keyword, it: { errSchemaPath } }, { schemaPath, parentSchema }) {
-      let schPath = parentSchema ? errSchemaPath : (0, codegen_1.str)`${errSchemaPath}/${keyword}`;
-      if (schemaPath) {
-        schPath = (0, codegen_1.str)`${schPath}${(0, util_1.getErrorPath)(schemaPath, util_1.Type.Str)}`;
-      }
-      return [E.schemaPath, schPath];
-    }
-    function extraErrorProps(cxt, { params, message }, keyValues) {
-      const { keyword, data, schemaValue, it } = cxt;
-      const { opts, propertyName, topSchemaRef, schemaPath } = it;
-      keyValues.push([E.keyword, keyword], [E.params, typeof params == "function" ? params(cxt) : params || (0, codegen_1._)`{}`]);
-      if (opts.messages) {
-        keyValues.push([E.message, typeof message == "function" ? message(cxt) : message]);
-      }
-      if (opts.verbose) {
-        keyValues.push([E.schema, schemaValue], [E.parentSchema, (0, codegen_1._)`${topSchemaRef}${schemaPath}`], [names_1.default.data, data]);
-      }
-      if (propertyName)
-        keyValues.push([E.propertyName, propertyName]);
-    }
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/validate/boolSchema.js
-var require_boolSchema = __commonJS({
-  "../../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
-    var errors_1 = require_errors();
-    var codegen_1 = require_codegen();
-    var names_1 = require_names();
-    var boolError = {
-      message: "boolean schema is false"
-    };
-    function topBoolOrEmptySchema(it) {
-      const { gen, schema, validateName } = it;
-      if (schema === false) {
-        falseSchemaError(it, false);
-      } else if (typeof schema == "object" && schema.$async === true) {
-        gen.return(names_1.default.data);
-      } else {
-        gen.assign((0, codegen_1._)`${validateName}.errors`, null);
-        gen.return(true);
-      }
-    }
-    exports.topBoolOrEmptySchema = topBoolOrEmptySchema;
-    function boolOrEmptySchema(it, valid) {
-      const { gen, schema } = it;
-      if (schema === false) {
-        gen.var(valid, false);
-        falseSchemaError(it);
-      } else {
-        gen.var(valid, true);
-      }
-    }
-    exports.boolOrEmptySchema = boolOrEmptySchema;
-    function falseSchemaError(it, overrideAllErrors) {
-      const { gen, data } = it;
-      const cxt = {
-        gen,
-        keyword: "false schema",
-        data,
-        schema: false,
-        schemaCode: false,
-        schemaValue: false,
-        params: {},
-        it
-      };
-      (0, errors_1.reportError)(cxt, boolError, void 0, overrideAllErrors);
-    }
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/rules.js
-var require_rules = __commonJS({
-  "../../node_modules/ajv/dist/compile/rules.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.getRules = exports.isJSONType = void 0;
-    var _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"];
-    var jsonTypes = new Set(_jsonTypes);
-    function isJSONType(x) {
-      return typeof x == "string" && jsonTypes.has(x);
-    }
-    exports.isJSONType = isJSONType;
-    function getRules() {
-      const groups = {
-        number: { type: "number", rules: [] },
-        string: { type: "string", rules: [] },
-        array: { type: "array", rules: [] },
-        object: { type: "object", rules: [] }
-      };
-      return {
-        types: { ...groups, integer: true, boolean: true, null: true },
-        rules: [{ rules: [] }, groups.number, groups.string, groups.array, groups.object],
-        post: { rules: [] },
-        all: {},
-        keywords: {}
-      };
-    }
-    exports.getRules = getRules;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/validate/applicability.js
-var require_applicability = __commonJS({
-  "../../node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
-    function schemaHasRulesForType({ schema, self }, type) {
-      const group = self.RULES.types[type];
-      return group && group !== true && shouldUseGroup(schema, group);
-    }
-    exports.schemaHasRulesForType = schemaHasRulesForType;
-    function shouldUseGroup(schema, group) {
-      return group.rules.some((rule) => shouldUseRule(schema, rule));
-    }
-    exports.shouldUseGroup = shouldUseGroup;
-    function shouldUseRule(schema, rule) {
-      var _a;
-      return schema[rule.keyword] !== void 0 || ((_a = rule.definition.implements) === null || _a === void 0 ? void 0 : _a.some((kwd) => schema[kwd] !== void 0));
-    }
-    exports.shouldUseRule = shouldUseRule;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/validate/dataType.js
-var require_dataType = __commonJS({
-  "../../node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
-    var rules_1 = require_rules();
-    var applicability_1 = require_applicability();
-    var errors_1 = require_errors();
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var DataType;
-    (function(DataType2) {
-      DataType2[DataType2["Correct"] = 0] = "Correct";
-      DataType2[DataType2["Wrong"] = 1] = "Wrong";
-    })(DataType = exports.DataType || (exports.DataType = {}));
-    function getSchemaTypes(schema) {
-      const types = getJSONTypes(schema.type);
-      const hasNull = types.includes("null");
-      if (hasNull) {
-        if (schema.nullable === false)
-          throw new Error("type: null contradicts nullable: false");
-      } else {
-        if (!types.length && schema.nullable !== void 0) {
-          throw new Error('"nullable" cannot be used without "type"');
-        }
-        if (schema.nullable === true)
-          types.push("null");
-      }
-      return types;
-    }
-    exports.getSchemaTypes = getSchemaTypes;
-    function getJSONTypes(ts) {
-      const types = Array.isArray(ts) ? ts : ts ? [ts] : [];
-      if (types.every(rules_1.isJSONType))
-        return types;
-      throw new Error("type must be JSONType or JSONType[]: " + types.join(","));
-    }
-    exports.getJSONTypes = getJSONTypes;
-    function coerceAndCheckDataType(it, types) {
-      const { gen, data, opts } = it;
-      const coerceTo = coerceToTypes(types, opts.coerceTypes);
-      const checkTypes = types.length > 0 && !(coerceTo.length === 0 && types.length === 1 && (0, applicability_1.schemaHasRulesForType)(it, types[0]));
-      if (checkTypes) {
-        const wrongType = checkDataTypes(types, data, opts.strictNumbers, DataType.Wrong);
-        gen.if(wrongType, () => {
-          if (coerceTo.length)
-            coerceData(it, types, coerceTo);
-          else
-            reportTypeError(it);
-        });
-      }
-      return checkTypes;
-    }
-    exports.coerceAndCheckDataType = coerceAndCheckDataType;
-    var COERCIBLE = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean", "null"]);
-    function coerceToTypes(types, coerceTypes) {
-      return coerceTypes ? types.filter((t) => COERCIBLE.has(t) || coerceTypes === "array" && t === "array") : [];
-    }
-    function coerceData(it, types, coerceTo) {
-      const { gen, data, opts } = it;
-      const dataType = gen.let("dataType", (0, codegen_1._)`typeof ${data}`);
-      const coerced = gen.let("coerced", (0, codegen_1._)`undefined`);
-      if (opts.coerceTypes === "array") {
-        gen.if((0, codegen_1._)`${dataType} == 'object' && Array.isArray(${data}) && ${data}.length == 1`, () => gen.assign(data, (0, codegen_1._)`${data}[0]`).assign(dataType, (0, codegen_1._)`typeof ${data}`).if(checkDataTypes(types, data, opts.strictNumbers), () => gen.assign(coerced, data)));
-      }
-      gen.if((0, codegen_1._)`${coerced} !== undefined`);
-      for (const t of coerceTo) {
-        if (COERCIBLE.has(t) || t === "array" && opts.coerceTypes === "array") {
-          coerceSpecificType(t);
-        }
-      }
-      gen.else();
-      reportTypeError(it);
-      gen.endIf();
-      gen.if((0, codegen_1._)`${coerced} !== undefined`, () => {
-        gen.assign(data, coerced);
-        assignParentData(it, coerced);
-      });
-      function coerceSpecificType(t) {
-        switch (t) {
-          case "string":
-            gen.elseIf((0, codegen_1._)`${dataType} == "number" || ${dataType} == "boolean"`).assign(coerced, (0, codegen_1._)`"" + ${data}`).elseIf((0, codegen_1._)`${data} === null`).assign(coerced, (0, codegen_1._)`""`);
-            return;
-          case "number":
-            gen.elseIf((0, codegen_1._)`${dataType} == "boolean" || ${data} === null
-              || (${dataType} == "string" && ${data} && ${data} == +${data})`).assign(coerced, (0, codegen_1._)`+${data}`);
-            return;
-          case "integer":
-            gen.elseIf((0, codegen_1._)`${dataType} === "boolean" || ${data} === null
-              || (${dataType} === "string" && ${data} && ${data} == +${data} && !(${data} % 1))`).assign(coerced, (0, codegen_1._)`+${data}`);
-            return;
-          case "boolean":
-            gen.elseIf((0, codegen_1._)`${data} === "false" || ${data} === 0 || ${data} === null`).assign(coerced, false).elseIf((0, codegen_1._)`${data} === "true" || ${data} === 1`).assign(coerced, true);
-            return;
-          case "null":
-            gen.elseIf((0, codegen_1._)`${data} === "" || ${data} === 0 || ${data} === false`);
-            gen.assign(coerced, null);
-            return;
-          case "array":
-            gen.elseIf((0, codegen_1._)`${dataType} === "string" || ${dataType} === "number"
-              || ${dataType} === "boolean" || ${data} === null`).assign(coerced, (0, codegen_1._)`[${data}]`);
-        }
-      }
-    }
-    function assignParentData({ gen, parentData, parentDataProperty }, expr) {
-      gen.if((0, codegen_1._)`${parentData} !== undefined`, () => gen.assign((0, codegen_1._)`${parentData}[${parentDataProperty}]`, expr));
-    }
-    function checkDataType(dataType, data, strictNums, correct = DataType.Correct) {
-      const EQ = correct === DataType.Correct ? codegen_1.operators.EQ : codegen_1.operators.NEQ;
-      let cond;
-      switch (dataType) {
-        case "null":
-          return (0, codegen_1._)`${data} ${EQ} null`;
-        case "array":
-          cond = (0, codegen_1._)`Array.isArray(${data})`;
-          break;
-        case "object":
-          cond = (0, codegen_1._)`${data} && typeof ${data} == "object" && !Array.isArray(${data})`;
-          break;
-        case "integer":
-          cond = numCond((0, codegen_1._)`!(${data} % 1) && !isNaN(${data})`);
-          break;
-        case "number":
-          cond = numCond();
-          break;
-        default:
-          return (0, codegen_1._)`typeof ${data} ${EQ} ${dataType}`;
-      }
-      return correct === DataType.Correct ? cond : (0, codegen_1.not)(cond);
-      function numCond(_cond = codegen_1.nil) {
-        return (0, codegen_1.and)((0, codegen_1._)`typeof ${data} == "number"`, _cond, strictNums ? (0, codegen_1._)`isFinite(${data})` : codegen_1.nil);
-      }
-    }
-    exports.checkDataType = checkDataType;
-    function checkDataTypes(dataTypes, data, strictNums, correct) {
-      if (dataTypes.length === 1) {
-        return checkDataType(dataTypes[0], data, strictNums, correct);
-      }
-      let cond;
-      const types = (0, util_1.toHash)(dataTypes);
-      if (types.array && types.object) {
-        const notObj = (0, codegen_1._)`typeof ${data} != "object"`;
-        cond = types.null ? notObj : (0, codegen_1._)`!${data} || ${notObj}`;
-        delete types.null;
-        delete types.array;
-        delete types.object;
-      } else {
-        cond = codegen_1.nil;
-      }
-      if (types.number)
-        delete types.integer;
-      for (const t in types)
-        cond = (0, codegen_1.and)(cond, checkDataType(t, data, strictNums, correct));
-      return cond;
-    }
-    exports.checkDataTypes = checkDataTypes;
-    var typeError = {
-      message: ({ schema }) => `must be ${schema}`,
-      params: ({ schema, schemaValue }) => typeof schema == "string" ? (0, codegen_1._)`{type: ${schema}}` : (0, codegen_1._)`{type: ${schemaValue}}`
-    };
-    function reportTypeError(it) {
-      const cxt = getTypeErrorContext(it);
-      (0, errors_1.reportError)(cxt, typeError);
-    }
-    exports.reportTypeError = reportTypeError;
-    function getTypeErrorContext(it) {
-      const { gen, data, schema } = it;
-      const schemaCode = (0, util_1.schemaRefOrVal)(it, schema, "type");
-      return {
-        gen,
-        keyword: "type",
-        data,
-        schema: schema.type,
-        schemaCode,
-        schemaValue: schemaCode,
-        parentSchema: schema,
-        params: {},
-        it
-      };
-    }
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/validate/defaults.js
-var require_defaults = __commonJS({
-  "../../node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.assignDefaults = void 0;
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    function assignDefaults(it, ty) {
-      const { properties, items } = it.schema;
-      if (ty === "object" && properties) {
-        for (const key in properties) {
-          assignDefault(it, key, properties[key].default);
-        }
-      } else if (ty === "array" && Array.isArray(items)) {
-        items.forEach((sch, i) => assignDefault(it, i, sch.default));
-      }
-    }
-    exports.assignDefaults = assignDefaults;
-    function assignDefault(it, prop, defaultValue) {
-      const { gen, compositeRule, data, opts } = it;
-      if (defaultValue === void 0)
-        return;
-      const childData = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(prop)}`;
-      if (compositeRule) {
-        (0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);
-        return;
-      }
-      let condition = (0, codegen_1._)`${childData} === undefined`;
-      if (opts.useDefaults === "empty") {
-        condition = (0, codegen_1._)`${condition} || ${childData} === null || ${childData} === ""`;
-      }
-      gen.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
-    }
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/code.js
-var require_code2 = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/code.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var names_1 = require_names();
-    var util_2 = require_util();
-    function checkReportMissingProp(cxt, prop) {
-      const { gen, data, it } = cxt;
-      gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => {
-        cxt.setParams({ missingProperty: (0, codegen_1._)`${prop}` }, true);
-        cxt.error();
-      });
-    }
-    exports.checkReportMissingProp = checkReportMissingProp;
-    function checkMissingProp({ gen, data, it: { opts } }, properties, missing) {
-      return (0, codegen_1.or)(...properties.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._)`${missing} = ${prop}`)));
-    }
-    exports.checkMissingProp = checkMissingProp;
-    function reportMissingProp(cxt, missing) {
-      cxt.setParams({ missingProperty: missing }, true);
-      cxt.error();
-    }
-    exports.reportMissingProp = reportMissingProp;
-    function hasPropFunc(gen) {
-      return gen.scopeValue("func", {
-        ref: Object.prototype.hasOwnProperty,
-        code: (0, codegen_1._)`Object.prototype.hasOwnProperty`
-      });
-    }
-    exports.hasPropFunc = hasPropFunc;
-    function isOwnProperty(gen, data, property) {
-      return (0, codegen_1._)`${hasPropFunc(gen)}.call(${data}, ${property})`;
-    }
-    exports.isOwnProperty = isOwnProperty;
-    function propertyInData(gen, data, property, ownProperties) {
-      const cond = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(property)} !== undefined`;
-      return ownProperties ? (0, codegen_1._)`${cond} && ${isOwnProperty(gen, data, property)}` : cond;
-    }
-    exports.propertyInData = propertyInData;
-    function noPropertyInData(gen, data, property, ownProperties) {
-      const cond = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(property)} === undefined`;
-      return ownProperties ? (0, codegen_1.or)(cond, (0, codegen_1.not)(isOwnProperty(gen, data, property))) : cond;
-    }
-    exports.noPropertyInData = noPropertyInData;
-    function allSchemaProperties(schemaMap) {
-      return schemaMap ? Object.keys(schemaMap).filter((p) => p !== "__proto__") : [];
-    }
-    exports.allSchemaProperties = allSchemaProperties;
-    function schemaProperties(it, schemaMap) {
-      return allSchemaProperties(schemaMap).filter((p) => !(0, util_1.alwaysValidSchema)(it, schemaMap[p]));
-    }
-    exports.schemaProperties = schemaProperties;
-    function callValidateCode({ schemaCode, data, it: { gen, topSchemaRef, schemaPath, errorPath }, it }, func, context, passSchema) {
-      const dataAndSchema = passSchema ? (0, codegen_1._)`${schemaCode}, ${data}, ${topSchemaRef}${schemaPath}` : data;
-      const valCxt = [
-        [names_1.default.instancePath, (0, codegen_1.strConcat)(names_1.default.instancePath, errorPath)],
-        [names_1.default.parentData, it.parentData],
-        [names_1.default.parentDataProperty, it.parentDataProperty],
-        [names_1.default.rootData, names_1.default.rootData]
-      ];
-      if (it.opts.dynamicRef)
-        valCxt.push([names_1.default.dynamicAnchors, names_1.default.dynamicAnchors]);
-      const args = (0, codegen_1._)`${dataAndSchema}, ${gen.object(...valCxt)}`;
-      return context !== codegen_1.nil ? (0, codegen_1._)`${func}.call(${context}, ${args})` : (0, codegen_1._)`${func}(${args})`;
-    }
-    exports.callValidateCode = callValidateCode;
-    var newRegExp = (0, codegen_1._)`new RegExp`;
-    function usePattern({ gen, it: { opts } }, pattern) {
-      const u = opts.unicodeRegExp ? "u" : "";
-      const { regExp } = opts.code;
-      const rx = regExp(pattern, u);
-      return gen.scopeValue("pattern", {
-        key: rx.toString(),
-        ref: rx,
-        code: (0, codegen_1._)`${regExp.code === "new RegExp" ? newRegExp : (0, util_2.useFunc)(gen, regExp)}(${pattern}, ${u})`
-      });
-    }
-    exports.usePattern = usePattern;
-    function validateArray(cxt) {
-      const { gen, data, keyword, it } = cxt;
-      const valid = gen.name("valid");
-      if (it.allErrors) {
-        const validArr = gen.let("valid", true);
-        validateItems(() => gen.assign(validArr, false));
-        return validArr;
-      }
-      gen.var(valid, true);
-      validateItems(() => gen.break());
-      return valid;
-      function validateItems(notValid) {
-        const len = gen.const("len", (0, codegen_1._)`${data}.length`);
-        gen.forRange("i", 0, len, (i) => {
-          cxt.subschema({
-            keyword,
-            dataProp: i,
-            dataPropType: util_1.Type.Num
-          }, valid);
-          gen.if((0, codegen_1.not)(valid), notValid);
-        });
-      }
-    }
-    exports.validateArray = validateArray;
-    function validateUnion(cxt) {
-      const { gen, schema, keyword, it } = cxt;
-      if (!Array.isArray(schema))
-        throw new Error("ajv implementation error");
-      const alwaysValid = schema.some((sch) => (0, util_1.alwaysValidSchema)(it, sch));
-      if (alwaysValid && !it.opts.unevaluated)
-        return;
-      const valid = gen.let("valid", false);
-      const schValid = gen.name("_valid");
-      gen.block(() => schema.forEach((_sch, i) => {
-        const schCxt = cxt.subschema({
-          keyword,
-          schemaProp: i,
-          compositeRule: true
-        }, schValid);
-        gen.assign(valid, (0, codegen_1._)`${valid} || ${schValid}`);
-        const merged = cxt.mergeValidEvaluated(schCxt, schValid);
-        if (!merged)
-          gen.if((0, codegen_1.not)(valid));
-      }));
-      cxt.result(valid, () => cxt.reset(), () => cxt.error(true));
-    }
-    exports.validateUnion = validateUnion;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/validate/keyword.js
-var require_keyword = __commonJS({
-  "../../node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
-    var codegen_1 = require_codegen();
-    var names_1 = require_names();
-    var code_1 = require_code2();
-    var errors_1 = require_errors();
-    function macroKeywordCode(cxt, def) {
-      const { gen, keyword, schema, parentSchema, it } = cxt;
-      const macroSchema = def.macro.call(it.self, schema, parentSchema, it);
-      const schemaRef = useKeyword(gen, keyword, macroSchema);
-      if (it.opts.validateSchema !== false)
-        it.self.validateSchema(macroSchema, true);
-      const valid = gen.name("valid");
-      cxt.subschema({
-        schema: macroSchema,
-        schemaPath: codegen_1.nil,
-        errSchemaPath: `${it.errSchemaPath}/${keyword}`,
-        topSchemaRef: schemaRef,
-        compositeRule: true
-      }, valid);
-      cxt.pass(valid, () => cxt.error(true));
-    }
-    exports.macroKeywordCode = macroKeywordCode;
-    function funcKeywordCode(cxt, def) {
-      var _a;
-      const { gen, keyword, schema, parentSchema, $data, it } = cxt;
-      checkAsyncKeyword(it, def);
-      const validate = !$data && def.compile ? def.compile.call(it.self, schema, parentSchema, it) : def.validate;
-      const validateRef = useKeyword(gen, keyword, validate);
-      const valid = gen.let("valid");
-      cxt.block$data(valid, validateKeyword);
-      cxt.ok((_a = def.valid) !== null && _a !== void 0 ? _a : valid);
-      function validateKeyword() {
-        if (def.errors === false) {
-          assignValid();
-          if (def.modifying)
-            modifyData(cxt);
-          reportErrs(() => cxt.error());
-        } else {
-          const ruleErrs = def.async ? validateAsync() : validateSync();
-          if (def.modifying)
-            modifyData(cxt);
-          reportErrs(() => addErrs(cxt, ruleErrs));
-        }
-      }
-      function validateAsync() {
-        const ruleErrs = gen.let("ruleErrs", null);
-        gen.try(() => assignValid((0, codegen_1._)`await `), (e) => gen.assign(valid, false).if((0, codegen_1._)`${e} instanceof ${it.ValidationError}`, () => gen.assign(ruleErrs, (0, codegen_1._)`${e}.errors`), () => gen.throw(e)));
-        return ruleErrs;
-      }
-      function validateSync() {
-        const validateErrs = (0, codegen_1._)`${validateRef}.errors`;
-        gen.assign(validateErrs, null);
-        assignValid(codegen_1.nil);
-        return validateErrs;
-      }
-      function assignValid(_await = def.async ? (0, codegen_1._)`await ` : codegen_1.nil) {
-        const passCxt = it.opts.passContext ? names_1.default.this : names_1.default.self;
-        const passSchema = !("compile" in def && !$data || def.schema === false);
-        gen.assign(valid, (0, codegen_1._)`${_await}${(0, code_1.callValidateCode)(cxt, validateRef, passCxt, passSchema)}`, def.modifying);
-      }
-      function reportErrs(errors) {
-        var _a2;
-        gen.if((0, codegen_1.not)((_a2 = def.valid) !== null && _a2 !== void 0 ? _a2 : valid), errors);
-      }
-    }
-    exports.funcKeywordCode = funcKeywordCode;
-    function modifyData(cxt) {
-      const { gen, data, it } = cxt;
-      gen.if(it.parentData, () => gen.assign(data, (0, codegen_1._)`${it.parentData}[${it.parentDataProperty}]`));
-    }
-    function addErrs(cxt, errs) {
-      const { gen } = cxt;
-      gen.if((0, codegen_1._)`Array.isArray(${errs})`, () => {
-        gen.assign(names_1.default.vErrors, (0, codegen_1._)`${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`).assign(names_1.default.errors, (0, codegen_1._)`${names_1.default.vErrors}.length`);
-        (0, errors_1.extendErrors)(cxt);
-      }, () => cxt.error());
-    }
-    function checkAsyncKeyword({ schemaEnv }, def) {
-      if (def.async && !schemaEnv.$async)
-        throw new Error("async keyword in sync schema");
-    }
-    function useKeyword(gen, keyword, result) {
-      if (result === void 0)
-        throw new Error(`keyword "${keyword}" failed to compile`);
-      return gen.scopeValue("keyword", typeof result == "function" ? { ref: result } : { ref: result, code: (0, codegen_1.stringify)(result) });
-    }
-    function validSchemaType(schema, schemaType, allowUndefined = false) {
-      return !schemaType.length || schemaType.some((st) => st === "array" ? Array.isArray(schema) : st === "object" ? schema && typeof schema == "object" && !Array.isArray(schema) : typeof schema == st || allowUndefined && typeof schema == "undefined");
-    }
-    exports.validSchemaType = validSchemaType;
-    function validateKeywordUsage({ schema, opts, self, errSchemaPath }, def, keyword) {
-      if (Array.isArray(def.keyword) ? !def.keyword.includes(keyword) : def.keyword !== keyword) {
-        throw new Error("ajv implementation error");
-      }
-      const deps = def.dependencies;
-      if (deps === null || deps === void 0 ? void 0 : deps.some((kwd) => !Object.prototype.hasOwnProperty.call(schema, kwd))) {
-        throw new Error(`parent schema must have dependencies of ${keyword}: ${deps.join(",")}`);
-      }
-      if (def.validateSchema) {
-        const valid = def.validateSchema(schema[keyword]);
-        if (!valid) {
-          const msg = `keyword "${keyword}" value is invalid at path "${errSchemaPath}": ` + self.errorsText(def.validateSchema.errors);
-          if (opts.validateSchema === "log")
-            self.logger.error(msg);
-          else
-            throw new Error(msg);
-        }
-      }
-    }
-    exports.validateKeywordUsage = validateKeywordUsage;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/validate/subschema.js
-var require_subschema = __commonJS({
-  "../../node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    function getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) {
-      if (keyword !== void 0 && schema !== void 0) {
-        throw new Error('both "keyword" and "schema" passed, only one allowed');
-      }
-      if (keyword !== void 0) {
-        const sch = it.schema[keyword];
-        return schemaProp === void 0 ? {
-          schema: sch,
-          schemaPath: (0, codegen_1._)`${it.schemaPath}${(0, codegen_1.getProperty)(keyword)}`,
-          errSchemaPath: `${it.errSchemaPath}/${keyword}`
-        } : {
-          schema: sch[schemaProp],
-          schemaPath: (0, codegen_1._)`${it.schemaPath}${(0, codegen_1.getProperty)(keyword)}${(0, codegen_1.getProperty)(schemaProp)}`,
-          errSchemaPath: `${it.errSchemaPath}/${keyword}/${(0, util_1.escapeFragment)(schemaProp)}`
-        };
-      }
-      if (schema !== void 0) {
-        if (schemaPath === void 0 || errSchemaPath === void 0 || topSchemaRef === void 0) {
-          throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');
-        }
-        return {
-          schema,
-          schemaPath,
-          topSchemaRef,
-          errSchemaPath
-        };
-      }
-      throw new Error('either "keyword" or "schema" must be passed');
-    }
-    exports.getSubschema = getSubschema;
-    function extendSubschemaData(subschema, it, { dataProp, dataPropType: dpType, data, dataTypes, propertyName }) {
-      if (data !== void 0 && dataProp !== void 0) {
-        throw new Error('both "data" and "dataProp" passed, only one allowed');
-      }
-      const { gen } = it;
-      if (dataProp !== void 0) {
-        const { errorPath, dataPathArr, opts } = it;
-        const nextData = gen.let("data", (0, codegen_1._)`${it.data}${(0, codegen_1.getProperty)(dataProp)}`, true);
-        dataContextProps(nextData);
-        subschema.errorPath = (0, codegen_1.str)`${errorPath}${(0, util_1.getErrorPath)(dataProp, dpType, opts.jsPropertySyntax)}`;
-        subschema.parentDataProperty = (0, codegen_1._)`${dataProp}`;
-        subschema.dataPathArr = [...dataPathArr, subschema.parentDataProperty];
-      }
-      if (data !== void 0) {
-        const nextData = data instanceof codegen_1.Name ? data : gen.let("data", data, true);
-        dataContextProps(nextData);
-        if (propertyName !== void 0)
-          subschema.propertyName = propertyName;
-      }
-      if (dataTypes)
-        subschema.dataTypes = dataTypes;
-      function dataContextProps(_nextData) {
-        subschema.data = _nextData;
-        subschema.dataLevel = it.dataLevel + 1;
-        subschema.dataTypes = [];
-        it.definedProperties = /* @__PURE__ */ new Set();
-        subschema.parentData = it.data;
-        subschema.dataNames = [...it.dataNames, _nextData];
-      }
-    }
-    exports.extendSubschemaData = extendSubschemaData;
-    function extendSubschemaMode(subschema, { jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors }) {
-      if (compositeRule !== void 0)
-        subschema.compositeRule = compositeRule;
-      if (createErrors !== void 0)
-        subschema.createErrors = createErrors;
-      if (allErrors !== void 0)
-        subschema.allErrors = allErrors;
-      subschema.jtdDiscriminator = jtdDiscriminator;
-      subschema.jtdMetadata = jtdMetadata;
-    }
-    exports.extendSubschemaMode = extendSubschemaMode;
-  }
-});
-
-// ../../node_modules/fast-deep-equal/index.js
-var require_fast_deep_equal = __commonJS({
-  "../../node_modules/fast-deep-equal/index.js"(exports, module2) {
-    "use strict";
-    module2.exports = function equal(a, b) {
-      if (a === b)
-        return true;
-      if (a && b && typeof a == "object" && typeof b == "object") {
-        if (a.constructor !== b.constructor)
-          return false;
-        var length, i, keys;
-        if (Array.isArray(a)) {
-          length = a.length;
-          if (length != b.length)
-            return false;
-          for (i = length; i-- !== 0; )
-            if (!equal(a[i], b[i]))
-              return false;
-          return true;
-        }
-        if (a.constructor === RegExp)
-          return a.source === b.source && a.flags === b.flags;
-        if (a.valueOf !== Object.prototype.valueOf)
-          return a.valueOf() === b.valueOf();
-        if (a.toString !== Object.prototype.toString)
-          return a.toString() === b.toString();
-        keys = Object.keys(a);
-        length = keys.length;
-        if (length !== Object.keys(b).length)
-          return false;
-        for (i = length; i-- !== 0; )
-          if (!Object.prototype.hasOwnProperty.call(b, keys[i]))
-            return false;
-        for (i = length; i-- !== 0; ) {
-          var key = keys[i];
-          if (!equal(a[key], b[key]))
-            return false;
-        }
-        return true;
-      }
-      return a !== a && b !== b;
-    };
-  }
-});
-
-// ../../node_modules/json-schema-traverse/index.js
-var require_json_schema_traverse = __commonJS({
-  "../../node_modules/json-schema-traverse/index.js"(exports, module2) {
-    "use strict";
-    var traverse = module2.exports = function(schema, opts, cb) {
-      if (typeof opts == "function") {
-        cb = opts;
-        opts = {};
-      }
-      cb = opts.cb || cb;
-      var pre = typeof cb == "function" ? cb : cb.pre || function() {
-      };
-      var post = cb.post || function() {
-      };
-      _traverse(opts, pre, post, schema, "", schema);
-    };
-    traverse.keywords = {
-      additionalItems: true,
-      items: true,
-      contains: true,
-      additionalProperties: true,
-      propertyNames: true,
-      not: true,
-      if: true,
-      then: true,
-      else: true
-    };
-    traverse.arrayKeywords = {
-      items: true,
-      allOf: true,
-      anyOf: true,
-      oneOf: true
-    };
-    traverse.propsKeywords = {
-      $defs: true,
-      definitions: true,
-      properties: true,
-      patternProperties: true,
-      dependencies: true
-    };
-    traverse.skipKeywords = {
-      default: true,
-      enum: true,
-      const: true,
-      required: true,
-      maximum: true,
-      minimum: true,
-      exclusiveMaximum: true,
-      exclusiveMinimum: true,
-      multipleOf: true,
-      maxLength: true,
-      minLength: true,
-      pattern: true,
-      format: true,
-      maxItems: true,
-      minItems: true,
-      uniqueItems: true,
-      maxProperties: true,
-      minProperties: true
-    };
-    function _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {
-      if (schema && typeof schema == "object" && !Array.isArray(schema)) {
-        pre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);
-        for (var key in schema) {
-          var sch = schema[key];
-          if (Array.isArray(sch)) {
-            if (key in traverse.arrayKeywords) {
-              for (var i = 0; i < sch.length; i++)
-                _traverse(opts, pre, post, sch[i], jsonPtr + "/" + key + "/" + i, rootSchema, jsonPtr, key, schema, i);
-            }
-          } else if (key in traverse.propsKeywords) {
-            if (sch && typeof sch == "object") {
-              for (var prop in sch)
-                _traverse(opts, pre, post, sch[prop], jsonPtr + "/" + key + "/" + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);
-            }
-          } else if (key in traverse.keywords || opts.allKeys && !(key in traverse.skipKeywords)) {
-            _traverse(opts, pre, post, sch, jsonPtr + "/" + key, rootSchema, jsonPtr, key, schema);
-          }
-        }
-        post(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);
-      }
-    }
-    function escapeJsonPtr(str) {
-      return str.replace(/~/g, "~0").replace(/\//g, "~1");
-    }
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/resolve.js
-var require_resolve = __commonJS({
-  "../../node_modules/ajv/dist/compile/resolve.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
-    var util_1 = require_util();
-    var equal = require_fast_deep_equal();
-    var traverse = require_json_schema_traverse();
-    var SIMPLE_INLINED = /* @__PURE__ */ new Set([
-      "type",
-      "format",
-      "pattern",
-      "maxLength",
-      "minLength",
-      "maxProperties",
-      "minProperties",
-      "maxItems",
-      "minItems",
-      "maximum",
-      "minimum",
-      "uniqueItems",
-      "multipleOf",
-      "required",
-      "enum",
-      "const"
-    ]);
-    function inlineRef(schema, limit = true) {
-      if (typeof schema == "boolean")
-        return true;
-      if (limit === true)
-        return !hasRef(schema);
-      if (!limit)
-        return false;
-      return countKeys(schema) <= limit;
-    }
-    exports.inlineRef = inlineRef;
-    var REF_KEYWORDS = /* @__PURE__ */ new Set([
-      "$ref",
-      "$recursiveRef",
-      "$recursiveAnchor",
-      "$dynamicRef",
-      "$dynamicAnchor"
-    ]);
-    function hasRef(schema) {
-      for (const key in schema) {
-        if (REF_KEYWORDS.has(key))
-          return true;
-        const sch = schema[key];
-        if (Array.isArray(sch) && sch.some(hasRef))
-          return true;
-        if (typeof sch == "object" && hasRef(sch))
-          return true;
-      }
-      return false;
-    }
-    function countKeys(schema) {
-      let count = 0;
-      for (const key in schema) {
-        if (key === "$ref")
-          return Infinity;
-        count++;
-        if (SIMPLE_INLINED.has(key))
-          continue;
-        if (typeof schema[key] == "object") {
-          (0, util_1.eachItem)(schema[key], (sch) => count += countKeys(sch));
-        }
-        if (count === Infinity)
-          return Infinity;
-      }
-      return count;
-    }
-    function getFullPath(resolver, id = "", normalize) {
-      if (normalize !== false)
-        id = normalizeId(id);
-      const p = resolver.parse(id);
-      return _getFullPath(resolver, p);
-    }
-    exports.getFullPath = getFullPath;
-    function _getFullPath(resolver, p) {
-      const serialized = resolver.serialize(p);
-      return serialized.split("#")[0] + "#";
-    }
-    exports._getFullPath = _getFullPath;
-    var TRAILING_SLASH_HASH = /#\/?$/;
-    function normalizeId(id) {
-      return id ? id.replace(TRAILING_SLASH_HASH, "") : "";
-    }
-    exports.normalizeId = normalizeId;
-    function resolveUrl(resolver, baseId, id) {
-      id = normalizeId(id);
-      return resolver.resolve(baseId, id);
-    }
-    exports.resolveUrl = resolveUrl;
-    var ANCHOR = /^[a-z_][-a-z0-9._]*$/i;
-    function getSchemaRefs(schema, baseId) {
-      if (typeof schema == "boolean")
-        return {};
-      const { schemaId, uriResolver } = this.opts;
-      const schId = normalizeId(schema[schemaId] || baseId);
-      const baseIds = { "": schId };
-      const pathPrefix = getFullPath(uriResolver, schId, false);
-      const localRefs = {};
-      const schemaRefs = /* @__PURE__ */ new Set();
-      traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {
-        if (parentJsonPtr === void 0)
-          return;
-        const fullPath = pathPrefix + jsonPtr;
-        let baseId2 = baseIds[parentJsonPtr];
-        if (typeof sch[schemaId] == "string")
-          baseId2 = addRef.call(this, sch[schemaId]);
-        addAnchor.call(this, sch.$anchor);
-        addAnchor.call(this, sch.$dynamicAnchor);
-        baseIds[jsonPtr] = baseId2;
-        function addRef(ref) {
-          const _resolve = this.opts.uriResolver.resolve;
-          ref = normalizeId(baseId2 ? _resolve(baseId2, ref) : ref);
-          if (schemaRefs.has(ref))
-            throw ambiguos(ref);
-          schemaRefs.add(ref);
-          let schOrRef = this.refs[ref];
-          if (typeof schOrRef == "string")
-            schOrRef = this.refs[schOrRef];
-          if (typeof schOrRef == "object") {
-            checkAmbiguosRef(sch, schOrRef.schema, ref);
-          } else if (ref !== normalizeId(fullPath)) {
-            if (ref[0] === "#") {
-              checkAmbiguosRef(sch, localRefs[ref], ref);
-              localRefs[ref] = sch;
-            } else {
-              this.refs[ref] = fullPath;
-            }
-          }
-          return ref;
-        }
-        function addAnchor(anchor) {
-          if (typeof anchor == "string") {
-            if (!ANCHOR.test(anchor))
-              throw new Error(`invalid anchor "${anchor}"`);
-            addRef.call(this, `#${anchor}`);
-          }
-        }
-      });
-      return localRefs;
-      function checkAmbiguosRef(sch1, sch2, ref) {
-        if (sch2 !== void 0 && !equal(sch1, sch2))
-          throw ambiguos(ref);
-      }
-      function ambiguos(ref) {
-        return new Error(`reference "${ref}" resolves to more than one schema`);
-      }
-    }
-    exports.getSchemaRefs = getSchemaRefs;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/validate/index.js
-var require_validate = __commonJS({
-  "../../node_modules/ajv/dist/compile/validate/index.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
-    var boolSchema_1 = require_boolSchema();
-    var dataType_1 = require_dataType();
-    var applicability_1 = require_applicability();
-    var dataType_2 = require_dataType();
-    var defaults_1 = require_defaults();
-    var keyword_1 = require_keyword();
-    var subschema_1 = require_subschema();
-    var codegen_1 = require_codegen();
-    var names_1 = require_names();
-    var resolve_1 = require_resolve();
-    var util_1 = require_util();
-    var errors_1 = require_errors();
-    function validateFunctionCode(it) {
-      if (isSchemaObj(it)) {
-        checkKeywords(it);
-        if (schemaCxtHasRules(it)) {
-          topSchemaObjCode(it);
-          return;
-        }
-      }
-      validateFunction(it, () => (0, boolSchema_1.topBoolOrEmptySchema)(it));
-    }
-    exports.validateFunctionCode = validateFunctionCode;
-    function validateFunction({ gen, validateName, schema, schemaEnv, opts }, body) {
-      if (opts.code.es5) {
-        gen.func(validateName, (0, codegen_1._)`${names_1.default.data}, ${names_1.default.valCxt}`, schemaEnv.$async, () => {
-          gen.code((0, codegen_1._)`"use strict"; ${funcSourceUrl(schema, opts)}`);
-          destructureValCxtES5(gen, opts);
-          gen.code(body);
-        });
-      } else {
-        gen.func(validateName, (0, codegen_1._)`${names_1.default.data}, ${destructureValCxt(opts)}`, schemaEnv.$async, () => gen.code(funcSourceUrl(schema, opts)).code(body));
-      }
-    }
-    function destructureValCxt(opts) {
-      return (0, codegen_1._)`{${names_1.default.instancePath}="", ${names_1.default.parentData}, ${names_1.default.parentDataProperty}, ${names_1.default.rootData}=${names_1.default.data}${opts.dynamicRef ? (0, codegen_1._)`, ${names_1.default.dynamicAnchors}={}` : codegen_1.nil}}={}`;
-    }
-    function destructureValCxtES5(gen, opts) {
-      gen.if(names_1.default.valCxt, () => {
-        gen.var(names_1.default.instancePath, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.instancePath}`);
-        gen.var(names_1.default.parentData, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.parentData}`);
-        gen.var(names_1.default.parentDataProperty, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.parentDataProperty}`);
-        gen.var(names_1.default.rootData, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.rootData}`);
-        if (opts.dynamicRef)
-          gen.var(names_1.default.dynamicAnchors, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.dynamicAnchors}`);
-      }, () => {
-        gen.var(names_1.default.instancePath, (0, codegen_1._)`""`);
-        gen.var(names_1.default.parentData, (0, codegen_1._)`undefined`);
-        gen.var(names_1.default.parentDataProperty, (0, codegen_1._)`undefined`);
-        gen.var(names_1.default.rootData, names_1.default.data);
-        if (opts.dynamicRef)
-          gen.var(names_1.default.dynamicAnchors, (0, codegen_1._)`{}`);
-      });
-    }
-    function topSchemaObjCode(it) {
-      const { schema, opts, gen } = it;
-      validateFunction(it, () => {
-        if (opts.$comment && schema.$comment)
-          commentKeyword(it);
-        checkNoDefault(it);
-        gen.let(names_1.default.vErrors, null);
-        gen.let(names_1.default.errors, 0);
-        if (opts.unevaluated)
-          resetEvaluated(it);
-        typeAndKeywords(it);
-        returnResults(it);
-      });
-      return;
-    }
-    function resetEvaluated(it) {
-      const { gen, validateName } = it;
-      it.evaluated = gen.const("evaluated", (0, codegen_1._)`${validateName}.evaluated`);
-      gen.if((0, codegen_1._)`${it.evaluated}.dynamicProps`, () => gen.assign((0, codegen_1._)`${it.evaluated}.props`, (0, codegen_1._)`undefined`));
-      gen.if((0, codegen_1._)`${it.evaluated}.dynamicItems`, () => gen.assign((0, codegen_1._)`${it.evaluated}.items`, (0, codegen_1._)`undefined`));
-    }
-    function funcSourceUrl(schema, opts) {
-      const schId = typeof schema == "object" && schema[opts.schemaId];
-      return schId && (opts.code.source || opts.code.process) ? (0, codegen_1._)`/*# sourceURL=${schId} */` : codegen_1.nil;
-    }
-    function subschemaCode(it, valid) {
-      if (isSchemaObj(it)) {
-        checkKeywords(it);
-        if (schemaCxtHasRules(it)) {
-          subSchemaObjCode(it, valid);
-          return;
-        }
-      }
-      (0, boolSchema_1.boolOrEmptySchema)(it, valid);
-    }
-    function schemaCxtHasRules({ schema, self }) {
-      if (typeof schema == "boolean")
-        return !schema;
-      for (const key in schema)
-        if (self.RULES.all[key])
-          return true;
-      return false;
-    }
-    function isSchemaObj(it) {
-      return typeof it.schema != "boolean";
-    }
-    function subSchemaObjCode(it, valid) {
-      const { schema, gen, opts } = it;
-      if (opts.$comment && schema.$comment)
-        commentKeyword(it);
-      updateContext(it);
-      checkAsyncSchema(it);
-      const errsCount = gen.const("_errs", names_1.default.errors);
-      typeAndKeywords(it, errsCount);
-      gen.var(valid, (0, codegen_1._)`${errsCount} === ${names_1.default.errors}`);
-    }
-    function checkKeywords(it) {
-      (0, util_1.checkUnknownRules)(it);
-      checkRefsAndKeywords(it);
-    }
-    function typeAndKeywords(it, errsCount) {
-      if (it.opts.jtd)
-        return schemaKeywords(it, [], false, errsCount);
-      const types = (0, dataType_1.getSchemaTypes)(it.schema);
-      const checkedTypes = (0, dataType_1.coerceAndCheckDataType)(it, types);
-      schemaKeywords(it, types, !checkedTypes, errsCount);
-    }
-    function checkRefsAndKeywords(it) {
-      const { schema, errSchemaPath, opts, self } = it;
-      if (schema.$ref && opts.ignoreKeywordsWithRef && (0, util_1.schemaHasRulesButRef)(schema, self.RULES)) {
-        self.logger.warn(`$ref: keywords ignored in schema at path "${errSchemaPath}"`);
-      }
-    }
-    function checkNoDefault(it) {
-      const { schema, opts } = it;
-      if (schema.default !== void 0 && opts.useDefaults && opts.strictSchema) {
-        (0, util_1.checkStrictMode)(it, "default is ignored in the schema root");
-      }
-    }
-    function updateContext(it) {
-      const schId = it.schema[it.opts.schemaId];
-      if (schId)
-        it.baseId = (0, resolve_1.resolveUrl)(it.opts.uriResolver, it.baseId, schId);
-    }
-    function checkAsyncSchema(it) {
-      if (it.schema.$async && !it.schemaEnv.$async)
-        throw new Error("async schema in sync schema");
-    }
-    function commentKeyword({ gen, schemaEnv, schema, errSchemaPath, opts }) {
-      const msg = schema.$comment;
-      if (opts.$comment === true) {
-        gen.code((0, codegen_1._)`${names_1.default.self}.logger.log(${msg})`);
-      } else if (typeof opts.$comment == "function") {
-        const schemaPath = (0, codegen_1.str)`${errSchemaPath}/$comment`;
-        const rootName = gen.scopeValue("root", { ref: schemaEnv.root });
-        gen.code((0, codegen_1._)`${names_1.default.self}.opts.$comment(${msg}, ${schemaPath}, ${rootName}.schema)`);
-      }
-    }
-    function returnResults(it) {
-      const { gen, schemaEnv, validateName, ValidationError: ValidationError2, opts } = it;
-      if (schemaEnv.$async) {
-        gen.if((0, codegen_1._)`${names_1.default.errors} === 0`, () => gen.return(names_1.default.data), () => gen.throw((0, codegen_1._)`new ${ValidationError2}(${names_1.default.vErrors})`));
-      } else {
-        gen.assign((0, codegen_1._)`${validateName}.errors`, names_1.default.vErrors);
-        if (opts.unevaluated)
-          assignEvaluated(it);
-        gen.return((0, codegen_1._)`${names_1.default.errors} === 0`);
-      }
-    }
-    function assignEvaluated({ gen, evaluated, props, items }) {
-      if (props instanceof codegen_1.Name)
-        gen.assign((0, codegen_1._)`${evaluated}.props`, props);
-      if (items instanceof codegen_1.Name)
-        gen.assign((0, codegen_1._)`${evaluated}.items`, items);
-    }
-    function schemaKeywords(it, types, typeErrors, errsCount) {
-      const { gen, schema, data, allErrors, opts, self } = it;
-      const { RULES } = self;
-      if (schema.$ref && (opts.ignoreKeywordsWithRef || !(0, util_1.schemaHasRulesButRef)(schema, RULES))) {
-        gen.block(() => keywordCode(it, "$ref", RULES.all.$ref.definition));
-        return;
-      }
-      if (!opts.jtd)
-        checkStrictTypes(it, types);
-      gen.block(() => {
-        for (const group of RULES.rules)
-          groupKeywords(group);
-        groupKeywords(RULES.post);
-      });
-      function groupKeywords(group) {
-        if (!(0, applicability_1.shouldUseGroup)(schema, group))
-          return;
-        if (group.type) {
-          gen.if((0, dataType_2.checkDataType)(group.type, data, opts.strictNumbers));
-          iterateKeywords(it, group);
-          if (types.length === 1 && types[0] === group.type && typeErrors) {
-            gen.else();
-            (0, dataType_2.reportTypeError)(it);
-          }
-          gen.endIf();
-        } else {
-          iterateKeywords(it, group);
-        }
-        if (!allErrors)
-          gen.if((0, codegen_1._)`${names_1.default.errors} === ${errsCount || 0}`);
-      }
-    }
-    function iterateKeywords(it, group) {
-      const { gen, schema, opts: { useDefaults } } = it;
-      if (useDefaults)
-        (0, defaults_1.assignDefaults)(it, group.type);
-      gen.block(() => {
-        for (const rule of group.rules) {
-          if ((0, applicability_1.shouldUseRule)(schema, rule)) {
-            keywordCode(it, rule.keyword, rule.definition, group.type);
-          }
-        }
-      });
-    }
-    function checkStrictTypes(it, types) {
-      if (it.schemaEnv.meta || !it.opts.strictTypes)
-        return;
-      checkContextTypes(it, types);
-      if (!it.opts.allowUnionTypes)
-        checkMultipleTypes(it, types);
-      checkKeywordTypes(it, it.dataTypes);
-    }
-    function checkContextTypes(it, types) {
-      if (!types.length)
-        return;
-      if (!it.dataTypes.length) {
-        it.dataTypes = types;
-        return;
-      }
-      types.forEach((t) => {
-        if (!includesType(it.dataTypes, t)) {
-          strictTypesError(it, `type "${t}" not allowed by context "${it.dataTypes.join(",")}"`);
-        }
-      });
-      it.dataTypes = it.dataTypes.filter((t) => includesType(types, t));
-    }
-    function checkMultipleTypes(it, ts) {
-      if (ts.length > 1 && !(ts.length === 2 && ts.includes("null"))) {
-        strictTypesError(it, "use allowUnionTypes to allow union type keyword");
-      }
-    }
-    function checkKeywordTypes(it, ts) {
-      const rules = it.self.RULES.all;
-      for (const keyword in rules) {
-        const rule = rules[keyword];
-        if (typeof rule == "object" && (0, applicability_1.shouldUseRule)(it.schema, rule)) {
-          const { type } = rule.definition;
-          if (type.length && !type.some((t) => hasApplicableType(ts, t))) {
-            strictTypesError(it, `missing type "${type.join(",")}" for keyword "${keyword}"`);
-          }
-        }
-      }
-    }
-    function hasApplicableType(schTs, kwdT) {
-      return schTs.includes(kwdT) || kwdT === "number" && schTs.includes("integer");
-    }
-    function includesType(ts, t) {
-      return ts.includes(t) || t === "integer" && ts.includes("number");
-    }
-    function strictTypesError(it, msg) {
-      const schemaPath = it.schemaEnv.baseId + it.errSchemaPath;
-      msg += ` at "${schemaPath}" (strictTypes)`;
-      (0, util_1.checkStrictMode)(it, msg, it.opts.strictTypes);
-    }
-    var KeywordCxt = class {
-      constructor(it, def, keyword) {
-        (0, keyword_1.validateKeywordUsage)(it, def, keyword);
-        this.gen = it.gen;
-        this.allErrors = it.allErrors;
-        this.keyword = keyword;
-        this.data = it.data;
-        this.schema = it.schema[keyword];
-        this.$data = def.$data && it.opts.$data && this.schema && this.schema.$data;
-        this.schemaValue = (0, util_1.schemaRefOrVal)(it, this.schema, keyword, this.$data);
-        this.schemaType = def.schemaType;
-        this.parentSchema = it.schema;
-        this.params = {};
-        this.it = it;
-        this.def = def;
-        if (this.$data) {
-          this.schemaCode = it.gen.const("vSchema", getData(this.$data, it));
-        } else {
-          this.schemaCode = this.schemaValue;
-          if (!(0, keyword_1.validSchemaType)(this.schema, def.schemaType, def.allowUndefined)) {
-            throw new Error(`${keyword} value must be ${JSON.stringify(def.schemaType)}`);
-          }
-        }
-        if ("code" in def ? def.trackErrors : def.errors !== false) {
-          this.errsCount = it.gen.const("_errs", names_1.default.errors);
-        }
-      }
-      result(condition, successAction, failAction) {
-        this.failResult((0, codegen_1.not)(condition), successAction, failAction);
-      }
-      failResult(condition, successAction, failAction) {
-        this.gen.if(condition);
-        if (failAction)
-          failAction();
-        else
-          this.error();
-        if (successAction) {
-          this.gen.else();
-          successAction();
-          if (this.allErrors)
-            this.gen.endIf();
-        } else {
-          if (this.allErrors)
-            this.gen.endIf();
-          else
-            this.gen.else();
-        }
-      }
-      pass(condition, failAction) {
-        this.failResult((0, codegen_1.not)(condition), void 0, failAction);
-      }
-      fail(condition) {
-        if (condition === void 0) {
-          this.error();
-          if (!this.allErrors)
-            this.gen.if(false);
-          return;
-        }
-        this.gen.if(condition);
-        this.error();
-        if (this.allErrors)
-          this.gen.endIf();
-        else
-          this.gen.else();
-      }
-      fail$data(condition) {
-        if (!this.$data)
-          return this.fail(condition);
-        const { schemaCode } = this;
-        this.fail((0, codegen_1._)`${schemaCode} !== undefined && (${(0, codegen_1.or)(this.invalid$data(), condition)})`);
-      }
-      error(append, errorParams, errorPaths) {
-        if (errorParams) {
-          this.setParams(errorParams);
-          this._error(append, errorPaths);
-          this.setParams({});
-          return;
-        }
-        this._error(append, errorPaths);
-      }
-      _error(append, errorPaths) {
-        ;
-        (append ? errors_1.reportExtraError : errors_1.reportError)(this, this.def.error, errorPaths);
-      }
-      $dataError() {
-        (0, errors_1.reportError)(this, this.def.$dataError || errors_1.keyword$DataError);
-      }
-      reset() {
-        if (this.errsCount === void 0)
-          throw new Error('add "trackErrors" to keyword definition');
-        (0, errors_1.resetErrorsCount)(this.gen, this.errsCount);
-      }
-      ok(cond) {
-        if (!this.allErrors)
-          this.gen.if(cond);
-      }
-      setParams(obj, assign) {
-        if (assign)
-          Object.assign(this.params, obj);
-        else
-          this.params = obj;
-      }
-      block$data(valid, codeBlock, $dataValid = codegen_1.nil) {
-        this.gen.block(() => {
-          this.check$data(valid, $dataValid);
-          codeBlock();
-        });
-      }
-      check$data(valid = codegen_1.nil, $dataValid = codegen_1.nil) {
-        if (!this.$data)
-          return;
-        const { gen, schemaCode, schemaType, def } = this;
-        gen.if((0, codegen_1.or)((0, codegen_1._)`${schemaCode} === undefined`, $dataValid));
-        if (valid !== codegen_1.nil)
-          gen.assign(valid, true);
-        if (schemaType.length || def.validateSchema) {
-          gen.elseIf(this.invalid$data());
-          this.$dataError();
-          if (valid !== codegen_1.nil)
-            gen.assign(valid, false);
-        }
-        gen.else();
-      }
-      invalid$data() {
-        const { gen, schemaCode, schemaType, def, it } = this;
-        return (0, codegen_1.or)(wrong$DataType(), invalid$DataSchema());
-        function wrong$DataType() {
-          if (schemaType.length) {
-            if (!(schemaCode instanceof codegen_1.Name))
-              throw new Error("ajv implementation error");
-            const st = Array.isArray(schemaType) ? schemaType : [schemaType];
-            return (0, codegen_1._)`${(0, dataType_2.checkDataTypes)(st, schemaCode, it.opts.strictNumbers, dataType_2.DataType.Wrong)}`;
-          }
-          return codegen_1.nil;
-        }
-        function invalid$DataSchema() {
-          if (def.validateSchema) {
-            const validateSchemaRef = gen.scopeValue("validate$data", { ref: def.validateSchema });
-            return (0, codegen_1._)`!${validateSchemaRef}(${schemaCode})`;
-          }
-          return codegen_1.nil;
-        }
-      }
-      subschema(appl, valid) {
-        const subschema = (0, subschema_1.getSubschema)(this.it, appl);
-        (0, subschema_1.extendSubschemaData)(subschema, this.it, appl);
-        (0, subschema_1.extendSubschemaMode)(subschema, appl);
-        const nextContext = { ...this.it, ...subschema, items: void 0, props: void 0 };
-        subschemaCode(nextContext, valid);
-        return nextContext;
-      }
-      mergeEvaluated(schemaCxt, toName) {
-        const { it, gen } = this;
-        if (!it.opts.unevaluated)
-          return;
-        if (it.props !== true && schemaCxt.props !== void 0) {
-          it.props = util_1.mergeEvaluated.props(gen, schemaCxt.props, it.props, toName);
-        }
-        if (it.items !== true && schemaCxt.items !== void 0) {
-          it.items = util_1.mergeEvaluated.items(gen, schemaCxt.items, it.items, toName);
-        }
-      }
-      mergeValidEvaluated(schemaCxt, valid) {
-        const { it, gen } = this;
-        if (it.opts.unevaluated && (it.props !== true || it.items !== true)) {
-          gen.if(valid, () => this.mergeEvaluated(schemaCxt, codegen_1.Name));
-          return true;
-        }
-      }
-    };
-    exports.KeywordCxt = KeywordCxt;
-    function keywordCode(it, keyword, def, ruleType) {
-      const cxt = new KeywordCxt(it, def, keyword);
-      if ("code" in def) {
-        def.code(cxt, ruleType);
-      } else if (cxt.$data && def.validate) {
-        (0, keyword_1.funcKeywordCode)(cxt, def);
-      } else if ("macro" in def) {
-        (0, keyword_1.macroKeywordCode)(cxt, def);
-      } else if (def.compile || def.validate) {
-        (0, keyword_1.funcKeywordCode)(cxt, def);
-      }
-    }
-    var JSON_POINTER = /^\/(?:[^~]|~0|~1)*$/;
-    var RELATIVE_JSON_POINTER = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
-    function getData($data, { dataLevel, dataNames, dataPathArr }) {
-      let jsonPointer;
-      let data;
-      if ($data === "")
-        return names_1.default.rootData;
-      if ($data[0] === "/") {
-        if (!JSON_POINTER.test($data))
-          throw new Error(`Invalid JSON-pointer: ${$data}`);
-        jsonPointer = $data;
-        data = names_1.default.rootData;
-      } else {
-        const matches = RELATIVE_JSON_POINTER.exec($data);
-        if (!matches)
-          throw new Error(`Invalid JSON-pointer: ${$data}`);
-        const up = +matches[1];
-        jsonPointer = matches[2];
-        if (jsonPointer === "#") {
-          if (up >= dataLevel)
-            throw new Error(errorMsg("property/index", up));
-          return dataPathArr[dataLevel - up];
-        }
-        if (up > dataLevel)
-          throw new Error(errorMsg("data", up));
-        data = dataNames[dataLevel - up];
-        if (!jsonPointer)
-          return data;
-      }
-      let expr = data;
-      const segments = jsonPointer.split("/");
-      for (const segment of segments) {
-        if (segment) {
-          data = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)((0, util_1.unescapeJsonPointer)(segment))}`;
-          expr = (0, codegen_1._)`${expr} && ${data}`;
-        }
-      }
-      return expr;
-      function errorMsg(pointerType, up) {
-        return `Cannot access ${pointerType} ${up} levels up, current level is ${dataLevel}`;
-      }
-    }
-    exports.getData = getData;
-  }
-});
-
-// ../../node_modules/ajv/dist/runtime/validation_error.js
-var require_validation_error = __commonJS({
-  "../../node_modules/ajv/dist/runtime/validation_error.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var ValidationError2 = class extends Error {
-      constructor(errors) {
-        super("validation failed");
-        this.errors = errors;
-        this.ajv = this.validation = true;
-      }
-    };
-    exports.default = ValidationError2;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/ref_error.js
-var require_ref_error = __commonJS({
-  "../../node_modules/ajv/dist/compile/ref_error.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var resolve_1 = require_resolve();
-    var MissingRefError = class extends Error {
-      constructor(resolver, baseId, ref, msg) {
-        super(msg || `can't resolve reference ${ref} from id ${baseId}`);
-        this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);
-        this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));
-      }
-    };
-    exports.default = MissingRefError;
-  }
-});
-
-// ../../node_modules/ajv/dist/compile/index.js
-var require_compile = __commonJS({
-  "../../node_modules/ajv/dist/compile/index.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
-    var codegen_1 = require_codegen();
-    var validation_error_1 = require_validation_error();
-    var names_1 = require_names();
-    var resolve_1 = require_resolve();
-    var util_1 = require_util();
-    var validate_1 = require_validate();
-    var SchemaEnv = class {
-      constructor(env) {
-        var _a;
-        this.refs = {};
-        this.dynamicAnchors = {};
-        let schema;
-        if (typeof env.schema == "object")
-          schema = env.schema;
-        this.schema = env.schema;
-        this.schemaId = env.schemaId;
-        this.root = env.root || this;
-        this.baseId = (_a = env.baseId) !== null && _a !== void 0 ? _a : (0, resolve_1.normalizeId)(schema === null || schema === void 0 ? void 0 : schema[env.schemaId || "$id"]);
-        this.schemaPath = env.schemaPath;
-        this.localRefs = env.localRefs;
-        this.meta = env.meta;
-        this.$async = schema === null || schema === void 0 ? void 0 : schema.$async;
-        this.refs = {};
-      }
-    };
-    exports.SchemaEnv = SchemaEnv;
-    function compileSchema(sch) {
-      const _sch = getCompilingSchema.call(this, sch);
-      if (_sch)
-        return _sch;
-      const rootId = (0, resolve_1.getFullPath)(this.opts.uriResolver, sch.root.baseId);
-      const { es5, lines } = this.opts.code;
-      const { ownProperties } = this.opts;
-      const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties });
-      let _ValidationError;
-      if (sch.$async) {
-        _ValidationError = gen.scopeValue("Error", {
-          ref: validation_error_1.default,
-          code: (0, codegen_1._)`require("ajv/dist/runtime/validation_error").default`
-        });
-      }
-      const validateName = gen.scopeName("validate");
-      sch.validateName = validateName;
-      const schemaCxt = {
-        gen,
-        allErrors: this.opts.allErrors,
-        data: names_1.default.data,
-        parentData: names_1.default.parentData,
-        parentDataProperty: names_1.default.parentDataProperty,
-        dataNames: [names_1.default.data],
-        dataPathArr: [codegen_1.nil],
-        dataLevel: 0,
-        dataTypes: [],
-        definedProperties: /* @__PURE__ */ new Set(),
-        topSchemaRef: gen.scopeValue("schema", this.opts.code.source === true ? { ref: sch.schema, code: (0, codegen_1.stringify)(sch.schema) } : { ref: sch.schema }),
-        validateName,
-        ValidationError: _ValidationError,
-        schema: sch.schema,
-        schemaEnv: sch,
-        rootId,
-        baseId: sch.baseId || rootId,
-        schemaPath: codegen_1.nil,
-        errSchemaPath: sch.schemaPath || (this.opts.jtd ? "" : "#"),
-        errorPath: (0, codegen_1._)`""`,
-        opts: this.opts,
-        self: this
-      };
-      let sourceCode;
-      try {
-        this._compilations.add(sch);
-        (0, validate_1.validateFunctionCode)(schemaCxt);
-        gen.optimize(this.opts.code.optimize);
-        const validateCode = gen.toString();
-        sourceCode = `${gen.scopeRefs(names_1.default.scope)}return ${validateCode}`;
-        if (this.opts.code.process)
-          sourceCode = this.opts.code.process(sourceCode, sch);
-        const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);
-        const validate = makeValidate(this, this.scope.get());
-        this.scope.value(validateName, { ref: validate });
-        validate.errors = null;
-        validate.schema = sch.schema;
-        validate.schemaEnv = sch;
-        if (sch.$async)
-          validate.$async = true;
-        if (this.opts.code.source === true) {
-          validate.source = { validateName, validateCode, scopeValues: gen._values };
-        }
-        if (this.opts.unevaluated) {
-          const { props, items } = schemaCxt;
-          validate.evaluated = {
-            props: props instanceof codegen_1.Name ? void 0 : props,
-            items: items instanceof codegen_1.Name ? void 0 : items,
-            dynamicProps: props instanceof codegen_1.Name,
-            dynamicItems: items instanceof codegen_1.Name
-          };
-          if (validate.source)
-            validate.source.evaluated = (0, codegen_1.stringify)(validate.evaluated);
-        }
-        sch.validate = validate;
-        return sch;
-      } catch (e) {
-        delete sch.validate;
-        delete sch.validateName;
-        if (sourceCode)
-          this.logger.error("Error compiling schema, function code:", sourceCode);
-        throw e;
-      } finally {
-        this._compilations.delete(sch);
-      }
-    }
-    exports.compileSchema = compileSchema;
-    function resolveRef(root, baseId, ref) {
-      var _a;
-      ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, ref);
-      const schOrFunc = root.refs[ref];
-      if (schOrFunc)
-        return schOrFunc;
-      let _sch = resolve.call(this, root, ref);
-      if (_sch === void 0) {
-        const schema = (_a = root.localRefs) === null || _a === void 0 ? void 0 : _a[ref];
-        const { schemaId } = this.opts;
-        if (schema)
-          _sch = new SchemaEnv({ schema, schemaId, root, baseId });
-      }
-      if (_sch === void 0)
-        return;
-      return root.refs[ref] = inlineOrCompile.call(this, _sch);
-    }
-    exports.resolveRef = resolveRef;
-    function inlineOrCompile(sch) {
-      if ((0, resolve_1.inlineRef)(sch.schema, this.opts.inlineRefs))
-        return sch.schema;
-      return sch.validate ? sch : compileSchema.call(this, sch);
-    }
-    function getCompilingSchema(schEnv) {
-      for (const sch of this._compilations) {
-        if (sameSchemaEnv(sch, schEnv))
-          return sch;
-      }
-    }
-    exports.getCompilingSchema = getCompilingSchema;
-    function sameSchemaEnv(s1, s2) {
-      return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId;
-    }
-    function resolve(root, ref) {
-      let sch;
-      while (typeof (sch = this.refs[ref]) == "string")
-        ref = sch;
-      return sch || this.schemas[ref] || resolveSchema.call(this, root, ref);
-    }
-    function resolveSchema(root, ref) {
-      const p = this.opts.uriResolver.parse(ref);
-      const refPath = (0, resolve_1._getFullPath)(this.opts.uriResolver, p);
-      let baseId = (0, resolve_1.getFullPath)(this.opts.uriResolver, root.baseId, void 0);
-      if (Object.keys(root.schema).length > 0 && refPath === baseId) {
-        return getJsonPointer.call(this, p, root);
-      }
-      const id = (0, resolve_1.normalizeId)(refPath);
-      const schOrRef = this.refs[id] || this.schemas[id];
-      if (typeof schOrRef == "string") {
-        const sch = resolveSchema.call(this, root, schOrRef);
-        if (typeof (sch === null || sch === void 0 ? void 0 : sch.schema) !== "object")
-          return;
-        return getJsonPointer.call(this, p, sch);
-      }
-      if (typeof (schOrRef === null || schOrRef === void 0 ? void 0 : schOrRef.schema) !== "object")
-        return;
-      if (!schOrRef.validate)
-        compileSchema.call(this, schOrRef);
-      if (id === (0, resolve_1.normalizeId)(ref)) {
-        const { schema } = schOrRef;
-        const { schemaId } = this.opts;
-        const schId = schema[schemaId];
-        if (schId)
-          baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
-        return new SchemaEnv({ schema, schemaId, root, baseId });
-      }
-      return getJsonPointer.call(this, p, schOrRef);
-    }
-    exports.resolveSchema = resolveSchema;
-    var PREVENT_SCOPE_CHANGE = /* @__PURE__ */ new Set([
-      "properties",
-      "patternProperties",
-      "enum",
-      "dependencies",
-      "definitions"
-    ]);
-    function getJsonPointer(parsedRef, { baseId, schema, root }) {
-      var _a;
-      if (((_a = parsedRef.fragment) === null || _a === void 0 ? void 0 : _a[0]) !== "/")
-        return;
-      for (const part of parsedRef.fragment.slice(1).split("/")) {
-        if (typeof schema === "boolean")
-          return;
-        const partSchema = schema[(0, util_1.unescapeFragment)(part)];
-        if (partSchema === void 0)
-          return;
-        schema = partSchema;
-        const schId = typeof schema === "object" && schema[this.opts.schemaId];
-        if (!PREVENT_SCOPE_CHANGE.has(part) && schId) {
-          baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
-        }
-      }
-      let env;
-      if (typeof schema != "boolean" && schema.$ref && !(0, util_1.schemaHasRulesButRef)(schema, this.RULES)) {
-        const $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema.$ref);
-        env = resolveSchema.call(this, root, $ref);
-      }
-      const { schemaId } = this.opts;
-      env = env || new SchemaEnv({ schema, schemaId, root, baseId });
-      if (env.schema !== env.root.schema)
-        return env;
-      return void 0;
-    }
-  }
-});
-
-// ../../node_modules/ajv/dist/refs/data.json
-var require_data = __commonJS({
-  "../../node_modules/ajv/dist/refs/data.json"(exports, module2) {
-    module2.exports = {
-      $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
-      description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
-      type: "object",
-      required: ["$data"],
-      properties: {
-        $data: {
-          type: "string",
-          anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
-        }
-      },
-      additionalProperties: false
-    };
-  }
-});
-
-// ../../node_modules/uri-js/dist/es5/uri.all.js
-var require_uri_all = __commonJS({
-  "../../node_modules/uri-js/dist/es5/uri.all.js"(exports, module2) {
-    (function(global, factory) {
-      typeof exports === "object" && typeof module2 !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.URI = global.URI || {});
-    })(exports, function(exports2) {
-      "use strict";
-      function merge() {
-        for (var _len = arguments.length, sets = Array(_len), _key = 0; _key < _len; _key++) {
-          sets[_key] = arguments[_key];
-        }
-        if (sets.length > 1) {
-          sets[0] = sets[0].slice(0, -1);
-          var xl = sets.length - 1;
-          for (var x = 1; x < xl; ++x) {
-            sets[x] = sets[x].slice(1, -1);
-          }
-          sets[xl] = sets[xl].slice(1);
-          return sets.join("");
-        } else {
-          return sets[0];
-        }
-      }
-      function subexp(str) {
-        return "(?:" + str + ")";
-      }
-      function typeOf(o) {
-        return o === void 0 ? "undefined" : o === null ? "null" : Object.prototype.toString.call(o).split(" ").pop().split("]").shift().toLowerCase();
-      }
-      function toUpperCase(str) {
-        return str.toUpperCase();
-      }
-      function toArray(obj) {
-        return obj !== void 0 && obj !== null ? obj instanceof Array ? obj : typeof obj.length !== "number" || obj.split || obj.setInterval || obj.call ? [obj] : Array.prototype.slice.call(obj) : [];
-      }
-      function assign(target, source) {
-        var obj = target;
-        if (source) {
-          for (var key in source) {
-            obj[key] = source[key];
-          }
-        }
-        return obj;
-      }
-      function buildExps(isIRI2) {
-        var ALPHA$$ = "[A-Za-z]", CR$ = "[\\x0D]", DIGIT$$ = "[0-9]", DQUOTE$$ = "[\\x22]", HEXDIG$$2 = merge(DIGIT$$, "[A-Fa-f]"), LF$$ = "[\\x0A]", SP$$ = "[\\x20]", PCT_ENCODED$2 = subexp(subexp("%[EFef]" + HEXDIG$$2 + "%" + HEXDIG$$2 + HEXDIG$$2 + "%" + HEXDIG$$2 + HEXDIG$$2) + "|" + subexp("%[89A-Fa-f]" + HEXDIG$$2 + "%" + HEXDIG$$2 + HEXDIG$$2) + "|" + subexp("%" + HEXDIG$$2 + HEXDIG$$2)), GEN_DELIMS$$ = "[\\:\\/\\?\\#\\[\\]\\@]", SUB_DELIMS$$ = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", RESERVED$$ = merge(GEN_DELIMS$$, SUB_DELIMS$$), UCSCHAR$$ = isIRI2 ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", IPRIVATE$$ = isIRI2 ? "[\\uE000-\\uF8FF]" : "[]", UNRESERVED$$2 = merge(ALPHA$$, DIGIT$$, "[\\-\\.\\_\\~]", UCSCHAR$$), SCHEME$ = subexp(ALPHA$$ + merge(ALPHA$$, DIGIT$$, "[\\+\\-\\.]") + "*"), USERINFO$ = subexp(subexp(PCT_ENCODED$2 + "|" + merge(UNRESERVED$$2, SUB_DELIMS$$, "[\\:]")) + "*"), DEC_OCTET$ = subexp(subexp("25[0-5]") + "|" + subexp("2[0-4]" + DIGIT$$) + "|" + subexp("1" + DIGIT$$ + DIGIT$$) + "|" + subexp("[1-9]" + DIGIT$$) + "|" + DIGIT$$), DEC_OCTET_RELAXED$ = subexp(subexp("25[0-5]") + "|" + subexp("2[0-4]" + DIGIT$$) + "|" + subexp("1" + DIGIT$$ + DIGIT$$) + "|" + subexp("0?[1-9]" + DIGIT$$) + "|0?0?" + DIGIT$$), IPV4ADDRESS$ = subexp(DEC_OCTET_RELAXED$ + "\\." + DEC_OCTET_RELAXED$ + "\\." + DEC_OCTET_RELAXED$ + "\\." + DEC_OCTET_RELAXED$), H16$ = subexp(HEXDIG$$2 + "{1,4}"), LS32$ = subexp(subexp(H16$ + "\\:" + H16$) + "|" + IPV4ADDRESS$), IPV6ADDRESS1$ = subexp(subexp(H16$ + "\\:") + "{6}" + LS32$), IPV6ADDRESS2$ = subexp("\\:\\:" + subexp(H16$ + "\\:") + "{5}" + LS32$), IPV6ADDRESS3$ = subexp(subexp(H16$) + "?\\:\\:" + subexp(H16$ + "\\:") + "{4}" + LS32$), IPV6ADDRESS4$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,1}" + H16$) + "?\\:\\:" + subexp(H16$ + "\\:") + "{3}" + LS32$), IPV6ADDRESS5$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,2}" + H16$) + "?\\:\\:" + subexp(H16$ + "\\:") + "{2}" + LS32$), IPV6ADDRESS6$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,3}" + H16$) + "?\\:\\:" + H16$ + "\\:" + LS32$), IPV6ADDRESS7$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,4}" + H16$) + "?\\:\\:" + LS32$), IPV6ADDRESS8$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,5}" + H16$) + "?\\:\\:" + H16$), IPV6ADDRESS9$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,6}" + H16$) + "?\\:\\:"), IPV6ADDRESS$ = subexp([IPV6ADDRESS1$, IPV6ADDRESS2$, IPV6ADDRESS3$, IPV6ADDRESS4$, IPV6ADDRESS5$, IPV6ADDRESS6$, IPV6ADDRESS7$, IPV6ADDRESS8$, IPV6ADDRESS9$].join("|")), ZONEID$ = subexp(subexp(UNRESERVED$$2 + "|" + PCT_ENCODED$2) + "+"), IPV6ADDRZ$ = subexp(IPV6ADDRESS$ + "\\%25" + ZONEID$), IPV6ADDRZ_RELAXED$ = subexp(IPV6ADDRESS$ + subexp("\\%25|\\%(?!" + HEXDIG$$2 + "{2})") + ZONEID$), IPVFUTURE$ = subexp("[vV]" + HEXDIG$$2 + "+\\." + merge(UNRESERVED$$2, SUB_DELIMS$$, "[\\:]") + "+"), IP_LITERAL$ = subexp("\\[" + subexp(IPV6ADDRZ_RELAXED$ + "|" + IPV6ADDRESS$ + "|" + IPVFUTURE$) + "\\]"), REG_NAME$ = subexp(subexp(PCT_ENCODED$2 + "|" + merge(UNRESERVED$$2, SUB_DELIMS$$)) + "*"), HOST$ = subexp(IP_LITERAL$ + "|" + IPV4ADDRESS$ + "(?!" + REG_NAME$ + ")|" + REG_NAME$), PORT$ = subexp(DIGIT$$ + "*"), AUTHORITY$ = subexp(subexp(USERINFO$ + "@") + "?" + HOST$ + subexp("\\:" + PORT$) + "?"), PCHAR$ = subexp(PCT_ENCODED$2 + "|" + merge(UNRESERVED$$2, SUB_DELIMS$$, "[\\:\\@]")), SEGMENT$ = subexp(PCHAR$ + "*"), SEGMENT_NZ$ = subexp(PCHAR$ + "+"), SEGMENT_NZ_NC$ = subexp(subexp(PCT_ENCODED$2 + "|" + merge(UNRESERVED$$2, SUB_DELIMS$$, "[\\@]")) + "+"), PATH_ABEMPTY$ = subexp(subexp("\\/" + SEGMENT$) + "*"), PATH_ABSOLUTE$ = subexp("\\/" + subexp(SEGMENT_NZ$ + PATH_ABEMPTY$) + "?"), PATH_NOSCHEME$ = subexp(SEGMENT_NZ_NC$ + PATH_ABEMPTY$), PATH_ROOTLESS$ = subexp(SEGMENT_NZ$ + PATH_ABEMPTY$), PATH_EMPTY$ = "(?!" + PCHAR$ + ")", PATH$ = subexp(PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$), QUERY$ = subexp(subexp(PCHAR$ + "|" + merge("[\\/\\?]", IPRIVATE$$)) + "*"), FRAGMENT$ = subexp(subexp(PCHAR$ + "|[\\/\\?]") + "*"), HIER_PART$ = subexp(subexp("\\/\\/" + AUTHORITY$ + PATH_ABEMPTY$) + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$), URI$ = subexp(SCHEME$ + "\\:" + HIER_PART$ + subexp("\\?" + QUERY$) + "?" + subexp("\\#" + FRAGMENT$) + "?"), RELATIVE_PART$ = subexp(subexp("\\/\\/" + AUTHORITY$ + PATH_ABEMPTY$) + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_EMPTY$), RELATIVE$ = subexp(RELATIVE_PART$ + subexp("\\?" + QUERY$) + "?" + subexp("\\#" + FRAGMENT$) + "?"), URI_REFERENCE$ = subexp(URI$ + "|" + RELATIVE$), ABSOLUTE_URI$ = subexp(SCHEME$ + "\\:" + HIER_PART$ + subexp("\\?" + QUERY$) + "?"), GENERIC_REF$ = "^(" + SCHEME$ + ")\\:" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?" + subexp("\\#(" + FRAGMENT$ + ")") + "?$", RELATIVE_REF$ = "^(){0}" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?" + subexp("\\#(" + FRAGMENT$ + ")") + "?$", ABSOLUTE_REF$ = "^(" + SCHEME$ + ")\\:" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?$", SAMEDOC_REF$ = "^" + subexp("\\#(" + FRAGMENT$ + ")") + "?$", AUTHORITY_REF$ = "^" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?$";
-        return {
-          NOT_SCHEME: new RegExp(merge("[^]", ALPHA$$, DIGIT$$, "[\\+\\-\\.]"), "g"),
-          NOT_USERINFO: new RegExp(merge("[^\\%\\:]", UNRESERVED$$2, SUB_DELIMS$$), "g"),
-          NOT_HOST: new RegExp(merge("[^\\%\\[\\]\\:]", UNRESERVED$$2, SUB_DELIMS$$), "g"),
-          NOT_PATH: new RegExp(merge("[^\\%\\/\\:\\@]", UNRESERVED$$2, SUB_DELIMS$$), "g"),
-          NOT_PATH_NOSCHEME: new RegExp(merge("[^\\%\\/\\@]", UNRESERVED$$2, SUB_DELIMS$$), "g"),
-          NOT_QUERY: new RegExp(merge("[^\\%]", UNRESERVED$$2, SUB_DELIMS$$, "[\\:\\@\\/\\?]", IPRIVATE$$), "g"),
-          NOT_FRAGMENT: new RegExp(merge("[^\\%]", UNRESERVED$$2, SUB_DELIMS$$, "[\\:\\@\\/\\?]"), "g"),
-          ESCAPE: new RegExp(merge("[^]", UNRESERVED$$2, SUB_DELIMS$$), "g"),
-          UNRESERVED: new RegExp(UNRESERVED$$2, "g"),
-          OTHER_CHARS: new RegExp(merge("[^\\%]", UNRESERVED$$2, RESERVED$$), "g"),
-          PCT_ENCODED: new RegExp(PCT_ENCODED$2, "g"),
-          IPV4ADDRESS: new RegExp("^(" + IPV4ADDRESS$ + ")$"),
-          IPV6ADDRESS: new RegExp("^\\[?(" + IPV6ADDRESS$ + ")" + subexp(subexp("\\%25|\\%(?!" + HEXDIG$$2 + "{2})") + "(" + ZONEID$ + ")") + "?\\]?$")
-        };
-      }
-      var URI_PROTOCOL = buildExps(false);
-      var IRI_PROTOCOL = buildExps(true);
-      var slicedToArray = function() {
-        function sliceIterator(arr, i) {
-          var _arr = [];
-          var _n = true;
-          var _d = false;
-          var _e = void 0;
-          try {
-            for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
-              _arr.push(_s.value);
-              if (i && _arr.length === i)
-                break;
-            }
-          } catch (err) {
-            _d = true;
-            _e = err;
-          } finally {
-            try {
-              if (!_n && _i["return"])
-                _i["return"]();
-            } finally {
-              if (_d)
-                throw _e;
-            }
-          }
-          return _arr;
-        }
-        return function(arr, i) {
-          if (Array.isArray(arr)) {
-            return arr;
-          } else if (Symbol.iterator in Object(arr)) {
-            return sliceIterator(arr, i);
-          } else {
-            throw new TypeError("Invalid attempt to destructure non-iterable instance");
-          }
-        };
-      }();
-      var toConsumableArray = function(arr) {
-        if (Array.isArray(arr)) {
-          for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++)
-            arr2[i] = arr[i];
-          return arr2;
-        } else {
-          return Array.from(arr);
-        }
-      };
-      var maxInt = 2147483647;
-      var base = 36;
-      var tMin = 1;
-      var tMax = 26;
-      var skew = 38;
-      var damp = 700;
-      var initialBias = 72;
-      var initialN = 128;
-      var delimiter = "-";
-      var regexPunycode = /^xn--/;
-      var regexNonASCII = /[^\0-\x7E]/;
-      var regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g;
-      var errors = {
-        "overflow": "Overflow: input needs wider integers to process",
-        "not-basic": "Illegal input >= 0x80 (not a basic code point)",
-        "invalid-input": "Invalid input"
-      };
-      var baseMinusTMin = base - tMin;
-      var floor = Math.floor;
-      var stringFromCharCode = String.fromCharCode;
-      function error$1(type) {
-        throw new RangeError(errors[type]);
-      }
-      function map(array, fn) {
-        var result = [];
-        var length = array.length;
-        while (length--) {
-          result[length] = fn(array[length]);
-        }
-        return result;
-      }
-      function mapDomain(string, fn) {
-        var parts = string.split("@");
-        var result = "";
-        if (parts.length > 1) {
-          result = parts[0] + "@";
-          string = parts[1];
-        }
-        string = string.replace(regexSeparators, ".");
-        var labels = string.split(".");
-        var encoded = map(labels, fn).join(".");
-        return result + encoded;
-      }
-      function ucs2decode(string) {
-        var output = [];
-        var counter = 0;
-        var length = string.length;
-        while (counter < length) {
-          var value = string.charCodeAt(counter++);
-          if (value >= 55296 && value <= 56319 && counter < length) {
-            var extra = string.charCodeAt(counter++);
-            if ((extra & 64512) == 56320) {
-              output.push(((value & 1023) << 10) + (extra & 1023) + 65536);
-            } else {
-              output.push(value);
-              counter--;
-            }
-          } else {
-            output.push(value);
-          }
-        }
-        return output;
-      }
-      var ucs2encode = function ucs2encode2(array) {
-        return String.fromCodePoint.apply(String, toConsumableArray(array));
-      };
-      var basicToDigit = function basicToDigit2(codePoint) {
-        if (codePoint - 48 < 10) {
-          return codePoint - 22;
-        }
-        if (codePoint - 65 < 26) {
-          return codePoint - 65;
-        }
-        if (codePoint - 97 < 26) {
-          return codePoint - 97;
-        }
-        return base;
-      };
-      var digitToBasic = function digitToBasic2(digit, flag) {
-        return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
-      };
-      var adapt = function adapt2(delta, numPoints, firstTime) {
-        var k = 0;
-        delta = firstTime ? floor(delta / damp) : delta >> 1;
-        delta += floor(delta / numPoints);
-        for (; delta > baseMinusTMin * tMax >> 1; k += base) {
-          delta = floor(delta / baseMinusTMin);
-        }
-        return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
-      };
-      var decode = function decode2(input) {
-        var output = [];
-        var inputLength = input.length;
-        var i = 0;
-        var n = initialN;
-        var bias = initialBias;
-        var basic = input.lastIndexOf(delimiter);
-        if (basic < 0) {
-          basic = 0;
-        }
-        for (var j = 0; j < basic; ++j) {
-          if (input.charCodeAt(j) >= 128) {
-            error$1("not-basic");
-          }
-          output.push(input.charCodeAt(j));
-        }
-        for (var index = basic > 0 ? basic + 1 : 0; index < inputLength; ) {
-          var oldi = i;
-          for (var w = 1, k = base; ; k += base) {
-            if (index >= inputLength) {
-              error$1("invalid-input");
-            }
-            var digit = basicToDigit(input.charCodeAt(index++));
-            if (digit >= base || digit > floor((maxInt - i) / w)) {
-              error$1("overflow");
-            }
-            i += digit * w;
-            var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
-            if (digit < t) {
-              break;
-            }
-            var baseMinusT = base - t;
-            if (w > floor(maxInt / baseMinusT)) {
-              error$1("overflow");
-            }
-            w *= baseMinusT;
-          }
-          var out = output.length + 1;
-          bias = adapt(i - oldi, out, oldi == 0);
-          if (floor(i / out) > maxInt - n) {
-            error$1("overflow");
-          }
-          n += floor(i / out);
-          i %= out;
-          output.splice(i++, 0, n);
-        }
-        return String.fromCodePoint.apply(String, output);
-      };
-      var encode = function encode2(input) {
-        var output = [];
-        input = ucs2decode(input);
-        var inputLength = input.length;
-        var n = initialN;
-        var delta = 0;
-        var bias = initialBias;
-        var _iteratorNormalCompletion = true;
-        var _didIteratorError = false;
-        var _iteratorError = void 0;
-        try {
-          for (var _iterator = input[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
-            var _currentValue2 = _step.value;
-            if (_currentValue2 < 128) {
-              output.push(stringFromCharCode(_currentValue2));
-            }
-          }
-        } catch (err) {
-          _didIteratorError = true;
-          _iteratorError = err;
-        } finally {
-          try {
-            if (!_iteratorNormalCompletion && _iterator.return) {
-              _iterator.return();
-            }
-          } finally {
-            if (_didIteratorError) {
-              throw _iteratorError;
-            }
-          }
-        }
-        var basicLength = output.length;
-        var handledCPCount = basicLength;
-        if (basicLength) {
-          output.push(delimiter);
-        }
-        while (handledCPCount < inputLength) {
-          var m = maxInt;
-          var _iteratorNormalCompletion2 = true;
-          var _didIteratorError2 = false;
-          var _iteratorError2 = void 0;
-          try {
-            for (var _iterator2 = input[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
-              var currentValue = _step2.value;
-              if (currentValue >= n && currentValue < m) {
-                m = currentValue;
-              }
-            }
-          } catch (err) {
-            _didIteratorError2 = true;
-            _iteratorError2 = err;
-          } finally {
-            try {
-              if (!_iteratorNormalCompletion2 && _iterator2.return) {
-                _iterator2.return();
-              }
-            } finally {
-              if (_didIteratorError2) {
-                throw _iteratorError2;
-              }
-            }
-          }
-          var handledCPCountPlusOne = handledCPCount + 1;
-          if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
-            error$1("overflow");
-          }
-          delta += (m - n) * handledCPCountPlusOne;
-          n = m;
-          var _iteratorNormalCompletion3 = true;
-          var _didIteratorError3 = false;
-          var _iteratorError3 = void 0;
-          try {
-            for (var _iterator3 = input[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
-              var _currentValue = _step3.value;
-              if (_currentValue < n && ++delta > maxInt) {
-                error$1("overflow");
-              }
-              if (_currentValue == n) {
-                var q = delta;
-                for (var k = base; ; k += base) {
-                  var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
-                  if (q < t) {
-                    break;
-                  }
-                  var qMinusT = q - t;
-                  var baseMinusT = base - t;
-                  output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)));
-                  q = floor(qMinusT / baseMinusT);
-                }
-                output.push(stringFromCharCode(digitToBasic(q, 0)));
-                bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
-                delta = 0;
-                ++handledCPCount;
-              }
-            }
-          } catch (err) {
-            _didIteratorError3 = true;
-            _iteratorError3 = err;
-          } finally {
-            try {
-              if (!_iteratorNormalCompletion3 && _iterator3.return) {
-                _iterator3.return();
-              }
-            } finally {
-              if (_didIteratorError3) {
-                throw _iteratorError3;
-              }
-            }
-          }
-          ++delta;
-          ++n;
-        }
-        return output.join("");
-      };
-      var toUnicode = function toUnicode2(input) {
-        return mapDomain(input, function(string) {
-          return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string;
-        });
-      };
-      var toASCII = function toASCII2(input) {
-        return mapDomain(input, function(string) {
-          return regexNonASCII.test(string) ? "xn--" + encode(string) : string;
-        });
-      };
-      var punycode = {
-        "version": "2.1.0",
-        "ucs2": {
-          "decode": ucs2decode,
-          "encode": ucs2encode
-        },
-        "decode": decode,
-        "encode": encode,
-        "toASCII": toASCII,
-        "toUnicode": toUnicode
-      };
-      var SCHEMES = {};
-      function pctEncChar(chr) {
-        var c = chr.charCodeAt(0);
-        var e = void 0;
-        if (c < 16)
-          e = "%0" + c.toString(16).toUpperCase();
-        else if (c < 128)
-          e = "%" + c.toString(16).toUpperCase();
-        else if (c < 2048)
-          e = "%" + (c >> 6 | 192).toString(16).toUpperCase() + "%" + (c & 63 | 128).toString(16).toUpperCase();
-        else
-          e = "%" + (c >> 12 | 224).toString(16).toUpperCase() + "%" + (c >> 6 & 63 | 128).toString(16).toUpperCase() + "%" + (c & 63 | 128).toString(16).toUpperCase();
-        return e;
-      }
-      function pctDecChars(str) {
-        var newStr = "";
-        var i = 0;
-        var il = str.length;
-        while (i < il) {
-          var c = parseInt(str.substr(i + 1, 2), 16);
-          if (c < 128) {
-            newStr += String.fromCharCode(c);
-            i += 3;
-          } else if (c >= 194 && c < 224) {
-            if (il - i >= 6) {
-              var c2 = parseInt(str.substr(i + 4, 2), 16);
-              newStr += String.fromCharCode((c & 31) << 6 | c2 & 63);
-            } else {
-              newStr += str.substr(i, 6);
-            }
-            i += 6;
-          } else if (c >= 224) {
-            if (il - i >= 9) {
-              var _c = parseInt(str.substr(i + 4, 2), 16);
-              var c3 = parseInt(str.substr(i + 7, 2), 16);
-              newStr += String.fromCharCode((c & 15) << 12 | (_c & 63) << 6 | c3 & 63);
-            } else {
-              newStr += str.substr(i, 9);
-            }
-            i += 9;
-          } else {
-            newStr += str.substr(i, 3);
-            i += 3;
-          }
-        }
-        return newStr;
-      }
-      function _normalizeComponentEncoding(components, protocol) {
-        function decodeUnreserved2(str) {
-          var decStr = pctDecChars(str);
-          return !decStr.match(protocol.UNRESERVED) ? str : decStr;
-        }
-        if (components.scheme)
-          components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved2).toLowerCase().replace(protocol.NOT_SCHEME, "");
-        if (components.userinfo !== void 0)
-          components.userinfo = String(components.userinfo).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_USERINFO, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
-        if (components.host !== void 0)
-          components.host = String(components.host).replace(protocol.PCT_ENCODED, decodeUnreserved2).toLowerCase().replace(protocol.NOT_HOST, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
-        if (components.path !== void 0)
-          components.path = String(components.path).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(components.scheme ? protocol.NOT_PATH : protocol.NOT_PATH_NOSCHEME, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
-        if (components.query !== void 0)
-          components.query = String(components.query).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_QUERY, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
-        if (components.fragment !== void 0)
-          components.fragment = String(components.fragment).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_FRAGMENT, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
-        return components;
-      }
-      function _stripLeadingZeros(str) {
-        return str.replace(/^0*(.*)/, "$1") || "0";
-      }
-      function _normalizeIPv4(host, protocol) {
-        var matches = host.match(protocol.IPV4ADDRESS) || [];
-        var _matches = slicedToArray(matches, 2), address = _matches[1];
-        if (address) {
-          return address.split(".").map(_stripLeadingZeros).join(".");
-        } else {
-          return host;
-        }
-      }
-      function _normalizeIPv6(host, protocol) {
-        var matches = host.match(protocol.IPV6ADDRESS) || [];
-        var _matches2 = slicedToArray(matches, 3), address = _matches2[1], zone = _matches2[2];
-        if (address) {
-          var _address$toLowerCase$ = address.toLowerCase().split("::").reverse(), _address$toLowerCase$2 = slicedToArray(_address$toLowerCase$, 2), last = _address$toLowerCase$2[0], first = _address$toLowerCase$2[1];
-          var firstFields = first ? first.split(":").map(_stripLeadingZeros) : [];
-          var lastFields = last.split(":").map(_stripLeadingZeros);
-          var isLastFieldIPv4Address = protocol.IPV4ADDRESS.test(lastFields[lastFields.length - 1]);
-          var fieldCount = isLastFieldIPv4Address ? 7 : 8;
-          var lastFieldsStart = lastFields.length - fieldCount;
-          var fields = Array(fieldCount);
-          for (var x = 0; x < fieldCount; ++x) {
-            fields[x] = firstFields[x] || lastFields[lastFieldsStart + x] || "";
-          }
-          if (isLastFieldIPv4Address) {
-            fields[fieldCount - 1] = _normalizeIPv4(fields[fieldCount - 1], protocol);
-          }
-          var allZeroFields = fields.reduce(function(acc, field, index) {
-            if (!field || field === "0") {
-              var lastLongest = acc[acc.length - 1];
-              if (lastLongest && lastLongest.index + lastLongest.length === index) {
-                lastLongest.length++;
-              } else {
-                acc.push({ index, length: 1 });
-              }
-            }
-            return acc;
-          }, []);
-          var longestZeroFields = allZeroFields.sort(function(a, b) {
-            return b.length - a.length;
-          })[0];
-          var newHost = void 0;
-          if (longestZeroFields && longestZeroFields.length > 1) {
-            var newFirst = fields.slice(0, longestZeroFields.index);
-            var newLast = fields.slice(longestZeroFields.index + longestZeroFields.length);
-            newHost = newFirst.join(":") + "::" + newLast.join(":");
-          } else {
-            newHost = fields.join(":");
-          }
-          if (zone) {
-            newHost += "%" + zone;
-          }
-          return newHost;
-        } else {
-          return host;
-        }
-      }
-      var URI_PARSE = /^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;
-      var NO_MATCH_IS_UNDEFINED = "".match(/(){0}/)[1] === void 0;
-      function parse(uriString) {
-        var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
-        var components = {};
-        var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL;
-        if (options.reference === "suffix")
-          uriString = (options.scheme ? options.scheme + ":" : "") + "//" + uriString;
-        var matches = uriString.match(URI_PARSE);
-        if (matches) {
-          if (NO_MATCH_IS_UNDEFINED) {
-            components.scheme = matches[1];
-            components.userinfo = matches[3];
-            components.host = matches[4];
-            components.port = parseInt(matches[5], 10);
-            components.path = matches[6] || "";
-            components.query = matches[7];
-            components.fragment = matches[8];
-            if (isNaN(components.port)) {
-              components.port = matches[5];
-            }
-          } else {
-            components.scheme = matches[1] || void 0;
-            components.userinfo = uriString.indexOf("@") !== -1 ? matches[3] : void 0;
-            components.host = uriString.indexOf("//") !== -1 ? matches[4] : void 0;
-            components.port = parseInt(matches[5], 10);
-            components.path = matches[6] || "";
-            components.query = uriString.indexOf("?") !== -1 ? matches[7] : void 0;
-            components.fragment = uriString.indexOf("#") !== -1 ? matches[8] : void 0;
-            if (isNaN(components.port)) {
-              components.port = uriString.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/) ? matches[4] : void 0;
-            }
-          }
-          if (components.host) {
-            components.host = _normalizeIPv6(_normalizeIPv4(components.host, protocol), protocol);
-          }
-          if (components.scheme === void 0 && components.userinfo === void 0 && components.host === void 0 && components.port === void 0 && !components.path && components.query === void 0) {
-            components.reference = "same-document";
-          } else if (components.scheme === void 0) {
-            components.reference = "relative";
-          } else if (components.fragment === void 0) {
-            components.reference = "absolute";
-          } else {
-            components.reference = "uri";
-          }
-          if (options.reference && options.reference !== "suffix" && options.reference !== components.reference) {
-            components.error = components.error || "URI is not a " + options.reference + " reference.";
-          }
-          var schemeHandler = SCHEMES[(options.scheme || components.scheme || "").toLowerCase()];
-          if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
-            if (components.host && (options.domainHost || schemeHandler && schemeHandler.domainHost)) {
-              try {
-                components.host = punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase());
-              } catch (e) {
-                components.error = components.error || "Host's domain name can not be converted to ASCII via punycode: " + e;
-              }
-            }
-            _normalizeComponentEncoding(components, URI_PROTOCOL);
-          } else {
-            _normalizeComponentEncoding(components, protocol);
-          }
-          if (schemeHandler && schemeHandler.parse) {
-            schemeHandler.parse(components, options);
-          }
-        } else {
-          components.error = components.error || "URI can not be parsed.";
-        }
-        return components;
-      }
-      function _recomposeAuthority(components, options) {
-        var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL;
-        var uriTokens = [];
-        if (components.userinfo !== void 0) {
-          uriTokens.push(components.userinfo);
-          uriTokens.push("@");
-        }
-        if (components.host !== void 0) {
-          uriTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host), protocol), protocol).replace(protocol.IPV6ADDRESS, function(_, $1, $2) {
-            return "[" + $1 + ($2 ? "%25" + $2 : "") + "]";
-          }));
-        }
-        if (typeof components.port === "number" || typeof components.port === "string") {
-          uriTokens.push(":");
-          uriTokens.push(String(components.port));
-        }
-        return uriTokens.length ? uriTokens.join("") : void 0;
-      }
-      var RDS1 = /^\.\.?\//;
-      var RDS2 = /^\/\.(\/|$)/;
-      var RDS3 = /^\/\.\.(\/|$)/;
-      var RDS5 = /^\/?(?:.|\n)*?(?=\/|$)/;
-      function removeDotSegments(input) {
-        var output = [];
-        while (input.length) {
-          if (input.match(RDS1)) {
-            input = input.replace(RDS1, "");
-          } else if (input.match(RDS2)) {
-            input = input.replace(RDS2, "/");
-          } else if (input.match(RDS3)) {
-            input = input.replace(RDS3, "/");
-            output.pop();
-          } else if (input === "." || input === "..") {
-            input = "";
-          } else {
-            var im = input.match(RDS5);
-            if (im) {
-              var s = im[0];
-              input = input.slice(s.length);
-              output.push(s);
-            } else {
-              throw new Error("Unexpected dot segment condition");
-            }
-          }
-        }
-        return output.join("");
-      }
-      function serialize(components) {
-        var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
-        var protocol = options.iri ? IRI_PROTOCOL : URI_PROTOCOL;
-        var uriTokens = [];
-        var schemeHandler = SCHEMES[(options.scheme || components.scheme || "").toLowerCase()];
-        if (schemeHandler && schemeHandler.serialize)
-          schemeHandler.serialize(components, options);
-        if (components.host) {
-          if (protocol.IPV6ADDRESS.test(components.host)) {
-          } else if (options.domainHost || schemeHandler && schemeHandler.domainHost) {
-            try {
-              components.host = !options.iri ? punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase()) : punycode.toUnicode(components.host);
-            } catch (e) {
-              components.error = components.error || "Host's domain name can not be converted to " + (!options.iri ? "ASCII" : "Unicode") + " via punycode: " + e;
-            }
-          }
-        }
-        _normalizeComponentEncoding(components, protocol);
-        if (options.reference !== "suffix" && components.scheme) {
-          uriTokens.push(components.scheme);
-          uriTokens.push(":");
-        }
-        var authority = _recomposeAuthority(components, options);
-        if (authority !== void 0) {
-          if (options.reference !== "suffix") {
-            uriTokens.push("//");
-          }
-          uriTokens.push(authority);
-          if (components.path && components.path.charAt(0) !== "/") {
-            uriTokens.push("/");
-          }
-        }
-        if (components.path !== void 0) {
-          var s = components.path;
-          if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {
-            s = removeDotSegments(s);
-          }
-          if (authority === void 0) {
-            s = s.replace(/^\/\//, "/%2F");
-          }
-          uriTokens.push(s);
-        }
-        if (components.query !== void 0) {
-          uriTokens.push("?");
-          uriTokens.push(components.query);
-        }
-        if (components.fragment !== void 0) {
-          uriTokens.push("#");
-          uriTokens.push(components.fragment);
-        }
-        return uriTokens.join("");
-      }
-      function resolveComponents(base2, relative) {
-        var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
-        var skipNormalization = arguments[3];
-        var target = {};
-        if (!skipNormalization) {
-          base2 = parse(serialize(base2, options), options);
-          relative = parse(serialize(relative, options), options);
-        }
-        options = options || {};
-        if (!options.tolerant && relative.scheme) {
-          target.scheme = relative.scheme;
-          target.userinfo = relative.userinfo;
-          target.host = relative.host;
-          target.port = relative.port;
-          target.path = removeDotSegments(relative.path || "");
-          target.query = relative.query;
-        } else {
-          if (relative.userinfo !== void 0 || relative.host !== void 0 || relative.port !== void 0) {
-            target.userinfo = relative.userinfo;
-            target.host = relative.host;
-            target.port = relative.port;
-            target.path = removeDotSegments(relative.path || "");
-            target.query = relative.query;
-          } else {
-            if (!relative.path) {
-              target.path = base2.path;
-              if (relative.query !== void 0) {
-                target.query = relative.query;
-              } else {
-                target.query = base2.query;
-              }
-            } else {
-              if (relative.path.charAt(0) === "/") {
-                target.path = removeDotSegments(relative.path);
-              } else {
-                if ((base2.userinfo !== void 0 || base2.host !== void 0 || base2.port !== void 0) && !base2.path) {
-                  target.path = "/" + relative.path;
-                } else if (!base2.path) {
-                  target.path = relative.path;
-                } else {
-                  target.path = base2.path.slice(0, base2.path.lastIndexOf("/") + 1) + relative.path;
-                }
-                target.path = removeDotSegments(target.path);
-              }
-              target.query = relative.query;
-            }
-            target.userinfo = base2.userinfo;
-            target.host = base2.host;
-            target.port = base2.port;
-          }
-          target.scheme = base2.scheme;
-        }
-        target.fragment = relative.fragment;
-        return target;
-      }
-      function resolve(baseURI, relativeURI, options) {
-        var schemelessOptions = assign({ scheme: "null" }, options);
-        return serialize(resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions);
-      }
-      function normalize(uri, options) {
-        if (typeof uri === "string") {
-          uri = serialize(parse(uri, options), options);
-        } else if (typeOf(uri) === "object") {
-          uri = parse(serialize(uri, options), options);
-        }
-        return uri;
-      }
-      function equal(uriA, uriB, options) {
-        if (typeof uriA === "string") {
-          uriA = serialize(parse(uriA, options), options);
-        } else if (typeOf(uriA) === "object") {
-          uriA = serialize(uriA, options);
-        }
-        if (typeof uriB === "string") {
-          uriB = serialize(parse(uriB, options), options);
-        } else if (typeOf(uriB) === "object") {
-          uriB = serialize(uriB, options);
-        }
-        return uriA === uriB;
-      }
-      function escapeComponent(str, options) {
-        return str && str.toString().replace(!options || !options.iri ? URI_PROTOCOL.ESCAPE : IRI_PROTOCOL.ESCAPE, pctEncChar);
-      }
-      function unescapeComponent(str, options) {
-        return str && str.toString().replace(!options || !options.iri ? URI_PROTOCOL.PCT_ENCODED : IRI_PROTOCOL.PCT_ENCODED, pctDecChars);
-      }
-      var handler = {
-        scheme: "http",
-        domainHost: true,
-        parse: function parse2(components, options) {
-          if (!components.host) {
-            components.error = components.error || "HTTP URIs must have a host.";
-          }
-          return components;
-        },
-        serialize: function serialize2(components, options) {
-          var secure = String(components.scheme).toLowerCase() === "https";
-          if (components.port === (secure ? 443 : 80) || components.port === "") {
-            components.port = void 0;
-          }
-          if (!components.path) {
-            components.path = "/";
-          }
-          return components;
-        }
-      };
-      var handler$1 = {
-        scheme: "https",
-        domainHost: handler.domainHost,
-        parse: handler.parse,
-        serialize: handler.serialize
-      };
-      function isSecure(wsComponents) {
-        return typeof wsComponents.secure === "boolean" ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === "wss";
-      }
-      var handler$2 = {
-        scheme: "ws",
-        domainHost: true,
-        parse: function parse2(components, options) {
-          var wsComponents = components;
-          wsComponents.secure = isSecure(wsComponents);
-          wsComponents.resourceName = (wsComponents.path || "/") + (wsComponents.query ? "?" + wsComponents.query : "");
-          wsComponents.path = void 0;
-          wsComponents.query = void 0;
-          return wsComponents;
-        },
-        serialize: function serialize2(wsComponents, options) {
-          if (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === "") {
-            wsComponents.port = void 0;
-          }
-          if (typeof wsComponents.secure === "boolean") {
-            wsComponents.scheme = wsComponents.secure ? "wss" : "ws";
-            wsComponents.secure = void 0;
-          }
-          if (wsComponents.resourceName) {
-            var _wsComponents$resourc = wsComponents.resourceName.split("?"), _wsComponents$resourc2 = slicedToArray(_wsComponents$resourc, 2), path = _wsComponents$resourc2[0], query = _wsComponents$resourc2[1];
-            wsComponents.path = path && path !== "/" ? path : void 0;
-            wsComponents.query = query;
-            wsComponents.resourceName = void 0;
-          }
-          wsComponents.fragment = void 0;
-          return wsComponents;
-        }
-      };
-      var handler$3 = {
-        scheme: "wss",
-        domainHost: handler$2.domainHost,
-        parse: handler$2.parse,
-        serialize: handler$2.serialize
-      };
-      var O = {};
-      var isIRI = true;
-      var UNRESERVED$$ = "[A-Za-z0-9\\-\\.\\_\\~" + (isIRI ? "\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF" : "") + "]";
-      var HEXDIG$$ = "[0-9A-Fa-f]";
-      var PCT_ENCODED$ = subexp(subexp("%[EFef]" + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$) + "|" + subexp("%[89A-Fa-f]" + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$) + "|" + subexp("%" + HEXDIG$$ + HEXDIG$$));
-      var ATEXT$$ = "[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";
-      var QTEXT$$ = "[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";
-      var VCHAR$$ = merge(QTEXT$$, '[\\"\\\\]');
-      var SOME_DELIMS$$ = "[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";
-      var UNRESERVED = new RegExp(UNRESERVED$$, "g");
-      var PCT_ENCODED = new RegExp(PCT_ENCODED$, "g");
-      var NOT_LOCAL_PART = new RegExp(merge("[^]", ATEXT$$, "[\\.]", '[\\"]', VCHAR$$), "g");
-      var NOT_HFNAME = new RegExp(merge("[^]", UNRESERVED$$, SOME_DELIMS$$), "g");
-      var NOT_HFVALUE = NOT_HFNAME;
-      function decodeUnreserved(str) {
-        var decStr = pctDecChars(str);
-        return !decStr.match(UNRESERVED) ? str : decStr;
-      }
-      var handler$4 = {
-        scheme: "mailto",
-        parse: function parse$$1(components, options) {
-          var mailtoComponents = components;
-          var to = mailtoComponents.to = mailtoComponents.path ? mailtoComponents.path.split(",") : [];
-          mailtoComponents.path = void 0;
-          if (mailtoComponents.query) {
-            var unknownHeaders = false;
-            var headers = {};
-            var hfields = mailtoComponents.query.split("&");
-            for (var x = 0, xl = hfields.length; x < xl; ++x) {
-              var hfield = hfields[x].split("=");
-              switch (hfield[0]) {
-                case "to":
-                  var toAddrs = hfield[1].split(",");
-                  for (var _x = 0, _xl = toAddrs.length; _x < _xl; ++_x) {
-                    to.push(toAddrs[_x]);
-                  }
-                  break;
-                case "subject":
-                  mailtoComponents.subject = unescapeComponent(hfield[1], options);
-                  break;
-                case "body":
-                  mailtoComponents.body = unescapeComponent(hfield[1], options);
-                  break;
-                default:
-                  unknownHeaders = true;
-                  headers[unescapeComponent(hfield[0], options)] = unescapeComponent(hfield[1], options);
-                  break;
-              }
-            }
-            if (unknownHeaders)
-              mailtoComponents.headers = headers;
-          }
-          mailtoComponents.query = void 0;
-          for (var _x2 = 0, _xl2 = to.length; _x2 < _xl2; ++_x2) {
-            var addr = to[_x2].split("@");
-            addr[0] = unescapeComponent(addr[0]);
-            if (!options.unicodeSupport) {
-              try {
-                addr[1] = punycode.toASCII(unescapeComponent(addr[1], options).toLowerCase());
-              } catch (e) {
-                mailtoComponents.error = mailtoComponents.error || "Email address's domain name can not be converted to ASCII via punycode: " + e;
-              }
-            } else {
-              addr[1] = unescapeComponent(addr[1], options).toLowerCase();
-            }
-            to[_x2] = addr.join("@");
-          }
-          return mailtoComponents;
-        },
-        serialize: function serialize$$1(mailtoComponents, options) {
-          var components = mailtoComponents;
-          var to = toArray(mailtoComponents.to);
-          if (to) {
-            for (var x = 0, xl = to.length; x < xl; ++x) {
-              var toAddr = String(to[x]);
-              var atIdx = toAddr.lastIndexOf("@");
-              var localPart = toAddr.slice(0, atIdx).replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_LOCAL_PART, pctEncChar);
-              var domain = toAddr.slice(atIdx + 1);
-              try {
-                domain = !options.iri ? punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : punycode.toUnicode(domain);
-              } catch (e) {
-                components.error = components.error || "Email address's domain name can not be converted to " + (!options.iri ? "ASCII" : "Unicode") + " via punycode: " + e;
-              }
-              to[x] = localPart + "@" + domain;
-            }
-            components.path = to.join(",");
-          }
-          var headers = mailtoComponents.headers = mailtoComponents.headers || {};
-          if (mailtoComponents.subject)
-            headers["subject"] = mailtoComponents.subject;
-          if (mailtoComponents.body)
-            headers["body"] = mailtoComponents.body;
-          var fields = [];
-          for (var name in headers) {
-            if (headers[name] !== O[name]) {
-              fields.push(name.replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFNAME, pctEncChar) + "=" + headers[name].replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFVALUE, pctEncChar));
-            }
-          }
-          if (fields.length) {
-            components.query = fields.join("&");
-          }
-          return components;
-        }
-      };
-      var URN_PARSE = /^([^\:]+)\:(.*)/;
-      var handler$5 = {
-        scheme: "urn",
-        parse: function parse$$1(components, options) {
-          var matches = components.path && components.path.match(URN_PARSE);
-          var urnComponents = components;
-          if (matches) {
-            var scheme = options.scheme || urnComponents.scheme || "urn";
-            var nid = matches[1].toLowerCase();
-            var nss = matches[2];
-            var urnScheme = scheme + ":" + (options.nid || nid);
-            var schemeHandler = SCHEMES[urnScheme];
-            urnComponents.nid = nid;
-            urnComponents.nss = nss;
-            urnComponents.path = void 0;
-            if (schemeHandler) {
-              urnComponents = schemeHandler.parse(urnComponents, options);
-            }
-          } else {
-            urnComponents.error = urnComponents.error || "URN can not be parsed.";
-          }
-          return urnComponents;
-        },
-        serialize: function serialize$$1(urnComponents, options) {
-          var scheme = options.scheme || urnComponents.scheme || "urn";
-          var nid = urnComponents.nid;
-          var urnScheme = scheme + ":" + (options.nid || nid);
-          var schemeHandler = SCHEMES[urnScheme];
-          if (schemeHandler) {
-            urnComponents = schemeHandler.serialize(urnComponents, options);
-          }
-          var uriComponents = urnComponents;
-          var nss = urnComponents.nss;
-          uriComponents.path = (nid || options.nid) + ":" + nss;
-          return uriComponents;
-        }
-      };
-      var UUID = /^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;
-      var handler$6 = {
-        scheme: "urn:uuid",
-        parse: function parse2(urnComponents, options) {
-          var uuidComponents = urnComponents;
-          uuidComponents.uuid = uuidComponents.nss;
-          uuidComponents.nss = void 0;
-          if (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) {
-            uuidComponents.error = uuidComponents.error || "UUID is not valid.";
-          }
-          return uuidComponents;
-        },
-        serialize: function serialize2(uuidComponents, options) {
-          var urnComponents = uuidComponents;
-          urnComponents.nss = (uuidComponents.uuid || "").toLowerCase();
-          return urnComponents;
-        }
-      };
-      SCHEMES[handler.scheme] = handler;
-      SCHEMES[handler$1.scheme] = handler$1;
-      SCHEMES[handler$2.scheme] = handler$2;
-      SCHEMES[handler$3.scheme] = handler$3;
-      SCHEMES[handler$4.scheme] = handler$4;
-      SCHEMES[handler$5.scheme] = handler$5;
-      SCHEMES[handler$6.scheme] = handler$6;
-      exports2.SCHEMES = SCHEMES;
-      exports2.pctEncChar = pctEncChar;
-      exports2.pctDecChars = pctDecChars;
-      exports2.parse = parse;
-      exports2.removeDotSegments = removeDotSegments;
-      exports2.serialize = serialize;
-      exports2.resolveComponents = resolveComponents;
-      exports2.resolve = resolve;
-      exports2.normalize = normalize;
-      exports2.equal = equal;
-      exports2.escapeComponent = escapeComponent;
-      exports2.unescapeComponent = unescapeComponent;
-      Object.defineProperty(exports2, "__esModule", { value: true });
-    });
-  }
-});
-
-// ../../node_modules/ajv/dist/runtime/uri.js
-var require_uri = __commonJS({
-  "../../node_modules/ajv/dist/runtime/uri.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var uri = require_uri_all();
-    uri.code = 'require("ajv/dist/runtime/uri").default';
-    exports.default = uri;
-  }
-});
-
-// ../../node_modules/ajv/dist/core.js
-var require_core = __commonJS({
-  "../../node_modules/ajv/dist/core.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
-    var validate_1 = require_validate();
-    Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function() {
-      return validate_1.KeywordCxt;
-    } });
-    var codegen_1 = require_codegen();
-    Object.defineProperty(exports, "_", { enumerable: true, get: function() {
-      return codegen_1._;
-    } });
-    Object.defineProperty(exports, "str", { enumerable: true, get: function() {
-      return codegen_1.str;
-    } });
-    Object.defineProperty(exports, "stringify", { enumerable: true, get: function() {
-      return codegen_1.stringify;
-    } });
-    Object.defineProperty(exports, "nil", { enumerable: true, get: function() {
-      return codegen_1.nil;
-    } });
-    Object.defineProperty(exports, "Name", { enumerable: true, get: function() {
-      return codegen_1.Name;
-    } });
-    Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function() {
-      return codegen_1.CodeGen;
-    } });
-    var validation_error_1 = require_validation_error();
-    var ref_error_1 = require_ref_error();
-    var rules_1 = require_rules();
-    var compile_1 = require_compile();
-    var codegen_2 = require_codegen();
-    var resolve_1 = require_resolve();
-    var dataType_1 = require_dataType();
-    var util_1 = require_util();
-    var $dataRefSchema = require_data();
-    var uri_1 = require_uri();
-    var defaultRegExp = (str, flags) => new RegExp(str, flags);
-    defaultRegExp.code = "new RegExp";
-    var META_IGNORE_OPTIONS = ["removeAdditional", "useDefaults", "coerceTypes"];
-    var EXT_SCOPE_NAMES = /* @__PURE__ */ new Set([
-      "validate",
-      "serialize",
-      "parse",
-      "wrapper",
-      "root",
-      "schema",
-      "keyword",
-      "pattern",
-      "formats",
-      "validate$data",
-      "func",
-      "obj",
-      "Error"
-    ]);
-    var removedOptions = {
-      errorDataPath: "",
-      format: "`validateFormats: false` can be used instead.",
-      nullable: '"nullable" keyword is supported by default.',
-      jsonPointers: "Deprecated jsPropertySyntax can be used instead.",
-      extendRefs: "Deprecated ignoreKeywordsWithRef can be used instead.",
-      missingRefs: "Pass empty schema with $id that should be ignored to ajv.addSchema.",
-      processCode: "Use option `code: {process: (code, schemaEnv: object) => string}`",
-      sourceCode: "Use option `code: {source: true}`",
-      strictDefaults: "It is default now, see option `strict`.",
-      strictKeywords: "It is default now, see option `strict`.",
-      uniqueItems: '"uniqueItems" keyword is always validated.',
-      unknownFormats: "Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",
-      cache: "Map is used as cache, schema object as key.",
-      serialize: "Map is used as cache, schema object as key.",
-      ajvErrors: "It is default now."
-    };
-    var deprecatedOptions = {
-      ignoreKeywordsWithRef: "",
-      jsPropertySyntax: "",
-      unicode: '"minLength"/"maxLength" account for unicode characters by default.'
-    };
-    var MAX_EXPRESSION = 200;
-    function requiredOptions(o) {
-      var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
-      const s = o.strict;
-      const _optz = (_a = o.code) === null || _a === void 0 ? void 0 : _a.optimize;
-      const optimize = _optz === true || _optz === void 0 ? 1 : _optz || 0;
-      const regExp = (_c = (_b = o.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;
-      const uriResolver = (_d = o.uriResolver) !== null && _d !== void 0 ? _d : uri_1.default;
-      return {
-        strictSchema: (_f = (_e = o.strictSchema) !== null && _e !== void 0 ? _e : s) !== null && _f !== void 0 ? _f : true,
-        strictNumbers: (_h = (_g = o.strictNumbers) !== null && _g !== void 0 ? _g : s) !== null && _h !== void 0 ? _h : true,
-        strictTypes: (_k = (_j = o.strictTypes) !== null && _j !== void 0 ? _j : s) !== null && _k !== void 0 ? _k : "log",
-        strictTuples: (_m = (_l = o.strictTuples) !== null && _l !== void 0 ? _l : s) !== null && _m !== void 0 ? _m : "log",
-        strictRequired: (_p = (_o = o.strictRequired) !== null && _o !== void 0 ? _o : s) !== null && _p !== void 0 ? _p : false,
-        code: o.code ? { ...o.code, optimize, regExp } : { optimize, regExp },
-        loopRequired: (_q = o.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
-        loopEnum: (_r = o.loopEnum) !== null && _r !== void 0 ? _r : MAX_EXPRESSION,
-        meta: (_s = o.meta) !== null && _s !== void 0 ? _s : true,
-        messages: (_t = o.messages) !== null && _t !== void 0 ? _t : true,
-        inlineRefs: (_u = o.inlineRefs) !== null && _u !== void 0 ? _u : true,
-        schemaId: (_v = o.schemaId) !== null && _v !== void 0 ? _v : "$id",
-        addUsedSchema: (_w = o.addUsedSchema) !== null && _w !== void 0 ? _w : true,
-        validateSchema: (_x = o.validateSchema) !== null && _x !== void 0 ? _x : true,
-        validateFormats: (_y = o.validateFormats) !== null && _y !== void 0 ? _y : true,
-        unicodeRegExp: (_z = o.unicodeRegExp) !== null && _z !== void 0 ? _z : true,
-        int32range: (_0 = o.int32range) !== null && _0 !== void 0 ? _0 : true,
-        uriResolver
-      };
-    }
-    var Ajv3 = class {
-      constructor(opts = {}) {
-        this.schemas = {};
-        this.refs = {};
-        this.formats = {};
-        this._compilations = /* @__PURE__ */ new Set();
-        this._loading = {};
-        this._cache = /* @__PURE__ */ new Map();
-        opts = this.opts = { ...opts, ...requiredOptions(opts) };
-        const { es5, lines } = this.opts.code;
-        this.scope = new codegen_2.ValueScope({ scope: {}, prefixes: EXT_SCOPE_NAMES, es5, lines });
-        this.logger = getLogger(opts.logger);
-        const formatOpt = opts.validateFormats;
-        opts.validateFormats = false;
-        this.RULES = (0, rules_1.getRules)();
-        checkOptions.call(this, removedOptions, opts, "NOT SUPPORTED");
-        checkOptions.call(this, deprecatedOptions, opts, "DEPRECATED", "warn");
-        this._metaOpts = getMetaSchemaOptions.call(this);
-        if (opts.formats)
-          addInitialFormats.call(this);
-        this._addVocabularies();
-        this._addDefaultMetaSchema();
-        if (opts.keywords)
-          addInitialKeywords.call(this, opts.keywords);
-        if (typeof opts.meta == "object")
-          this.addMetaSchema(opts.meta);
-        addInitialSchemas.call(this);
-        opts.validateFormats = formatOpt;
-      }
-      _addVocabularies() {
-        this.addKeyword("$async");
-      }
-      _addDefaultMetaSchema() {
-        const { $data, meta, schemaId } = this.opts;
-        let _dataRefSchema = $dataRefSchema;
-        if (schemaId === "id") {
-          _dataRefSchema = { ...$dataRefSchema };
-          _dataRefSchema.id = _dataRefSchema.$id;
-          delete _dataRefSchema.$id;
-        }
-        if (meta && $data)
-          this.addMetaSchema(_dataRefSchema, _dataRefSchema[schemaId], false);
-      }
-      defaultMeta() {
-        const { meta, schemaId } = this.opts;
-        return this.opts.defaultMeta = typeof meta == "object" ? meta[schemaId] || meta : void 0;
-      }
-      validate(schemaKeyRef, data) {
-        let v;
-        if (typeof schemaKeyRef == "string") {
-          v = this.getSchema(schemaKeyRef);
-          if (!v)
-            throw new Error(`no schema with key or ref "${schemaKeyRef}"`);
-        } else {
-          v = this.compile(schemaKeyRef);
-        }
-        const valid = v(data);
-        if (!("$async" in v))
-          this.errors = v.errors;
-        return valid;
-      }
-      compile(schema, _meta) {
-        const sch = this._addSchema(schema, _meta);
-        return sch.validate || this._compileSchemaEnv(sch);
-      }
-      compileAsync(schema, meta) {
-        if (typeof this.opts.loadSchema != "function") {
-          throw new Error("options.loadSchema should be a function");
-        }
-        const { loadSchema } = this.opts;
-        return runCompileAsync.call(this, schema, meta);
-        async function runCompileAsync(_schema, _meta) {
-          await loadMetaSchema.call(this, _schema.$schema);
-          const sch = this._addSchema(_schema, _meta);
-          return sch.validate || _compileAsync.call(this, sch);
-        }
-        async function loadMetaSchema($ref) {
-          if ($ref && !this.getSchema($ref)) {
-            await runCompileAsync.call(this, { $ref }, true);
-          }
-        }
-        async function _compileAsync(sch) {
-          try {
-            return this._compileSchemaEnv(sch);
-          } catch (e) {
-            if (!(e instanceof ref_error_1.default))
-              throw e;
-            checkLoaded.call(this, e);
-            await loadMissingSchema.call(this, e.missingSchema);
-            return _compileAsync.call(this, sch);
-          }
-        }
-        function checkLoaded({ missingSchema: ref, missingRef }) {
-          if (this.refs[ref]) {
-            throw new Error(`AnySchema ${ref} is loaded but ${missingRef} cannot be resolved`);
-          }
-        }
-        async function loadMissingSchema(ref) {
-          const _schema = await _loadSchema.call(this, ref);
-          if (!this.refs[ref])
-            await loadMetaSchema.call(this, _schema.$schema);
-          if (!this.refs[ref])
-            this.addSchema(_schema, ref, meta);
-        }
-        async function _loadSchema(ref) {
-          const p = this._loading[ref];
-          if (p)
-            return p;
-          try {
-            return await (this._loading[ref] = loadSchema(ref));
-          } finally {
-            delete this._loading[ref];
-          }
-        }
-      }
-      addSchema(schema, key, _meta, _validateSchema = this.opts.validateSchema) {
-        if (Array.isArray(schema)) {
-          for (const sch of schema)
-            this.addSchema(sch, void 0, _meta, _validateSchema);
-          return this;
-        }
-        let id;
-        if (typeof schema === "object") {
-          const { schemaId } = this.opts;
-          id = schema[schemaId];
-          if (id !== void 0 && typeof id != "string") {
-            throw new Error(`schema ${schemaId} must be string`);
-          }
-        }
-        key = (0, resolve_1.normalizeId)(key || id);
-        this._checkUnique(key);
-        this.schemas[key] = this._addSchema(schema, _meta, key, _validateSchema, true);
-        return this;
-      }
-      addMetaSchema(schema, key, _validateSchema = this.opts.validateSchema) {
-        this.addSchema(schema, key, true, _validateSchema);
-        return this;
-      }
-      validateSchema(schema, throwOrLogError) {
-        if (typeof schema == "boolean")
-          return true;
-        let $schema;
-        $schema = schema.$schema;
-        if ($schema !== void 0 && typeof $schema != "string") {
-          throw new Error("$schema must be a string");
-        }
-        $schema = $schema || this.opts.defaultMeta || this.defaultMeta();
-        if (!$schema) {
-          this.logger.warn("meta-schema not available");
-          this.errors = null;
-          return true;
-        }
-        const valid = this.validate($schema, schema);
-        if (!valid && throwOrLogError) {
-          const message = "schema is invalid: " + this.errorsText();
-          if (this.opts.validateSchema === "log")
-            this.logger.error(message);
-          else
-            throw new Error(message);
-        }
-        return valid;
-      }
-      getSchema(keyRef) {
-        let sch;
-        while (typeof (sch = getSchEnv.call(this, keyRef)) == "string")
-          keyRef = sch;
-        if (sch === void 0) {
-          const { schemaId } = this.opts;
-          const root = new compile_1.SchemaEnv({ schema: {}, schemaId });
-          sch = compile_1.resolveSchema.call(this, root, keyRef);
-          if (!sch)
-            return;
-          this.refs[keyRef] = sch;
-        }
-        return sch.validate || this._compileSchemaEnv(sch);
-      }
-      removeSchema(schemaKeyRef) {
-        if (schemaKeyRef instanceof RegExp) {
-          this._removeAllSchemas(this.schemas, schemaKeyRef);
-          this._removeAllSchemas(this.refs, schemaKeyRef);
-          return this;
-        }
-        switch (typeof schemaKeyRef) {
-          case "undefined":
-            this._removeAllSchemas(this.schemas);
-            this._removeAllSchemas(this.refs);
-            this._cache.clear();
-            return this;
-          case "string": {
-            const sch = getSchEnv.call(this, schemaKeyRef);
-            if (typeof sch == "object")
-              this._cache.delete(sch.schema);
-            delete this.schemas[schemaKeyRef];
-            delete this.refs[schemaKeyRef];
-            return this;
-          }
-          case "object": {
-            const cacheKey = schemaKeyRef;
-            this._cache.delete(cacheKey);
-            let id = schemaKeyRef[this.opts.schemaId];
-            if (id) {
-              id = (0, resolve_1.normalizeId)(id);
-              delete this.schemas[id];
-              delete this.refs[id];
-            }
-            return this;
-          }
-          default:
-            throw new Error("ajv.removeSchema: invalid parameter");
-        }
-      }
-      addVocabulary(definitions) {
-        for (const def of definitions)
-          this.addKeyword(def);
-        return this;
-      }
-      addKeyword(kwdOrDef, def) {
-        let keyword;
-        if (typeof kwdOrDef == "string") {
-          keyword = kwdOrDef;
-          if (typeof def == "object") {
-            this.logger.warn("these parameters are deprecated, see docs for addKeyword");
-            def.keyword = keyword;
-          }
-        } else if (typeof kwdOrDef == "object" && def === void 0) {
-          def = kwdOrDef;
-          keyword = def.keyword;
-          if (Array.isArray(keyword) && !keyword.length) {
-            throw new Error("addKeywords: keyword must be string or non-empty array");
-          }
-        } else {
-          throw new Error("invalid addKeywords parameters");
-        }
-        checkKeyword.call(this, keyword, def);
-        if (!def) {
-          (0, util_1.eachItem)(keyword, (kwd) => addRule.call(this, kwd));
-          return this;
-        }
-        keywordMetaschema.call(this, def);
-        const definition = {
-          ...def,
-          type: (0, dataType_1.getJSONTypes)(def.type),
-          schemaType: (0, dataType_1.getJSONTypes)(def.schemaType)
-        };
-        (0, util_1.eachItem)(keyword, definition.type.length === 0 ? (k) => addRule.call(this, k, definition) : (k) => definition.type.forEach((t) => addRule.call(this, k, definition, t)));
-        return this;
-      }
-      getKeyword(keyword) {
-        const rule = this.RULES.all[keyword];
-        return typeof rule == "object" ? rule.definition : !!rule;
-      }
-      removeKeyword(keyword) {
-        const { RULES } = this;
-        delete RULES.keywords[keyword];
-        delete RULES.all[keyword];
-        for (const group of RULES.rules) {
-          const i = group.rules.findIndex((rule) => rule.keyword === keyword);
-          if (i >= 0)
-            group.rules.splice(i, 1);
-        }
-        return this;
-      }
-      addFormat(name, format) {
-        if (typeof format == "string")
-          format = new RegExp(format);
-        this.formats[name] = format;
-        return this;
-      }
-      errorsText(errors = this.errors, { separator = ", ", dataVar = "data" } = {}) {
-        if (!errors || errors.length === 0)
-          return "No errors";
-        return errors.map((e) => `${dataVar}${e.instancePath} ${e.message}`).reduce((text, msg) => text + separator + msg);
-      }
-      $dataMetaSchema(metaSchema, keywordsJsonPointers) {
-        const rules = this.RULES.all;
-        metaSchema = JSON.parse(JSON.stringify(metaSchema));
-        for (const jsonPointer of keywordsJsonPointers) {
-          const segments = jsonPointer.split("/").slice(1);
-          let keywords = metaSchema;
-          for (const seg of segments)
-            keywords = keywords[seg];
-          for (const key in rules) {
-            const rule = rules[key];
-            if (typeof rule != "object")
-              continue;
-            const { $data } = rule.definition;
-            const schema = keywords[key];
-            if ($data && schema)
-              keywords[key] = schemaOrData(schema);
-          }
-        }
-        return metaSchema;
-      }
-      _removeAllSchemas(schemas, regex) {
-        for (const keyRef in schemas) {
-          const sch = schemas[keyRef];
-          if (!regex || regex.test(keyRef)) {
-            if (typeof sch == "string") {
-              delete schemas[keyRef];
-            } else if (sch && !sch.meta) {
-              this._cache.delete(sch.schema);
-              delete schemas[keyRef];
-            }
-          }
-        }
-      }
-      _addSchema(schema, meta, baseId, validateSchema = this.opts.validateSchema, addSchema = this.opts.addUsedSchema) {
-        let id;
-        const { schemaId } = this.opts;
-        if (typeof schema == "object") {
-          id = schema[schemaId];
-        } else {
-          if (this.opts.jtd)
-            throw new Error("schema must be object");
-          else if (typeof schema != "boolean")
-            throw new Error("schema must be object or boolean");
-        }
-        let sch = this._cache.get(schema);
-        if (sch !== void 0)
-          return sch;
-        baseId = (0, resolve_1.normalizeId)(id || baseId);
-        const localRefs = resolve_1.getSchemaRefs.call(this, schema, baseId);
-        sch = new compile_1.SchemaEnv({ schema, schemaId, meta, baseId, localRefs });
-        this._cache.set(sch.schema, sch);
-        if (addSchema && !baseId.startsWith("#")) {
-          if (baseId)
-            this._checkUnique(baseId);
-          this.refs[baseId] = sch;
-        }
-        if (validateSchema)
-          this.validateSchema(schema, true);
-        return sch;
-      }
-      _checkUnique(id) {
-        if (this.schemas[id] || this.refs[id]) {
-          throw new Error(`schema with key or id "${id}" already exists`);
-        }
-      }
-      _compileSchemaEnv(sch) {
-        if (sch.meta)
-          this._compileMetaSchema(sch);
-        else
-          compile_1.compileSchema.call(this, sch);
-        if (!sch.validate)
-          throw new Error("ajv implementation error");
-        return sch.validate;
-      }
-      _compileMetaSchema(sch) {
-        const currentOpts = this.opts;
-        this.opts = this._metaOpts;
-        try {
-          compile_1.compileSchema.call(this, sch);
-        } finally {
-          this.opts = currentOpts;
-        }
-      }
-    };
-    exports.default = Ajv3;
-    Ajv3.ValidationError = validation_error_1.default;
-    Ajv3.MissingRefError = ref_error_1.default;
-    function checkOptions(checkOpts, options, msg, log = "error") {
-      for (const key in checkOpts) {
-        const opt = key;
-        if (opt in options)
-          this.logger[log](`${msg}: option ${key}. ${checkOpts[opt]}`);
-      }
-    }
-    function getSchEnv(keyRef) {
-      keyRef = (0, resolve_1.normalizeId)(keyRef);
-      return this.schemas[keyRef] || this.refs[keyRef];
-    }
-    function addInitialSchemas() {
-      const optsSchemas = this.opts.schemas;
-      if (!optsSchemas)
-        return;
-      if (Array.isArray(optsSchemas))
-        this.addSchema(optsSchemas);
-      else
-        for (const key in optsSchemas)
-          this.addSchema(optsSchemas[key], key);
-    }
-    function addInitialFormats() {
-      for (const name in this.opts.formats) {
-        const format = this.opts.formats[name];
-        if (format)
-          this.addFormat(name, format);
-      }
-    }
-    function addInitialKeywords(defs) {
-      if (Array.isArray(defs)) {
-        this.addVocabulary(defs);
-        return;
-      }
-      this.logger.warn("keywords option as map is deprecated, pass array");
-      for (const keyword in defs) {
-        const def = defs[keyword];
-        if (!def.keyword)
-          def.keyword = keyword;
-        this.addKeyword(def);
-      }
-    }
-    function getMetaSchemaOptions() {
-      const metaOpts = { ...this.opts };
-      for (const opt of META_IGNORE_OPTIONS)
-        delete metaOpts[opt];
-      return metaOpts;
-    }
-    var noLogs = { log() {
-    }, warn() {
-    }, error() {
-    } };
-    function getLogger(logger) {
-      if (logger === false)
-        return noLogs;
-      if (logger === void 0)
-        return console;
-      if (logger.log && logger.warn && logger.error)
-        return logger;
-      throw new Error("logger must implement log, warn and error methods");
-    }
-    var KEYWORD_NAME = /^[a-z_$][a-z0-9_$:-]*$/i;
-    function checkKeyword(keyword, def) {
-      const { RULES } = this;
-      (0, util_1.eachItem)(keyword, (kwd) => {
-        if (RULES.keywords[kwd])
-          throw new Error(`Keyword ${kwd} is already defined`);
-        if (!KEYWORD_NAME.test(kwd))
-          throw new Error(`Keyword ${kwd} has invalid name`);
-      });
-      if (!def)
-        return;
-      if (def.$data && !("code" in def || "validate" in def)) {
-        throw new Error('$data keyword must have "code" or "validate" function');
-      }
-    }
-    function addRule(keyword, definition, dataType) {
-      var _a;
-      const post = definition === null || definition === void 0 ? void 0 : definition.post;
-      if (dataType && post)
-        throw new Error('keyword with "post" flag cannot have "type"');
-      const { RULES } = this;
-      let ruleGroup = post ? RULES.post : RULES.rules.find(({ type: t }) => t === dataType);
-      if (!ruleGroup) {
-        ruleGroup = { type: dataType, rules: [] };
-        RULES.rules.push(ruleGroup);
-      }
-      RULES.keywords[keyword] = true;
-      if (!definition)
-        return;
-      const rule = {
-        keyword,
-        definition: {
-          ...definition,
-          type: (0, dataType_1.getJSONTypes)(definition.type),
-          schemaType: (0, dataType_1.getJSONTypes)(definition.schemaType)
-        }
-      };
-      if (definition.before)
-        addBeforeRule.call(this, ruleGroup, rule, definition.before);
-      else
-        ruleGroup.rules.push(rule);
-      RULES.all[keyword] = rule;
-      (_a = definition.implements) === null || _a === void 0 ? void 0 : _a.forEach((kwd) => this.addKeyword(kwd));
-    }
-    function addBeforeRule(ruleGroup, rule, before) {
-      const i = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before);
-      if (i >= 0) {
-        ruleGroup.rules.splice(i, 0, rule);
-      } else {
-        ruleGroup.rules.push(rule);
-        this.logger.warn(`rule ${before} is not defined`);
-      }
-    }
-    function keywordMetaschema(def) {
-      let { metaSchema } = def;
-      if (metaSchema === void 0)
-        return;
-      if (def.$data && this.opts.$data)
-        metaSchema = schemaOrData(metaSchema);
-      def.validateSchema = this.compile(metaSchema, true);
-    }
-    var $dataRef = {
-      $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"
-    };
-    function schemaOrData(schema) {
-      return { anyOf: [schema, $dataRef] };
-    }
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/core/id.js
-var require_id = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var def = {
-      keyword: "id",
-      code() {
-        throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID');
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/core/ref.js
-var require_ref = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.callRef = exports.getValidate = void 0;
-    var ref_error_1 = require_ref_error();
-    var code_1 = require_code2();
-    var codegen_1 = require_codegen();
-    var names_1 = require_names();
-    var compile_1 = require_compile();
-    var util_1 = require_util();
-    var def = {
-      keyword: "$ref",
-      schemaType: "string",
-      code(cxt) {
-        const { gen, schema: $ref, it } = cxt;
-        const { baseId, schemaEnv: env, validateName, opts, self } = it;
-        const { root } = env;
-        if (($ref === "#" || $ref === "#/") && baseId === root.baseId)
-          return callRootRef();
-        const schOrEnv = compile_1.resolveRef.call(self, root, baseId, $ref);
-        if (schOrEnv === void 0)
-          throw new ref_error_1.default(it.opts.uriResolver, baseId, $ref);
-        if (schOrEnv instanceof compile_1.SchemaEnv)
-          return callValidate(schOrEnv);
-        return inlineRefSchema(schOrEnv);
-        function callRootRef() {
-          if (env === root)
-            return callRef(cxt, validateName, env, env.$async);
-          const rootName = gen.scopeValue("root", { ref: root });
-          return callRef(cxt, (0, codegen_1._)`${rootName}.validate`, root, root.$async);
-        }
-        function callValidate(sch) {
-          const v = getValidate(cxt, sch);
-          callRef(cxt, v, sch, sch.$async);
-        }
-        function inlineRefSchema(sch) {
-          const schName = gen.scopeValue("schema", opts.code.source === true ? { ref: sch, code: (0, codegen_1.stringify)(sch) } : { ref: sch });
-          const valid = gen.name("valid");
-          const schCxt = cxt.subschema({
-            schema: sch,
-            dataTypes: [],
-            schemaPath: codegen_1.nil,
-            topSchemaRef: schName,
-            errSchemaPath: $ref
-          }, valid);
-          cxt.mergeEvaluated(schCxt);
-          cxt.ok(valid);
-        }
-      }
-    };
-    function getValidate(cxt, sch) {
-      const { gen } = cxt;
-      return sch.validate ? gen.scopeValue("validate", { ref: sch.validate }) : (0, codegen_1._)`${gen.scopeValue("wrapper", { ref: sch })}.validate`;
-    }
-    exports.getValidate = getValidate;
-    function callRef(cxt, v, sch, $async) {
-      const { gen, it } = cxt;
-      const { allErrors, schemaEnv: env, opts } = it;
-      const passCxt = opts.passContext ? names_1.default.this : codegen_1.nil;
-      if ($async)
-        callAsyncRef();
-      else
-        callSyncRef();
-      function callAsyncRef() {
-        if (!env.$async)
-          throw new Error("async schema referenced by sync schema");
-        const valid = gen.let("valid");
-        gen.try(() => {
-          gen.code((0, codegen_1._)`await ${(0, code_1.callValidateCode)(cxt, v, passCxt)}`);
-          addEvaluatedFrom(v);
-          if (!allErrors)
-            gen.assign(valid, true);
-        }, (e) => {
-          gen.if((0, codegen_1._)`!(${e} instanceof ${it.ValidationError})`, () => gen.throw(e));
-          addErrorsFrom(e);
-          if (!allErrors)
-            gen.assign(valid, false);
-        });
-        cxt.ok(valid);
-      }
-      function callSyncRef() {
-        cxt.result((0, code_1.callValidateCode)(cxt, v, passCxt), () => addEvaluatedFrom(v), () => addErrorsFrom(v));
-      }
-      function addErrorsFrom(source) {
-        const errs = (0, codegen_1._)`${source}.errors`;
-        gen.assign(names_1.default.vErrors, (0, codegen_1._)`${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`);
-        gen.assign(names_1.default.errors, (0, codegen_1._)`${names_1.default.vErrors}.length`);
-      }
-      function addEvaluatedFrom(source) {
-        var _a;
-        if (!it.opts.unevaluated)
-          return;
-        const schEvaluated = (_a = sch === null || sch === void 0 ? void 0 : sch.validate) === null || _a === void 0 ? void 0 : _a.evaluated;
-        if (it.props !== true) {
-          if (schEvaluated && !schEvaluated.dynamicProps) {
-            if (schEvaluated.props !== void 0) {
-              it.props = util_1.mergeEvaluated.props(gen, schEvaluated.props, it.props);
-            }
-          } else {
-            const props = gen.var("props", (0, codegen_1._)`${source}.evaluated.props`);
-            it.props = util_1.mergeEvaluated.props(gen, props, it.props, codegen_1.Name);
-          }
-        }
-        if (it.items !== true) {
-          if (schEvaluated && !schEvaluated.dynamicItems) {
-            if (schEvaluated.items !== void 0) {
-              it.items = util_1.mergeEvaluated.items(gen, schEvaluated.items, it.items);
-            }
-          } else {
-            const items = gen.var("items", (0, codegen_1._)`${source}.evaluated.items`);
-            it.items = util_1.mergeEvaluated.items(gen, items, it.items, codegen_1.Name);
-          }
-        }
-      }
-    }
-    exports.callRef = callRef;
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/core/index.js
-var require_core2 = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var id_1 = require_id();
-    var ref_1 = require_ref();
-    var core = [
-      "$schema",
-      "$id",
-      "$defs",
-      "$vocabulary",
-      { keyword: "$comment" },
-      "definitions",
-      id_1.default,
-      ref_1.default
-    ];
-    exports.default = core;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js
-var require_limitNumber = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var ops = codegen_1.operators;
-    var KWDs = {
-      maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
-      minimum: { okStr: ">=", ok: ops.GTE, fail: ops.LT },
-      exclusiveMaximum: { okStr: "<", ok: ops.LT, fail: ops.GTE },
-      exclusiveMinimum: { okStr: ">", ok: ops.GT, fail: ops.LTE }
-    };
-    var error = {
-      message: ({ keyword, schemaCode }) => (0, codegen_1.str)`must be ${KWDs[keyword].okStr} ${schemaCode}`,
-      params: ({ keyword, schemaCode }) => (0, codegen_1._)`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
-    };
-    var def = {
-      keyword: Object.keys(KWDs),
-      type: "number",
-      schemaType: "number",
-      $data: true,
-      error,
-      code(cxt) {
-        const { keyword, data, schemaCode } = cxt;
-        cxt.fail$data((0, codegen_1._)`${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js
-var require_multipleOf = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var error = {
-      message: ({ schemaCode }) => (0, codegen_1.str)`must be multiple of ${schemaCode}`,
-      params: ({ schemaCode }) => (0, codegen_1._)`{multipleOf: ${schemaCode}}`
-    };
-    var def = {
-      keyword: "multipleOf",
-      type: "number",
-      schemaType: "number",
-      $data: true,
-      error,
-      code(cxt) {
-        const { gen, data, schemaCode, it } = cxt;
-        const prec = it.opts.multipleOfPrecision;
-        const res = gen.let("res");
-        const invalid = prec ? (0, codegen_1._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1._)`${res} !== parseInt(${res})`;
-        cxt.fail$data((0, codegen_1._)`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/runtime/ucs2length.js
-var require_ucs2length = __commonJS({
-  "../../node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    function ucs2length(str) {
-      const len = str.length;
-      let length = 0;
-      let pos = 0;
-      let value;
-      while (pos < len) {
-        length++;
-        value = str.charCodeAt(pos++);
-        if (value >= 55296 && value <= 56319 && pos < len) {
-          value = str.charCodeAt(pos);
-          if ((value & 64512) === 56320)
-            pos++;
-        }
-      }
-      return length;
-    }
-    exports.default = ucs2length;
-    ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/limitLength.js
-var require_limitLength = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var ucs2length_1 = require_ucs2length();
-    var error = {
-      message({ keyword, schemaCode }) {
-        const comp = keyword === "maxLength" ? "more" : "fewer";
-        return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} characters`;
-      },
-      params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
-    };
-    var def = {
-      keyword: ["maxLength", "minLength"],
-      type: "string",
-      schemaType: "number",
-      $data: true,
-      error,
-      code(cxt) {
-        const { keyword, data, schemaCode, it } = cxt;
-        const op = keyword === "maxLength" ? codegen_1.operators.GT : codegen_1.operators.LT;
-        const len = it.opts.unicode === false ? (0, codegen_1._)`${data}.length` : (0, codegen_1._)`${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;
-        cxt.fail$data((0, codegen_1._)`${len} ${op} ${schemaCode}`);
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/pattern.js
-var require_pattern = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var code_1 = require_code2();
-    var codegen_1 = require_codegen();
-    var error = {
-      message: ({ schemaCode }) => (0, codegen_1.str)`must match pattern "${schemaCode}"`,
-      params: ({ schemaCode }) => (0, codegen_1._)`{pattern: ${schemaCode}}`
-    };
-    var def = {
-      keyword: "pattern",
-      type: "string",
-      schemaType: "string",
-      $data: true,
-      error,
-      code(cxt) {
-        const { data, $data, schema, schemaCode, it } = cxt;
-        const u = it.opts.unicodeRegExp ? "u" : "";
-        const regExp = $data ? (0, codegen_1._)`(new RegExp(${schemaCode}, ${u}))` : (0, code_1.usePattern)(cxt, schema);
-        cxt.fail$data((0, codegen_1._)`!${regExp}.test(${data})`);
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js
-var require_limitProperties = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var error = {
-      message({ keyword, schemaCode }) {
-        const comp = keyword === "maxProperties" ? "more" : "fewer";
-        return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} properties`;
-      },
-      params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
-    };
-    var def = {
-      keyword: ["maxProperties", "minProperties"],
-      type: "object",
-      schemaType: "number",
-      $data: true,
-      error,
-      code(cxt) {
-        const { keyword, data, schemaCode } = cxt;
-        const op = keyword === "maxProperties" ? codegen_1.operators.GT : codegen_1.operators.LT;
-        cxt.fail$data((0, codegen_1._)`Object.keys(${data}).length ${op} ${schemaCode}`);
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/required.js
-var require_required = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var code_1 = require_code2();
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var error = {
-      message: ({ params: { missingProperty } }) => (0, codegen_1.str)`must have required property '${missingProperty}'`,
-      params: ({ params: { missingProperty } }) => (0, codegen_1._)`{missingProperty: ${missingProperty}}`
-    };
-    var def = {
-      keyword: "required",
-      type: "object",
-      schemaType: "array",
-      $data: true,
-      error,
-      code(cxt) {
-        const { gen, schema, schemaCode, data, $data, it } = cxt;
-        const { opts } = it;
-        if (!$data && schema.length === 0)
-          return;
-        const useLoop = schema.length >= opts.loopRequired;
-        if (it.allErrors)
-          allErrorsMode();
-        else
-          exitOnErrorMode();
-        if (opts.strictRequired) {
-          const props = cxt.parentSchema.properties;
-          const { definedProperties } = cxt.it;
-          for (const requiredKey of schema) {
-            if ((props === null || props === void 0 ? void 0 : props[requiredKey]) === void 0 && !definedProperties.has(requiredKey)) {
-              const schemaPath = it.schemaEnv.baseId + it.errSchemaPath;
-              const msg = `required property "${requiredKey}" is not defined at "${schemaPath}" (strictRequired)`;
-              (0, util_1.checkStrictMode)(it, msg, it.opts.strictRequired);
-            }
-          }
-        }
-        function allErrorsMode() {
-          if (useLoop || $data) {
-            cxt.block$data(codegen_1.nil, loopAllRequired);
-          } else {
-            for (const prop of schema) {
-              (0, code_1.checkReportMissingProp)(cxt, prop);
-            }
-          }
-        }
-        function exitOnErrorMode() {
-          const missing = gen.let("missing");
-          if (useLoop || $data) {
-            const valid = gen.let("valid", true);
-            cxt.block$data(valid, () => loopUntilMissing(missing, valid));
-            cxt.ok(valid);
-          } else {
-            gen.if((0, code_1.checkMissingProp)(cxt, schema, missing));
-            (0, code_1.reportMissingProp)(cxt, missing);
-            gen.else();
-          }
-        }
-        function loopAllRequired() {
-          gen.forOf("prop", schemaCode, (prop) => {
-            cxt.setParams({ missingProperty: prop });
-            gen.if((0, code_1.noPropertyInData)(gen, data, prop, opts.ownProperties), () => cxt.error());
-          });
-        }
-        function loopUntilMissing(missing, valid) {
-          cxt.setParams({ missingProperty: missing });
-          gen.forOf(missing, schemaCode, () => {
-            gen.assign(valid, (0, code_1.propertyInData)(gen, data, missing, opts.ownProperties));
-            gen.if((0, codegen_1.not)(valid), () => {
-              cxt.error();
-              gen.break();
-            });
-          }, codegen_1.nil);
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/limitItems.js
-var require_limitItems = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var error = {
-      message({ keyword, schemaCode }) {
-        const comp = keyword === "maxItems" ? "more" : "fewer";
-        return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} items`;
-      },
-      params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
-    };
-    var def = {
-      keyword: ["maxItems", "minItems"],
-      type: "array",
-      schemaType: "number",
-      $data: true,
-      error,
-      code(cxt) {
-        const { keyword, data, schemaCode } = cxt;
-        const op = keyword === "maxItems" ? codegen_1.operators.GT : codegen_1.operators.LT;
-        cxt.fail$data((0, codegen_1._)`${data}.length ${op} ${schemaCode}`);
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/runtime/equal.js
-var require_equal = __commonJS({
-  "../../node_modules/ajv/dist/runtime/equal.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var equal = require_fast_deep_equal();
-    equal.code = 'require("ajv/dist/runtime/equal").default';
-    exports.default = equal;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
-var require_uniqueItems = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var dataType_1 = require_dataType();
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var equal_1 = require_equal();
-    var error = {
-      message: ({ params: { i, j } }) => (0, codegen_1.str)`must NOT have duplicate items (items ## ${j} and ${i} are identical)`,
-      params: ({ params: { i, j } }) => (0, codegen_1._)`{i: ${i}, j: ${j}}`
-    };
-    var def = {
-      keyword: "uniqueItems",
-      type: "array",
-      schemaType: "boolean",
-      $data: true,
-      error,
-      code(cxt) {
-        const { gen, data, $data, schema, parentSchema, schemaCode, it } = cxt;
-        if (!$data && !schema)
-          return;
-        const valid = gen.let("valid");
-        const itemTypes = parentSchema.items ? (0, dataType_1.getSchemaTypes)(parentSchema.items) : [];
-        cxt.block$data(valid, validateUniqueItems, (0, codegen_1._)`${schemaCode} === false`);
-        cxt.ok(valid);
-        function validateUniqueItems() {
-          const i = gen.let("i", (0, codegen_1._)`${data}.length`);
-          const j = gen.let("j");
-          cxt.setParams({ i, j });
-          gen.assign(valid, true);
-          gen.if((0, codegen_1._)`${i} > 1`, () => (canOptimize() ? loopN : loopN2)(i, j));
-        }
-        function canOptimize() {
-          return itemTypes.length > 0 && !itemTypes.some((t) => t === "object" || t === "array");
-        }
-        function loopN(i, j) {
-          const item = gen.name("item");
-          const wrongType = (0, dataType_1.checkDataTypes)(itemTypes, item, it.opts.strictNumbers, dataType_1.DataType.Wrong);
-          const indices = gen.const("indices", (0, codegen_1._)`{}`);
-          gen.for((0, codegen_1._)`;${i}--;`, () => {
-            gen.let(item, (0, codegen_1._)`${data}[${i}]`);
-            gen.if(wrongType, (0, codegen_1._)`continue`);
-            if (itemTypes.length > 1)
-              gen.if((0, codegen_1._)`typeof ${item} == "string"`, (0, codegen_1._)`${item} += "_"`);
-            gen.if((0, codegen_1._)`typeof ${indices}[${item}] == "number"`, () => {
-              gen.assign(j, (0, codegen_1._)`${indices}[${item}]`);
-              cxt.error();
-              gen.assign(valid, false).break();
-            }).code((0, codegen_1._)`${indices}[${item}] = ${i}`);
-          });
-        }
-        function loopN2(i, j) {
-          const eql = (0, util_1.useFunc)(gen, equal_1.default);
-          const outer = gen.name("outer");
-          gen.label(outer).for((0, codegen_1._)`;${i}--;`, () => gen.for((0, codegen_1._)`${j} = ${i}; ${j}--;`, () => gen.if((0, codegen_1._)`${eql}(${data}[${i}], ${data}[${j}])`, () => {
-            cxt.error();
-            gen.assign(valid, false).break(outer);
-          })));
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/const.js
-var require_const = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var equal_1 = require_equal();
-    var error = {
-      message: "must be equal to constant",
-      params: ({ schemaCode }) => (0, codegen_1._)`{allowedValue: ${schemaCode}}`
-    };
-    var def = {
-      keyword: "const",
-      $data: true,
-      error,
-      code(cxt) {
-        const { gen, data, $data, schemaCode, schema } = cxt;
-        if ($data || schema && typeof schema == "object") {
-          cxt.fail$data((0, codegen_1._)`!${(0, util_1.useFunc)(gen, equal_1.default)}(${data}, ${schemaCode})`);
-        } else {
-          cxt.fail((0, codegen_1._)`${schema} !== ${data}`);
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/enum.js
-var require_enum = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var equal_1 = require_equal();
-    var error = {
-      message: "must be equal to one of the allowed values",
-      params: ({ schemaCode }) => (0, codegen_1._)`{allowedValues: ${schemaCode}}`
-    };
-    var def = {
-      keyword: "enum",
-      schemaType: "array",
-      $data: true,
-      error,
-      code(cxt) {
-        const { gen, data, $data, schema, schemaCode, it } = cxt;
-        if (!$data && schema.length === 0)
-          throw new Error("enum must have non-empty array");
-        const useLoop = schema.length >= it.opts.loopEnum;
-        let eql;
-        const getEql = () => eql !== null && eql !== void 0 ? eql : eql = (0, util_1.useFunc)(gen, equal_1.default);
-        let valid;
-        if (useLoop || $data) {
-          valid = gen.let("valid");
-          cxt.block$data(valid, loopEnum);
-        } else {
-          if (!Array.isArray(schema))
-            throw new Error("ajv implementation error");
-          const vSchema = gen.const("vSchema", schemaCode);
-          valid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));
-        }
-        cxt.pass(valid);
-        function loopEnum() {
-          gen.assign(valid, false);
-          gen.forOf("v", schemaCode, (v) => gen.if((0, codegen_1._)`${getEql()}(${data}, ${v})`, () => gen.assign(valid, true).break()));
-        }
-        function equalCode(vSchema, i) {
-          const sch = schema[i];
-          return typeof sch === "object" && sch !== null ? (0, codegen_1._)`${getEql()}(${data}, ${vSchema}[${i}])` : (0, codegen_1._)`${data} === ${sch}`;
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/validation/index.js
-var require_validation = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var limitNumber_1 = require_limitNumber();
-    var multipleOf_1 = require_multipleOf();
-    var limitLength_1 = require_limitLength();
-    var pattern_1 = require_pattern();
-    var limitProperties_1 = require_limitProperties();
-    var required_1 = require_required();
-    var limitItems_1 = require_limitItems();
-    var uniqueItems_1 = require_uniqueItems();
-    var const_1 = require_const();
-    var enum_1 = require_enum();
-    var validation = [
-      limitNumber_1.default,
-      multipleOf_1.default,
-      limitLength_1.default,
-      pattern_1.default,
-      limitProperties_1.default,
-      required_1.default,
-      limitItems_1.default,
-      uniqueItems_1.default,
-      { keyword: "type", schemaType: ["string", "array"] },
-      { keyword: "nullable", schemaType: "boolean" },
-      const_1.default,
-      enum_1.default
-    ];
-    exports.default = validation;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
-var require_additionalItems = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.validateAdditionalItems = void 0;
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var error = {
-      message: ({ params: { len } }) => (0, codegen_1.str)`must NOT have more than ${len} items`,
-      params: ({ params: { len } }) => (0, codegen_1._)`{limit: ${len}}`
-    };
-    var def = {
-      keyword: "additionalItems",
-      type: "array",
-      schemaType: ["boolean", "object"],
-      before: "uniqueItems",
-      error,
-      code(cxt) {
-        const { parentSchema, it } = cxt;
-        const { items } = parentSchema;
-        if (!Array.isArray(items)) {
-          (0, util_1.checkStrictMode)(it, '"additionalItems" is ignored when "items" is not an array of schemas');
-          return;
-        }
-        validateAdditionalItems(cxt, items);
-      }
-    };
-    function validateAdditionalItems(cxt, items) {
-      const { gen, schema, data, keyword, it } = cxt;
-      it.items = true;
-      const len = gen.const("len", (0, codegen_1._)`${data}.length`);
-      if (schema === false) {
-        cxt.setParams({ len: items.length });
-        cxt.pass((0, codegen_1._)`${len} <= ${items.length}`);
-      } else if (typeof schema == "object" && !(0, util_1.alwaysValidSchema)(it, schema)) {
-        const valid = gen.var("valid", (0, codegen_1._)`${len} <= ${items.length}`);
-        gen.if((0, codegen_1.not)(valid), () => validateItems(valid));
-        cxt.ok(valid);
-      }
-      function validateItems(valid) {
-        gen.forRange("i", items.length, len, (i) => {
-          cxt.subschema({ keyword, dataProp: i, dataPropType: util_1.Type.Num }, valid);
-          if (!it.allErrors)
-            gen.if((0, codegen_1.not)(valid), () => gen.break());
-        });
-      }
-    }
-    exports.validateAdditionalItems = validateAdditionalItems;
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/items.js
-var require_items = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.validateTuple = void 0;
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var code_1 = require_code2();
-    var def = {
-      keyword: "items",
-      type: "array",
-      schemaType: ["object", "array", "boolean"],
-      before: "uniqueItems",
-      code(cxt) {
-        const { schema, it } = cxt;
-        if (Array.isArray(schema))
-          return validateTuple(cxt, "additionalItems", schema);
-        it.items = true;
-        if ((0, util_1.alwaysValidSchema)(it, schema))
-          return;
-        cxt.ok((0, code_1.validateArray)(cxt));
-      }
-    };
-    function validateTuple(cxt, extraItems, schArr = cxt.schema) {
-      const { gen, parentSchema, data, keyword, it } = cxt;
-      checkStrictTuple(parentSchema);
-      if (it.opts.unevaluated && schArr.length && it.items !== true) {
-        it.items = util_1.mergeEvaluated.items(gen, schArr.length, it.items);
-      }
-      const valid = gen.name("valid");
-      const len = gen.const("len", (0, codegen_1._)`${data}.length`);
-      schArr.forEach((sch, i) => {
-        if ((0, util_1.alwaysValidSchema)(it, sch))
-          return;
-        gen.if((0, codegen_1._)`${len} > ${i}`, () => cxt.subschema({
-          keyword,
-          schemaProp: i,
-          dataProp: i
-        }, valid));
-        cxt.ok(valid);
-      });
-      function checkStrictTuple(sch) {
-        const { opts, errSchemaPath } = it;
-        const l = schArr.length;
-        const fullTuple = l === sch.minItems && (l === sch.maxItems || sch[extraItems] === false);
-        if (opts.strictTuples && !fullTuple) {
-          const msg = `"${keyword}" is ${l}-tuple, but minItems or maxItems/${extraItems} are not specified or different at path "${errSchemaPath}"`;
-          (0, util_1.checkStrictMode)(it, msg, opts.strictTuples);
-        }
-      }
-    }
-    exports.validateTuple = validateTuple;
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
-var require_prefixItems = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var items_1 = require_items();
-    var def = {
-      keyword: "prefixItems",
-      type: "array",
-      schemaType: ["array"],
-      before: "uniqueItems",
-      code: (cxt) => (0, items_1.validateTuple)(cxt, "items")
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/items2020.js
-var require_items2020 = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var code_1 = require_code2();
-    var additionalItems_1 = require_additionalItems();
-    var error = {
-      message: ({ params: { len } }) => (0, codegen_1.str)`must NOT have more than ${len} items`,
-      params: ({ params: { len } }) => (0, codegen_1._)`{limit: ${len}}`
-    };
-    var def = {
-      keyword: "items",
-      type: "array",
-      schemaType: ["object", "boolean"],
-      before: "uniqueItems",
-      error,
-      code(cxt) {
-        const { schema, parentSchema, it } = cxt;
-        const { prefixItems } = parentSchema;
-        it.items = true;
-        if ((0, util_1.alwaysValidSchema)(it, schema))
-          return;
-        if (prefixItems)
-          (0, additionalItems_1.validateAdditionalItems)(cxt, prefixItems);
-        else
-          cxt.ok((0, code_1.validateArray)(cxt));
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/contains.js
-var require_contains = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var error = {
-      message: ({ params: { min, max } }) => max === void 0 ? (0, codegen_1.str)`must contain at least ${min} valid item(s)` : (0, codegen_1.str)`must contain at least ${min} and no more than ${max} valid item(s)`,
-      params: ({ params: { min, max } }) => max === void 0 ? (0, codegen_1._)`{minContains: ${min}}` : (0, codegen_1._)`{minContains: ${min}, maxContains: ${max}}`
-    };
-    var def = {
-      keyword: "contains",
-      type: "array",
-      schemaType: ["object", "boolean"],
-      before: "uniqueItems",
-      trackErrors: true,
-      error,
-      code(cxt) {
-        const { gen, schema, parentSchema, data, it } = cxt;
-        let min;
-        let max;
-        const { minContains, maxContains } = parentSchema;
-        if (it.opts.next) {
-          min = minContains === void 0 ? 1 : minContains;
-          max = maxContains;
-        } else {
-          min = 1;
-        }
-        const len = gen.const("len", (0, codegen_1._)`${data}.length`);
-        cxt.setParams({ min, max });
-        if (max === void 0 && min === 0) {
-          (0, util_1.checkStrictMode)(it, `"minContains" == 0 without "maxContains": "contains" keyword ignored`);
-          return;
-        }
-        if (max !== void 0 && min > max) {
-          (0, util_1.checkStrictMode)(it, `"minContains" > "maxContains" is always invalid`);
-          cxt.fail();
-          return;
-        }
-        if ((0, util_1.alwaysValidSchema)(it, schema)) {
-          let cond = (0, codegen_1._)`${len} >= ${min}`;
-          if (max !== void 0)
-            cond = (0, codegen_1._)`${cond} && ${len} <= ${max}`;
-          cxt.pass(cond);
-          return;
-        }
-        it.items = true;
-        const valid = gen.name("valid");
-        if (max === void 0 && min === 1) {
-          validateItems(valid, () => gen.if(valid, () => gen.break()));
-        } else if (min === 0) {
-          gen.let(valid, true);
-          if (max !== void 0)
-            gen.if((0, codegen_1._)`${data}.length > 0`, validateItemsWithCount);
-        } else {
-          gen.let(valid, false);
-          validateItemsWithCount();
-        }
-        cxt.result(valid, () => cxt.reset());
-        function validateItemsWithCount() {
-          const schValid = gen.name("_valid");
-          const count = gen.let("count", 0);
-          validateItems(schValid, () => gen.if(schValid, () => checkLimits(count)));
-        }
-        function validateItems(_valid, block) {
-          gen.forRange("i", 0, len, (i) => {
-            cxt.subschema({
-              keyword: "contains",
-              dataProp: i,
-              dataPropType: util_1.Type.Num,
-              compositeRule: true
-            }, _valid);
-            block();
-          });
-        }
-        function checkLimits(count) {
-          gen.code((0, codegen_1._)`${count}++`);
-          if (max === void 0) {
-            gen.if((0, codegen_1._)`${count} >= ${min}`, () => gen.assign(valid, true).break());
-          } else {
-            gen.if((0, codegen_1._)`${count} > ${max}`, () => gen.assign(valid, false).break());
-            if (min === 1)
-              gen.assign(valid, true);
-            else
-              gen.if((0, codegen_1._)`${count} >= ${min}`, () => gen.assign(valid, true));
-          }
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js
-var require_dependencies = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var code_1 = require_code2();
-    exports.error = {
-      message: ({ params: { property, depsCount, deps } }) => {
-        const property_ies = depsCount === 1 ? "property" : "properties";
-        return (0, codegen_1.str)`must have ${property_ies} ${deps} when property ${property} is present`;
-      },
-      params: ({ params: { property, depsCount, deps, missingProperty } }) => (0, codegen_1._)`{property: ${property},
-    missingProperty: ${missingProperty},
-    depsCount: ${depsCount},
-    deps: ${deps}}`
-    };
-    var def = {
-      keyword: "dependencies",
-      type: "object",
-      schemaType: "object",
-      error: exports.error,
-      code(cxt) {
-        const [propDeps, schDeps] = splitDependencies(cxt);
-        validatePropertyDeps(cxt, propDeps);
-        validateSchemaDeps(cxt, schDeps);
-      }
-    };
-    function splitDependencies({ schema }) {
-      const propertyDeps = {};
-      const schemaDeps = {};
-      for (const key in schema) {
-        if (key === "__proto__")
-          continue;
-        const deps = Array.isArray(schema[key]) ? propertyDeps : schemaDeps;
-        deps[key] = schema[key];
-      }
-      return [propertyDeps, schemaDeps];
-    }
-    function validatePropertyDeps(cxt, propertyDeps = cxt.schema) {
-      const { gen, data, it } = cxt;
-      if (Object.keys(propertyDeps).length === 0)
-        return;
-      const missing = gen.let("missing");
-      for (const prop in propertyDeps) {
-        const deps = propertyDeps[prop];
-        if (deps.length === 0)
-          continue;
-        const hasProperty = (0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties);
-        cxt.setParams({
-          property: prop,
-          depsCount: deps.length,
-          deps: deps.join(", ")
-        });
-        if (it.allErrors) {
-          gen.if(hasProperty, () => {
-            for (const depProp of deps) {
-              (0, code_1.checkReportMissingProp)(cxt, depProp);
-            }
-          });
-        } else {
-          gen.if((0, codegen_1._)`${hasProperty} && (${(0, code_1.checkMissingProp)(cxt, deps, missing)})`);
-          (0, code_1.reportMissingProp)(cxt, missing);
-          gen.else();
-        }
-      }
-    }
-    exports.validatePropertyDeps = validatePropertyDeps;
-    function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
-      const { gen, data, keyword, it } = cxt;
-      const valid = gen.name("valid");
-      for (const prop in schemaDeps) {
-        if ((0, util_1.alwaysValidSchema)(it, schemaDeps[prop]))
-          continue;
-        gen.if(
-          (0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties),
-          () => {
-            const schCxt = cxt.subschema({ keyword, schemaProp: prop }, valid);
-            cxt.mergeValidEvaluated(schCxt, valid);
-          },
-          () => gen.var(valid, true)
-        );
-        cxt.ok(valid);
-      }
-    }
-    exports.validateSchemaDeps = validateSchemaDeps;
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
-var require_propertyNames = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var error = {
-      message: "property name must be valid",
-      params: ({ params }) => (0, codegen_1._)`{propertyName: ${params.propertyName}}`
-    };
-    var def = {
-      keyword: "propertyNames",
-      type: "object",
-      schemaType: ["object", "boolean"],
-      error,
-      code(cxt) {
-        const { gen, schema, data, it } = cxt;
-        if ((0, util_1.alwaysValidSchema)(it, schema))
-          return;
-        const valid = gen.name("valid");
-        gen.forIn("key", data, (key) => {
-          cxt.setParams({ propertyName: key });
-          cxt.subschema({
-            keyword: "propertyNames",
-            data: key,
-            dataTypes: ["string"],
-            propertyName: key,
-            compositeRule: true
-          }, valid);
-          gen.if((0, codegen_1.not)(valid), () => {
-            cxt.error(true);
-            if (!it.allErrors)
-              gen.break();
-          });
-        });
-        cxt.ok(valid);
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
-var require_additionalProperties = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var code_1 = require_code2();
-    var codegen_1 = require_codegen();
-    var names_1 = require_names();
-    var util_1 = require_util();
-    var error = {
-      message: "must NOT have additional properties",
-      params: ({ params }) => (0, codegen_1._)`{additionalProperty: ${params.additionalProperty}}`
-    };
-    var def = {
-      keyword: "additionalProperties",
-      type: ["object"],
-      schemaType: ["boolean", "object"],
-      allowUndefined: true,
-      trackErrors: true,
-      error,
-      code(cxt) {
-        const { gen, schema, parentSchema, data, errsCount, it } = cxt;
-        if (!errsCount)
-          throw new Error("ajv implementation error");
-        const { allErrors, opts } = it;
-        it.props = true;
-        if (opts.removeAdditional !== "all" && (0, util_1.alwaysValidSchema)(it, schema))
-          return;
-        const props = (0, code_1.allSchemaProperties)(parentSchema.properties);
-        const patProps = (0, code_1.allSchemaProperties)(parentSchema.patternProperties);
-        checkAdditionalProperties();
-        cxt.ok((0, codegen_1._)`${errsCount} === ${names_1.default.errors}`);
-        function checkAdditionalProperties() {
-          gen.forIn("key", data, (key) => {
-            if (!props.length && !patProps.length)
-              additionalPropertyCode(key);
-            else
-              gen.if(isAdditional(key), () => additionalPropertyCode(key));
-          });
-        }
-        function isAdditional(key) {
-          let definedProp;
-          if (props.length > 8) {
-            const propsSchema = (0, util_1.schemaRefOrVal)(it, parentSchema.properties, "properties");
-            definedProp = (0, code_1.isOwnProperty)(gen, propsSchema, key);
-          } else if (props.length) {
-            definedProp = (0, codegen_1.or)(...props.map((p) => (0, codegen_1._)`${key} === ${p}`));
-          } else {
-            definedProp = codegen_1.nil;
-          }
-          if (patProps.length) {
-            definedProp = (0, codegen_1.or)(definedProp, ...patProps.map((p) => (0, codegen_1._)`${(0, code_1.usePattern)(cxt, p)}.test(${key})`));
-          }
-          return (0, codegen_1.not)(definedProp);
-        }
-        function deleteAdditional(key) {
-          gen.code((0, codegen_1._)`delete ${data}[${key}]`);
-        }
-        function additionalPropertyCode(key) {
-          if (opts.removeAdditional === "all" || opts.removeAdditional && schema === false) {
-            deleteAdditional(key);
-            return;
-          }
-          if (schema === false) {
-            cxt.setParams({ additionalProperty: key });
-            cxt.error();
-            if (!allErrors)
-              gen.break();
-            return;
-          }
-          if (typeof schema == "object" && !(0, util_1.alwaysValidSchema)(it, schema)) {
-            const valid = gen.name("valid");
-            if (opts.removeAdditional === "failing") {
-              applyAdditionalSchema(key, valid, false);
-              gen.if((0, codegen_1.not)(valid), () => {
-                cxt.reset();
-                deleteAdditional(key);
-              });
-            } else {
-              applyAdditionalSchema(key, valid);
-              if (!allErrors)
-                gen.if((0, codegen_1.not)(valid), () => gen.break());
-            }
-          }
-        }
-        function applyAdditionalSchema(key, valid, errors) {
-          const subschema = {
-            keyword: "additionalProperties",
-            dataProp: key,
-            dataPropType: util_1.Type.Str
-          };
-          if (errors === false) {
-            Object.assign(subschema, {
-              compositeRule: true,
-              createErrors: false,
-              allErrors: false
-            });
-          }
-          cxt.subschema(subschema, valid);
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/properties.js
-var require_properties = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var validate_1 = require_validate();
-    var code_1 = require_code2();
-    var util_1 = require_util();
-    var additionalProperties_1 = require_additionalProperties();
-    var def = {
-      keyword: "properties",
-      type: "object",
-      schemaType: "object",
-      code(cxt) {
-        const { gen, schema, parentSchema, data, it } = cxt;
-        if (it.opts.removeAdditional === "all" && parentSchema.additionalProperties === void 0) {
-          additionalProperties_1.default.code(new validate_1.KeywordCxt(it, additionalProperties_1.default, "additionalProperties"));
-        }
-        const allProps = (0, code_1.allSchemaProperties)(schema);
-        for (const prop of allProps) {
-          it.definedProperties.add(prop);
-        }
-        if (it.opts.unevaluated && allProps.length && it.props !== true) {
-          it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);
-        }
-        const properties = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
-        if (properties.length === 0)
-          return;
-        const valid = gen.name("valid");
-        for (const prop of properties) {
-          if (hasDefault(prop)) {
-            applyPropertySchema(prop);
-          } else {
-            gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));
-            applyPropertySchema(prop);
-            if (!it.allErrors)
-              gen.else().var(valid, true);
-            gen.endIf();
-          }
-          cxt.it.definedProperties.add(prop);
-          cxt.ok(valid);
-        }
-        function hasDefault(prop) {
-          return it.opts.useDefaults && !it.compositeRule && schema[prop].default !== void 0;
-        }
-        function applyPropertySchema(prop) {
-          cxt.subschema({
-            keyword: "properties",
-            schemaProp: prop,
-            dataProp: prop
-          }, valid);
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
-var require_patternProperties = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var code_1 = require_code2();
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var util_2 = require_util();
-    var def = {
-      keyword: "patternProperties",
-      type: "object",
-      schemaType: "object",
-      code(cxt) {
-        const { gen, schema, data, parentSchema, it } = cxt;
-        const { opts } = it;
-        const patterns = (0, code_1.allSchemaProperties)(schema);
-        const alwaysValidPatterns = patterns.filter((p) => (0, util_1.alwaysValidSchema)(it, schema[p]));
-        if (patterns.length === 0 || alwaysValidPatterns.length === patterns.length && (!it.opts.unevaluated || it.props === true)) {
-          return;
-        }
-        const checkProperties = opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties;
-        const valid = gen.name("valid");
-        if (it.props !== true && !(it.props instanceof codegen_1.Name)) {
-          it.props = (0, util_2.evaluatedPropsToName)(gen, it.props);
-        }
-        const { props } = it;
-        validatePatternProperties();
-        function validatePatternProperties() {
-          for (const pat of patterns) {
-            if (checkProperties)
-              checkMatchingProperties(pat);
-            if (it.allErrors) {
-              validateProperties(pat);
-            } else {
-              gen.var(valid, true);
-              validateProperties(pat);
-              gen.if(valid);
-            }
-          }
-        }
-        function checkMatchingProperties(pat) {
-          for (const prop in checkProperties) {
-            if (new RegExp(pat).test(prop)) {
-              (0, util_1.checkStrictMode)(it, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);
-            }
-          }
-        }
-        function validateProperties(pat) {
-          gen.forIn("key", data, (key) => {
-            gen.if((0, codegen_1._)`${(0, code_1.usePattern)(cxt, pat)}.test(${key})`, () => {
-              const alwaysValid = alwaysValidPatterns.includes(pat);
-              if (!alwaysValid) {
-                cxt.subschema({
-                  keyword: "patternProperties",
-                  schemaProp: pat,
-                  dataProp: key,
-                  dataPropType: util_2.Type.Str
-                }, valid);
-              }
-              if (it.opts.unevaluated && props !== true) {
-                gen.assign((0, codegen_1._)`${props}[${key}]`, true);
-              } else if (!alwaysValid && !it.allErrors) {
-                gen.if((0, codegen_1.not)(valid), () => gen.break());
-              }
-            });
-          });
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/not.js
-var require_not = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var util_1 = require_util();
-    var def = {
-      keyword: "not",
-      schemaType: ["object", "boolean"],
-      trackErrors: true,
-      code(cxt) {
-        const { gen, schema, it } = cxt;
-        if ((0, util_1.alwaysValidSchema)(it, schema)) {
-          cxt.fail();
-          return;
-        }
-        const valid = gen.name("valid");
-        cxt.subschema({
-          keyword: "not",
-          compositeRule: true,
-          createErrors: false,
-          allErrors: false
-        }, valid);
-        cxt.failResult(valid, () => cxt.reset(), () => cxt.error());
-      },
-      error: { message: "must NOT be valid" }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js
-var require_anyOf = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var code_1 = require_code2();
-    var def = {
-      keyword: "anyOf",
-      schemaType: "array",
-      trackErrors: true,
-      code: code_1.validateUnion,
-      error: { message: "must match a schema in anyOf" }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js
-var require_oneOf = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var error = {
-      message: "must match exactly one schema in oneOf",
-      params: ({ params }) => (0, codegen_1._)`{passingSchemas: ${params.passing}}`
-    };
-    var def = {
-      keyword: "oneOf",
-      schemaType: "array",
-      trackErrors: true,
-      error,
-      code(cxt) {
-        const { gen, schema, parentSchema, it } = cxt;
-        if (!Array.isArray(schema))
-          throw new Error("ajv implementation error");
-        if (it.opts.discriminator && parentSchema.discriminator)
-          return;
-        const schArr = schema;
-        const valid = gen.let("valid", false);
-        const passing = gen.let("passing", null);
-        const schValid = gen.name("_valid");
-        cxt.setParams({ passing });
-        gen.block(validateOneOf);
-        cxt.result(valid, () => cxt.reset(), () => cxt.error(true));
-        function validateOneOf() {
-          schArr.forEach((sch, i) => {
-            let schCxt;
-            if ((0, util_1.alwaysValidSchema)(it, sch)) {
-              gen.var(schValid, true);
-            } else {
-              schCxt = cxt.subschema({
-                keyword: "oneOf",
-                schemaProp: i,
-                compositeRule: true
-              }, schValid);
-            }
-            if (i > 0) {
-              gen.if((0, codegen_1._)`${schValid} && ${valid}`).assign(valid, false).assign(passing, (0, codegen_1._)`[${passing}, ${i}]`).else();
-            }
-            gen.if(schValid, () => {
-              gen.assign(valid, true);
-              gen.assign(passing, i);
-              if (schCxt)
-                cxt.mergeEvaluated(schCxt, codegen_1.Name);
-            });
-          });
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/allOf.js
-var require_allOf = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var util_1 = require_util();
-    var def = {
-      keyword: "allOf",
-      schemaType: "array",
-      code(cxt) {
-        const { gen, schema, it } = cxt;
-        if (!Array.isArray(schema))
-          throw new Error("ajv implementation error");
-        const valid = gen.name("valid");
-        schema.forEach((sch, i) => {
-          if ((0, util_1.alwaysValidSchema)(it, sch))
-            return;
-          const schCxt = cxt.subschema({ keyword: "allOf", schemaProp: i }, valid);
-          cxt.ok(valid);
-          cxt.mergeEvaluated(schCxt);
-        });
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/if.js
-var require_if = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var util_1 = require_util();
-    var error = {
-      message: ({ params }) => (0, codegen_1.str)`must match "${params.ifClause}" schema`,
-      params: ({ params }) => (0, codegen_1._)`{failingKeyword: ${params.ifClause}}`
-    };
-    var def = {
-      keyword: "if",
-      schemaType: ["object", "boolean"],
-      trackErrors: true,
-      error,
-      code(cxt) {
-        const { gen, parentSchema, it } = cxt;
-        if (parentSchema.then === void 0 && parentSchema.else === void 0) {
-          (0, util_1.checkStrictMode)(it, '"if" without "then" and "else" is ignored');
-        }
-        const hasThen = hasSchema(it, "then");
-        const hasElse = hasSchema(it, "else");
-        if (!hasThen && !hasElse)
-          return;
-        const valid = gen.let("valid", true);
-        const schValid = gen.name("_valid");
-        validateIf();
-        cxt.reset();
-        if (hasThen && hasElse) {
-          const ifClause = gen.let("ifClause");
-          cxt.setParams({ ifClause });
-          gen.if(schValid, validateClause("then", ifClause), validateClause("else", ifClause));
-        } else if (hasThen) {
-          gen.if(schValid, validateClause("then"));
-        } else {
-          gen.if((0, codegen_1.not)(schValid), validateClause("else"));
-        }
-        cxt.pass(valid, () => cxt.error(true));
-        function validateIf() {
-          const schCxt = cxt.subschema({
-            keyword: "if",
-            compositeRule: true,
-            createErrors: false,
-            allErrors: false
-          }, schValid);
-          cxt.mergeEvaluated(schCxt);
-        }
-        function validateClause(keyword, ifClause) {
-          return () => {
-            const schCxt = cxt.subschema({ keyword }, schValid);
-            gen.assign(valid, schValid);
-            cxt.mergeValidEvaluated(schCxt, valid);
-            if (ifClause)
-              gen.assign(ifClause, (0, codegen_1._)`${keyword}`);
-            else
-              cxt.setParams({ ifClause: keyword });
-          };
-        }
-      }
-    };
-    function hasSchema(it, keyword) {
-      const schema = it.schema[keyword];
-      return schema !== void 0 && !(0, util_1.alwaysValidSchema)(it, schema);
-    }
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js
-var require_thenElse = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var util_1 = require_util();
-    var def = {
-      keyword: ["then", "else"],
-      schemaType: ["object", "boolean"],
-      code({ keyword, parentSchema, it }) {
-        if (parentSchema.if === void 0)
-          (0, util_1.checkStrictMode)(it, `"${keyword}" without "if" is ignored`);
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/applicator/index.js
-var require_applicator = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var additionalItems_1 = require_additionalItems();
-    var prefixItems_1 = require_prefixItems();
-    var items_1 = require_items();
-    var items2020_1 = require_items2020();
-    var contains_1 = require_contains();
-    var dependencies_1 = require_dependencies();
-    var propertyNames_1 = require_propertyNames();
-    var additionalProperties_1 = require_additionalProperties();
-    var properties_1 = require_properties();
-    var patternProperties_1 = require_patternProperties();
-    var not_1 = require_not();
-    var anyOf_1 = require_anyOf();
-    var oneOf_1 = require_oneOf();
-    var allOf_1 = require_allOf();
-    var if_1 = require_if();
-    var thenElse_1 = require_thenElse();
-    function getApplicator(draft2020 = false) {
-      const applicator = [
-        not_1.default,
-        anyOf_1.default,
-        oneOf_1.default,
-        allOf_1.default,
-        if_1.default,
-        thenElse_1.default,
-        propertyNames_1.default,
-        additionalProperties_1.default,
-        dependencies_1.default,
-        properties_1.default,
-        patternProperties_1.default
-      ];
-      if (draft2020)
-        applicator.push(prefixItems_1.default, items2020_1.default);
-      else
-        applicator.push(additionalItems_1.default, items_1.default);
-      applicator.push(contains_1.default);
-      return applicator;
-    }
-    exports.default = getApplicator;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/format/format.js
-var require_format = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var error = {
-      message: ({ schemaCode }) => (0, codegen_1.str)`must match format "${schemaCode}"`,
-      params: ({ schemaCode }) => (0, codegen_1._)`{format: ${schemaCode}}`
-    };
-    var def = {
-      keyword: "format",
-      type: ["number", "string"],
-      schemaType: "string",
-      $data: true,
-      error,
-      code(cxt, ruleType) {
-        const { gen, data, $data, schema, schemaCode, it } = cxt;
-        const { opts, errSchemaPath, schemaEnv, self } = it;
-        if (!opts.validateFormats)
-          return;
-        if ($data)
-          validate$DataFormat();
-        else
-          validateFormat();
-        function validate$DataFormat() {
-          const fmts = gen.scopeValue("formats", {
-            ref: self.formats,
-            code: opts.code.formats
-          });
-          const fDef = gen.const("fDef", (0, codegen_1._)`${fmts}[${schemaCode}]`);
-          const fType = gen.let("fType");
-          const format = gen.let("format");
-          gen.if((0, codegen_1._)`typeof ${fDef} == "object" && !(${fDef} instanceof RegExp)`, () => gen.assign(fType, (0, codegen_1._)`${fDef}.type || "string"`).assign(format, (0, codegen_1._)`${fDef}.validate`), () => gen.assign(fType, (0, codegen_1._)`"string"`).assign(format, fDef));
-          cxt.fail$data((0, codegen_1.or)(unknownFmt(), invalidFmt()));
-          function unknownFmt() {
-            if (opts.strictSchema === false)
-              return codegen_1.nil;
-            return (0, codegen_1._)`${schemaCode} && !${format}`;
-          }
-          function invalidFmt() {
-            const callFormat = schemaEnv.$async ? (0, codegen_1._)`(${fDef}.async ? await ${format}(${data}) : ${format}(${data}))` : (0, codegen_1._)`${format}(${data})`;
-            const validData = (0, codegen_1._)`(typeof ${format} == "function" ? ${callFormat} : ${format}.test(${data}))`;
-            return (0, codegen_1._)`${format} && ${format} !== true && ${fType} === ${ruleType} && !${validData}`;
-          }
-        }
-        function validateFormat() {
-          const formatDef = self.formats[schema];
-          if (!formatDef) {
-            unknownFormat();
-            return;
-          }
-          if (formatDef === true)
-            return;
-          const [fmtType, format, fmtRef] = getFormat(formatDef);
-          if (fmtType === ruleType)
-            cxt.pass(validCondition());
-          function unknownFormat() {
-            if (opts.strictSchema === false) {
-              self.logger.warn(unknownMsg());
-              return;
-            }
-            throw new Error(unknownMsg());
-            function unknownMsg() {
-              return `unknown format "${schema}" ignored in schema at path "${errSchemaPath}"`;
-            }
-          }
-          function getFormat(fmtDef) {
-            const code = fmtDef instanceof RegExp ? (0, codegen_1.regexpCode)(fmtDef) : opts.code.formats ? (0, codegen_1._)`${opts.code.formats}${(0, codegen_1.getProperty)(schema)}` : void 0;
-            const fmt = gen.scopeValue("formats", { key: schema, ref: fmtDef, code });
-            if (typeof fmtDef == "object" && !(fmtDef instanceof RegExp)) {
-              return [fmtDef.type || "string", fmtDef.validate, (0, codegen_1._)`${fmt}.validate`];
-            }
-            return ["string", fmtDef, fmt];
-          }
-          function validCondition() {
-            if (typeof formatDef == "object" && !(formatDef instanceof RegExp) && formatDef.async) {
-              if (!schemaEnv.$async)
-                throw new Error("async format in sync schema");
-              return (0, codegen_1._)`await ${fmtRef}(${data})`;
-            }
-            return typeof format == "function" ? (0, codegen_1._)`${fmtRef}(${data})` : (0, codegen_1._)`${fmtRef}.test(${data})`;
-          }
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/format/index.js
-var require_format2 = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var format_1 = require_format();
-    var format = [format_1.default];
-    exports.default = format;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/metadata.js
-var require_metadata = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.contentVocabulary = exports.metadataVocabulary = void 0;
-    exports.metadataVocabulary = [
-      "title",
-      "description",
-      "default",
-      "deprecated",
-      "readOnly",
-      "writeOnly",
-      "examples"
-    ];
-    exports.contentVocabulary = [
-      "contentMediaType",
-      "contentEncoding",
-      "contentSchema"
-    ];
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/draft7.js
-var require_draft7 = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var core_1 = require_core2();
-    var validation_1 = require_validation();
-    var applicator_1 = require_applicator();
-    var format_1 = require_format2();
-    var metadata_1 = require_metadata();
-    var draft7Vocabularies = [
-      core_1.default,
-      validation_1.default,
-      (0, applicator_1.default)(),
-      format_1.default,
-      metadata_1.metadataVocabulary,
-      metadata_1.contentVocabulary
-    ];
-    exports.default = draft7Vocabularies;
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/discriminator/types.js
-var require_types = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.DiscrError = void 0;
-    var DiscrError;
-    (function(DiscrError2) {
-      DiscrError2["Tag"] = "tag";
-      DiscrError2["Mapping"] = "mapping";
-    })(DiscrError = exports.DiscrError || (exports.DiscrError = {}));
-  }
-});
-
-// ../../node_modules/ajv/dist/vocabularies/discriminator/index.js
-var require_discriminator = __commonJS({
-  "../../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var codegen_1 = require_codegen();
-    var types_1 = require_types();
-    var compile_1 = require_compile();
-    var util_1 = require_util();
-    var error = {
-      message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag ? `tag "${tagName}" must be string` : `value of tag "${tagName}" must be in oneOf`,
-      params: ({ params: { discrError, tag, tagName } }) => (0, codegen_1._)`{error: ${discrError}, tag: ${tagName}, tagValue: ${tag}}`
-    };
-    var def = {
-      keyword: "discriminator",
-      type: "object",
-      schemaType: "object",
-      error,
-      code(cxt) {
-        const { gen, data, schema, parentSchema, it } = cxt;
-        const { oneOf } = parentSchema;
-        if (!it.opts.discriminator) {
-          throw new Error("discriminator: requires discriminator option");
-        }
-        const tagName = schema.propertyName;
-        if (typeof tagName != "string")
-          throw new Error("discriminator: requires propertyName");
-        if (schema.mapping)
-          throw new Error("discriminator: mapping is not supported");
-        if (!oneOf)
-          throw new Error("discriminator: requires oneOf keyword");
-        const valid = gen.let("valid", false);
-        const tag = gen.const("tag", (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(tagName)}`);
-        gen.if((0, codegen_1._)`typeof ${tag} == "string"`, () => validateMapping(), () => cxt.error(false, { discrError: types_1.DiscrError.Tag, tag, tagName }));
-        cxt.ok(valid);
-        function validateMapping() {
-          const mapping = getMapping();
-          gen.if(false);
-          for (const tagValue in mapping) {
-            gen.elseIf((0, codegen_1._)`${tag} === ${tagValue}`);
-            gen.assign(valid, applyTagSchema(mapping[tagValue]));
-          }
-          gen.else();
-          cxt.error(false, { discrError: types_1.DiscrError.Mapping, tag, tagName });
-          gen.endIf();
-        }
-        function applyTagSchema(schemaProp) {
-          const _valid = gen.name("valid");
-          const schCxt = cxt.subschema({ keyword: "oneOf", schemaProp }, _valid);
-          cxt.mergeEvaluated(schCxt, codegen_1.Name);
-          return _valid;
-        }
-        function getMapping() {
-          var _a;
-          const oneOfMapping = {};
-          const topRequired = hasRequired(parentSchema);
-          let tagRequired = true;
-          for (let i = 0; i < oneOf.length; i++) {
-            let sch = oneOf[i];
-            if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {
-              sch = compile_1.resolveRef.call(it.self, it.schemaEnv.root, it.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
-              if (sch instanceof compile_1.SchemaEnv)
-                sch = sch.schema;
-            }
-            const propSch = (_a = sch === null || sch === void 0 ? void 0 : sch.properties) === null || _a === void 0 ? void 0 : _a[tagName];
-            if (typeof propSch != "object") {
-              throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${tagName}"`);
-            }
-            tagRequired = tagRequired && (topRequired || hasRequired(sch));
-            addMappings(propSch, i);
-          }
-          if (!tagRequired)
-            throw new Error(`discriminator: "${tagName}" must be required`);
-          return oneOfMapping;
-          function hasRequired({ required }) {
-            return Array.isArray(required) && required.includes(tagName);
-          }
-          function addMappings(sch, i) {
-            if (sch.const) {
-              addMapping(sch.const, i);
-            } else if (sch.enum) {
-              for (const tagValue of sch.enum) {
-                addMapping(tagValue, i);
-              }
-            } else {
-              throw new Error(`discriminator: "properties/${tagName}" must have "const" or "enum"`);
-            }
-          }
-          function addMapping(tagValue, i) {
-            if (typeof tagValue != "string" || tagValue in oneOfMapping) {
-              throw new Error(`discriminator: "${tagName}" values must be unique strings`);
-            }
-            oneOfMapping[tagValue] = i;
-          }
-        }
-      }
-    };
-    exports.default = def;
-  }
-});
-
-// ../../node_modules/ajv/dist/refs/json-schema-draft-07.json
-var require_json_schema_draft_07 = __commonJS({
-  "../../node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module2) {
-    module2.exports = {
-      $schema: "http://json-schema.org/draft-07/schema#",
-      $id: "http://json-schema.org/draft-07/schema#",
-      title: "Core schema meta-schema",
-      definitions: {
-        schemaArray: {
-          type: "array",
-          minItems: 1,
-          items: { $ref: "#" }
-        },
-        nonNegativeInteger: {
-          type: "integer",
-          minimum: 0
-        },
-        nonNegativeIntegerDefault0: {
-          allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }]
-        },
-        simpleTypes: {
-          enum: ["array", "boolean", "integer", "null", "number", "object", "string"]
-        },
-        stringArray: {
-          type: "array",
-          items: { type: "string" },
-          uniqueItems: true,
-          default: []
-        }
-      },
-      type: ["object", "boolean"],
-      properties: {
-        $id: {
-          type: "string",
-          format: "uri-reference"
-        },
-        $schema: {
-          type: "string",
-          format: "uri"
-        },
-        $ref: {
-          type: "string",
-          format: "uri-reference"
-        },
-        $comment: {
-          type: "string"
-        },
-        title: {
-          type: "string"
-        },
-        description: {
-          type: "string"
-        },
-        default: true,
-        readOnly: {
-          type: "boolean",
-          default: false
-        },
-        examples: {
-          type: "array",
-          items: true
-        },
-        multipleOf: {
-          type: "number",
-          exclusiveMinimum: 0
-        },
-        maximum: {
-          type: "number"
-        },
-        exclusiveMaximum: {
-          type: "number"
-        },
-        minimum: {
-          type: "number"
-        },
-        exclusiveMinimum: {
-          type: "number"
-        },
-        maxLength: { $ref: "#/definitions/nonNegativeInteger" },
-        minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" },
-        pattern: {
-          type: "string",
-          format: "regex"
-        },
-        additionalItems: { $ref: "#" },
-        items: {
-          anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }],
-          default: true
-        },
-        maxItems: { $ref: "#/definitions/nonNegativeInteger" },
-        minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" },
-        uniqueItems: {
-          type: "boolean",
-          default: false
-        },
-        contains: { $ref: "#" },
-        maxProperties: { $ref: "#/definitions/nonNegativeInteger" },
-        minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" },
-        required: { $ref: "#/definitions/stringArray" },
-        additionalProperties: { $ref: "#" },
-        definitions: {
-          type: "object",
-          additionalProperties: { $ref: "#" },
-          default: {}
-        },
-        properties: {
-          type: "object",
-          additionalProperties: { $ref: "#" },
-          default: {}
-        },
-        patternProperties: {
-          type: "object",
-          additionalProperties: { $ref: "#" },
-          propertyNames: { format: "regex" },
-          default: {}
-        },
-        dependencies: {
-          type: "object",
-          additionalProperties: {
-            anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }]
-          }
-        },
-        propertyNames: { $ref: "#" },
-        const: true,
-        enum: {
-          type: "array",
-          items: true,
-          minItems: 1,
-          uniqueItems: true
-        },
-        type: {
-          anyOf: [
-            { $ref: "#/definitions/simpleTypes" },
-            {
-              type: "array",
-              items: { $ref: "#/definitions/simpleTypes" },
-              minItems: 1,
-              uniqueItems: true
-            }
-          ]
-        },
-        format: { type: "string" },
-        contentMediaType: { type: "string" },
-        contentEncoding: { type: "string" },
-        if: { $ref: "#" },
-        then: { $ref: "#" },
-        else: { $ref: "#" },
-        allOf: { $ref: "#/definitions/schemaArray" },
-        anyOf: { $ref: "#/definitions/schemaArray" },
-        oneOf: { $ref: "#/definitions/schemaArray" },
-        not: { $ref: "#" }
-      },
-      default: true
-    };
-  }
-});
-
-// ../../node_modules/ajv/dist/ajv.js
-var require_ajv = __commonJS({
-  "../../node_modules/ajv/dist/ajv.js"(exports, module2) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
-    var core_1 = require_core();
-    var draft7_1 = require_draft7();
-    var discriminator_1 = require_discriminator();
-    var draft7MetaSchema = require_json_schema_draft_07();
-    var META_SUPPORT_DATA = ["/properties"];
-    var META_SCHEMA_ID = "http://json-schema.org/draft-07/schema";
-    var Ajv3 = class extends core_1.default {
-      _addVocabularies() {
-        super._addVocabularies();
-        draft7_1.default.forEach((v) => this.addVocabulary(v));
-        if (this.opts.discriminator)
-          this.addKeyword(discriminator_1.default);
-      }
-      _addDefaultMetaSchema() {
-        super._addDefaultMetaSchema();
-        if (!this.opts.meta)
-          return;
-        const metaSchema = this.opts.$data ? this.$dataMetaSchema(draft7MetaSchema, META_SUPPORT_DATA) : draft7MetaSchema;
-        this.addMetaSchema(metaSchema, META_SCHEMA_ID, false);
-        this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID;
-      }
-      defaultMeta() {
-        return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : void 0);
-      }
-    };
-    module2.exports = exports = Ajv3;
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.default = Ajv3;
-    var validate_1 = require_validate();
-    Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function() {
-      return validate_1.KeywordCxt;
-    } });
-    var codegen_1 = require_codegen();
-    Object.defineProperty(exports, "_", { enumerable: true, get: function() {
-      return codegen_1._;
-    } });
-    Object.defineProperty(exports, "str", { enumerable: true, get: function() {
-      return codegen_1.str;
-    } });
-    Object.defineProperty(exports, "stringify", { enumerable: true, get: function() {
-      return codegen_1.stringify;
-    } });
-    Object.defineProperty(exports, "nil", { enumerable: true, get: function() {
-      return codegen_1.nil;
-    } });
-    Object.defineProperty(exports, "Name", { enumerable: true, get: function() {
-      return codegen_1.Name;
-    } });
-    Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function() {
-      return codegen_1.CodeGen;
-    } });
-  }
-});
-
-// ../../node_modules/ajv-formats/dist/formats.js
-var require_formats = __commonJS({
-  "../../node_modules/ajv-formats/dist/formats.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
-    function fmtDef(validate, compare) {
-      return { validate, compare };
-    }
-    exports.fullFormats = {
-      date: fmtDef(date, compareDate),
-      time: fmtDef(time, compareTime),
-      "date-time": fmtDef(date_time, compareDateTime),
-      duration: /^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,
-      uri,
-      "uri-reference": /^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,
-      "uri-template": /^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,
-      url: /^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,
-      email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,
-      hostname: /^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,
-      ipv4: /^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,
-      ipv6: /^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,
-      regex,
-      uuid: /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,
-      "json-pointer": /^(?:\/(?:[^~/]|~0|~1)*)*$/,
-      "json-pointer-uri-fragment": /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,
-      "relative-json-pointer": /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,
-      byte,
-      int32: { type: "number", validate: validateInt32 },
-      int64: { type: "number", validate: validateInt64 },
-      float: { type: "number", validate: validateNumber },
-      double: { type: "number", validate: validateNumber },
-      password: true,
-      binary: true
-    };
-    exports.fastFormats = {
-      ...exports.fullFormats,
-      date: fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/, compareDate),
-      time: fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, compareTime),
-      "date-time": fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i, compareDateTime),
-      uri: /^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,
-      "uri-reference": /^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,
-      email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i
-    };
-    exports.formatNames = Object.keys(exports.fullFormats);
-    function isLeapYear(year) {
-      return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
-    }
-    var DATE = /^(\d\d\d\d)-(\d\d)-(\d\d)$/;
-    var DAYS = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
-    function date(str) {
-      const matches = DATE.exec(str);
-      if (!matches)
-        return false;
-      const year = +matches[1];
-      const month = +matches[2];
-      const day = +matches[3];
-      return month >= 1 && month <= 12 && day >= 1 && day <= (month === 2 && isLeapYear(year) ? 29 : DAYS[month]);
-    }
-    function compareDate(d1, d2) {
-      if (!(d1 && d2))
-        return void 0;
-      if (d1 > d2)
-        return 1;
-      if (d1 < d2)
-        return -1;
-      return 0;
-    }
-    var TIME = /^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;
-    function time(str, withTimeZone) {
-      const matches = TIME.exec(str);
-      if (!matches)
-        return false;
-      const hour = +matches[1];
-      const minute = +matches[2];
-      const second = +matches[3];
-      const timeZone = matches[5];
-      return (hour <= 23 && minute <= 59 && second <= 59 || hour === 23 && minute === 59 && second === 60) && (!withTimeZone || timeZone !== "");
-    }
-    function compareTime(t1, t2) {
-      if (!(t1 && t2))
-        return void 0;
-      const a1 = TIME.exec(t1);
-      const a2 = TIME.exec(t2);
-      if (!(a1 && a2))
-        return void 0;
-      t1 = a1[1] + a1[2] + a1[3] + (a1[4] || "");
-      t2 = a2[1] + a2[2] + a2[3] + (a2[4] || "");
-      if (t1 > t2)
-        return 1;
-      if (t1 < t2)
-        return -1;
-      return 0;
-    }
-    var DATE_TIME_SEPARATOR = /t|\s/i;
-    function date_time(str) {
-      const dateTime = str.split(DATE_TIME_SEPARATOR);
-      return dateTime.length === 2 && date(dateTime[0]) && time(dateTime[1], true);
-    }
-    function compareDateTime(dt1, dt2) {
-      if (!(dt1 && dt2))
-        return void 0;
-      const [d1, t1] = dt1.split(DATE_TIME_SEPARATOR);
-      const [d2, t2] = dt2.split(DATE_TIME_SEPARATOR);
-      const res = compareDate(d1, d2);
-      if (res === void 0)
-        return void 0;
-      return res || compareTime(t1, t2);
-    }
-    var NOT_URI_FRAGMENT = /\/|:/;
-    var URI = /^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;
-    function uri(str) {
-      return NOT_URI_FRAGMENT.test(str) && URI.test(str);
-    }
-    var BYTE = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;
-    function byte(str) {
-      BYTE.lastIndex = 0;
-      return BYTE.test(str);
-    }
-    var MIN_INT32 = -(2 ** 31);
-    var MAX_INT32 = 2 ** 31 - 1;
-    function validateInt32(value) {
-      return Number.isInteger(value) && value <= MAX_INT32 && value >= MIN_INT32;
-    }
-    function validateInt64(value) {
-      return Number.isInteger(value);
-    }
-    function validateNumber() {
-      return true;
-    }
-    var Z_ANCHOR = /[^\\]\\Z/;
-    function regex(str) {
-      if (Z_ANCHOR.test(str))
-        return false;
-      try {
-        new RegExp(str);
-        return true;
-      } catch (e) {
-        return false;
-      }
-    }
-  }
-});
-
-// ../../node_modules/ajv-formats/dist/limit.js
-var require_limit = __commonJS({
-  "../../node_modules/ajv-formats/dist/limit.js"(exports) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.formatLimitDefinition = void 0;
-    var ajv_1 = require_ajv();
-    var codegen_1 = require_codegen();
-    var ops = codegen_1.operators;
-    var KWDs = {
-      formatMaximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
-      formatMinimum: { okStr: ">=", ok: ops.GTE, fail: ops.LT },
-      formatExclusiveMaximum: { okStr: "<", ok: ops.LT, fail: ops.GTE },
-      formatExclusiveMinimum: { okStr: ">", ok: ops.GT, fail: ops.LTE }
-    };
-    var error = {
-      message: ({ keyword, schemaCode }) => codegen_1.str`should be ${KWDs[keyword].okStr} ${schemaCode}`,
-      params: ({ keyword, schemaCode }) => codegen_1._`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
-    };
-    exports.formatLimitDefinition = {
-      keyword: Object.keys(KWDs),
-      type: "string",
-      schemaType: "string",
-      $data: true,
-      error,
-      code(cxt) {
-        const { gen, data, schemaCode, keyword, it } = cxt;
-        const { opts, self } = it;
-        if (!opts.validateFormats)
-          return;
-        const fCxt = new ajv_1.KeywordCxt(it, self.RULES.all.format.definition, "format");
-        if (fCxt.$data)
-          validate$DataFormat();
-        else
-          validateFormat();
-        function validate$DataFormat() {
-          const fmts = gen.scopeValue("formats", {
-            ref: self.formats,
-            code: opts.code.formats
-          });
-          const fmt = gen.const("fmt", codegen_1._`${fmts}[${fCxt.schemaCode}]`);
-          cxt.fail$data(codegen_1.or(codegen_1._`typeof ${fmt} != "object"`, codegen_1._`${fmt} instanceof RegExp`, codegen_1._`typeof ${fmt}.compare != "function"`, compareCode(fmt)));
-        }
-        function validateFormat() {
-          const format = fCxt.schema;
-          const fmtDef = self.formats[format];
-          if (!fmtDef || fmtDef === true)
-            return;
-          if (typeof fmtDef != "object" || fmtDef instanceof RegExp || typeof fmtDef.compare != "function") {
-            throw new Error(`"${keyword}": format "${format}" does not define "compare" function`);
-          }
-          const fmt = gen.scopeValue("formats", {
-            key: format,
-            ref: fmtDef,
-            code: opts.code.formats ? codegen_1._`${opts.code.formats}${codegen_1.getProperty(format)}` : void 0
-          });
-          cxt.fail$data(compareCode(fmt));
-        }
-        function compareCode(fmt) {
-          return codegen_1._`${fmt}.compare(${data}, ${schemaCode}) ${KWDs[keyword].fail} 0`;
-        }
-      },
-      dependencies: ["format"]
-    };
-    var formatLimitPlugin = (ajv3) => {
-      ajv3.addKeyword(exports.formatLimitDefinition);
-      return ajv3;
-    };
-    exports.default = formatLimitPlugin;
-  }
-});
-
-// ../../node_modules/ajv-formats/dist/index.js
-var require_dist = __commonJS({
-  "../../node_modules/ajv-formats/dist/index.js"(exports, module2) {
-    "use strict";
-    Object.defineProperty(exports, "__esModule", { value: true });
-    var formats_1 = require_formats();
-    var limit_1 = require_limit();
-    var codegen_1 = require_codegen();
-    var fullName = new codegen_1.Name("fullFormats");
-    var fastName = new codegen_1.Name("fastFormats");
-    var formatsPlugin = (ajv3, opts = { keywords: true }) => {
-      if (Array.isArray(opts)) {
-        addFormats(ajv3, opts, formats_1.fullFormats, fullName);
-        return ajv3;
-      }
-      const [formats, exportName] = opts.mode === "fast" ? [formats_1.fastFormats, fastName] : [formats_1.fullFormats, fullName];
-      const list = opts.formats || formats_1.formatNames;
-      addFormats(ajv3, list, formats, exportName);
-      if (opts.keywords)
-        limit_1.default(ajv3);
-      return ajv3;
-    };
-    formatsPlugin.get = (name, mode = "full") => {
-      const formats = mode === "fast" ? formats_1.fastFormats : formats_1.fullFormats;
-      const f = formats[name];
-      if (!f)
-        throw new Error(`Unknown format "${name}"`);
-      return f;
-    };
-    function addFormats(ajv3, list, fs, exportName) {
-      var _a;
-      var _b;
-      (_a = (_b = ajv3.opts.code).formats) !== null && _a !== void 0 ? _a : _b.formats = codegen_1._`require("ajv-formats/dist/formats").${exportName}`;
-      for (const f of list)
-        ajv3.addFormat(f, fs[f]);
-    }
-    module2.exports = exports = formatsPlugin;
-    Object.defineProperty(exports, "__esModule", { value: true });
-    exports.default = formatsPlugin;
-  }
-});
-
 // src/index.ts
 var src_exports = {};
 __export(src_exports, {
@@ -6943,20 +34,23 @@ __export(src_exports, {
   AppBskyActorGetProfile: () => getProfile_exports,
   AppBskyActorGetSuggestions: () => getSuggestions_exports,
   AppBskyActorProfile: () => profile_exports,
+  AppBskyActorRef: () => ref_exports,
   AppBskyActorSearch: () => search_exports,
   AppBskyActorSearchTypeahead: () => searchTypeahead_exports,
   AppBskyActorUpdateProfile: () => updateProfile_exports,
+  AppBskyFeedEmbed: () => embed_exports,
   AppBskyFeedGetAuthorFeed: () => getAuthorFeed_exports,
   AppBskyFeedGetPostThread: () => getPostThread_exports,
   AppBskyFeedGetRepostedBy: () => getRepostedBy_exports,
   AppBskyFeedGetTimeline: () => getTimeline_exports,
   AppBskyFeedGetVotes: () => getVotes_exports,
-  AppBskyFeedMediaEmbed: () => mediaEmbed_exports,
   AppBskyFeedPost: () => post_exports,
   AppBskyFeedRepost: () => repost_exports,
   AppBskyFeedSetVote: () => setVote_exports,
   AppBskyFeedTrend: () => trend_exports,
   AppBskyFeedVote: () => vote_exports,
+  AppBskyGraphAssertCreator: () => assertCreator_exports,
+  AppBskyGraphAssertMember: () => assertMember_exports,
   AppBskyGraphAssertion: () => assertion_exports,
   AppBskyGraphConfirmation: () => confirmation_exports,
   AppBskyGraphFollow: () => follow_exports,
@@ -6968,6 +62,9 @@ __export(src_exports, {
   AppBskyNotificationGetCount: () => getCount_exports,
   AppBskyNotificationList: () => list_exports,
   AppBskyNotificationUpdateSeen: () => updateSeen_exports,
+  AppBskySystemActorScene: () => actorScene_exports,
+  AppBskySystemActorUser: () => actorUser_exports,
+  AppBskySystemDeclRef: () => declRef_exports,
   AppBskySystemDeclaration: () => declaration_exports,
   AppNS: () => AppNS,
   AssertionRecord: () => AssertionRecord,
@@ -6988,6 +85,7 @@ __export(src_exports, {
   ComAtprotoRepoGetRecord: () => getRecord_exports,
   ComAtprotoRepoListRecords: () => listRecords_exports,
   ComAtprotoRepoPutRecord: () => putRecord_exports,
+  ComAtprotoRepoStrongRef: () => strongRef_exports,
   ComAtprotoServerGetAccountsConfig: () => getAccountsConfig_exports,
   ComAtprotoSessionCreate: () => create_exports2,
   ComAtprotoSessionDelete: () => delete_exports2,
@@ -7003,7 +101,6 @@ __export(src_exports, {
   FollowRecord: () => FollowRecord,
   GraphNS: () => GraphNS,
   HandleNS: () => HandleNS,
-  MediaEmbedRecord: () => MediaEmbedRecord,
   NotificationNS: () => NotificationNS,
   PostRecord: () => PostRecord,
   ProfileRecord: () => ProfileRecord,
@@ -7056,10 +153,10 @@ var util;
       return obj[e];
     });
   };
-  util2.objectKeys = typeof Object.keys === "function" ? (obj) => Object.keys(obj) : (object) => {
+  util2.objectKeys = typeof Object.keys === "function" ? (obj) => Object.keys(obj) : (object2) => {
     const keys = [];
-    for (const key in object) {
-      if (Object.prototype.hasOwnProperty.call(object, key)) {
+    for (const key in object2) {
+      if (Object.prototype.hasOwnProperty.call(object2, key)) {
         keys.push(key);
       }
     }
@@ -7073,8 +170,8 @@ var util;
     return void 0;
   };
   util2.isInteger = typeof Number.isInteger === "function" ? (val) => Number.isInteger(val) : (val) => typeof val === "number" && isFinite(val) && Math.floor(val) === val;
-  function joinValues(array, separator = " | ") {
-    return array.map((val) => typeof val === "string" ? `'${val}'` : val).join(separator);
+  function joinValues(array2, separator = " | ") {
+    return array2.map((val) => typeof val === "string" ? `'${val}'` : val).join(separator);
   }
   util2.joinValues = joinValues;
   util2.jsonStringifyReplacer = (_, value) => {
@@ -7349,8 +446,8 @@ function setErrorMap(map) {
 function getErrorMap() {
   return overrideErrorMap;
 }
-var makeIssue = (params) => {
-  const { data, path, errorMaps, issueData } = params;
+var makeIssue = (params2) => {
+  const { data, path, errorMaps, issueData } = params2;
   const fullPath = [...path, ...issueData.path || []];
   const fullIssue = {
     ...issueData,
@@ -7470,10 +567,10 @@ var handleResult = (ctx, result) => {
     return { success: false, error };
   }
 };
-function processCreateParams(params) {
-  if (!params)
+function processCreateParams(params2) {
+  if (!params2)
     return {};
-  const { errorMap: errorMap2, invalid_type_error, required_error, description } = params;
+  const { errorMap: errorMap2, invalid_type_error, required_error, description } = params2;
   if (errorMap2 && (invalid_type_error || required_error)) {
     throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
   }
@@ -7555,21 +652,21 @@ var ZodType = class {
     const result = this._parse(input);
     return Promise.resolve(result);
   }
-  parse(data, params) {
-    const result = this.safeParse(data, params);
+  parse(data, params2) {
+    const result = this.safeParse(data, params2);
     if (result.success)
       return result.data;
     throw result.error;
   }
-  safeParse(data, params) {
+  safeParse(data, params2) {
     var _a;
     const ctx = {
       common: {
         issues: [],
-        async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,
-        contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap
+        async: (_a = params2 === null || params2 === void 0 ? void 0 : params2.async) !== null && _a !== void 0 ? _a : false,
+        contextualErrorMap: params2 === null || params2 === void 0 ? void 0 : params2.errorMap
       },
-      path: (params === null || params === void 0 ? void 0 : params.path) || [],
+      path: (params2 === null || params2 === void 0 ? void 0 : params2.path) || [],
       schemaErrorMap: this._def.errorMap,
       parent: null,
       data,
@@ -7578,20 +675,20 @@ var ZodType = class {
     const result = this._parseSync({ data, path: ctx.path, parent: ctx });
     return handleResult(ctx, result);
   }
-  async parseAsync(data, params) {
-    const result = await this.safeParseAsync(data, params);
+  async parseAsync(data, params2) {
+    const result = await this.safeParseAsync(data, params2);
     if (result.success)
       return result.data;
     throw result.error;
   }
-  async safeParseAsync(data, params) {
+  async safeParseAsync(data, params2) {
     const ctx = {
       common: {
         issues: [],
-        contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,
+        contextualErrorMap: params2 === null || params2 === void 0 ? void 0 : params2.errorMap,
         async: true
       },
-      path: (params === null || params === void 0 ? void 0 : params.path) || [],
+      path: (params2 === null || params2 === void 0 ? void 0 : params2.path) || [],
       schemaErrorMap: this._def.errorMap,
       parent: null,
       data,
@@ -7938,11 +1035,11 @@ var ZodString = class extends ZodType {
     return max;
   }
 };
-ZodString.create = (params) => {
+ZodString.create = (params2) => {
   return new ZodString({
     checks: [],
     typeName: ZodFirstPartyTypeKind.ZodString,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 function floatSafeRemainder(val, step) {
@@ -8128,11 +1225,11 @@ var ZodNumber = class extends ZodType {
     return !!this._def.checks.find((ch) => ch.kind === "int");
   }
 };
-ZodNumber.create = (params) => {
+ZodNumber.create = (params2) => {
   return new ZodNumber({
     checks: [],
     typeName: ZodFirstPartyTypeKind.ZodNumber,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodBigInt = class extends ZodType {
@@ -8150,10 +1247,10 @@ var ZodBigInt = class extends ZodType {
     return OK(input.data);
   }
 };
-ZodBigInt.create = (params) => {
+ZodBigInt.create = (params2) => {
   return new ZodBigInt({
     typeName: ZodFirstPartyTypeKind.ZodBigInt,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodBoolean = class extends ZodType {
@@ -8171,10 +1268,10 @@ var ZodBoolean = class extends ZodType {
     return OK(input.data);
   }
 };
-ZodBoolean.create = (params) => {
+ZodBoolean.create = (params2) => {
   return new ZodBoolean({
     typeName: ZodFirstPartyTypeKind.ZodBoolean,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodDate = class extends ZodType {
@@ -8273,11 +1370,11 @@ var ZodDate = class extends ZodType {
     return max != null ? new Date(max) : null;
   }
 };
-ZodDate.create = (params) => {
+ZodDate.create = (params2) => {
   return new ZodDate({
     checks: [],
     typeName: ZodFirstPartyTypeKind.ZodDate,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodUndefined = class extends ZodType {
@@ -8295,10 +1392,10 @@ var ZodUndefined = class extends ZodType {
     return OK(input.data);
   }
 };
-ZodUndefined.create = (params) => {
+ZodUndefined.create = (params2) => {
   return new ZodUndefined({
     typeName: ZodFirstPartyTypeKind.ZodUndefined,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodNull = class extends ZodType {
@@ -8316,10 +1413,10 @@ var ZodNull = class extends ZodType {
     return OK(input.data);
   }
 };
-ZodNull.create = (params) => {
+ZodNull.create = (params2) => {
   return new ZodNull({
     typeName: ZodFirstPartyTypeKind.ZodNull,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodAny = class extends ZodType {
@@ -8331,10 +1428,10 @@ var ZodAny = class extends ZodType {
     return OK(input.data);
   }
 };
-ZodAny.create = (params) => {
+ZodAny.create = (params2) => {
   return new ZodAny({
     typeName: ZodFirstPartyTypeKind.ZodAny,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodUnknown = class extends ZodType {
@@ -8346,10 +1443,10 @@ var ZodUnknown = class extends ZodType {
     return OK(input.data);
   }
 };
-ZodUnknown.create = (params) => {
+ZodUnknown.create = (params2) => {
   return new ZodUnknown({
     typeName: ZodFirstPartyTypeKind.ZodUnknown,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodNever = class extends ZodType {
@@ -8363,10 +1460,10 @@ var ZodNever = class extends ZodType {
     return INVALID;
   }
 };
-ZodNever.create = (params) => {
+ZodNever.create = (params2) => {
   return new ZodNever({
     typeName: ZodFirstPartyTypeKind.ZodNever,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodVoid = class extends ZodType {
@@ -8384,10 +1481,10 @@ var ZodVoid = class extends ZodType {
     return OK(input.data);
   }
 };
-ZodVoid.create = (params) => {
+ZodVoid.create = (params2) => {
   return new ZodVoid({
     typeName: ZodFirstPartyTypeKind.ZodVoid,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodArray = class extends ZodType {
@@ -8460,13 +1557,13 @@ var ZodArray = class extends ZodType {
     return this.min(1, message);
   }
 };
-ZodArray.create = (schema, params) => {
+ZodArray.create = (schema, params2) => {
   return new ZodArray({
     type: schema,
     minLength: null,
     maxLength: null,
     typeName: ZodFirstPartyTypeKind.ZodArray,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var objectUtil;
@@ -8733,31 +1830,31 @@ var ZodObject = class extends ZodType {
     return createZodEnum(util.objectKeys(this.shape));
   }
 };
-ZodObject.create = (shape, params) => {
+ZodObject.create = (shape, params2) => {
   return new ZodObject({
     shape: () => shape,
     unknownKeys: "strip",
     catchall: ZodNever.create(),
     typeName: ZodFirstPartyTypeKind.ZodObject,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
-ZodObject.strictCreate = (shape, params) => {
+ZodObject.strictCreate = (shape, params2) => {
   return new ZodObject({
     shape: () => shape,
     unknownKeys: "strict",
     catchall: ZodNever.create(),
     typeName: ZodFirstPartyTypeKind.ZodObject,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
-ZodObject.lazycreate = (shape, params) => {
+ZodObject.lazycreate = (shape, params2) => {
   return new ZodObject({
     shape,
     unknownKeys: "strip",
     catchall: ZodNever.create(),
     typeName: ZodFirstPartyTypeKind.ZodObject,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodUnion = class extends ZodType {
@@ -8844,11 +1941,11 @@ var ZodUnion = class extends ZodType {
     return this._def.options;
   }
 };
-ZodUnion.create = (types, params) => {
+ZodUnion.create = (types, params2) => {
   return new ZodUnion({
     options: types,
     typeName: ZodFirstPartyTypeKind.ZodUnion,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodDiscriminatedUnion = class extends ZodType {
@@ -8896,7 +1993,7 @@ var ZodDiscriminatedUnion = class extends ZodType {
   get options() {
     return this._def.options;
   }
-  static create(discriminator, types, params) {
+  static create(discriminator, types, params2) {
     const options = /* @__PURE__ */ new Map();
     try {
       types.forEach((type) => {
@@ -8913,7 +2010,7 @@ var ZodDiscriminatedUnion = class extends ZodType {
       typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,
       discriminator,
       options,
-      ...processCreateParams(params)
+      ...processCreateParams(params2)
     });
   }
 };
@@ -9000,12 +2097,12 @@ var ZodIntersection = class extends ZodType {
     }
   }
 };
-ZodIntersection.create = (left, right, params) => {
+ZodIntersection.create = (left, right, params2) => {
   return new ZodIntersection({
     left,
     right,
     typeName: ZodFirstPartyTypeKind.ZodIntersection,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodTuple = class extends ZodType {
@@ -9062,7 +2159,7 @@ var ZodTuple = class extends ZodType {
     });
   }
 };
-ZodTuple.create = (schemas, params) => {
+ZodTuple.create = (schemas, params2) => {
   if (!Array.isArray(schemas)) {
     throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
   }
@@ -9070,7 +2167,7 @@ ZodTuple.create = (schemas, params) => {
     items: schemas,
     typeName: ZodFirstPartyTypeKind.ZodTuple,
     rest: null,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodRecord = class extends ZodType {
@@ -9177,12 +2274,12 @@ var ZodMap = class extends ZodType {
     }
   }
 };
-ZodMap.create = (keyType, valueType, params) => {
+ZodMap.create = (keyType, valueType, params2) => {
   return new ZodMap({
     valueType,
     keyType,
     typeName: ZodFirstPartyTypeKind.ZodMap,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodSet = class extends ZodType {
@@ -9259,13 +2356,13 @@ var ZodSet = class extends ZodType {
     return this.min(1, message);
   }
 };
-ZodSet.create = (valueType, params) => {
+ZodSet.create = (valueType, params2) => {
   return new ZodSet({
     valueType,
     minSize: null,
     maxSize: null,
     typeName: ZodFirstPartyTypeKind.ZodSet,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodFunction = class extends ZodType {
@@ -9315,17 +2412,17 @@ var ZodFunction = class extends ZodType {
         }
       });
     }
-    const params = { errorMap: ctx.common.contextualErrorMap };
+    const params2 = { errorMap: ctx.common.contextualErrorMap };
     const fn = ctx.data;
     if (this._def.returns instanceof ZodPromise) {
       return OK(async (...args) => {
         const error = new ZodError([]);
-        const parsedArgs = await this._def.args.parseAsync(args, params).catch((e) => {
+        const parsedArgs = await this._def.args.parseAsync(args, params2).catch((e) => {
           error.addIssue(makeArgsIssue(args, e));
           throw error;
         });
         const result = await fn(...parsedArgs);
-        const parsedReturns = await this._def.returns._def.type.parseAsync(result, params).catch((e) => {
+        const parsedReturns = await this._def.returns._def.type.parseAsync(result, params2).catch((e) => {
           error.addIssue(makeReturnsIssue(result, e));
           throw error;
         });
@@ -9333,12 +2430,12 @@ var ZodFunction = class extends ZodType {
       });
     } else {
       return OK((...args) => {
-        const parsedArgs = this._def.args.safeParse(args, params);
+        const parsedArgs = this._def.args.safeParse(args, params2);
         if (!parsedArgs.success) {
           throw new ZodError([makeArgsIssue(args, parsedArgs.error)]);
         }
         const result = fn(...parsedArgs.data);
-        const parsedReturns = this._def.returns.safeParse(result, params);
+        const parsedReturns = this._def.returns.safeParse(result, params2);
         if (!parsedReturns.success) {
           throw new ZodError([makeReturnsIssue(result, parsedReturns.error)]);
         }
@@ -9372,12 +2469,12 @@ var ZodFunction = class extends ZodType {
     const validatedFunc = this.parse(func);
     return validatedFunc;
   }
-  static create(args, returns, params) {
+  static create(args, returns, params2) {
     return new ZodFunction({
       args: args ? args : ZodTuple.create([]).rest(ZodUnknown.create()),
       returns: returns || ZodUnknown.create(),
       typeName: ZodFirstPartyTypeKind.ZodFunction,
-      ...processCreateParams(params)
+      ...processCreateParams(params2)
     });
   }
 };
@@ -9391,11 +2488,11 @@ var ZodLazy = class extends ZodType {
     return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });
   }
 };
-ZodLazy.create = (getter, params) => {
+ZodLazy.create = (getter, params2) => {
   return new ZodLazy({
     getter,
     typeName: ZodFirstPartyTypeKind.ZodLazy,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodLiteral = class extends ZodType {
@@ -9414,18 +2511,18 @@ var ZodLiteral = class extends ZodType {
     return this._def.value;
   }
 };
-ZodLiteral.create = (value, params) => {
+ZodLiteral.create = (value, params2) => {
   return new ZodLiteral({
     value,
     typeName: ZodFirstPartyTypeKind.ZodLiteral,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
-function createZodEnum(values, params) {
+function createZodEnum(values, params2) {
   return new ZodEnum({
     values,
     typeName: ZodFirstPartyTypeKind.ZodEnum,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 }
 var ZodEnum = class extends ZodType {
@@ -9506,11 +2603,11 @@ var ZodNativeEnum = class extends ZodType {
     return this._def.values;
   }
 };
-ZodNativeEnum.create = (values, params) => {
+ZodNativeEnum.create = (values, params2) => {
   return new ZodNativeEnum({
     values,
     typeName: ZodFirstPartyTypeKind.ZodNativeEnum,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodPromise = class extends ZodType {
@@ -9533,11 +2630,11 @@ var ZodPromise = class extends ZodType {
     }));
   }
 };
-ZodPromise.create = (schema, params) => {
+ZodPromise.create = (schema, params2) => {
   return new ZodPromise({
     type: schema,
     typeName: ZodFirstPartyTypeKind.ZodPromise,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodEffects = class extends ZodType {
@@ -9639,20 +2736,20 @@ var ZodEffects = class extends ZodType {
     util.assertNever(effect);
   }
 };
-ZodEffects.create = (schema, effect, params) => {
+ZodEffects.create = (schema, effect, params2) => {
   return new ZodEffects({
     schema,
     typeName: ZodFirstPartyTypeKind.ZodEffects,
     effect,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
-ZodEffects.createWithPreprocess = (preprocess, schema, params) => {
+ZodEffects.createWithPreprocess = (preprocess, schema, params2) => {
   return new ZodEffects({
     schema,
     effect: { type: "preprocess", transform: preprocess },
     typeName: ZodFirstPartyTypeKind.ZodEffects,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodOptional = class extends ZodType {
@@ -9667,11 +2764,11 @@ var ZodOptional = class extends ZodType {
     return this._def.innerType;
   }
 };
-ZodOptional.create = (type, params) => {
+ZodOptional.create = (type, params2) => {
   return new ZodOptional({
     innerType: type,
     typeName: ZodFirstPartyTypeKind.ZodOptional,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodNullable = class extends ZodType {
@@ -9686,11 +2783,11 @@ var ZodNullable = class extends ZodType {
     return this._def.innerType;
   }
 };
-ZodNullable.create = (type, params) => {
+ZodNullable.create = (type, params2) => {
   return new ZodNullable({
     innerType: type,
     typeName: ZodFirstPartyTypeKind.ZodNullable,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodDefault = class extends ZodType {
@@ -9710,11 +2807,11 @@ var ZodDefault = class extends ZodType {
     return this._def.innerType;
   }
 };
-ZodDefault.create = (type, params) => {
+ZodDefault.create = (type, params2) => {
   return new ZodOptional({
     innerType: type,
     typeName: ZodFirstPartyTypeKind.ZodOptional,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var ZodNaN = class extends ZodType {
@@ -9732,10 +2829,10 @@ var ZodNaN = class extends ZodType {
     return { status: "valid", value: input.data };
   }
 };
-ZodNaN.create = (params) => {
+ZodNaN.create = (params2) => {
   return new ZodNaN({
     typeName: ZodFirstPartyTypeKind.ZodNaN,
-    ...processCreateParams(params)
+    ...processCreateParams(params2)
   });
 };
 var BRAND = Symbol("zod_brand");
@@ -9753,11 +2850,11 @@ var ZodBranded = class extends ZodType {
     return this._def.type;
   }
 };
-var custom = (check, params = {}, fatal) => {
+var custom = (check, params2 = {}, fatal) => {
   if (check)
     return ZodAny.create().superRefine((data, ctx) => {
       if (!check(data)) {
-        const p = typeof params === "function" ? params(data) : params;
+        const p = typeof params2 === "function" ? params2(data) : params2;
         const p2 = typeof p === "string" ? { message: p } : p;
         ctx.addIssue({ code: "custom", ...p2, fatal });
       }
@@ -9802,9 +2899,9 @@ var ZodFirstPartyTypeKind;
   ZodFirstPartyTypeKind2["ZodPromise"] = "ZodPromise";
   ZodFirstPartyTypeKind2["ZodBranded"] = "ZodBranded";
 })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
-var instanceOfType = (cls, params = {
+var instanceOfType = (cls, params2 = {
   message: `Input not instance of ${cls.name}`
-}) => custom((data) => data instanceof cls, params, true);
+}) => custom((data) => data instanceof cls, params2, true);
 var stringType = ZodString.create;
 var numberType = ZodNumber.create;
 var nanType = ZodNaN.create;
@@ -10066,88 +3163,843 @@ var NSID = class {
 };
 
 // ../lexicon/src/types.ts
-var tokenSchema = mod.object({
-  lexicon: mod.literal(1),
-  id: mod.string().refine((v) => NSID.isValid(v), {
-    message: "Must be a valid NSID"
-  }),
-  type: mod.enum(["token"]),
-  revision: mod.number().optional(),
+var lexBoolean = mod.object({
+  type: mod.literal("boolean"),
   description: mod.string().optional(),
-  defs: mod.any().optional()
+  default: mod.boolean().optional(),
+  const: mod.boolean().optional()
 });
-var recordSchema = mod.object({
-  lexicon: mod.literal(1),
-  id: mod.string().refine((v) => NSID.isValid(v), {
-    message: "Must be a valid NSID"
-  }),
-  type: mod.enum(["record"]),
-  revision: mod.number().optional(),
+var lexNumber = mod.object({
+  type: mod.literal("number"),
   description: mod.string().optional(),
-  key: mod.string().optional(),
-  record: mod.any().optional(),
-  defs: mod.any().optional()
+  default: mod.number().optional(),
+  minimum: mod.number().optional(),
+  maximum: mod.number().optional(),
+  enum: mod.number().array().optional(),
+  const: mod.number().optional()
+});
+var lexInteger = mod.object({
+  type: mod.literal("integer"),
+  description: mod.string().optional(),
+  default: mod.number().int().optional(),
+  minimum: mod.number().int().optional(),
+  maximum: mod.number().int().optional(),
+  enum: mod.number().int().array().optional(),
+  const: mod.number().int().optional()
+});
+var lexString = mod.object({
+  type: mod.literal("string"),
+  description: mod.string().optional(),
+  default: mod.string().optional(),
+  minLength: mod.number().int().optional(),
+  maxLength: mod.number().int().optional(),
+  enum: mod.string().array().optional(),
+  const: mod.string().optional(),
+  knownValues: mod.string().array().optional()
+});
+var lexDatetime = mod.object({
+  type: mod.literal("datetime"),
+  description: mod.string().optional()
+});
+var lexUnknown = mod.object({
+  type: mod.literal("unknown"),
+  description: mod.string().optional()
+});
+var lexPrimitive = mod.union([
+  lexBoolean,
+  lexNumber,
+  lexInteger,
+  lexString,
+  lexDatetime,
+  lexUnknown
+]);
+var lexRef = mod.object({
+  type: mod.literal("ref"),
+  description: mod.string().optional(),
+  ref: mod.string()
+});
+var lexRefUnion = mod.object({
+  type: mod.literal("union"),
+  description: mod.string().optional(),
+  refs: mod.string().array(),
+  closed: mod.boolean().optional()
+});
+var lexRefVariant = mod.union([lexRef, lexRefUnion]);
+var lexBlob = mod.object({
+  type: mod.literal("blob"),
+  description: mod.string().optional(),
+  accept: mod.string().array().optional(),
+  maxSize: mod.number().optional()
+});
+var lexImage = mod.object({
+  type: mod.literal("image"),
+  description: mod.string().optional(),
+  accept: mod.string().array().optional(),
+  maxSize: mod.number().optional(),
+  maxWidth: mod.number().int().optional(),
+  maxHeight: mod.number().int().optional()
 });
-var methodSchemaBody = mod.object({
-  encoding: mod.union([mod.string(), mod.string().array()]),
+var lexVideo = mod.object({
+  type: mod.literal("video"),
   description: mod.string().optional(),
-  schema: mod.any().optional()
+  accept: mod.string().array().optional(),
+  maxSize: mod.number().optional(),
+  maxWidth: mod.number().int().optional(),
+  maxHeight: mod.number().int().optional(),
+  maxLength: mod.number().int().optional()
 });
-var methodSchemaParam = mod.object({
+var lexAudio = mod.object({
+  type: mod.literal("audio"),
+  description: mod.string().optional(),
+  accept: mod.string().array().optional(),
+  maxSize: mod.number().optional(),
+  maxLength: mod.number().int().optional()
+});
+var lexBlobVariant = mod.union([lexBlob, lexImage, lexVideo, lexAudio]);
+var lexArray = mod.object({
+  type: mod.literal("array"),
+  description: mod.string().optional(),
+  items: mod.union([lexPrimitive, lexBlobVariant, lexRefVariant]),
+  minLength: mod.number().int().optional(),
+  maxLength: mod.number().int().optional()
+});
+var lexToken = mod.object({
+  type: mod.literal("token"),
+  description: mod.string().optional()
+});
+var lexObject = mod.object({
   type: mod.literal("object"),
-  properties: mod.record(
-    mod.object({
-      type: mod.enum(["string", "number", "integer", "boolean"])
-    }).catchall(mod.any())
-  )
-}).catchall(mod.any());
-var methodSchemaError = mod.object({
+  description: mod.string().optional(),
+  required: mod.string().array().optional(),
+  properties: mod.record(mod.union([lexRefVariant, lexArray, lexBlobVariant, lexPrimitive])).optional()
+});
+var lexXrpcParameters = mod.object({
+  type: mod.literal("params"),
+  description: mod.string().optional(),
+  required: mod.string().array().optional(),
+  properties: mod.record(lexPrimitive)
+});
+var lexXrpcBody = mod.object({
+  description: mod.string().optional(),
+  encoding: mod.string(),
+  schema: mod.union([lexRefVariant, lexObject]).optional()
+});
+var lexXrpcError = mod.object({
   name: mod.string(),
   description: mod.string().optional()
 });
-var methodSchema = mod.object({
+var lexXrpcQuery = mod.object({
+  type: mod.literal("query"),
+  description: mod.string().optional(),
+  parameters: lexXrpcParameters.optional(),
+  output: lexXrpcBody.optional(),
+  errors: lexXrpcError.array().optional()
+});
+var lexXrpcProcedure = mod.object({
+  type: mod.literal("procedure"),
+  description: mod.string().optional(),
+  parameters: lexXrpcParameters.optional(),
+  input: lexXrpcBody.optional(),
+  output: lexXrpcBody.optional(),
+  errors: lexXrpcError.array().optional()
+});
+var lexRecord = mod.object({
+  type: mod.literal("record"),
+  description: mod.string().optional(),
+  key: mod.string().optional(),
+  record: lexObject
+});
+var lexUserType = mod.union([
+  lexRecord,
+  lexXrpcQuery,
+  lexXrpcProcedure,
+  lexBlob,
+  lexImage,
+  lexVideo,
+  lexAudio,
+  lexArray,
+  lexToken,
+  lexObject,
+  lexBoolean,
+  lexNumber,
+  lexInteger,
+  lexString,
+  lexDatetime,
+  lexUnknown
+]);
+var lexiconDoc = mod.object({
   lexicon: mod.literal(1),
-  id: mod.string(),
-  type: mod.enum(["query", "procedure"]),
+  id: mod.string().refine((v) => NSID.isValid(v), {
+    message: "Must be a valid NSID"
+  }),
+  revision: mod.number().optional(),
   description: mod.string().optional(),
-  parameters: methodSchemaParam.optional(),
-  input: methodSchemaBody.optional(),
-  output: methodSchemaBody.optional(),
-  errors: methodSchemaError.array().optional(),
-  defs: mod.any().optional()
+  defs: mod.record(lexUserType)
+}).superRefine((doc, ctx) => {
+  for (const defId in doc.defs) {
+    const def = doc.defs[defId];
+    if (defId !== "main" && (def.type === "record" || def.type === "procedure" || def.type === "query")) {
+      ctx.addIssue({
+        code: mod.ZodIssueCode.custom,
+        message: `Records, procedures, and queries must be the main definition.`
+      });
+    }
+  }
 });
-function isValidMethodSchema(v) {
-  return methodSchema.safeParse(v).success;
+function isObj(obj) {
+  return !!obj && typeof obj === "object";
+}
+function hasProp(data, prop) {
+  return prop in data;
+}
+var discriminatedObject = mod.object({ $type: mod.string() });
+function isDiscriminatedObject(value) {
+  return discriminatedObject.safeParse(value).success;
+}
+var LexiconDocMalformedError = class extends Error {
+  constructor(message, schemaDef, issues) {
+    super(message);
+    this.schemaDef = schemaDef;
+    this.issues = issues;
+    this.schemaDef = schemaDef;
+    this.issues = issues;
+  }
+};
+var ValidationError = class extends Error {
+};
+var InvalidLexiconError = class extends Error {
+};
+var LexiconDefNotFoundError = class extends Error {
+};
+
+// ../lexicon/src/validators/primitives.ts
+function validate(lexicons2, path, def, value) {
+  switch (def.type) {
+    case "boolean":
+      return boolean(lexicons2, path, def, value);
+    case "number":
+      return number(lexicons2, path, def, value);
+    case "integer":
+      return integer(lexicons2, path, def, value);
+    case "string":
+      return string(lexicons2, path, def, value);
+    case "datetime":
+      return datetime(lexicons2, path, def, value);
+    case "unknown":
+      return unknown(lexicons2, path, def, value);
+    default:
+      return {
+        success: false,
+        error: new ValidationError(`Unexpected lexicon type: ${def.type}`)
+      };
+  }
+}
+function boolean(lexicons2, path, def, value) {
+  def = def;
+  const type = typeof value;
+  if (type == "undefined") {
+    if (typeof def.default === "boolean") {
+      return { success: true };
+    }
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be a boolean`)
+    };
+  } else if (type !== "boolean") {
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be a boolean`)
+    };
+  }
+  if (typeof def.const === "boolean") {
+    if (value !== def.const) {
+      return {
+        success: false,
+        error: new ValidationError(`${path} must be ${def.const}`)
+      };
+    }
+  }
+  return { success: true };
+}
+function number(lexicons2, path, def, value) {
+  def = def;
+  const type = typeof value;
+  if (type == "undefined") {
+    if (typeof def.default === "number") {
+      return { success: true };
+    }
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be a number`)
+    };
+  } else if (type !== "number") {
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be a number`)
+    };
+  }
+  if (typeof def.const === "number") {
+    if (value !== def.const) {
+      return {
+        success: false,
+        error: new ValidationError(`${path} must be ${def.const}`)
+      };
+    }
+  }
+  if (Array.isArray(def.enum)) {
+    if (!def.enum.includes(value)) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} must be one of (${def.enum.join("|")})`
+        )
+      };
+    }
+  }
+  if (typeof def.maximum === "number") {
+    if (value > def.maximum) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} can not be greater than ${def.maximum}`
+        )
+      };
+    }
+  }
+  if (typeof def.minimum === "number") {
+    if (value < def.minimum) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} can not be less than ${def.minimum}`
+        )
+      };
+    }
+  }
+  return { success: true };
+}
+function integer(lexicons2, path, def, value) {
+  def = def;
+  const numRes = number(lexicons2, path, def, value);
+  if (!numRes.success) {
+    return numRes;
+  }
+  if (!Number.isInteger(value)) {
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be an integer`)
+    };
+  }
+  return { success: true };
+}
+function string(lexicons2, path, def, value) {
+  def = def;
+  const type = typeof value;
+  if (type == "undefined") {
+    if (typeof def.default === "string") {
+      return { success: true };
+    }
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be a string`)
+    };
+  } else if (type !== "string") {
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be a string`)
+    };
+  }
+  if (typeof def.const === "string") {
+    if (value !== def.const) {
+      return {
+        success: false,
+        error: new ValidationError(`${path} must be ${def.const}`)
+      };
+    }
+  }
+  if (Array.isArray(def.enum)) {
+    if (!def.enum.includes(value)) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} must be one of (${def.enum.join("|")})`
+        )
+      };
+    }
+  }
+  if (typeof def.maxLength === "number") {
+    if (value.length > def.maxLength) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} must not be longer than ${def.maxLength} characters`
+        )
+      };
+    }
+  }
+  if (typeof def.minLength === "number") {
+    if (value.length < def.minLength) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} must not be shorter than ${def.minLength} characters`
+        )
+      };
+    }
+  }
+  return { success: true };
+}
+function datetime(lexicons2, path, def, value) {
+  def = def;
+  const type = typeof value;
+  if (type !== "string") {
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be a string`)
+    };
+  }
+  {
+    try {
+      const date = new Date(Date.parse(value));
+      if (value !== date.toISOString()) {
+        throw new ValidationError(
+          `${path} must be an iso8601 formatted datetime`
+        );
+      }
+    } catch {
+      throw new ValidationError(`${path} must be an iso8601 formatted datetime`);
+    }
+  }
+  return { success: true };
+}
+function unknown(lexicons2, path, def, value) {
+  if (!value || typeof value !== "object") {
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be an object`)
+    };
+  }
+  return { success: true };
+}
+
+// ../lexicon/src/validators/blob.ts
+function blob(lexicons2, path, def, value) {
+  if (!isObj(value)) {
+    return {
+      success: false,
+      error: new ValidationError(`${path} should be an object`)
+    };
+  }
+  if (!hasProp(value, "cid") || typeof value.cid !== "string") {
+    return {
+      success: false,
+      error: new ValidationError(`${path}/cid should be a string`)
+    };
+  }
+  if (!hasProp(value, "mimeType") || typeof value.mimeType !== "string") {
+    return {
+      success: false,
+      error: new ValidationError(`${path}/mimeType should be a string`)
+    };
+  }
+  return { success: true };
+}
+function image(lexicons2, path, def, value) {
+  return blob(lexicons2, path, def, value);
+}
+function video(lexicons2, path, def, value) {
+  return blob(lexicons2, path, def, value);
+}
+function audio(lexicons2, path, def, value) {
+  return blob(lexicons2, path, def, value);
+}
+
+// ../lexicon/src/validators/complex.ts
+function validate2(lexicons2, path, def, value) {
+  switch (def.type) {
+    case "boolean":
+      return boolean(lexicons2, path, def, value);
+    case "number":
+      return number(lexicons2, path, def, value);
+    case "integer":
+      return integer(lexicons2, path, def, value);
+    case "string":
+      return string(lexicons2, path, def, value);
+    case "datetime":
+      return datetime(lexicons2, path, def, value);
+    case "unknown":
+      return unknown(lexicons2, path, def, value);
+    case "object":
+      return object(lexicons2, path, def, value);
+    case "array":
+      return array(lexicons2, path, def, value);
+    case "blob":
+      return blob(lexicons2, path, def, value);
+    case "image":
+      return image(lexicons2, path, def, value);
+    case "video":
+      return video(lexicons2, path, def, value);
+    case "audio":
+      return audio(lexicons2, path, def, value);
+    default:
+      return {
+        success: false,
+        error: new ValidationError(`Unexpected lexicon type: ${def.type}`)
+      };
+  }
+}
+function array(lexicons2, path, def, value) {
+  def = def;
+  if (!Array.isArray(value)) {
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be an array`)
+    };
+  }
+  if (typeof def.maxLength === "number") {
+    if (value.length > def.maxLength) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} must not have more than ${def.maxLength} elements`
+        )
+      };
+    }
+  }
+  if (typeof def.minLength === "number") {
+    if (value.length < def.minLength) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} must not have fewer than ${def.minLength} elements`
+        )
+      };
+    }
+  }
+  const itemsDef = def.items;
+  for (let i = 0; i < value.length; i++) {
+    const itemValue = value[i];
+    const itemPath = `${path}/${i}`;
+    const res = validateOneOf(lexicons2, itemPath, itemsDef, itemValue);
+    if (!res.success) {
+      return res;
+    }
+  }
+  return { success: true };
+}
+function object(lexicons2, path, def, value) {
+  def = def;
+  if (!value || typeof value !== "object") {
+    return {
+      success: false,
+      error: new ValidationError(`${path} must be an object`)
+    };
+  }
+  if (Array.isArray(def.required)) {
+    for (const key of def.required) {
+      if (!(key in value)) {
+        return {
+          success: false,
+          error: new ValidationError(`${path} must have the property "${key}"`)
+        };
+      }
+    }
+  }
+  if (typeof def.properties === "object") {
+    for (const key in def.properties) {
+      const propValue = value[key];
+      if (typeof propValue === "undefined") {
+        continue;
+      }
+      const propDef = def.properties[key];
+      const propPath = `${path}/${key}`;
+      const res = validateOneOf(lexicons2, propPath, propDef, propValue);
+      if (!res.success) {
+        return res;
+      }
+    }
+  }
+  return { success: true };
+}
+
+// ../lexicon/src/util.ts
+function toLexUri(str, baseUri) {
+  if (str.startsWith("lex:")) {
+    return str;
+  }
+  if (str.startsWith("#")) {
+    if (!baseUri) {
+      throw new Error(`Unable to resolve uri without anchor: ${str}`);
+    }
+    return `${baseUri}${str}`;
+  }
+  return `lex:${str}`;
+}
+function validateOneOf(lexicons2, path, def, value, mustBeObj = false) {
+  let error;
+  let concreteDefs;
+  if (def.type === "union") {
+    if (!isDiscriminatedObject(value)) {
+      return {
+        success: false,
+        error: new ValidationError(
+          `${path} must be an object which includes the "$type" property`
+        )
+      };
+    }
+    if (!def.refs.includes(toLexUri(value.$type))) {
+      if (def.closed) {
+        return {
+          success: false,
+          error: new ValidationError(
+            `${path} $type must be one of ${def.refs.join(", ")}`
+          )
+        };
+      }
+      return { success: true };
+    } else {
+      concreteDefs = toConcreteTypes(lexicons2, {
+        type: "ref",
+        ref: value.$type
+      });
+    }
+  } else {
+    concreteDefs = toConcreteTypes(lexicons2, def);
+  }
+  for (const concreteDef of concreteDefs) {
+    const result = mustBeObj ? object(lexicons2, path, concreteDef, value) : validate2(lexicons2, path, concreteDef, value);
+    if (result.success) {
+      return result;
+    }
+    error ?? (error = result.error);
+  }
+  if (concreteDefs.length > 1) {
+    return {
+      success: false,
+      error: new ValidationError(
+        `${path} did not match any of the expected definitions`
+      )
+    };
+  }
+  return { success: false, error };
+}
+function assertValidOneOf(lexicons2, path, def, value, mustBeObj = false) {
+  const res = validateOneOf(lexicons2, path, def, value, mustBeObj);
+  if (!res.success) {
+    throw res.error;
+  }
+}
+function toConcreteTypes(lexicons2, def) {
+  if (def.type === "ref") {
+    return [lexicons2.getDefOrThrow(def.ref)];
+  } else if (def.type === "union") {
+    return def.refs.map((ref) => lexicons2.getDefOrThrow(ref)).flat();
+  } else {
+    return [def];
+  }
+}
+
+// ../lexicon/src/validators/xrpc.ts
+function params(lexicons2, path, def, value) {
+  def = def;
+  if (!value || typeof value !== "object") {
+    value = {};
+  }
+  if (Array.isArray(def.required)) {
+    for (const key of def.required) {
+      if (!(key in value)) {
+        return {
+          success: false,
+          error: new ValidationError(`${path} must have the property "${key}"`)
+        };
+      }
+    }
+  }
+  for (const key in def.properties) {
+    if (typeof value[key] === "undefined") {
+      continue;
+    }
+    const paramDef = def.properties[key];
+    const res = validate(
+      lexicons2,
+      key,
+      paramDef,
+      value[key]
+    );
+    if (!res.success) {
+      return res;
+    }
+  }
+  return { success: true };
 }
 
-// ../lexicon/src/record/schema.ts
-var import_ajv = __toESM(require_ajv());
-var import_ajv_formats = __toESM(require_dist());
-var ajv = new import_ajv.default();
-(0, import_ajv_formats.default)(ajv);
+// ../lexicon/src/validation.ts
+function assertValidRecord(lexicons2, def, value) {
+  const res = object(lexicons2, "Record", def.record, value);
+  if (!res.success)
+    throw res.error;
+}
+function assertValidXrpcParams(lexicons2, def, value) {
+  if (def.parameters) {
+    const res = params(lexicons2, "Params", def.parameters, value);
+    if (!res.success)
+      throw res.error;
+  }
+}
+function assertValidXrpcInput(lexicons2, def, value) {
+  if (def.input?.schema) {
+    assertValidOneOf(lexicons2, "Input", def.input.schema, value, true);
+  }
+}
+function assertValidXrpcOutput(lexicons2, def, value) {
+  if (def.output?.schema) {
+    assertValidOneOf(lexicons2, "Output", def.output.schema, value, true);
+  }
+}
 
-// ../lexicon/src/record/validator.ts
-var import_ajv2 = __toESM(require_ajv());
-var import_ajv_formats2 = __toESM(require_dist());
-var ajv2 = new import_ajv2.default();
-(0, import_ajv_formats2.default)(ajv2);
+// ../lexicon/src/lexicons.ts
+var Lexicons = class {
+  constructor(docs) {
+    this.docs = /* @__PURE__ */ new Map();
+    this.defs = /* @__PURE__ */ new Map();
+    if (docs?.length) {
+      for (const doc of docs) {
+        this.add(doc);
+      }
+    }
+  }
+  add(doc) {
+    try {
+      lexiconDoc.parse(doc);
+    } catch (e) {
+      if (e instanceof ZodError) {
+        throw new LexiconDocMalformedError(
+          `Failed to parse schema definition ${doc.id}`,
+          doc,
+          e.issues
+        );
+      } else {
+        throw e;
+      }
+    }
+    const validatedDoc = doc;
+    const uri = toLexUri(validatedDoc.id);
+    if (this.docs.has(uri)) {
+      throw new Error(`${uri} has already been registered`);
+    }
+    resolveRefUris(validatedDoc, uri);
+    this.docs.set(uri, validatedDoc);
+    for (const [defUri, def] of iterDefs(validatedDoc)) {
+      this.defs.set(defUri, def);
+    }
+  }
+  remove(uri) {
+    uri = toLexUri(uri);
+    const doc = this.docs.get(uri);
+    if (!doc) {
+      throw new Error(`Unable to remove "${uri}": does not exist`);
+    }
+    for (const [defUri, _def] of iterDefs(doc)) {
+      this.defs.delete(defUri);
+    }
+    this.docs.delete(uri);
+  }
+  get(uri) {
+    uri = toLexUri(uri);
+    return this.docs.get(uri);
+  }
+  getDef(uri) {
+    uri = toLexUri(uri);
+    return this.defs.get(uri);
+  }
+  getDefOrThrow(uri, types) {
+    const def = this.getDef(uri);
+    if (!def) {
+      throw new LexiconDefNotFoundError(`Lexicon not found: ${uri}`);
+    }
+    if (types && !types.includes(def.type)) {
+      throw new InvalidLexiconError(
+        `Not a ${types.join(" or ")} lexicon: ${uri}`
+      );
+    }
+    return def;
+  }
+  assertValidRecord(lexUri, value) {
+    lexUri = toLexUri(lexUri);
+    const def = this.getDefOrThrow(lexUri, ["record"]);
+    if (!isObj(value)) {
+      throw new ValidationError(`Record must be an object`);
+    }
+    if (!hasProp(value, "$type") || typeof value.$type !== "string") {
+      throw new ValidationError(`Record/$type must be a string`);
+    }
+    const $type = value.$type || "";
+    if (toLexUri($type) !== lexUri) {
+      throw new ValidationError(
+        `Invalid $type: must be ${lexUri}, got ${$type}`
+      );
+    }
+    assertValidRecord(this, def, value);
+  }
+  assertValidXrpcParams(lexUri, value) {
+    lexUri = toLexUri(lexUri);
+    const def = this.getDefOrThrow(lexUri, ["query", "procedure"]);
+    assertValidXrpcParams(this, def, value);
+  }
+  assertValidXrpcInput(lexUri, value) {
+    lexUri = toLexUri(lexUri);
+    const def = this.getDefOrThrow(lexUri, ["procedure"]);
+    assertValidXrpcInput(this, def, value);
+  }
+  assertValidXrpcOutput(lexUri, value) {
+    lexUri = toLexUri(lexUri);
+    const def = this.getDefOrThrow(lexUri, ["query", "procedure"]);
+    assertValidXrpcOutput(this, def, value);
+  }
+};
+function* iterDefs(doc) {
+  for (const defId in doc.defs) {
+    yield [`lex:${doc.id}#${defId}`, doc.defs[defId]];
+    if (defId === "main") {
+      yield [`lex:${doc.id}`, doc.defs[defId]];
+    }
+  }
+}
+function resolveRefUris(obj, baseUri) {
+  for (const k in obj) {
+    if (obj.type === "ref") {
+      obj.ref = toLexUri(obj.ref, baseUri);
+    } else if (obj.type === "union") {
+      obj.refs = obj.refs.map((ref) => toLexUri(ref, baseUri));
+    } else if (Array.isArray(obj[k])) {
+      obj[k] = obj[k].map((item) => {
+        if (typeof item === "string") {
+          return item.startsWith("#") ? toLexUri(item, baseUri) : item;
+        } else if (item && typeof item === "object") {
+          return resolveRefUris(item, baseUri);
+        }
+        return item;
+      });
+    } else if (obj[k] && typeof obj[k] === "object") {
+      obj[k] = resolveRefUris(obj[k], baseUri);
+    }
+  }
+  return obj;
+}
 
 // ../xrpc/src/util.ts
 function getMethodSchemaHTTPMethod(schema) {
-  if (schema.type === "query") {
-    return "get";
-  }
   if (schema.type === "procedure") {
     return "post";
   }
-  throw new Error(`Invalid method type: ${schema.type}`);
+  return "get";
 }
-function constructMethodCallUri(schema, serviceUri, params) {
+function constructMethodCallUri(nsid, schema, serviceUri, params2) {
   const uri = new URL(serviceUri);
-  uri.pathname = `/xrpc/${schema.id}`;
-  if (params) {
-    for (const [key, value] of Object.entries(params)) {
-      const paramSchema = schema.parameters?.properties[key];
+  uri.pathname = `/xrpc/${nsid}`;
+  if (params2) {
+    for (const [key, value] of Object.entries(params2)) {
+      const paramSchema = schema.parameters?.properties?.[key];
       if (!paramSchema) {
         throw new Error(`Invalid query parameter: ${key}`);
       }
@@ -10159,7 +4011,7 @@ function constructMethodCallUri(schema, serviceUri, params) {
   return uri.toString();
 }
 function encodeQueryParam(type, value) {
-  if (type === "string") {
+  if (type === "string" || type === "unknown") {
     return String(value);
   }
   if (type === "number") {
@@ -10168,6 +4020,11 @@ function encodeQueryParam(type, value) {
     return String(Number(value) | 0);
   } else if (type === "boolean") {
     return value ? "true" : "false";
+  } else if (type === "datetime") {
+    if (value instanceof Date) {
+      return value.toISOString();
+    }
+    return String(value);
   }
   throw new Error(`Unsupported query param type: ${type}`);
 }
@@ -10226,7 +4083,7 @@ function httpResponseBodyParse(mimeType, data) {
       } catch (e) {
         throw new XRPCError(
           2 /* InvalidResponse */,
-          `Failed to parse response body: ${e.toString()}`
+          `Failed to parse response body: ${String(e)}`
         );
       }
     }
@@ -10236,7 +4093,7 @@ function httpResponseBodyParse(mimeType, data) {
       } catch (e) {
         throw new XRPCError(
           2 /* InvalidResponse */,
-          `Failed to parse response body: ${e.toString()}`
+          `Failed to parse response body: ${String(e)}`
         );
       }
     }
@@ -10248,31 +4105,24 @@ function httpResponseBodyParse(mimeType, data) {
 var Client = class {
   constructor() {
     this.fetch = defaultFetchHandler;
-    this.schemas = /* @__PURE__ */ new Map();
+    this.lex = new Lexicons();
   }
-  async call(serviceUri, methodNsid, params, data, opts) {
-    return this.service(serviceUri).call(methodNsid, params, data, opts);
+  async call(serviceUri, methodNsid, params2, data, opts) {
+    return this.service(serviceUri).call(methodNsid, params2, data, opts);
   }
   service(serviceUri) {
     return new ServiceClient(this, serviceUri);
   }
-  addSchema(schema) {
-    if (isValidMethodSchema(schema)) {
-      this.schemas.set(schema.id, schema);
-    } else {
-      methodSchema.parse(schema);
-    }
+  addLexicon(doc) {
+    this.lex.add(doc);
   }
-  addSchemas(schemas) {
-    for (const schema of schemas) {
-      this.addSchema(schema);
+  addLexicons(docs) {
+    for (const doc of docs) {
+      this.addLexicon(doc);
     }
   }
-  listSchemaIds() {
-    return Array.from(this.schemas.keys());
-  }
-  removeSchema(nsid) {
-    this.schemas.delete(nsid);
+  removeLexicon(uri) {
+    this.lex.remove(uri);
   }
 };
 var ServiceClient = class {
@@ -10287,14 +4137,16 @@ var ServiceClient = class {
   unsetHeader(key) {
     delete this.headers[key];
   }
-  async call(methodNsid, params, data, opts) {
-    const schema = this.baseClient.schemas.get(methodNsid);
-    if (!schema) {
-      throw new Error(`Method schema not found: ${methodNsid}`);
+  async call(methodNsid, params2, data, opts) {
+    const def = this.baseClient.lex.getDefOrThrow(methodNsid);
+    if (!def || def.type !== "query" && def.type !== "procedure") {
+      throw new Error(
+        `Invalid lexicon: ${methodNsid}. Must be a query or procedure.`
+      );
     }
-    const httpMethod = getMethodSchemaHTTPMethod(schema);
-    const httpUri = constructMethodCallUri(schema, this.uri, params);
-    const httpHeaders = constructMethodCallHeaders(schema, data, {
+    const httpMethod = getMethodSchemaHTTPMethod(def);
+    const httpUri = constructMethodCallUri(methodNsid, def, this.uri, params2);
+    const httpHeaders = constructMethodCallHeaders(def, data, {
       headers: {
         ...this.headers,
         ...opts?.headers
@@ -10333,7 +4185,7 @@ async function defaultFetchHandler(httpUri, httpMethod, httpHeaders, httpReqBody
       body: httpResponseBodyParse(res.headers.get("content-type"), resBody)
     };
   } catch (e) {
-    throw new XRPCError(1 /* Unknown */, e.toString());
+    throw new XRPCError(1 /* Unknown */, String(e));
   }
 }
 function isErrorResponseBody(v) {
@@ -10343,471 +4195,559 @@ function isErrorResponseBody(v) {
 // ../xrpc/src/index.ts
 var defaultInst = new Client();
 
-// src/client/schemas.ts
-var methodSchemaDict = {
-  "com.atproto.account.create": {
+// src/client/lexicons.ts
+var lexicons = [
+  {
     lexicon: 1,
     id: "com.atproto.account.create",
-    type: "procedure",
-    description: "Create an account.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["handle", "email", "password"],
-        properties: {
-          email: {
-            type: "string"
-          },
-          handle: {
-            type: "string"
-          },
-          inviteCode: {
-            type: "string"
-          },
-          password: {
-            type: "string"
-          },
-          recoveryKey: {
-            type: "string"
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Create an account.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["handle", "email", "password"],
+            properties: {
+              email: {
+                type: "string"
+              },
+              handle: {
+                type: "string"
+              },
+              inviteCode: {
+                type: "string"
+              },
+              password: {
+                type: "string"
+              },
+              recoveryKey: {
+                type: "string"
+              }
+            }
           }
         },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["accessJwt", "refreshJwt", "handle", "did"],
-        properties: {
-          accessJwt: {
-            type: "string"
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["accessJwt", "refreshJwt", "handle", "did"],
+            properties: {
+              accessJwt: {
+                type: "string"
+              },
+              refreshJwt: {
+                type: "string"
+              },
+              handle: {
+                type: "string"
+              },
+              did: {
+                type: "string"
+              }
+            }
+          }
+        },
+        errors: [
+          {
+            name: "InvalidHandle"
           },
-          refreshJwt: {
-            type: "string"
+          {
+            name: "InvalidPassword"
           },
-          handle: {
-            type: "string"
+          {
+            name: "InvalidInviteCode"
           },
-          did: {
-            type: "string"
+          {
+            name: "HandleNotAvailable"
           }
-        },
-        $defs: {}
+        ]
       }
-    },
-    errors: [
-      {
-        name: "InvalidHandle"
-      },
-      {
-        name: "InvalidPassword"
-      },
-      {
-        name: "InvalidInviteCode"
-      },
-      {
-        name: "HandleNotAvailable"
-      }
-    ]
+    }
   },
-  "com.atproto.account.createInviteCode": {
+  {
     lexicon: 1,
     id: "com.atproto.account.createInviteCode",
-    type: "procedure",
-    description: "Create an invite code.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["useCount"],
-        properties: {
-          useCount: {
-            type: "integer"
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Create an invite code.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["useCount"],
+            properties: {
+              useCount: {
+                type: "integer"
+              }
+            }
           }
         },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["code"],
-        properties: {
-          code: {
-            type: "string"
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["code"],
+            properties: {
+              code: {
+                type: "string"
+              }
+            }
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "com.atproto.account.delete": {
+  {
     lexicon: 1,
     id: "com.atproto.account.delete",
-    type: "procedure",
-    description: "Delete an account.",
-    input: {
-      encoding: "",
-      schema: {
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "",
-      schema: {
-        $defs: {}
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Delete an account."
       }
     }
   },
-  "com.atproto.account.get": {
+  {
     lexicon: 1,
     id: "com.atproto.account.get",
-    type: "query",
-    description: "Get information about an account.",
-    output: {
-      encoding: "",
-      schema: {
-        $defs: {}
+    defs: {
+      main: {
+        type: "query",
+        description: "Get information about an account."
       }
     }
   },
-  "com.atproto.account.requestPasswordReset": {
+  {
     lexicon: 1,
     id: "com.atproto.account.requestPasswordReset",
-    type: "procedure",
-    description: "Initiate a user account password reset via email.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["email"],
-        properties: {
-          email: {
-            type: "string"
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Initiate a user account password reset via email.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["email"],
+            properties: {
+              email: {
+                type: "string"
+              }
+            }
           }
-        },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        properties: {},
-        $defs: {}
+        }
       }
     }
   },
-  "com.atproto.account.resetPassword": {
+  {
     lexicon: 1,
     id: "com.atproto.account.resetPassword",
-    type: "procedure",
-    description: "Reset a user account password using a token.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["token", "password"],
-        properties: {
-          token: {
-            type: "string"
-          },
-          password: {
-            type: "string"
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Reset a user account password using a token.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["token", "password"],
+            properties: {
+              token: {
+                type: "string"
+              },
+              password: {
+                type: "string"
+              }
+            }
           }
         },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        properties: {},
-        $defs: {}
-      }
-    },
-    errors: [
-      {
-        name: "ExpiredToken"
-      },
-      {
-        name: "InvalidToken"
+        errors: [
+          {
+            name: "ExpiredToken"
+          },
+          {
+            name: "InvalidToken"
+          }
+        ]
       }
-    ]
+    }
   },
-  "com.atproto.handle.resolve": {
+  {
     lexicon: 1,
     id: "com.atproto.handle.resolve",
-    type: "query",
-    description: "Provides the DID of a repo.",
-    parameters: {
-      type: "object",
-      properties: {
-        handle: {
-          type: "string",
-          description: "The handle to resolve. If not supplied, will resolve the host's own handle."
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["did"],
-        properties: {
-          did: {
-            type: "string"
+    defs: {
+      main: {
+        type: "query",
+        description: "Provides the DID of a repo.",
+        parameters: {
+          type: "params",
+          properties: {
+            handle: {
+              type: "string",
+              description: "The handle to resolve. If not supplied, will resolve the host's own handle."
+            }
           }
         },
-        $defs: {}
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["did"],
+            properties: {
+              did: {
+                type: "string"
+              }
+            }
+          }
+        }
       }
     }
   },
-  "com.atproto.repo.batchWrite": {
+  {
     lexicon: 1,
     id: "com.atproto.repo.batchWrite",
-    type: "procedure",
-    description: "Apply a batch transaction of creates, puts, and deletes.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["did", "writes"],
-        properties: {
-          did: {
-            type: "string",
-            description: "The DID of the repo."
-          },
-          validate: {
-            type: "boolean",
-            default: true,
-            description: "Validate the records?"
-          },
-          writes: {
-            type: "array",
-            items: {
-              oneOf: [
-                {
-                  type: "object",
-                  required: ["action", "collection", "value"],
-                  properties: {
-                    action: {
-                      type: "string",
-                      const: "create"
-                    },
-                    collection: {
-                      type: "string"
-                    },
-                    rkey: {
-                      type: "string"
-                    },
-                    value: {}
-                  }
-                },
-                {
-                  type: "object",
-                  required: ["action", "collection", "rkey", "value"],
-                  properties: {
-                    action: {
-                      type: "string",
-                      const: "update"
-                    },
-                    collection: {
-                      type: "string"
-                    },
-                    rkey: {
-                      type: "string"
-                    },
-                    value: {}
-                  }
-                },
-                {
-                  type: "object",
-                  required: ["action", "collection", "rkey"],
-                  properties: {
-                    action: {
-                      type: "string",
-                      const: "delete"
-                    },
-                    collection: {
-                      type: "string"
-                    },
-                    rkey: {
-                      type: "string"
-                    }
-                  }
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Apply a batch transaction of creates, puts, and deletes.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["did", "writes"],
+            properties: {
+              did: {
+                type: "string",
+                description: "The DID of the repo."
+              },
+              validate: {
+                type: "boolean",
+                default: true,
+                description: "Validate the records?"
+              },
+              writes: {
+                type: "array",
+                items: {
+                  type: "union",
+                  refs: [
+                    "lex:com.atproto.repo.batchWrite#create",
+                    "lex:com.atproto.repo.batchWrite#update",
+                    "lex:com.atproto.repo.batchWrite#delete"
+                  ],
+                  closed: true
                 }
-              ]
+              }
             }
           }
-        },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        $defs: {}
-      }
-    }
-  },
-  "com.atproto.repo.createRecord": {
-    lexicon: 1,
-    id: "com.atproto.repo.createRecord",
-    type: "procedure",
-    description: "Create a new record.",
-    input: {
-      encoding: "application/json",
-      schema: {
+        }
+      },
+      create: {
         type: "object",
-        required: ["did", "collection", "record"],
+        required: ["action", "collection", "value"],
         properties: {
-          did: {
+          action: {
             type: "string",
-            description: "The DID of the repo."
+            const: "create"
           },
           collection: {
-            type: "string",
-            description: "The NSID of the record collection."
+            type: "string"
           },
-          validate: {
-            type: "boolean",
-            default: true,
-            description: "Validate the record?"
+          rkey: {
+            type: "string"
           },
-          record: {
-            type: "object",
-            description: "The record to create."
+          value: {
+            type: "unknown"
           }
-        },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
+        }
+      },
+      update: {
         type: "object",
-        required: ["uri", "cid"],
+        required: ["action", "collection", "rkey", "value"],
         properties: {
-          uri: {
+          action: {
+            type: "string",
+            const: "update"
+          },
+          collection: {
             type: "string"
           },
-          cid: {
+          rkey: {
             type: "string"
+          },
+          value: {
+            type: "unknown"
           }
-        },
-        $defs: {}
-      }
-    }
-  },
-  "com.atproto.repo.deleteRecord": {
-    lexicon: 1,
-    id: "com.atproto.repo.deleteRecord",
-    type: "procedure",
-    description: "Delete a record.",
-    input: {
-      encoding: "application/json",
-      schema: {
+        }
+      },
+      delete: {
         type: "object",
-        required: ["did", "collection", "rkey"],
+        required: ["action", "collection", "rkey"],
         properties: {
-          did: {
+          action: {
             type: "string",
-            description: "The DID of the repo."
+            const: "delete"
           },
           collection: {
-            type: "string",
-            description: "The NSID of the record collection."
+            type: "string"
           },
           rkey: {
-            type: "string",
-            description: "The key of the record."
+            type: "string"
+          }
+        }
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "com.atproto.repo.createRecord",
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Create a new record.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["did", "collection", "record"],
+            properties: {
+              did: {
+                type: "string",
+                description: "The DID of the repo."
+              },
+              collection: {
+                type: "string",
+                description: "The NSID of the record collection."
+              },
+              validate: {
+                type: "boolean",
+                default: true,
+                description: "Validate the record?"
+              },
+              record: {
+                type: "unknown",
+                description: "The record to create."
+              }
+            }
           }
         },
-        $defs: {}
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["uri", "cid"],
+            properties: {
+              uri: {
+                type: "string"
+              },
+              cid: {
+                type: "string"
+              }
+            }
+          }
+        }
       }
     }
   },
-  "com.atproto.repo.describe": {
+  {
     lexicon: 1,
-    id: "com.atproto.repo.describe",
-    type: "query",
-    description: "Get information about the repo, including the list of collections.",
-    parameters: {
-      type: "object",
-      required: ["user"],
-      properties: {
-        user: {
-          type: "string",
-          description: "The handle or DID of the repo."
+    id: "com.atproto.repo.deleteRecord",
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Delete a record.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["did", "collection", "rkey"],
+            properties: {
+              did: {
+                type: "string",
+                description: "The DID of the repo."
+              },
+              collection: {
+                type: "string",
+                description: "The NSID of the record collection."
+              },
+              rkey: {
+                type: "string",
+                description: "The key of the record."
+              }
+            }
+          }
         }
       }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["handle", "did", "didDoc", "collections", "handleIsCorrect"],
-        properties: {
-          handle: {
-            type: "string"
-          },
-          did: {
-            type: "string"
-          },
-          didDoc: {
-            type: "object"
-          },
-          collections: {
-            type: "array",
-            items: {
-              type: "string"
+    }
+  },
+  {
+    lexicon: 1,
+    id: "com.atproto.repo.describe",
+    defs: {
+      main: {
+        type: "query",
+        description: "Get information about the repo, including the list of collections.",
+        parameters: {
+          type: "params",
+          required: ["user"],
+          properties: {
+            user: {
+              type: "string",
+              description: "The handle or DID of the repo."
             }
-          },
-          handleIsCorrect: {
-            type: "boolean"
           }
         },
-        $defs: {}
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: [
+              "handle",
+              "did",
+              "didDoc",
+              "collections",
+              "handleIsCorrect"
+            ],
+            properties: {
+              handle: {
+                type: "string"
+              },
+              did: {
+                type: "string"
+              },
+              didDoc: {
+                type: "unknown"
+              },
+              collections: {
+                type: "array",
+                items: {
+                  type: "string"
+                }
+              },
+              handleIsCorrect: {
+                type: "boolean"
+              }
+            }
+          }
+        }
       }
     }
   },
-  "com.atproto.repo.getRecord": {
+  {
     lexicon: 1,
     id: "com.atproto.repo.getRecord",
-    type: "query",
-    description: "Fetch a record.",
-    parameters: {
-      type: "object",
-      required: ["user", "collection", "rkey"],
-      properties: {
-        user: {
-          type: "string",
-          description: "The handle or DID of the repo."
-        },
-        collection: {
-          type: "string",
-          description: "The NSID of the collection."
-        },
-        rkey: {
-          type: "string",
-          description: "The key of the record."
+    defs: {
+      main: {
+        type: "query",
+        description: "Fetch a record.",
+        parameters: {
+          type: "params",
+          required: ["user", "collection", "rkey"],
+          properties: {
+            user: {
+              type: "string",
+              description: "The handle or DID of the repo."
+            },
+            collection: {
+              type: "string",
+              description: "The NSID of the collection."
+            },
+            rkey: {
+              type: "string",
+              description: "The key of the record."
+            },
+            cid: {
+              type: "string",
+              description: "The CID of the version of the record. If not specified, then return the most recent version."
+            }
+          }
         },
-        cid: {
-          type: "string",
-          description: "The CID of the version of the record. If not specified, then return the most recent version."
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["uri", "value"],
+            properties: {
+              uri: {
+                type: "string"
+              },
+              cid: {
+                type: "string"
+              },
+              value: {
+                type: "unknown"
+              }
+            }
+          }
         }
       }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
+    }
+  },
+  {
+    lexicon: 1,
+    id: "com.atproto.repo.listRecords",
+    defs: {
+      main: {
+        type: "query",
+        description: "List a range of records in a collection.",
+        parameters: {
+          type: "params",
+          required: ["user", "collection"],
+          properties: {
+            user: {
+              type: "string",
+              description: "The handle or DID of the repo."
+            },
+            collection: {
+              type: "string",
+              description: "The NSID of the record type."
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50,
+              description: "The number of records to return."
+            },
+            before: {
+              type: "string",
+              description: "A TID to filter the range of records returned."
+            },
+            after: {
+              type: "string",
+              description: "A TID to filter the range of records returned."
+            },
+            reverse: {
+              type: "boolean",
+              description: "Reverse the order of the returned records?"
+            }
+          }
+        },
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["records"],
+            properties: {
+              cursor: {
+                type: "string"
+              },
+              records: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:com.atproto.repo.listRecords#record"
+                }
+              }
+            }
+          }
+        }
+      },
+      record: {
         type: "object",
-        required: ["uri", "value"],
+        required: ["uri", "cid", "value"],
         properties: {
           uri: {
             type: "string"
@@ -10816,121 +4756,73 @@ var methodSchemaDict = {
             type: "string"
           },
           value: {
-            type: "object"
+            type: "unknown"
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "com.atproto.repo.listRecords": {
+  {
     lexicon: 1,
-    id: "com.atproto.repo.listRecords",
-    type: "query",
-    description: "List a range of records in a collection.",
-    parameters: {
-      type: "object",
-      required: ["user", "collection"],
-      properties: {
-        user: {
-          type: "string",
-          description: "The handle or DID of the repo."
-        },
-        collection: {
-          type: "string",
-          description: "The NSID of the record type."
-        },
-        limit: {
-          type: "integer",
-          minimum: 1,
-          default: 50,
-          description: "The number of records to return. TODO-max number?"
-        },
-        before: {
-          type: "string",
-          description: "A TID to filter the range of records returned."
-        },
-        after: {
-          type: "string",
-          description: "A TID to filter the range of records returned."
-        },
-        reverse: {
-          type: "boolean",
-          description: "Reverse the order of the returned records?"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["records"],
-        properties: {
-          cursor: {
-            type: "string"
-          },
-          records: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["uri", "cid", "value"],
-              properties: {
-                uri: {
-                  type: "string"
-                },
-                cid: {
-                  type: "string"
-                },
-                value: {
-                  type: "object"
-                }
+    id: "com.atproto.repo.putRecord",
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Write a record.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["did", "collection", "rkey", "record"],
+            properties: {
+              did: {
+                type: "string",
+                description: "The DID of the repo."
+              },
+              collection: {
+                type: "string",
+                description: "The NSID of the record type."
+              },
+              rkey: {
+                type: "string",
+                description: "The TID of the record."
+              },
+              validate: {
+                type: "boolean",
+                default: true,
+                description: "Validate the record?"
+              },
+              record: {
+                type: "unknown",
+                description: "The record to create."
               }
             }
           }
         },
-        $defs: {}
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["uri", "cid"],
+            properties: {
+              uri: {
+                type: "string"
+              },
+              cid: {
+                type: "string"
+              }
+            }
+          }
+        }
       }
     }
   },
-  "com.atproto.repo.putRecord": {
+  {
     lexicon: 1,
-    id: "com.atproto.repo.putRecord",
-    type: "procedure",
-    description: "Write a record.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["did", "collection", "rkey", "record"],
-        properties: {
-          did: {
-            type: "string",
-            description: "The DID of the repo."
-          },
-          collection: {
-            type: "string",
-            description: "The NSID of the record type."
-          },
-          rkey: {
-            type: "string",
-            description: "The TID of the record."
-          },
-          validate: {
-            type: "boolean",
-            default: true,
-            description: "Validate the record?"
-          },
-          record: {
-            type: "object",
-            description: "The record to create."
-          }
-        },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
+    id: "com.atproto.repo.strongRef",
+    description: "A URI with a content-hash fingerprint.",
+    defs: {
+      main: {
         type: "object",
         required: ["uri", "cid"],
         properties: {
@@ -10940,1086 +4832,832 @@ var methodSchemaDict = {
           cid: {
             type: "string"
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "com.atproto.server.getAccountsConfig": {
+  {
     lexicon: 1,
     id: "com.atproto.server.getAccountsConfig",
-    type: "query",
-    description: "Get a document describing the service's accounts configuration.",
-    output: {
-      encoding: "application/json",
-      schema: {
+    defs: {
+      main: {
+        type: "query",
+        description: "Get a document describing the service's accounts configuration.",
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["availableUserDomains"],
+            properties: {
+              inviteCodeRequired: {
+                type: "boolean"
+              },
+              availableUserDomains: {
+                type: "array",
+                items: {
+                  type: "string"
+                }
+              },
+              links: {
+                type: "ref",
+                ref: "lex:com.atproto.server.getAccountsConfig#links"
+              }
+            }
+          }
+        }
+      },
+      links: {
         type: "object",
-        required: ["availableUserDomains"],
         properties: {
-          inviteCodeRequired: {
-            type: "boolean"
+          privacyPolicy: {
+            type: "string"
           },
-          availableUserDomains: {
-            type: "array",
-            items: {
-              type: "string"
-            }
+          termsOfService: {
+            type: "string"
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "com.atproto.session.create": {
+  {
     lexicon: 1,
     id: "com.atproto.session.create",
-    type: "procedure",
-    description: "Create an authentication session.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["handle", "password"],
-        properties: {
-          handle: {
-            type: "string"
-          },
-          password: {
-            type: "string"
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Create an authentication session.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["handle", "password"],
+            properties: {
+              handle: {
+                type: "string"
+              },
+              password: {
+                type: "string"
+              }
+            }
           }
         },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["accessJwt", "refreshJwt", "handle", "did"],
-        properties: {
-          accessJwt: {
-            type: "string"
-          },
-          refreshJwt: {
-            type: "string"
-          },
-          handle: {
-            type: "string"
-          },
-          did: {
-            type: "string"
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["accessJwt", "refreshJwt", "handle", "did"],
+            properties: {
+              accessJwt: {
+                type: "string"
+              },
+              refreshJwt: {
+                type: "string"
+              },
+              handle: {
+                type: "string"
+              },
+              did: {
+                type: "string"
+              }
+            }
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "com.atproto.session.delete": {
+  {
     lexicon: 1,
     id: "com.atproto.session.delete",
-    type: "procedure",
-    description: "Delete the current session.",
-    output: {
-      encoding: "application/json",
-      schema: {
-        $defs: {}
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Delete the current session."
       }
     }
   },
-  "com.atproto.session.get": {
+  {
     lexicon: 1,
     id: "com.atproto.session.get",
-    type: "query",
-    description: "Get information about the current session.",
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["handle", "did"],
-        properties: {
-          handle: {
-            type: "string"
-          },
-          did: {
-            type: "string"
+    defs: {
+      main: {
+        type: "query",
+        description: "Get information about the current session.",
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["handle", "did"],
+            properties: {
+              handle: {
+                type: "string"
+              },
+              did: {
+                type: "string"
+              }
+            }
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "com.atproto.session.refresh": {
+  {
     lexicon: 1,
     id: "com.atproto.session.refresh",
-    type: "procedure",
-    description: "Refresh an authentication session.",
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["accessJwt", "refreshJwt", "handle", "did"],
-        properties: {
-          accessJwt: {
-            type: "string"
-          },
-          refreshJwt: {
-            type: "string"
-          },
-          handle: {
-            type: "string"
-          },
-          did: {
-            type: "string"
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Refresh an authentication session.",
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["accessJwt", "refreshJwt", "handle", "did"],
+            properties: {
+              accessJwt: {
+                type: "string"
+              },
+              refreshJwt: {
+                type: "string"
+              },
+              handle: {
+                type: "string"
+              },
+              did: {
+                type: "string"
+              }
+            }
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "com.atproto.sync.getRepo": {
+  {
     lexicon: 1,
     id: "com.atproto.sync.getRepo",
-    type: "query",
-    description: "Gets the repo state.",
-    parameters: {
-      type: "object",
-      required: ["did"],
-      properties: {
-        did: {
-          type: "string",
-          description: "The DID of the repo."
+    defs: {
+      main: {
+        type: "query",
+        description: "Gets the repo state.",
+        parameters: {
+          type: "params",
+          required: ["did"],
+          properties: {
+            did: {
+              type: "string",
+              description: "The DID of the repo."
+            },
+            from: {
+              type: "string",
+              description: "A past commit CID."
+            }
+          }
         },
-        from: {
-          type: "string",
-          description: "A past commit CID."
+        output: {
+          encoding: "application/cbor"
         }
       }
-    },
-    output: {
-      encoding: "application/cbor"
     }
   },
-  "com.atproto.sync.getRoot": {
+  {
     lexicon: 1,
     id: "com.atproto.sync.getRoot",
-    type: "query",
-    description: "Gets the current root CID of a repo.",
-    parameters: {
-      type: "object",
-      required: ["did"],
-      properties: {
-        did: {
-          type: "string",
-          description: "The DID of the repo."
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["root"],
-        properties: {
-          root: {
-            type: "string"
+    defs: {
+      main: {
+        type: "query",
+        description: "Gets the current root CID of a repo.",
+        parameters: {
+          type: "params",
+          required: ["did"],
+          properties: {
+            did: {
+              type: "string",
+              description: "The DID of the repo."
+            }
           }
         },
-        $defs: {}
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["root"],
+            properties: {
+              root: {
+                type: "string"
+              }
+            }
+          }
+        }
       }
     }
   },
-  "com.atproto.sync.updateRepo": {
+  {
     lexicon: 1,
     id: "com.atproto.sync.updateRepo",
-    type: "procedure",
-    description: "Writes commits to a repo.",
-    parameters: {
-      type: "object",
-      required: ["did"],
-      properties: {
-        did: {
-          type: "string",
-          description: "The DID of the repo."
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Writes commits to a repo.",
+        parameters: {
+          type: "params",
+          required: ["did"],
+          properties: {
+            did: {
+              type: "string",
+              description: "The DID of the repo."
+            }
+          }
+        },
+        input: {
+          encoding: "application/cbor"
         }
       }
-    },
-    input: {
-      encoding: "application/cbor"
     }
   },
-  "app.bsky.actor.createScene": {
+  {
     lexicon: 1,
     id: "app.bsky.actor.createScene",
-    type: "procedure",
-    description: "Create a scene.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["handle"],
-        properties: {
-          handle: {
-            type: "string"
-          },
-          recoveryKey: {
-            type: "string"
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Create a scene.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["handle"],
+            properties: {
+              handle: {
+                type: "string"
+              },
+              recoveryKey: {
+                type: "string"
+              }
+            }
           }
         },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["handle", "did", "declaration"],
-        properties: {
-          handle: {
-            type: "string"
-          },
-          did: {
-            type: "string"
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["handle", "did", "declaration"],
+            properties: {
+              handle: {
+                type: "string"
+              },
+              did: {
+                type: "string"
+              },
+              declaration: {
+                type: "ref",
+                ref: "lex:app.bsky.system.declRef"
+              }
+            }
+          }
+        },
+        errors: [
+          {
+            name: "InvalidHandle"
           },
-          declaration: {
-            $ref: "#/$defs/declaration"
+          {
+            name: "HandleNotAvailable"
+          }
+        ]
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.actor.getProfile",
+    defs: {
+      main: {
+        type: "query",
+        parameters: {
+          type: "params",
+          required: ["actor"],
+          properties: {
+            actor: {
+              type: "string"
+            }
           }
         },
-        $defs: {
-          declaration: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
+            required: [
+              "did",
+              "declaration",
+              "handle",
+              "creator",
+              "followersCount",
+              "followsCount",
+              "membersCount",
+              "postsCount"
+            ],
             properties: {
-              cid: {
+              did: {
                 type: "string"
               },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              declaration: {
+                type: "ref",
+                ref: "lex:app.bsky.system.declRef"
+              },
+              handle: {
+                type: "string"
+              },
+              creator: {
+                type: "string"
+              },
+              displayName: {
+                type: "string",
+                maxLength: 64
+              },
+              description: {
+                type: "string",
+                maxLength: 256
+              },
+              followersCount: {
+                type: "integer"
+              },
+              followsCount: {
+                type: "integer"
+              },
+              membersCount: {
+                type: "integer"
+              },
+              postsCount: {
+                type: "integer"
+              },
+              myState: {
+                type: "ref",
+                ref: "lex:app.bsky.actor.getProfile#myState"
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    errors: [
-      {
-        name: "InvalidHandle"
       },
-      {
-        name: "HandleNotAvailable"
-      }
-    ],
-    defs: {
-      declaration: {
+      myState: {
         type: "object",
-        required: ["cid", "actorType"],
         properties: {
-          cid: {
+          follow: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          member: {
+            type: "string"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.actor.getProfile": {
+  {
     lexicon: 1,
-    id: "app.bsky.actor.getProfile",
-    type: "query",
-    parameters: {
-      type: "object",
-      required: ["actor"],
-      properties: {
-        actor: {
-          type: "string"
+    id: "app.bsky.actor.getSuggestions",
+    defs: {
+      main: {
+        type: "query",
+        description: "Get a list of actors suggested for following. Used in discovery UIs.",
+        parameters: {
+          type: "params",
+          properties: {
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            cursor: {
+              type: "string"
+            }
+          }
+        },
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["actors"],
+            properties: {
+              cursor: {
+                type: "string"
+              },
+              actors: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.actor.getSuggestions#actor"
+                }
+              }
+            }
+          }
         }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
+      },
+      actor: {
         type: "object",
-        required: [
-          "did",
-          "declaration",
-          "handle",
-          "creator",
-          "followersCount",
-          "followsCount",
-          "membersCount",
-          "postsCount"
-        ],
+        required: ["did", "declaration", "handle"],
         properties: {
           did: {
             type: "string"
           },
           declaration: {
-            $ref: "#/$defs/declaration"
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
           },
           handle: {
             type: "string"
           },
-          creator: {
-            type: "string"
-          },
           displayName: {
             type: "string",
             maxLength: 64
           },
           description: {
-            type: "string",
-            maxLength: 256
-          },
-          followersCount: {
-            type: "integer"
-          },
-          followsCount: {
-            type: "integer"
-          },
-          membersCount: {
-            type: "integer"
+            type: "string"
           },
-          postsCount: {
-            type: "integer"
+          indexedAt: {
+            type: "datetime"
           },
           myState: {
-            type: "object",
-            properties: {
-              follow: {
-                type: "string"
-              },
-              member: {
-                type: "string"
-              }
-            }
+            type: "ref",
+            ref: "lex:app.bsky.actor.getSuggestions#myState"
           }
-        },
-        $defs: {
-          declaration: {
-            type: "object",
-            required: ["cid", "actorType"],
-            properties: {
-              cid: {
-                type: "string"
-              },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
-              }
-            }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
+        }
+      },
+      myState: {
+        type: "object",
+        properties: {
+          follow: {
+            type: "string"
+          }
+        }
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.actor.profile",
+    defs: {
+      main: {
+        type: "record",
+        key: "literal:self",
+        record: {
+          type: "object",
+          required: ["displayName"],
+          properties: {
+            displayName: {
+              type: "string",
+              maxLength: 64
+            },
+            description: {
+              type: "string",
+              maxLength: 256
             }
           }
         }
       }
-    },
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.actor.ref",
+    description: "A reference to an actor in the network.",
     defs: {
-      declaration: {
+      main: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["did", "declarationCid"],
         properties: {
-          cid: {
+          did: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          declarationCid: {
+            type: "string"
           }
         }
       },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
+      withInfo: {
+        type: "object",
+        required: ["did", "declaration", "handle"],
+        properties: {
+          did: {
+            type: "string"
+          },
+          declaration: {
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
+          },
+          handle: {
+            type: "string"
+          },
+          displayName: {
+            type: "string",
+            maxLength: 64
+          }
         }
       }
     }
   },
-  "app.bsky.actor.getSuggestions": {
+  {
     lexicon: 1,
-    id: "app.bsky.actor.getSuggestions",
-    type: "query",
-    description: "Get a list of actors suggested for following. Used in discovery UIs.",
-    parameters: {
-      type: "object",
-      properties: {
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        cursor: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["actors"],
-        properties: {
-          cursor: {
-            type: "string"
-          },
-          actors: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["did", "declaration", "handle"],
-              properties: {
-                did: {
-                  type: "string"
-                },
-                declaration: {
-                  $ref: "#/$defs/declaration"
-                },
-                handle: {
-                  type: "string"
-                },
-                displayName: {
-                  type: "string",
-                  maxLength: 64
-                },
-                description: {
-                  type: "string"
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                myState: {
-                  type: "object",
-                  properties: {
-                    follow: {
-                      type: "string"
-                    }
-                  }
-                }
-              }
+    id: "app.bsky.actor.search",
+    defs: {
+      main: {
+        type: "query",
+        description: "Find users matching search criteria.",
+        parameters: {
+          type: "params",
+          required: ["term"],
+          properties: {
+            term: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          declaration: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
+            required: ["users"],
             properties: {
-              cid: {
+              cursor: {
                 type: "string"
               },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              users: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.actor.search#user"
+                }
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    defs: {
-      declaration: {
+      },
+      user: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["did", "declaration", "handle"],
         properties: {
-          cid: {
+          did: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          declaration: {
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
+          },
+          handle: {
+            type: "string"
+          },
+          displayName: {
+            type: "string",
+            maxLength: 64
+          },
+          description: {
+            type: "string"
+          },
+          indexedAt: {
+            type: "datetime"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.actor.search": {
+  {
     lexicon: 1,
-    id: "app.bsky.actor.search",
-    type: "query",
-    description: "Find users matching search criteria.",
-    parameters: {
-      type: "object",
-      required: ["term"],
-      properties: {
-        term: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["users"],
-        properties: {
-          cursor: {
-            type: "string"
-          },
-          users: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["did", "declaration", "handle"],
-              properties: {
-                did: {
-                  type: "string"
-                },
-                declaration: {
-                  $ref: "#/$defs/declaration"
-                },
-                handle: {
-                  type: "string"
-                },
-                displayName: {
-                  type: "string",
-                  maxLength: 64
-                },
-                description: {
-                  type: "string"
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
-                }
-              }
+    id: "app.bsky.actor.searchTypeahead",
+    defs: {
+      main: {
+        type: "query",
+        description: "Find user suggestions for a search term.",
+        parameters: {
+          type: "params",
+          required: ["term"],
+          properties: {
+            term: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
             }
           }
         },
-        $defs: {
-          declaration: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
+            required: ["users"],
             properties: {
-              cid: {
-                type: "string"
-              },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              users: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.actor.searchTypeahead#user"
+                }
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    defs: {
-      declaration: {
+      },
+      user: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["did", "declaration", "handle"],
         properties: {
-          cid: {
+          did: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          declaration: {
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
+          },
+          handle: {
+            type: "string"
+          },
+          displayName: {
+            type: "string",
+            maxLength: 64
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.actor.searchTypeahead": {
+  {
     lexicon: 1,
-    id: "app.bsky.actor.searchTypeahead",
-    type: "query",
-    description: "Find user suggestions for a search term.",
-    parameters: {
-      type: "object",
-      required: ["term"],
-      properties: {
-        term: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["users"],
-        properties: {
-          users: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["did", "declaration", "handle"],
-              properties: {
-                did: {
-                  type: "string"
-                },
-                declaration: {
-                  $ref: "#/$defs/declaration"
-                },
-                handle: {
-                  type: "string"
-                },
-                displayName: {
-                  type: "string",
-                  maxLength: 64
-                }
+    id: "app.bsky.actor.updateProfile",
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Notify server that the user has seen notifications.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            properties: {
+              did: {
+                type: "string"
+              },
+              displayName: {
+                type: "string",
+                maxLength: 64
+              },
+              description: {
+                type: "string",
+                maxLength: 256
               }
             }
           }
         },
-        $defs: {
-          declaration: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
+            required: ["uri", "cid", "record"],
             properties: {
+              uri: {
+                type: "string"
+              },
               cid: {
                 type: "string"
               },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              record: {
+                type: "unknown"
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
       }
-    },
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.feed.embed",
+    description: "Content embedded in other content, such as an image or link embedded in a post.",
     defs: {
-      declaration: {
+      main: {
         type: "object",
-        required: ["cid", "actorType"],
+        description: "A list embeds in a post or document.",
+        required: ["media"],
         properties: {
-          cid: {
-            type: "string"
-          },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          items: {
+            type: "array",
+            items: {
+              type: "union",
+              refs: [
+                "lex:app.bsky.feed.embed#media",
+                "lex:app.bsky.feed.embed#record",
+                "lex:app.bsky.feed.embed#external"
+              ]
+            }
           }
         }
       },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
-      }
-    }
-  },
-  "app.bsky.actor.updateProfile": {
-    lexicon: 1,
-    id: "app.bsky.actor.updateProfile",
-    type: "procedure",
-    description: "Notify server that the user has seen notifications.",
-    input: {
-      encoding: "application/json",
-      schema: {
+      media: {
         type: "object",
+        required: ["original"],
         properties: {
-          did: {
+          alt: {
             type: "string"
           },
-          displayName: {
-            type: "string",
-            maxLength: 64
+          thumb: {
+            type: "image"
           },
-          description: {
+          original: {
+            type: "blob"
+          }
+        }
+      },
+      record: {
+        type: "object",
+        required: ["type", "author", "record"],
+        properties: {
+          type: {
             type: "string",
-            maxLength: 256
+            const: "record"
+          },
+          author: {
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
+          },
+          record: {
+            type: "unknown"
           }
-        },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
+        }
+      },
+      external: {
         type: "object",
-        required: ["uri", "cid", "record"],
+        required: ["type", "uri", "title", "description", "imageUri"],
         properties: {
+          type: {
+            type: "string",
+            const: "external"
+          },
           uri: {
             type: "string"
           },
-          cid: {
+          title: {
             type: "string"
           },
-          record: {
-            type: "object"
+          description: {
+            type: "string"
+          },
+          imageUri: {
+            type: "string"
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "app.bsky.feed.getAuthorFeed": {
+  {
     lexicon: 1,
     id: "app.bsky.feed.getAuthorFeed",
-    type: "query",
-    description: "A view of a user's feed.",
-    parameters: {
-      type: "object",
-      required: ["author"],
-      properties: {
-        author: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["feed"],
-        properties: {
-          cursor: {
-            type: "string"
-          },
-          feed: {
-            type: "array",
-            items: {
-              $ref: "#/$defs/feedItem"
+    defs: {
+      main: {
+        type: "query",
+        description: "A view of a user's feed.",
+        parameters: {
+          type: "params",
+          required: ["author"],
+          properties: {
+            author: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          feedItem: {
-            type: "object",
-            required: [
-              "uri",
-              "cid",
-              "author",
-              "record",
-              "replyCount",
-              "repostCount",
-              "upvoteCount",
-              "downvoteCount",
-              "indexedAt"
-            ],
-            properties: {
-              uri: {
-                type: "string"
-              },
-              cid: {
-                type: "string"
-              },
-              author: {
-                $ref: "#/$defs/actor"
-              },
-              trendedBy: {
-                $ref: "#/$defs/actor"
-              },
-              repostedBy: {
-                $ref: "#/$defs/actor"
-              },
-              record: {
-                type: "object"
-              },
-              embed: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/recordEmbed"
-                  },
-                  {
-                    $ref: "#/$defs/externalEmbed"
-                  },
-                  {
-                    $ref: "#/$defs/unknownEmbed"
-                  }
-                ]
-              },
-              replyCount: {
-                type: "integer"
-              },
-              repostCount: {
-                type: "integer"
-              },
-              upvoteCount: {
-                type: "integer"
-              },
-              downvoteCount: {
-                type: "integer"
-              },
-              indexedAt: {
-                type: "string",
-                format: "date-time"
-              },
-              myState: {
-                type: "object",
-                properties: {
-                  repost: {
-                    type: "string"
-                  },
-                  upvote: {
-                    type: "string"
-                  },
-                  downvote: {
-                    type: "string"
-                  }
-                }
-              }
-            }
-          },
-          actor: {
-            type: "object",
-            required: ["did", "declaration", "handle"],
-            properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
-                type: "string"
-              },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
-          },
-          declaration: {
-            type: "object",
-            required: ["cid", "actorType"],
-            properties: {
-              cid: {
-                type: "string"
-              },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
-              }
-            }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
-          },
-          recordEmbed: {
-            type: "object",
-            required: ["type", "author", "record"],
-            properties: {
-              type: {
-                const: "record"
-              },
-              author: {
-                $ref: "#/$defs/actor"
-              },
-              record: {
-                type: "object"
-              }
-            }
-          },
-          externalEmbed: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["type", "uri", "title", "description", "imageUri"],
+            required: ["feed"],
             properties: {
-              type: {
-                const: "external"
-              },
-              uri: {
-                type: "string"
-              },
-              title: {
+              cursor: {
                 type: "string"
               },
-              description: {
-                type: "string"
-              },
-              imageUri: {
-                type: "string"
-              }
-            }
-          },
-          unknownEmbed: {
-            type: "object",
-            required: ["type"],
-            properties: {
-              type: {
-                type: "string",
-                not: {
-                  enum: ["record", "external"]
+              feed: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.feed.getAuthorFeed#feedItem"
                 }
               }
             }
           }
         }
-      }
-    },
-    defs: {
+      },
       feedItem: {
         type: "object",
         required: [
@@ -12041,29 +5679,23 @@ var methodSchemaDict = {
             type: "string"
           },
           author: {
-            $ref: "#/$defs/actor"
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           },
           trendedBy: {
-            $ref: "#/$defs/actor"
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           },
           repostedBy: {
-            $ref: "#/$defs/actor"
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           },
           record: {
-            type: "object"
+            type: "unknown"
           },
           embed: {
-            oneOf: [
-              {
-                $ref: "#/$defs/recordEmbed"
-              },
-              {
-                $ref: "#/$defs/externalEmbed"
-              },
-              {
-                $ref: "#/$defs/unknownEmbed"
-              }
-            ]
+            type: "ref",
+            ref: "lex:app.bsky.feed.embed"
           },
           replyCount: {
             type: "integer"
@@ -12078,330 +5710,70 @@ var methodSchemaDict = {
             type: "integer"
           },
           indexedAt: {
-            type: "string",
-            format: "date-time"
+            type: "datetime"
           },
           myState: {
-            type: "object",
-            properties: {
-              repost: {
-                type: "string"
-              },
-              upvote: {
-                type: "string"
-              },
-              downvote: {
-                type: "string"
-              }
-            }
-          }
-        }
-      },
-      actor: {
-        type: "object",
-        required: ["did", "declaration", "handle"],
-        properties: {
-          did: {
-            type: "string"
-          },
-          declaration: {
-            $ref: "#/$defs/declaration"
-          },
-          handle: {
-            type: "string"
-          },
-          displayName: {
-            type: "string",
-            maxLength: 64
-          }
-        }
-      },
-      recordEmbed: {
-        type: "object",
-        required: ["type", "author", "record"],
-        properties: {
-          type: {
-            const: "record"
-          },
-          author: {
-            $ref: "#/$defs/actor"
-          },
-          record: {
-            type: "object"
+            type: "ref",
+            ref: "lex:app.bsky.feed.getAuthorFeed#myState"
           }
         }
       },
-      externalEmbed: {
+      myState: {
         type: "object",
-        required: ["type", "uri", "title", "description", "imageUri"],
         properties: {
-          type: {
-            const: "external"
-          },
-          uri: {
-            type: "string"
-          },
-          title: {
+          repost: {
             type: "string"
           },
-          description: {
+          upvote: {
             type: "string"
           },
-          imageUri: {
-            type: "string"
-          }
-        }
-      },
-      unknownEmbed: {
-        type: "object",
-        required: ["type"],
-        properties: {
-          type: {
-            type: "string",
-            not: {
-              enum: ["record", "external"]
-            }
-          }
-        }
-      },
-      declaration: {
-        type: "object",
-        required: ["cid", "actorType"],
-        properties: {
-          cid: {
+          downvote: {
             type: "string"
-          },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.feed.getPostThread": {
+  {
     lexicon: 1,
     id: "app.bsky.feed.getPostThread",
-    type: "query",
-    parameters: {
-      type: "object",
-      required: ["uri"],
-      properties: {
-        uri: {
-          type: "string"
-        },
-        depth: {
-          type: "integer"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["thread"],
-        properties: {
-          thread: {
-            $ref: "#/$defs/post"
+    defs: {
+      main: {
+        type: "query",
+        parameters: {
+          type: "params",
+          required: ["uri"],
+          properties: {
+            uri: {
+              type: "string"
+            },
+            depth: {
+              type: "integer"
+            }
           }
         },
-        $defs: {
-          post: {
-            type: "object",
-            required: [
-              "uri",
-              "cid",
-              "author",
-              "record",
-              "replyCount",
-              "repostCount",
-              "upvoteCount",
-              "downvoteCount",
-              "indexedAt"
-            ],
-            properties: {
-              uri: {
-                type: "string"
-              },
-              cid: {
-                type: "string"
-              },
-              author: {
-                $ref: "#/$defs/user"
-              },
-              record: {
-                type: "object"
-              },
-              embed: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/recordEmbed"
-                  },
-                  {
-                    $ref: "#/$defs/externalEmbed"
-                  },
-                  {
-                    $ref: "#/$defs/unknownEmbed"
-                  }
-                ]
-              },
-              parent: {
-                $ref: "#/$defs/post"
-              },
-              replyCount: {
-                type: "integer"
-              },
-              replies: {
-                type: "array",
-                items: {
-                  $ref: "#/$defs/post"
-                }
-              },
-              repostCount: {
-                type: "integer"
-              },
-              upvoteCount: {
-                type: "integer"
-              },
-              downvoteCount: {
-                type: "integer"
-              },
-              indexedAt: {
-                type: "string",
-                format: "date-time"
-              },
-              myState: {
-                type: "object",
-                properties: {
-                  repost: {
-                    type: "string"
-                  },
-                  upvote: {
-                    type: "string"
-                  },
-                  downvote: {
-                    type: "string"
-                  }
-                }
-              }
-            }
-          },
-          user: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["did", "declaration", "handle"],
+            required: ["thread"],
             properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
-                type: "string"
-              },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
-          },
-          declaration: {
-            type: "object",
-            required: ["cid", "actorType"],
-            properties: {
-              cid: {
-                type: "string"
-              },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
+              thread: {
+                type: "union",
+                refs: [
+                  "lex:app.bsky.feed.getPostThread#post",
+                  "lex:app.bsky.feed.getPostThread#notFoundPost"
                 ]
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
-          },
-          recordEmbed: {
-            type: "object",
-            required: ["type", "author", "record"],
-            properties: {
-              type: {
-                const: "record"
-              },
-              author: {
-                $ref: "#/$defs/user"
-              },
-              record: {
-                type: "object"
-              }
-            }
-          },
-          externalEmbed: {
-            type: "object",
-            required: ["type", "uri", "title", "description", "imageUri"],
-            properties: {
-              type: {
-                const: "external"
-              },
-              uri: {
-                type: "string"
-              },
-              title: {
-                type: "string"
-              },
-              description: {
-                type: "string"
-              },
-              imageUri: {
-                type: "string"
-              }
-            }
-          },
-          unknownEmbed: {
-            type: "object",
-            required: ["type"],
-            properties: {
-              type: {
-                type: "string",
-                not: {
-                  enum: ["record", "external"]
-                }
-              }
-            }
           }
-        }
-      }
-    },
-    defs: {
+        },
+        errors: [
+          {
+            name: "NotFound"
+          }
+        ]
+      },
       post: {
         type: "object",
         required: [
@@ -12423,26 +5795,22 @@ var methodSchemaDict = {
             type: "string"
           },
           author: {
-            $ref: "#/$defs/user"
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           },
           record: {
-            type: "object"
+            type: "unknown"
           },
           embed: {
-            oneOf: [
-              {
-                $ref: "#/$defs/recordEmbed"
-              },
-              {
-                $ref: "#/$defs/externalEmbed"
-              },
-              {
-                $ref: "#/$defs/unknownEmbed"
-              }
-            ]
+            type: "ref",
+            ref: "lex:app.bsky.feed.embed"
           },
           parent: {
-            $ref: "#/$defs/post"
+            type: "union",
+            refs: [
+              "lex:app.bsky.feed.getPostThread#post",
+              "lex:app.bsky.feed.getPostThread#notFoundPost"
+            ]
           },
           replyCount: {
             type: "integer"
@@ -12450,7 +5818,11 @@ var methodSchemaDict = {
           replies: {
             type: "array",
             items: {
-              $ref: "#/$defs/post"
+              type: "union",
+              refs: [
+                "lex:app.bsky.feed.getPostThread#post",
+                "lex:app.bsky.feed.getPostThread#notFoundPost"
+              ]
             }
           },
           repostCount: {
@@ -12463,479 +5835,168 @@ var methodSchemaDict = {
             type: "integer"
           },
           indexedAt: {
-            type: "string",
-            format: "date-time"
+            type: "datetime"
           },
           myState: {
-            type: "object",
-            properties: {
-              repost: {
-                type: "string"
-              },
-              upvote: {
-                type: "string"
-              },
-              downvote: {
-                type: "string"
-              }
-            }
+            type: "ref",
+            ref: "lex:app.bsky.feed.getPostThread#myState"
           }
         }
       },
-      user: {
+      notFoundPost: {
         type: "object",
-        required: ["did", "declaration", "handle"],
+        required: ["uri", "notFound"],
         properties: {
-          did: {
-            type: "string"
-          },
-          declaration: {
-            $ref: "#/$defs/declaration"
-          },
-          handle: {
+          uri: {
             type: "string"
           },
-          displayName: {
-            type: "string",
-            maxLength: 64
-          }
-        }
-      },
-      recordEmbed: {
-        type: "object",
-        required: ["type", "author", "record"],
-        properties: {
-          type: {
-            const: "record"
-          },
-          author: {
-            $ref: "#/$defs/user"
-          },
-          record: {
-            type: "object"
+          notFound: {
+            type: "boolean",
+            const: true
           }
         }
       },
-      externalEmbed: {
+      myState: {
         type: "object",
-        required: ["type", "uri", "title", "description", "imageUri"],
         properties: {
-          type: {
-            const: "external"
-          },
-          uri: {
-            type: "string"
-          },
-          title: {
+          repost: {
             type: "string"
           },
-          description: {
+          upvote: {
             type: "string"
           },
-          imageUri: {
+          downvote: {
             type: "string"
           }
         }
-      },
-      unknownEmbed: {
-        type: "object",
-        required: ["type"],
-        properties: {
-          type: {
-            type: "string",
-            not: {
-              enum: ["record", "external"]
-            }
-          }
-        }
-      },
-      declaration: {
-        type: "object",
-        required: ["cid", "actorType"],
-        properties: {
-          cid: {
-            type: "string"
-          },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
-          }
-        }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
-    },
-    errors: [
-      {
-        name: "NotFound"
-      }
-    ]
+    }
   },
-  "app.bsky.feed.getRepostedBy": {
+  {
     lexicon: 1,
     id: "app.bsky.feed.getRepostedBy",
-    type: "query",
-    parameters: {
-      type: "object",
-      required: ["uri"],
-      properties: {
-        uri: {
-          type: "string"
-        },
-        cid: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["uri", "repostedBy"],
-        properties: {
-          uri: {
-            type: "string"
-          },
-          cid: {
-            type: "string"
-          },
-          cursor: {
-            type: "string"
-          },
-          repostedBy: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["did", "declaration", "handle", "indexedAt"],
-              properties: {
-                did: {
-                  type: "string"
-                },
-                declaration: {
-                  $ref: "#/$defs/declaration"
-                },
-                handle: {
-                  type: "string"
-                },
-                displayName: {
-                  type: "string",
-                  maxLength: 64
-                },
-                createdAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
-                }
-              }
+    defs: {
+      main: {
+        type: "query",
+        parameters: {
+          type: "params",
+          required: ["uri"],
+          properties: {
+            uri: {
+              type: "string"
+            },
+            cid: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          declaration: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
+            required: ["uri", "repostedBy"],
             properties: {
+              uri: {
+                type: "string"
+              },
               cid: {
                 type: "string"
               },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              cursor: {
+                type: "string"
+              },
+              repostedBy: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.feed.getRepostedBy#repostedBy"
+                }
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    defs: {
-      declaration: {
+      },
+      repostedBy: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["did", "declaration", "handle", "indexedAt"],
         properties: {
-          cid: {
+          did: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          declaration: {
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
+          },
+          handle: {
+            type: "string"
+          },
+          displayName: {
+            type: "string",
+            maxLength: 64
+          },
+          createdAt: {
+            type: "datetime"
+          },
+          indexedAt: {
+            type: "datetime"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.feed.getTimeline": {
+  {
     lexicon: 1,
     id: "app.bsky.feed.getTimeline",
-    type: "query",
-    description: "A view of the user's home timeline.",
-    parameters: {
-      type: "object",
-      properties: {
-        algorithm: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["feed"],
-        properties: {
-          cursor: {
-            type: "string"
-          },
-          feed: {
-            type: "array",
-            items: {
-              $ref: "#/$defs/feedItem"
+    defs: {
+      main: {
+        type: "query",
+        description: "A view of the user's home timeline.",
+        parameters: {
+          type: "params",
+          properties: {
+            algorithm: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          feedItem: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: [
-              "uri",
-              "cid",
-              "author",
-              "record",
-              "replyCount",
-              "repostCount",
-              "upvoteCount",
-              "downvoteCount",
-              "indexedAt"
-            ],
+            required: ["feed"],
             properties: {
-              uri: {
+              cursor: {
                 type: "string"
               },
-              cid: {
-                type: "string"
-              },
-              author: {
-                $ref: "#/$defs/actor"
-              },
-              trendedBy: {
-                $ref: "#/$defs/actor"
-              },
-              repostedBy: {
-                $ref: "#/$defs/actor"
-              },
-              record: {
-                type: "object"
-              },
-              embed: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/recordEmbed"
-                  },
-                  {
-                    $ref: "#/$defs/externalEmbed"
-                  },
-                  {
-                    $ref: "#/$defs/unknownEmbed"
-                  }
-                ]
-              },
-              replyCount: {
-                type: "integer"
-              },
-              repostCount: {
-                type: "integer"
-              },
-              upvoteCount: {
-                type: "integer"
-              },
-              downvoteCount: {
-                type: "integer"
-              },
-              indexedAt: {
-                type: "string",
-                format: "date-time"
-              },
-              myState: {
-                type: "object",
-                properties: {
-                  repost: {
-                    type: "string"
-                  },
-                  upvote: {
-                    type: "string"
-                  },
-                  downvote: {
-                    type: "string"
-                  }
-                }
-              }
-            }
-          },
-          actor: {
-            type: "object",
-            required: ["did", "declaration", "handle"],
-            properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
-                type: "string"
-              },
-              actorType: {
-                type: "string"
-              },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
-          },
-          declaration: {
-            type: "object",
-            required: ["cid", "actorType"],
-            properties: {
-              cid: {
-                type: "string"
-              },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
-              }
-            }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
-          },
-          recordEmbed: {
-            type: "object",
-            required: ["type", "author", "record"],
-            properties: {
-              type: {
-                const: "record"
-              },
-              author: {
-                $ref: "#/$defs/actor"
-              },
-              record: {
-                type: "object"
-              }
-            }
-          },
-          externalEmbed: {
-            type: "object",
-            required: ["type", "uri", "title", "description", "imageUri"],
-            properties: {
-              type: {
-                const: "external"
-              },
-              uri: {
-                type: "string"
-              },
-              title: {
-                type: "string"
-              },
-              description: {
-                type: "string"
-              },
-              imageUri: {
-                type: "string"
-              }
-            }
-          },
-          unknownEmbed: {
-            type: "object",
-            required: ["type"],
-            properties: {
-              type: {
-                type: "string",
-                not: {
-                  enum: ["record", "external"]
+              feed: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.feed.getTimeline#feedItem"
                 }
               }
             }
           }
         }
-      }
-    },
-    defs: {
+      },
       feedItem: {
         type: "object",
         required: [
@@ -12957,29 +6018,23 @@ var methodSchemaDict = {
             type: "string"
           },
           author: {
-            $ref: "#/$defs/actor"
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           },
           trendedBy: {
-            $ref: "#/$defs/actor"
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           },
           repostedBy: {
-            $ref: "#/$defs/actor"
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           },
           record: {
-            type: "object"
+            type: "unknown"
           },
           embed: {
-            oneOf: [
-              {
-                $ref: "#/$defs/recordEmbed"
-              },
-              {
-                $ref: "#/$defs/externalEmbed"
-              },
-              {
-                $ref: "#/$defs/unknownEmbed"
-              }
-            ]
+            type: "ref",
+            ref: "lex:app.bsky.feed.embed"
           },
           replyCount: {
             type: "integer"
@@ -12994,519 +6049,463 @@ var methodSchemaDict = {
             type: "integer"
           },
           indexedAt: {
-            type: "string",
-            format: "date-time"
+            type: "datetime"
           },
           myState: {
+            type: "ref",
+            ref: "lex:app.bsky.feed.getTimeline#myState"
+          }
+        }
+      },
+      myState: {
+        type: "object",
+        properties: {
+          repost: {
+            type: "string"
+          },
+          upvote: {
+            type: "string"
+          },
+          downvote: {
+            type: "string"
+          }
+        }
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.feed.getVotes",
+    defs: {
+      main: {
+        type: "query",
+        parameters: {
+          type: "params",
+          required: ["uri"],
+          properties: {
+            uri: {
+              type: "string"
+            },
+            cid: {
+              type: "string"
+            },
+            direction: {
+              type: "string",
+              enum: ["up", "down"]
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
+            }
+          }
+        },
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
+            required: ["uri", "votes"],
             properties: {
-              repost: {
+              uri: {
                 type: "string"
               },
-              upvote: {
+              cid: {
                 type: "string"
               },
-              downvote: {
+              cursor: {
                 type: "string"
+              },
+              votes: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.feed.getVotes#vote"
+                }
               }
             }
           }
         }
       },
-      actor: {
+      vote: {
         type: "object",
-        required: ["did", "declaration", "handle"],
+        required: ["direction", "indexedAt", "createdAt", "actor"],
         properties: {
-          did: {
-            type: "string"
-          },
-          declaration: {
-            $ref: "#/$defs/declaration"
+          direction: {
+            type: "string",
+            enum: ["up", "down"]
           },
-          handle: {
-            type: "string"
+          indexedAt: {
+            type: "datetime"
           },
-          actorType: {
-            type: "string"
+          createdAt: {
+            type: "datetime"
           },
-          displayName: {
-            type: "string",
-            maxLength: 64
+          actor: {
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           }
         }
-      },
-      recordEmbed: {
-        type: "object",
-        required: ["type", "author", "record"],
-        properties: {
-          type: {
-            const: "record"
-          },
-          author: {
-            $ref: "#/$defs/actor"
-          },
-          record: {
-            type: "object"
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.feed.post",
+    defs: {
+      main: {
+        type: "record",
+        key: "tid",
+        record: {
+          type: "object",
+          required: ["text", "createdAt"],
+          properties: {
+            text: {
+              type: "string",
+              maxLength: 256
+            },
+            entities: {
+              type: "array",
+              items: {
+                type: "ref",
+                ref: "lex:app.bsky.feed.post#entity"
+              }
+            },
+            reply: {
+              type: "ref",
+              ref: "lex:app.bsky.feed.post#replyRef"
+            },
+            createdAt: {
+              type: "datetime"
+            }
           }
         }
       },
-      externalEmbed: {
+      replyRef: {
         type: "object",
-        required: ["type", "uri", "title", "description", "imageUri"],
+        required: ["root", "parent"],
         properties: {
-          type: {
-            const: "external"
-          },
-          uri: {
-            type: "string"
-          },
-          title: {
-            type: "string"
-          },
-          description: {
-            type: "string"
+          root: {
+            type: "ref",
+            ref: "lex:com.atproto.repo.strongRef"
           },
-          imageUri: {
-            type: "string"
+          parent: {
+            type: "ref",
+            ref: "lex:com.atproto.repo.strongRef"
           }
         }
       },
-      unknownEmbed: {
+      entity: {
         type: "object",
-        required: ["type"],
+        required: ["index", "type", "value"],
         properties: {
+          index: {
+            type: "ref",
+            ref: "lex:app.bsky.feed.post#textSlice"
+          },
           type: {
             type: "string",
-            not: {
-              enum: ["record", "external"]
-            }
+            description: "Expected values are 'mention', 'hashtag', and 'link'."
+          },
+          value: {
+            type: "string"
           }
         }
       },
-      declaration: {
+      textSlice: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["start", "end"],
         properties: {
-          cid: {
-            type: "string"
+          start: {
+            type: "integer",
+            minimum: 0
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          end: {
+            type: "integer",
+            minimum: 0
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.feed.getVotes": {
+  {
     lexicon: 1,
-    id: "app.bsky.feed.getVotes",
-    type: "query",
-    parameters: {
-      type: "object",
-      required: ["uri"],
-      properties: {
-        uri: {
-          type: "string"
-        },
-        cid: {
-          type: "string"
-        },
-        direction: {
-          type: "string",
-          enum: ["up", "down"]
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["uri", "votes"],
-        properties: {
-          uri: {
-            type: "string"
-          },
-          cid: {
-            type: "string"
-          },
-          cursor: {
-            type: "string"
-          },
-          votes: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["direction", "indexedAt", "createdAt", "actor"],
-              properties: {
-                direction: {
-                  type: "string",
-                  enum: ["up", "down"]
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                createdAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                actor: {
-                  $ref: "#/$defs/actor"
-                }
-              }
+    id: "app.bsky.feed.repost",
+    defs: {
+      main: {
+        type: "record",
+        key: "tid",
+        record: {
+          type: "object",
+          required: ["subject", "createdAt"],
+          properties: {
+            subject: {
+              type: "ref",
+              ref: "lex:com.atproto.repo.strongRef"
+            },
+            createdAt: {
+              type: "datetime"
             }
           }
-        },
-        $defs: {
-          actor: {
+        }
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.feed.setVote",
+    defs: {
+      main: {
+        type: "procedure",
+        description: "Upvote, downvote, or clear the user's vote for a post.",
+        input: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["did", "declaration", "handle"],
+            required: ["subject", "direction"],
             properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
+              subject: {
+                type: "ref",
+                ref: "lex:com.atproto.repo.strongRef"
               },
-              handle: {
-                type: "string"
-              },
-              displayName: {
+              direction: {
                 type: "string",
-                maxLength: 64
+                enum: ["up", "down", "none"]
               }
             }
-          },
-          declaration: {
+          }
+        },
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
             properties: {
-              cid: {
+              upvote: {
                 type: "string"
               },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              downvote: {
+                type: "string"
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
       }
-    },
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.feed.trend",
     defs: {
-      actor: {
-        type: "object",
-        required: ["did", "declaration", "handle"],
-        properties: {
-          did: {
-            type: "string"
-          },
-          declaration: {
-            $ref: "#/$defs/declaration"
-          },
-          handle: {
-            type: "string"
-          },
-          displayName: {
-            type: "string",
-            maxLength: 64
+      main: {
+        type: "record",
+        key: "tid",
+        record: {
+          type: "object",
+          required: ["subject", "createdAt"],
+          properties: {
+            subject: {
+              type: "ref",
+              ref: "lex:com.atproto.repo.strongRef"
+            },
+            createdAt: {
+              type: "datetime"
+            }
           }
         }
-      },
-      declaration: {
-        type: "object",
-        required: ["cid", "actorType"],
-        properties: {
-          cid: {
-            type: "string"
-          },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.feed.vote",
+    defs: {
+      main: {
+        type: "record",
+        key: "tid",
+        record: {
+          type: "object",
+          required: ["subject", "direction", "createdAt"],
+          properties: {
+            subject: {
+              type: "ref",
+              ref: "lex:com.atproto.repo.strongRef"
+            },
+            direction: {
+              type: "string",
+              enum: ["up", "down"]
+            },
+            createdAt: {
+              type: "datetime"
+            }
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.feed.setVote": {
+  {
     lexicon: 1,
-    id: "app.bsky.feed.setVote",
-    type: "procedure",
-    description: "Upvote, downvote, or clear the user's vote for a post.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["subject", "direction"],
-        properties: {
-          subject: {
-            $ref: "#/$defs/subject"
-          },
-          direction: {
-            type: "string",
-            enum: ["up", "down", "none"]
-          }
-        },
-        $defs: {
-          subject: {
-            type: "object",
-            required: ["uri", "cid"],
-            properties: {
-              uri: {
-                type: "string"
-              },
-              cid: {
-                type: "string"
-              }
+    id: "app.bsky.graph.assertCreator",
+    defs: {
+      main: {
+        type: "token",
+        description: "Assertion type: Creator. Defined for app.bsky.graph.assertions's assertion."
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.graph.assertMember",
+    defs: {
+      main: {
+        type: "token",
+        description: "Assertion type: Member. Defined for app.bsky.graph.assertions's assertion."
+      }
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.graph.assertion",
+    defs: {
+      main: {
+        type: "record",
+        key: "tid",
+        record: {
+          type: "object",
+          required: ["assertion", "subject", "createdAt"],
+          properties: {
+            assertion: {
+              type: "string"
+            },
+            subject: {
+              type: "ref",
+              ref: "lex:app.bsky.actor.ref"
+            },
+            createdAt: {
+              type: "datetime"
             }
           }
         }
       }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        properties: {
-          upvote: {
-            type: "string"
-          },
-          downvote: {
-            type: "string"
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.graph.confirmation",
+    defs: {
+      main: {
+        type: "record",
+        key: "tid",
+        record: {
+          type: "object",
+          required: ["originator", "assertion", "createdAt"],
+          properties: {
+            originator: {
+              type: "ref",
+              ref: "lex:app.bsky.actor.ref"
+            },
+            assertion: {
+              type: "ref",
+              ref: "lex:com.atproto.repo.strongRef"
+            },
+            createdAt: {
+              type: "datetime"
+            }
           }
-        },
-        $defs: {}
+        }
       }
-    },
+    }
+  },
+  {
+    lexicon: 1,
+    id: "app.bsky.graph.follow",
     defs: {
-      subject: {
-        type: "object",
-        required: ["uri", "cid"],
-        properties: {
-          uri: {
-            type: "string"
-          },
-          cid: {
-            type: "string"
+      main: {
+        type: "record",
+        description: "A social follow.",
+        key: "tid",
+        record: {
+          type: "object",
+          required: ["subject", "createdAt"],
+          properties: {
+            subject: {
+              type: "ref",
+              ref: "lex:app.bsky.actor.ref"
+            },
+            createdAt: {
+              type: "datetime"
+            }
           }
         }
       }
     }
   },
-  "app.bsky.graph.getAssertions": {
+  {
     lexicon: 1,
     id: "app.bsky.graph.getAssertions",
-    type: "query",
-    description: "General-purpose query for assertions.",
-    parameters: {
-      type: "object",
-      properties: {
-        author: {
-          type: "string"
-        },
-        subject: {
-          type: "string"
-        },
-        assertion: {
-          type: "string"
-        },
-        confirmed: {
-          type: "boolean"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["assertions"],
-        properties: {
-          cursor: {
-            type: "string"
-          },
-          assertions: {
-            type: "array",
-            items: {
-              type: "object",
-              required: [
-                "uri",
-                "cid",
-                "assertion",
-                "author",
-                "subject",
-                "indexedAt",
-                "createdAt"
-              ],
-              properties: {
-                uri: {
-                  type: "string"
-                },
-                cid: {
-                  type: "string"
-                },
-                assertion: {
-                  type: "string"
-                },
-                confirmation: {
-                  $ref: "#/$defs/confirmation"
-                },
-                author: {
-                  $ref: "#/$defs/actor"
-                },
-                subject: {
-                  $ref: "#/$defs/actor"
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                createdAt: {
-                  type: "string",
-                  format: "date-time"
-                }
-              }
+    defs: {
+      main: {
+        type: "query",
+        description: "General-purpose query for assertions.",
+        parameters: {
+          type: "params",
+          properties: {
+            author: {
+              type: "string"
+            },
+            subject: {
+              type: "string"
+            },
+            assertion: {
+              type: "string"
+            },
+            confirmed: {
+              type: "boolean"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          confirmation: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["uri", "cid", "indexedAt", "createdAt"],
+            required: ["assertions"],
             properties: {
-              uri: {
+              cursor: {
                 type: "string"
               },
-              cid: {
-                type: "string"
-              },
-              indexedAt: {
-                type: "string",
-                format: "date-time"
-              },
-              createdAt: {
-                type: "string",
-                format: "date-time"
-              }
-            }
-          },
-          actor: {
-            type: "object",
-            required: ["did", "declaration", "handle"],
-            properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
-                type: "string"
-              },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
-          },
-          declaration: {
-            type: "object",
-            required: ["cid", "actorType"],
-            properties: {
-              cid: {
-                type: "string"
-              },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              assertions: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.graph.getAssertions#assertion"
+                }
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    defs: {
-      confirmation: {
+      },
+      assertion: {
         type: "object",
-        required: ["uri", "cid", "indexedAt", "createdAt"],
+        required: [
+          "uri",
+          "cid",
+          "assertion",
+          "author",
+          "subject",
+          "indexedAt",
+          "createdAt"
+        ],
         properties: {
           uri: {
             type: "string"
@@ -13514,787 +6513,438 @@ var methodSchemaDict = {
           cid: {
             type: "string"
           },
+          assertion: {
+            type: "string"
+          },
+          confirmation: {
+            type: "ref",
+            ref: "lex:app.bsky.graph.getAssertions#confirmation"
+          },
+          author: {
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
+          },
+          subject: {
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
+          },
           indexedAt: {
-            type: "string",
-            format: "date-time"
+            type: "datetime"
           },
           createdAt: {
-            type: "string",
-            format: "date-time"
+            type: "datetime"
           }
         }
       },
-      actor: {
+      confirmation: {
         type: "object",
-        required: ["did", "declaration", "handle"],
+        required: ["uri", "cid", "indexedAt", "createdAt"],
         properties: {
-          did: {
-            type: "string"
-          },
-          declaration: {
-            $ref: "#/$defs/declaration"
-          },
-          handle: {
+          uri: {
             type: "string"
           },
-          displayName: {
-            type: "string",
-            maxLength: 64
-          }
-        }
-      },
-      declaration: {
-        type: "object",
-        required: ["cid", "actorType"],
-        properties: {
           cid: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          indexedAt: {
+            type: "datetime"
+          },
+          createdAt: {
+            type: "datetime"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.graph.getFollowers": {
+  {
     lexicon: 1,
     id: "app.bsky.graph.getFollowers",
-    type: "query",
-    description: "Who is following a user?",
-    parameters: {
-      type: "object",
-      required: ["user"],
-      properties: {
-        user: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
+    defs: {
+      main: {
+        type: "query",
+        description: "Who is following a user?",
+        parameters: {
+          type: "params",
+          required: ["user"],
+          properties: {
+            user: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
+            }
+          }
         },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["subject", "followers"],
-        properties: {
-          subject: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["did", "declaration", "handle"],
+            required: ["subject", "followers"],
             properties: {
-              did: {
-                type: "string"
+              subject: {
+                type: "ref",
+                ref: "lex:app.bsky.graph.getFollowers#subject"
               },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
+              cursor: {
                 type: "string"
               },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
-          },
-          cursor: {
-            type: "string"
-          },
-          followers: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["did", "declaration", "handle", "indexedAt"],
-              properties: {
-                did: {
-                  type: "string"
-                },
-                declaration: {
-                  $ref: "#/$defs/declaration"
-                },
-                handle: {
-                  type: "string"
-                },
-                displayName: {
-                  type: "string",
-                  maxLength: 64
-                },
-                createdAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
+              followers: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.graph.getFollowers#follower"
                 }
               }
             }
           }
-        },
-        $defs: {
+        }
+      },
+      subject: {
+        type: "object",
+        required: ["did", "declaration", "handle"],
+        properties: {
+          did: {
+            type: "string"
+          },
           declaration: {
-            type: "object",
-            required: ["cid", "actorType"],
-            properties: {
-              cid: {
-                type: "string"
-              },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
-              }
-            }
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
           },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
+          handle: {
+            type: "string"
           },
-          actorUnknown: {
+          displayName: {
             type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
+            maxLength: 64
           }
         }
-      }
-    },
-    defs: {
-      declaration: {
+      },
+      follower: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["did", "declaration", "handle", "indexedAt"],
         properties: {
-          cid: {
+          did: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          declaration: {
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
+          },
+          handle: {
+            type: "string"
+          },
+          displayName: {
+            type: "string",
+            maxLength: 64
+          },
+          createdAt: {
+            type: "datetime"
+          },
+          indexedAt: {
+            type: "datetime"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.graph.getFollows": {
+  {
     lexicon: 1,
     id: "app.bsky.graph.getFollows",
-    type: "query",
-    description: "Who is a user following?",
-    parameters: {
-      type: "object",
-      required: ["user"],
-      properties: {
-        user: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["subject", "follows"],
-        properties: {
-          subject: {
-            type: "object",
-            required: ["did", "declaration", "handle"],
-            properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
-                type: "string"
-              },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
-          },
-          cursor: {
-            type: "string"
-          },
-          follows: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["did", "declaration", "handle", "indexedAt"],
-              properties: {
-                did: {
-                  type: "string"
-                },
-                declaration: {
-                  $ref: "#/$defs/declaration"
-                },
-                handle: {
-                  type: "string"
-                },
-                displayName: {
-                  type: "string",
-                  maxLength: 64
-                },
-                createdAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
-                }
-              }
+    defs: {
+      main: {
+        type: "query",
+        description: "Who is a user following?",
+        parameters: {
+          type: "params",
+          required: ["user"],
+          properties: {
+            user: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          declaration: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
+            required: ["subject", "follows"],
             properties: {
-              cid: {
+              subject: {
+                type: "ref",
+                ref: "lex:app.bsky.actor.ref#withInfo"
+              },
+              cursor: {
                 type: "string"
               },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              follows: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.graph.getFollows#follow"
+                }
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    defs: {
-      declaration: {
+      },
+      follow: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["did", "declaration", "handle", "indexedAt"],
         properties: {
-          cid: {
+          did: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          declaration: {
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
+          },
+          handle: {
+            type: "string"
+          },
+          displayName: {
+            type: "string",
+            maxLength: 64
+          },
+          createdAt: {
+            type: "datetime"
+          },
+          indexedAt: {
+            type: "datetime"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.graph.getMembers": {
+  {
     lexicon: 1,
     id: "app.bsky.graph.getMembers",
-    type: "query",
-    description: "Who is a member of the group?",
-    parameters: {
-      type: "object",
-      required: ["actor"],
-      properties: {
-        actor: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["subject", "members"],
-        properties: {
-          subject: {
-            type: "object",
-            required: ["did", "declaration", "handle"],
-            properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
-                type: "string"
-              },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
-          },
-          cursor: {
-            type: "string"
-          },
-          members: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["did", "declaration", "handle", "indexedAt"],
-              properties: {
-                did: {
-                  type: "string"
-                },
-                declaration: {
-                  $ref: "#/$defs/declaration"
-                },
-                handle: {
-                  type: "string"
-                },
-                displayName: {
-                  type: "string",
-                  maxLength: 64
-                },
-                createdAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
-                }
-              }
+    defs: {
+      main: {
+        type: "query",
+        description: "Who is a member of the group?",
+        parameters: {
+          type: "params",
+          required: ["actor"],
+          properties: {
+            actor: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          declaration: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
+            required: ["subject", "members"],
             properties: {
-              cid: {
+              subject: {
+                type: "ref",
+                ref: "lex:app.bsky.actor.ref#withInfo"
+              },
+              cursor: {
                 type: "string"
               },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              members: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.graph.getMembers#member"
+                }
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    defs: {
-      declaration: {
+      },
+      member: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["did", "declaration", "handle", "indexedAt"],
         properties: {
-          cid: {
+          did: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          declaration: {
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
+          },
+          handle: {
+            type: "string"
+          },
+          displayName: {
+            type: "string",
+            maxLength: 64
+          },
+          createdAt: {
+            type: "datetime"
+          },
+          indexedAt: {
+            type: "datetime"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.graph.getMemberships": {
+  {
     lexicon: 1,
     id: "app.bsky.graph.getMemberships",
-    type: "query",
-    description: "Which groups is the actor a member of?",
-    parameters: {
-      type: "object",
-      required: ["actor"],
-      properties: {
-        actor: {
-          type: "string"
-        },
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["subject", "memberships"],
-        properties: {
-          subject: {
-            type: "object",
-            required: ["did", "declaration", "handle"],
-            properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
-                type: "string"
-              },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
-          },
-          cursor: {
-            type: "string"
-          },
-          memberships: {
-            type: "array",
-            items: {
-              type: "object",
-              required: ["did", "declaration", "handle", "indexedAt"],
-              properties: {
-                did: {
-                  type: "string"
-                },
-                declaration: {
-                  $ref: "#/$defs/declaration"
-                },
-                handle: {
-                  type: "string"
-                },
-                displayName: {
-                  type: "string",
-                  maxLength: 64
-                },
-                createdAt: {
-                  type: "string",
-                  format: "date-time"
-                },
-                indexedAt: {
-                  type: "string",
-                  format: "date-time"
-                }
-              }
+    defs: {
+      main: {
+        type: "query",
+        description: "Which groups is the actor a member of?",
+        parameters: {
+          type: "params",
+          required: ["actor"],
+          properties: {
+            actor: {
+              type: "string"
+            },
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          declaration: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: ["cid", "actorType"],
+            required: ["subject", "memberships"],
             properties: {
-              cid: {
+              subject: {
+                type: "ref",
+                ref: "lex:app.bsky.actor.ref#withInfo"
+              },
+              cursor: {
                 type: "string"
               },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
+              memberships: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.graph.getMemberships#membership"
+                }
               }
             }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    defs: {
-      declaration: {
+      },
+      membership: {
         type: "object",
-        required: ["cid", "actorType"],
+        required: ["did", "declaration", "handle", "indexedAt"],
         properties: {
-          cid: {
+          did: {
             type: "string"
           },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+          declaration: {
+            type: "ref",
+            ref: "lex:app.bsky.system.declRef"
+          },
+          handle: {
+            type: "string"
+          },
+          displayName: {
+            type: "string",
+            maxLength: 64
+          },
+          createdAt: {
+            type: "datetime"
+          },
+          indexedAt: {
+            type: "datetime"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.notification.getCount": {
+  {
     lexicon: 1,
     id: "app.bsky.notification.getCount",
-    type: "query",
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["count"],
-        properties: {
-          count: {
-            type: "integer"
+    defs: {
+      main: {
+        type: "query",
+        output: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["count"],
+            properties: {
+              count: {
+                type: "integer"
+              }
+            }
           }
-        },
-        $defs: {}
+        }
       }
     }
   },
-  "app.bsky.notification.list": {
+  {
     lexicon: 1,
     id: "app.bsky.notification.list",
-    type: "query",
-    parameters: {
-      type: "object",
-      properties: {
-        limit: {
-          type: "integer",
-          maximum: 100
-        },
-        before: {
-          type: "string"
-        }
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["notifications"],
-        properties: {
-          cursor: {
-            type: "string"
-          },
-          notifications: {
-            type: "array",
-            items: {
-              $ref: "#/$defs/notification"
+    defs: {
+      main: {
+        type: "query",
+        parameters: {
+          type: "params",
+          properties: {
+            limit: {
+              type: "integer",
+              minimum: 1,
+              maximum: 100,
+              default: 50
+            },
+            before: {
+              type: "string"
             }
           }
         },
-        $defs: {
-          notification: {
+        output: {
+          encoding: "application/json",
+          schema: {
             type: "object",
-            required: [
-              "uri",
-              "cid",
-              "author",
-              "reason",
-              "record",
-              "isRead",
-              "indexedAt"
-            ],
+            required: ["notifications"],
             properties: {
-              uri: {
-                type: "string",
-                format: "uri"
-              },
-              cid: {
+              cursor: {
                 type: "string"
               },
-              author: {
-                type: "object",
-                required: ["did", "declaration", "handle"],
-                properties: {
-                  did: {
-                    type: "string"
-                  },
-                  declaration: {
-                    $ref: "#/$defs/declaration"
-                  },
-                  handle: {
-                    type: "string"
-                  },
-                  displayName: {
-                    type: "string",
-                    maxLength: 64
-                  }
+              notifications: {
+                type: "array",
+                items: {
+                  type: "ref",
+                  ref: "lex:app.bsky.notification.list#notification"
                 }
-              },
-              reason: {
-                type: "string",
-                $comment: "Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'."
-              },
-              reasonSubject: {
-                type: "string"
-              },
-              record: {
-                type: "object"
-              },
-              isRead: {
-                type: "boolean"
-              },
-              indexedAt: {
-                type: "string",
-                format: "date-time"
               }
             }
-          },
-          declaration: {
-            type: "object",
-            required: ["cid", "actorType"],
-            properties: {
-              cid: {
-                type: "string"
-              },
-              actorType: {
-                oneOf: [
-                  {
-                    $ref: "#/$defs/actorKnown"
-                  },
-                  {
-                    $ref: "#/$defs/actorUnknown"
-                  }
-                ]
-              }
-            }
-          },
-          actorKnown: {
-            type: "string",
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-          },
-          actorUnknown: {
-            type: "string",
-            not: {
-              enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-            }
           }
         }
-      }
-    },
-    defs: {
+      },
       notification: {
         type: "object",
         required: [
@@ -14308,631 +6958,134 @@ var methodSchemaDict = {
         ],
         properties: {
           uri: {
-            type: "string",
-            format: "uri"
+            type: "string"
           },
           cid: {
             type: "string"
           },
           author: {
-            type: "object",
-            required: ["did", "declaration", "handle"],
-            properties: {
-              did: {
-                type: "string"
-              },
-              declaration: {
-                $ref: "#/$defs/declaration"
-              },
-              handle: {
-                type: "string"
-              },
-              displayName: {
-                type: "string",
-                maxLength: 64
-              }
-            }
+            type: "ref",
+            ref: "lex:app.bsky.actor.ref#withInfo"
           },
           reason: {
             type: "string",
-            $comment: "Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'."
+            description: "Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.",
+            knownValues: [
+              "vote",
+              "repost",
+              "trend",
+              "follow",
+              "invite",
+              "mention",
+              "reply"
+            ]
           },
           reasonSubject: {
             type: "string"
           },
           record: {
-            type: "object"
+            type: "unknown"
           },
           isRead: {
             type: "boolean"
           },
           indexedAt: {
-            type: "string",
-            format: "date-time"
-          }
-        }
-      },
-      declaration: {
-        type: "object",
-        required: ["cid", "actorType"],
-        properties: {
-          cid: {
-            type: "string"
-          },
-          actorType: {
-            oneOf: [
-              {
-                $ref: "#/$defs/actorKnown"
-              },
-              {
-                $ref: "#/$defs/actorUnknown"
-              }
-            ]
+            type: "datetime"
           }
         }
-      },
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
       }
     }
   },
-  "app.bsky.notification.updateSeen": {
+  {
     lexicon: 1,
     id: "app.bsky.notification.updateSeen",
-    type: "procedure",
-    description: "Notify server that the user has seen notifications.",
-    input: {
-      encoding: "application/json",
-      schema: {
-        type: "object",
-        required: ["seenAt"],
-        properties: {
-          seenAt: {
-            type: "string",
-            format: "date-time"
-          }
-        },
-        $defs: {}
-      }
-    },
-    output: {
-      encoding: "application/json",
-      schema: {
-        $defs: {}
-      }
-    }
-  }
-};
-var methodSchemas = Object.values(methodSchemaDict);
-var recordSchemaDict = {
-  "app.bsky.actor.profile": {
-    lexicon: 1,
-    id: "app.bsky.actor.profile",
-    type: "record",
-    key: "literal:self",
-    record: {
-      type: "object",
-      required: ["displayName"],
-      properties: {
-        displayName: {
-          type: "string",
-          maxLength: 64
-        },
-        description: {
-          type: "string",
-          maxLength: 256
-        }
-      },
-      $defs: {}
-    }
-  },
-  "app.bsky.feed.mediaEmbed": {
-    lexicon: 1,
-    id: "app.bsky.feed.mediaEmbed",
-    type: "record",
-    description: "A list of media embedded in a post or document.",
-    key: "tid",
-    record: {
-      type: "object",
-      required: ["media"],
-      properties: {
-        media: {
-          type: "array",
-          items: {
-            $ref: "#/$defs/mediaEmbed"
-          }
-        }
-      },
-      $defs: {
-        mediaEmbed: {
-          type: "object",
-          required: ["original"],
-          properties: {
-            alt: {
-              type: "string"
-            },
-            thumb: {
-              $ref: "#/$defs/mediaEmbedBlob"
-            },
-            original: {
-              $ref: "#/$defs/mediaEmbedBlob"
-            }
-          }
-        },
-        mediaEmbedBlob: {
-          type: "object",
-          required: ["mimeType", "blobId"],
-          properties: {
-            mimeType: {
-              type: "string"
-            },
-            blobId: {
-              type: "string"
-            }
-          }
-        }
-      }
-    },
     defs: {
-      mediaEmbed: {
-        type: "object",
-        required: ["original"],
-        properties: {
-          alt: {
-            type: "string"
-          },
-          thumb: {
-            $ref: "#/$defs/mediaEmbedBlob"
-          },
-          original: {
-            $ref: "#/$defs/mediaEmbedBlob"
-          }
-        }
-      },
-      mediaEmbedBlob: {
-        type: "object",
-        required: ["mimeType", "blobId"],
-        properties: {
-          mimeType: {
-            type: "string"
-          },
-          blobId: {
-            type: "string"
-          }
-        }
-      }
-    }
-  },
-  "app.bsky.feed.post": {
-    lexicon: 1,
-    id: "app.bsky.feed.post",
-    type: "record",
-    key: "tid",
-    record: {
-      type: "object",
-      required: ["text", "createdAt"],
-      properties: {
-        text: {
-          type: "string",
-          maxLength: 256
-        },
-        entities: {
-          type: "array",
-          items: {
-            $ref: "#/$defs/entity"
-          }
-        },
-        reply: {
-          type: "object",
-          required: ["root", "parent"],
-          properties: {
-            root: {
-              $ref: "#/$defs/postRef"
-            },
-            parent: {
-              $ref: "#/$defs/postRef"
-            }
-          }
-        },
-        createdAt: {
-          type: "string",
-          format: "date-time"
-        }
-      },
-      $defs: {
-        entity: {
-          type: "object",
-          required: ["index", "type", "value"],
-          properties: {
-            index: {
-              $ref: "#/$defs/textSlice"
-            },
-            type: {
-              type: "string",
-              $comment: "Expected values are 'mention', 'hashtag', and 'link'."
-            },
-            value: {
-              type: "string"
-            }
-          }
-        },
-        textSlice: {
-          type: "object",
-          required: ["start", "end"],
-          properties: {
-            start: {
-              type: "integer",
-              minimum: 0
-            },
-            end: {
-              type: "integer",
-              minimum: 0
-            }
-          }
-        },
-        postRef: {
-          type: "object",
-          required: ["uri", "cid"],
-          properties: {
-            uri: {
-              type: "string"
-            },
-            cid: {
-              type: "string"
+      main: {
+        type: "procedure",
+        description: "Notify server that the user has seen notifications.",
+        input: {
+          encoding: "application/json",
+          schema: {
+            type: "object",
+            required: ["seenAt"],
+            properties: {
+              seenAt: {
+                type: "datetime"
+              }
             }
           }
         }
       }
-    },
-    defs: {
-      postRef: {
-        type: "object",
-        required: ["uri", "cid"],
-        properties: {
-          uri: {
-            type: "string"
-          },
-          cid: {
-            type: "string"
-          }
-        }
-      },
-      entity: {
-        type: "object",
-        required: ["index", "type", "value"],
-        properties: {
-          index: {
-            $ref: "#/$defs/textSlice"
-          },
-          type: {
-            type: "string",
-            $comment: "Expected values are 'mention', 'hashtag', and 'link'."
-          },
-          value: {
-            type: "string"
-          }
-        }
-      },
-      textSlice: {
-        type: "object",
-        required: ["start", "end"],
-        properties: {
-          start: {
-            type: "integer",
-            minimum: 0
-          },
-          end: {
-            type: "integer",
-            minimum: 0
-          }
-        }
-      }
     }
   },
-  "app.bsky.feed.repost": {
+  {
     lexicon: 1,
-    id: "app.bsky.feed.repost",
-    type: "record",
-    key: "tid",
-    record: {
-      type: "object",
-      required: ["subject", "createdAt"],
-      properties: {
-        subject: {
-          $ref: "#/$defs/subject"
-        },
-        createdAt: {
-          type: "string",
-          format: "date-time"
-        }
-      },
-      $defs: {
-        subject: {
-          type: "object",
-          required: ["uri", "cid"],
-          properties: {
-            uri: {
-              type: "string"
-            },
-            cid: {
-              type: "string"
-            }
-          }
-        }
-      }
-    },
+    id: "app.bsky.system.actorScene",
     defs: {
-      subject: {
-        type: "object",
-        required: ["uri", "cid"],
-        properties: {
-          uri: {
-            type: "string"
-          },
-          cid: {
-            type: "string"
-          }
-        }
+      main: {
+        type: "token",
+        description: "Actor type: Scene. Defined for app.bsky.system.declaration's actorType."
       }
     }
   },
-  "app.bsky.feed.trend": {
+  {
     lexicon: 1,
-    id: "app.bsky.feed.trend",
-    type: "record",
-    key: "tid",
-    record: {
-      type: "object",
-      required: ["subject", "createdAt"],
-      properties: {
-        subject: {
-          $ref: "#/$defs/subject"
-        },
-        createdAt: {
-          type: "string",
-          format: "date-time"
-        }
-      },
-      $defs: {
-        subject: {
-          type: "object",
-          required: ["uri", "cid"],
-          properties: {
-            uri: {
-              type: "string"
-            },
-            cid: {
-              type: "string"
-            }
-          }
-        }
-      }
-    },
+    id: "app.bsky.system.actorUser",
     defs: {
-      subject: {
-        type: "object",
-        required: ["uri", "cid"],
-        properties: {
-          uri: {
-            type: "string"
-          },
-          cid: {
-            type: "string"
-          }
-        }
+      main: {
+        type: "token",
+        description: "Actor type: User. Defined for app.bsky.system.declaration's actorType."
       }
     }
   },
-  "app.bsky.feed.vote": {
+  {
     lexicon: 1,
-    id: "app.bsky.feed.vote",
-    type: "record",
-    key: "tid",
-    record: {
-      type: "object",
-      required: ["subject", "direction", "createdAt"],
-      properties: {
-        subject: {
-          $ref: "#/$defs/subject"
-        },
-        direction: {
-          type: "string",
-          enum: ["up", "down"]
-        },
-        createdAt: {
-          type: "string",
-          format: "date-time"
-        }
-      },
-      $defs: {
-        subject: {
-          type: "object",
-          required: ["uri", "cid"],
-          properties: {
-            uri: {
-              type: "string"
-            },
-            cid: {
-              type: "string"
-            }
-          }
-        }
-      }
-    },
+    id: "app.bsky.system.declRef",
     defs: {
-      subject: {
+      main: {
+        description: "A reference to a app.bsky.system.declaration record.",
         type: "object",
-        required: ["uri", "cid"],
+        required: ["cid", "actorType"],
         properties: {
-          uri: {
-            type: "string"
-          },
           cid: {
             type: "string"
+          },
+          actorType: {
+            type: "string",
+            knownValues: [
+              "app.bsky.system.actorUser",
+              "app.bsky.system.actorScene"
+            ]
           }
         }
       }
     }
   },
-  "app.bsky.graph.assertion": {
+  {
     lexicon: 1,
-    id: "app.bsky.graph.assertion",
-    type: "record",
-    key: "tid",
-    record: {
-      type: "object",
-      required: ["assertion", "subject", "createdAt"],
-      properties: {
-        assertion: {
-          type: "string"
-        },
-        subject: {
-          type: "object",
-          required: ["did", "declarationCid"],
-          properties: {
-            did: {
-              type: "string"
-            },
-            declarationCid: {
-              type: "string"
-            }
-          }
-        },
-        createdAt: {
-          type: "string",
-          format: "date-time"
-        }
-      },
-      $defs: {}
-    }
-  },
-  "app.bsky.graph.confirmation": {
-    lexicon: 1,
-    id: "app.bsky.graph.confirmation",
-    type: "record",
-    key: "tid",
-    record: {
-      type: "object",
-      required: ["originator", "assertion", "createdAt"],
-      properties: {
-        originator: {
-          type: "object",
-          required: ["did", "declarationCid"],
-          properties: {
-            did: {
-              type: "string"
-            },
-            declarationCid: {
-              type: "string"
-            }
-          }
-        },
-        assertion: {
-          type: "object",
-          required: ["uri", "cid"],
-          properties: {
-            uri: {
-              type: "string"
-            },
-            cid: {
-              type: "string"
-            }
-          }
-        },
-        createdAt: {
-          type: "string",
-          format: "date-time"
-        }
-      },
-      $defs: {}
-    }
-  },
-  "app.bsky.graph.follow": {
-    lexicon: 1,
-    id: "app.bsky.graph.follow",
-    type: "record",
-    description: "A social follow.",
-    key: "tid",
-    record: {
-      type: "object",
-      required: ["subject", "createdAt"],
-      properties: {
-        subject: {
+    id: "app.bsky.system.declaration",
+    defs: {
+      main: {
+        description: "Context for an account that is considered intrinsic to it and alters the fundamental understanding of an account of changed. A declaration should be treated as immutable.",
+        type: "record",
+        key: "literal:self",
+        record: {
           type: "object",
-          required: ["did", "declarationCid"],
+          required: ["actorType"],
           properties: {
-            did: {
-              type: "string"
-            },
-            declarationCid: {
-              type: "string"
-            }
-          }
-        },
-        createdAt: {
-          type: "string",
-          format: "date-time"
-        }
-      },
-      $defs: {}
-    }
-  },
-  "app.bsky.system.declaration": {
-    lexicon: 1,
-    id: "app.bsky.system.declaration",
-    description: "Context for an account that is considered intrinsic to it and alters the fundamental understanding of an account of changed. A declaration should be treated as immutable.",
-    type: "record",
-    key: "literal:self",
-    record: {
-      type: "object",
-      required: ["actorType"],
-      properties: {
-        actorType: {
-          oneOf: [
-            {
-              $ref: "#/$defs/actorKnown"
-            },
-            {
-              $ref: "#/$defs/actorUnknown"
+            actorType: {
+              type: "string",
+              knownValues: [
+                "app.bsky.system.actorUser",
+                "app.bsky.system.actorScene"
+              ]
             }
-          ]
-        }
-      },
-      $defs: {
-        actorKnown: {
-          type: "string",
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        },
-        actorUnknown: {
-          type: "string",
-          not: {
-            enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
           }
         }
       }
-    },
-    defs: {
-      actorKnown: {
-        type: "string",
-        enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-      },
-      actorUnknown: {
-        type: "string",
-        not: {
-          enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"]
-        }
-      }
     }
   }
-};
-var recordSchemas = Object.values(recordSchemaDict);
+];
 
 // src/client/types/com/atproto/account/create.ts
 var create_exports = {};
@@ -15468,11 +7621,17 @@ function toKnownErr42(e) {
   return e;
 }
 
+// src/client/types/com/atproto/repo/strongRef.ts
+var strongRef_exports = {};
+
 // src/client/types/app/bsky/actor/profile.ts
 var profile_exports = {};
 
-// src/client/types/app/bsky/feed/mediaEmbed.ts
-var mediaEmbed_exports = {};
+// src/client/types/app/bsky/actor/ref.ts
+var ref_exports = {};
+
+// src/client/types/app/bsky/feed/embed.ts
+var embed_exports = {};
 
 // src/client/types/app/bsky/feed/post.ts
 var post_exports = {};
@@ -15486,6 +7645,20 @@ var trend_exports = {};
 // src/client/types/app/bsky/feed/vote.ts
 var vote_exports = {};
 
+// src/client/types/app/bsky/graph/assertCreator.ts
+var assertCreator_exports = {};
+__export(assertCreator_exports, {
+  MAIN: () => MAIN
+});
+var MAIN = "app.bsky.graph.assertCreator#main";
+
+// src/client/types/app/bsky/graph/assertMember.ts
+var assertMember_exports = {};
+__export(assertMember_exports, {
+  MAIN: () => MAIN2
+});
+var MAIN2 = "app.bsky.graph.assertMember#main";
+
 // src/client/types/app/bsky/graph/assertion.ts
 var assertion_exports = {};
 
@@ -15495,6 +7668,23 @@ var confirmation_exports = {};
 // src/client/types/app/bsky/graph/follow.ts
 var follow_exports = {};
 
+// src/client/types/app/bsky/system/actorScene.ts
+var actorScene_exports = {};
+__export(actorScene_exports, {
+  MAIN: () => MAIN3
+});
+var MAIN3 = "app.bsky.system.actorScene#main";
+
+// src/client/types/app/bsky/system/actorUser.ts
+var actorUser_exports = {};
+__export(actorUser_exports, {
+  MAIN: () => MAIN4
+});
+var MAIN4 = "app.bsky.system.actorUser#main";
+
+// src/client/types/app/bsky/system/declRef.ts
+var declRef_exports = {};
+
 // src/client/types/app/bsky/system/declaration.ts
 var declaration_exports = {};
 
@@ -15510,7 +7700,7 @@ var APP_BSKY_SYSTEM = {
 var Client2 = class {
   constructor() {
     this.xrpc = new Client();
-    this.xrpc.addSchemas(methodSchemas);
+    this.xrpc.addLexicons(lexicons);
   }
   service(serviceUri) {
     return new ServiceClient2(this, this.xrpc.service(serviceUri));
@@ -15565,8 +7755,8 @@ var AccountNS = class {
       throw toKnownErr3(e);
     });
   }
-  get(params, opts) {
-    return this._service.xrpc.call("com.atproto.account.get", params, void 0, opts).catch((e) => {
+  get(params2, opts) {
+    return this._service.xrpc.call("com.atproto.account.get", params2, void 0, opts).catch((e) => {
       throw toKnownErr4(e);
     });
   }
@@ -15585,8 +7775,8 @@ var HandleNS = class {
   constructor(service) {
     this._service = service;
   }
-  resolve(params, opts) {
-    return this._service.xrpc.call("com.atproto.handle.resolve", params, void 0, opts).catch((e) => {
+  resolve(params2, opts) {
+    return this._service.xrpc.call("com.atproto.handle.resolve", params2, void 0, opts).catch((e) => {
       throw toKnownErr7(e);
     });
   }
@@ -15610,18 +7800,18 @@ var RepoNS = class {
       throw toKnownErr10(e);
     });
   }
-  describe(params, opts) {
-    return this._service.xrpc.call("com.atproto.repo.describe", params, void 0, opts).catch((e) => {
+  describe(params2, opts) {
+    return this._service.xrpc.call("com.atproto.repo.describe", params2, void 0, opts).catch((e) => {
       throw toKnownErr11(e);
     });
   }
-  getRecord(params, opts) {
-    return this._service.xrpc.call("com.atproto.repo.getRecord", params, void 0, opts).catch((e) => {
+  getRecord(params2, opts) {
+    return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
       throw toKnownErr12(e);
     });
   }
-  listRecords(params, opts) {
-    return this._service.xrpc.call("com.atproto.repo.listRecords", params, void 0, opts).catch((e) => {
+  listRecords(params2, opts) {
+    return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
       throw toKnownErr13(e);
     });
   }
@@ -15635,8 +7825,8 @@ var ServerNS = class {
   constructor(service) {
     this._service = service;
   }
-  getAccountsConfig(params, opts) {
-    return this._service.xrpc.call("com.atproto.server.getAccountsConfig", params, void 0, opts).catch((e) => {
+  getAccountsConfig(params2, opts) {
+    return this._service.xrpc.call("com.atproto.server.getAccountsConfig", params2, void 0, opts).catch((e) => {
       throw toKnownErr15(e);
     });
   }
@@ -15655,8 +7845,8 @@ var SessionNS = class {
       throw toKnownErr17(e);
     });
   }
-  get(params, opts) {
-    return this._service.xrpc.call("com.atproto.session.get", params, void 0, opts).catch((e) => {
+  get(params2, opts) {
+    return this._service.xrpc.call("com.atproto.session.get", params2, void 0, opts).catch((e) => {
       throw toKnownErr18(e);
     });
   }
@@ -15670,13 +7860,13 @@ var SyncNS = class {
   constructor(service) {
     this._service = service;
   }
-  getRepo(params, opts) {
-    return this._service.xrpc.call("com.atproto.sync.getRepo", params, void 0, opts).catch((e) => {
+  getRepo(params2, opts) {
+    return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
       throw toKnownErr20(e);
     });
   }
-  getRoot(params, opts) {
-    return this._service.xrpc.call("com.atproto.sync.getRoot", params, void 0, opts).catch((e) => {
+  getRoot(params2, opts) {
+    return this._service.xrpc.call("com.atproto.sync.getRoot", params2, void 0, opts).catch((e) => {
       throw toKnownErr21(e);
     });
   }
@@ -15712,23 +7902,23 @@ var ActorNS = class {
       throw toKnownErr23(e);
     });
   }
-  getProfile(params, opts) {
-    return this._service.xrpc.call("app.bsky.actor.getProfile", params, void 0, opts).catch((e) => {
+  getProfile(params2, opts) {
+    return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
       throw toKnownErr24(e);
     });
   }
-  getSuggestions(params, opts) {
-    return this._service.xrpc.call("app.bsky.actor.getSuggestions", params, void 0, opts).catch((e) => {
+  getSuggestions(params2, opts) {
+    return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
       throw toKnownErr25(e);
     });
   }
-  search(params, opts) {
-    return this._service.xrpc.call("app.bsky.actor.search", params, void 0, opts).catch((e) => {
+  search(params2, opts) {
+    return this._service.xrpc.call("app.bsky.actor.search", params2, void 0, opts).catch((e) => {
       throw toKnownErr26(e);
     });
   }
-  searchTypeahead(params, opts) {
-    return this._service.xrpc.call("app.bsky.actor.searchTypeahead", params, void 0, opts).catch((e) => {
+  searchTypeahead(params2, opts) {
+    return this._service.xrpc.call("app.bsky.actor.searchTypeahead", params2, void 0, opts).catch((e) => {
       throw toKnownErr27(e);
     });
   }
@@ -15742,35 +7932,35 @@ var ProfileRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.actor.profile",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.actor.profile",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.actor.profile";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.actor.profile", ...params, record },
+      { collection: "app.bsky.actor.profile", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.actor.profile", ...params },
+      { collection: "app.bsky.actor.profile", ...params2 },
       { headers }
     );
   }
@@ -15778,34 +7968,33 @@ var ProfileRecord = class {
 var FeedNS = class {
   constructor(service) {
     this._service = service;
-    this.mediaEmbed = new MediaEmbedRecord(service);
     this.post = new PostRecord(service);
     this.repost = new RepostRecord(service);
     this.trend = new TrendRecord(service);
     this.vote = new VoteRecord(service);
   }
-  getAuthorFeed(params, opts) {
-    return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params, void 0, opts).catch((e) => {
+  getAuthorFeed(params2, opts) {
+    return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
       throw toKnownErr29(e);
     });
   }
-  getPostThread(params, opts) {
-    return this._service.xrpc.call("app.bsky.feed.getPostThread", params, void 0, opts).catch((e) => {
+  getPostThread(params2, opts) {
+    return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
       throw toKnownErr30(e);
     });
   }
-  getRepostedBy(params, opts) {
-    return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params, void 0, opts).catch((e) => {
+  getRepostedBy(params2, opts) {
+    return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
       throw toKnownErr31(e);
     });
   }
-  getTimeline(params, opts) {
-    return this._service.xrpc.call("app.bsky.feed.getTimeline", params, void 0, opts).catch((e) => {
+  getTimeline(params2, opts) {
+    return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
       throw toKnownErr32(e);
     });
   }
-  getVotes(params, opts) {
-    return this._service.xrpc.call("app.bsky.feed.getVotes", params, void 0, opts).catch((e) => {
+  getVotes(params2, opts) {
+    return this._service.xrpc.call("app.bsky.feed.getVotes", params2, void 0, opts).catch((e) => {
       throw toKnownErr33(e);
     });
   }
@@ -15815,76 +8004,39 @@ var FeedNS = class {
     });
   }
 };
-var MediaEmbedRecord = class {
-  constructor(service) {
-    this._service = service;
-  }
-  async list(params) {
-    const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
-      collection: "app.bsky.feed.mediaEmbed",
-      ...params
-    });
-    return res.data;
-  }
-  async get(params) {
-    const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
-      collection: "app.bsky.feed.mediaEmbed",
-      ...params
-    });
-    return res.data;
-  }
-  async create(params, record, headers) {
-    record.$type = "app.bsky.feed.mediaEmbed";
-    const res = await this._service.xrpc.call(
-      "com.atproto.repo.createRecord",
-      void 0,
-      { collection: "app.bsky.feed.mediaEmbed", ...params, record },
-      { encoding: "application/json", headers }
-    );
-    return res.data;
-  }
-  async delete(params, headers) {
-    await this._service.xrpc.call(
-      "com.atproto.repo.deleteRecord",
-      void 0,
-      { collection: "app.bsky.feed.mediaEmbed", ...params },
-      { headers }
-    );
-  }
-};
 var PostRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.feed.post",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.feed.post",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.feed.post";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.feed.post", ...params, record },
+      { collection: "app.bsky.feed.post", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.feed.post", ...params },
+      { collection: "app.bsky.feed.post", ...params2 },
       { headers }
     );
   }
@@ -15893,35 +8045,35 @@ var RepostRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.feed.repost",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.feed.repost",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.feed.repost";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.feed.repost", ...params, record },
+      { collection: "app.bsky.feed.repost", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.feed.repost", ...params },
+      { collection: "app.bsky.feed.repost", ...params2 },
       { headers }
     );
   }
@@ -15930,35 +8082,35 @@ var TrendRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.feed.trend",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.feed.trend",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.feed.trend";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.feed.trend", ...params, record },
+      { collection: "app.bsky.feed.trend", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.feed.trend", ...params },
+      { collection: "app.bsky.feed.trend", ...params2 },
       { headers }
     );
   }
@@ -15967,35 +8119,35 @@ var VoteRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.feed.vote",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.feed.vote",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.feed.vote";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.feed.vote", ...params, record },
+      { collection: "app.bsky.feed.vote", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.feed.vote", ...params },
+      { collection: "app.bsky.feed.vote", ...params2 },
       { headers }
     );
   }
@@ -16007,28 +8159,28 @@ var GraphNS = class {
     this.confirmation = new ConfirmationRecord(service);
     this.follow = new FollowRecord(service);
   }
-  getAssertions(params, opts) {
-    return this._service.xrpc.call("app.bsky.graph.getAssertions", params, void 0, opts).catch((e) => {
+  getAssertions(params2, opts) {
+    return this._service.xrpc.call("app.bsky.graph.getAssertions", params2, void 0, opts).catch((e) => {
       throw toKnownErr35(e);
     });
   }
-  getFollowers(params, opts) {
-    return this._service.xrpc.call("app.bsky.graph.getFollowers", params, void 0, opts).catch((e) => {
+  getFollowers(params2, opts) {
+    return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
       throw toKnownErr36(e);
     });
   }
-  getFollows(params, opts) {
-    return this._service.xrpc.call("app.bsky.graph.getFollows", params, void 0, opts).catch((e) => {
+  getFollows(params2, opts) {
+    return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
       throw toKnownErr37(e);
     });
   }
-  getMembers(params, opts) {
-    return this._service.xrpc.call("app.bsky.graph.getMembers", params, void 0, opts).catch((e) => {
+  getMembers(params2, opts) {
+    return this._service.xrpc.call("app.bsky.graph.getMembers", params2, void 0, opts).catch((e) => {
       throw toKnownErr38(e);
     });
   }
-  getMemberships(params, opts) {
-    return this._service.xrpc.call("app.bsky.graph.getMemberships", params, void 0, opts).catch((e) => {
+  getMemberships(params2, opts) {
+    return this._service.xrpc.call("app.bsky.graph.getMemberships", params2, void 0, opts).catch((e) => {
       throw toKnownErr39(e);
     });
   }
@@ -16037,35 +8189,35 @@ var AssertionRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.graph.assertion",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.graph.assertion",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.graph.assertion";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.graph.assertion", ...params, record },
+      { collection: "app.bsky.graph.assertion", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.graph.assertion", ...params },
+      { collection: "app.bsky.graph.assertion", ...params2 },
       { headers }
     );
   }
@@ -16074,35 +8226,35 @@ var ConfirmationRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.graph.confirmation",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.graph.confirmation",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.graph.confirmation";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.graph.confirmation", ...params, record },
+      { collection: "app.bsky.graph.confirmation", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.graph.confirmation", ...params },
+      { collection: "app.bsky.graph.confirmation", ...params2 },
       { headers }
     );
   }
@@ -16111,35 +8263,35 @@ var FollowRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.graph.follow",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.graph.follow",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.graph.follow";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.graph.follow", ...params, record },
+      { collection: "app.bsky.graph.follow", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.graph.follow", ...params },
+      { collection: "app.bsky.graph.follow", ...params2 },
       { headers }
     );
   }
@@ -16148,13 +8300,13 @@ var NotificationNS = class {
   constructor(service) {
     this._service = service;
   }
-  getCount(params, opts) {
-    return this._service.xrpc.call("app.bsky.notification.getCount", params, void 0, opts).catch((e) => {
+  getCount(params2, opts) {
+    return this._service.xrpc.call("app.bsky.notification.getCount", params2, void 0, opts).catch((e) => {
       throw toKnownErr40(e);
     });
   }
-  list(params, opts) {
-    return this._service.xrpc.call("app.bsky.notification.list", params, void 0, opts).catch((e) => {
+  list(params2, opts) {
+    return this._service.xrpc.call("app.bsky.notification.list", params2, void 0, opts).catch((e) => {
       throw toKnownErr41(e);
     });
   }
@@ -16174,35 +8326,35 @@ var DeclarationRecord = class {
   constructor(service) {
     this._service = service;
   }
-  async list(params) {
+  async list(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
       collection: "app.bsky.system.declaration",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async get(params) {
+  async get(params2) {
     const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
       collection: "app.bsky.system.declaration",
-      ...params
+      ...params2
     });
     return res.data;
   }
-  async create(params, record, headers) {
+  async create(params2, record, headers) {
     record.$type = "app.bsky.system.declaration";
     const res = await this._service.xrpc.call(
       "com.atproto.repo.createRecord",
       void 0,
-      { collection: "app.bsky.system.declaration", ...params, record },
+      { collection: "app.bsky.system.declaration", ...params2, record },
       { encoding: "application/json", headers }
     );
     return res.data;
   }
-  async delete(params, headers) {
+  async delete(params2, headers) {
     await this._service.xrpc.call(
       "com.atproto.repo.deleteRecord",
       void 0,
-      { collection: "app.bsky.system.declaration", ...params },
+      { collection: "app.bsky.system.declaration", ...params2 },
       { headers }
     );
   }
@@ -16241,8 +8393,8 @@ var SessionXrpcServiceClient = class extends ServiceClient {
       }
     });
   }
-  async call(methodNsid, params, data, opts) {
-    const original = (overrideOpts) => super.call(methodNsid, params, data, overrideOpts ?? opts);
+  async call(methodNsid, params2, data, opts) {
+    const original = (overrideOpts) => super.call(methodNsid, params2, data, overrideOpts ?? opts);
     if (opts?.headers?.authorization) {
       return await original();
     }
@@ -16341,20 +8493,23 @@ var SessionManager = class extends import_events.default {
   AppBskyActorGetProfile,
   AppBskyActorGetSuggestions,
   AppBskyActorProfile,
+  AppBskyActorRef,
   AppBskyActorSearch,
   AppBskyActorSearchTypeahead,
   AppBskyActorUpdateProfile,
+  AppBskyFeedEmbed,
   AppBskyFeedGetAuthorFeed,
   AppBskyFeedGetPostThread,
   AppBskyFeedGetRepostedBy,
   AppBskyFeedGetTimeline,
   AppBskyFeedGetVotes,
-  AppBskyFeedMediaEmbed,
   AppBskyFeedPost,
   AppBskyFeedRepost,
   AppBskyFeedSetVote,
   AppBskyFeedTrend,
   AppBskyFeedVote,
+  AppBskyGraphAssertCreator,
+  AppBskyGraphAssertMember,
   AppBskyGraphAssertion,
   AppBskyGraphConfirmation,
   AppBskyGraphFollow,
@@ -16366,6 +8521,9 @@ var SessionManager = class extends import_events.default {
   AppBskyNotificationGetCount,
   AppBskyNotificationList,
   AppBskyNotificationUpdateSeen,
+  AppBskySystemActorScene,
+  AppBskySystemActorUser,
+  AppBskySystemDeclRef,
   AppBskySystemDeclaration,
   AppNS,
   AssertionRecord,
@@ -16386,6 +8544,7 @@ var SessionManager = class extends import_events.default {
   ComAtprotoRepoGetRecord,
   ComAtprotoRepoListRecords,
   ComAtprotoRepoPutRecord,
+  ComAtprotoRepoStrongRef,
   ComAtprotoServerGetAccountsConfig,
   ComAtprotoSessionCreate,
   ComAtprotoSessionDelete,
@@ -16401,7 +8560,6 @@ var SessionManager = class extends import_events.default {
   FollowRecord,
   GraphNS,
   HandleNS,
-  MediaEmbedRecord,
   NotificationNS,
   PostRecord,
   ProfileRecord,
@@ -16420,5 +8578,4 @@ var SessionManager = class extends import_events.default {
   VoteRecord,
   sessionClient
 });
-/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
 //# sourceMappingURL=index.js.map
diff --git a/src/third-party/api/index.js.map b/src/third-party/api/index.js.map
index 4bb89c169..d2d94b82b 100644
--- a/src/third-party/api/index.js.map
+++ b/src/third-party/api/index.js.map
@@ -1,7 +1,7 @@
 {
   "version": 3,
-  "sources": ["../../../node_modules/ajv/lib/compile/codegen/code.ts", "../../../node_modules/ajv/lib/compile/codegen/scope.ts", "../../../node_modules/ajv/lib/compile/codegen/index.ts", "../../../node_modules/ajv/lib/compile/util.ts", "../../../node_modules/ajv/lib/compile/names.ts", "../../../node_modules/ajv/lib/compile/errors.ts", "../../../node_modules/ajv/lib/compile/validate/boolSchema.ts", "../../../node_modules/ajv/lib/compile/rules.ts", "../../../node_modules/ajv/lib/compile/validate/applicability.ts", "../../../node_modules/ajv/lib/compile/validate/dataType.ts", "../../../node_modules/ajv/lib/compile/validate/defaults.ts", "../../../node_modules/ajv/lib/vocabularies/code.ts", "../../../node_modules/ajv/lib/compile/validate/keyword.ts", "../../../node_modules/ajv/lib/compile/validate/subschema.ts", "../../../node_modules/fast-deep-equal/index.js", "../../../node_modules/json-schema-traverse/index.js", "../../../node_modules/ajv/lib/compile/resolve.ts", "../../../node_modules/ajv/lib/compile/validate/index.ts", "../../../node_modules/ajv/lib/runtime/validation_error.ts", "../../../node_modules/ajv/lib/compile/ref_error.ts", "../../../node_modules/ajv/lib/compile/index.ts", "../../../node_modules/uri-js/src/index.ts", "../../../node_modules/uri-js/src/schemes/urn-uuid.ts", "../../../node_modules/uri-js/src/schemes/urn.ts", "../../../node_modules/uri-js/src/schemes/mailto.ts", "../../../node_modules/uri-js/src/schemes/wss.ts", "../../../node_modules/uri-js/src/schemes/ws.ts", "../../../node_modules/uri-js/src/schemes/https.ts", "../../../node_modules/uri-js/src/schemes/http.ts", "../../../node_modules/uri-js/src/uri.ts", "../../../node_modules/uri-js/node_modules/punycode/punycode.es6.js", "../../../node_modules/uri-js/src/regexps-iri.ts", "../../../node_modules/uri-js/src/regexps-uri.ts", "../../../node_modules/uri-js/src/util.ts", "../../../node_modules/ajv/lib/runtime/uri.ts", "../../../node_modules/ajv/lib/core.ts", "../../../node_modules/ajv/lib/vocabularies/core/id.ts", "../../../node_modules/ajv/lib/vocabularies/core/ref.ts", "../../../node_modules/ajv/lib/vocabularies/core/index.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitNumber.ts", "../../../node_modules/ajv/lib/vocabularies/validation/multipleOf.ts", "../../../node_modules/ajv/lib/runtime/ucs2length.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitLength.ts", "../../../node_modules/ajv/lib/vocabularies/validation/pattern.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitProperties.ts", "../../../node_modules/ajv/lib/vocabularies/validation/required.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitItems.ts", "../../../node_modules/ajv/lib/runtime/equal.ts", "../../../node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts", "../../../node_modules/ajv/lib/vocabularies/validation/const.ts", "../../../node_modules/ajv/lib/vocabularies/validation/enum.ts", "../../../node_modules/ajv/lib/vocabularies/validation/index.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/items.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/items2020.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/contains.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/dependencies.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/properties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/not.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/anyOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/oneOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/allOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/if.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/thenElse.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/index.ts", "../../../node_modules/ajv/lib/vocabularies/format/format.ts", "../../../node_modules/ajv/lib/vocabularies/format/index.ts", "../../../node_modules/ajv/lib/vocabularies/metadata.ts", "../../../node_modules/ajv/lib/vocabularies/draft7.ts", "../../../node_modules/ajv/lib/vocabularies/discriminator/types.ts", "../../../node_modules/ajv/lib/vocabularies/discriminator/index.ts", "../../../node_modules/ajv/lib/ajv.ts", "../../../node_modules/ajv-formats/src/formats.ts", "../../../node_modules/ajv-formats/src/limit.ts", "../../../node_modules/ajv-formats/src/index.ts", "../src/index.ts", "../../../node_modules/zod/lib/index.mjs", "../../xrpc/src/types.ts", "../../nsid/src/index.ts", "../../lexicon/src/types.ts", "../../lexicon/src/record/schema.ts", "../../lexicon/src/record/validator.ts", "../../xrpc/src/util.ts", "../../xrpc/src/client.ts", "../../xrpc/src/index.ts", "../src/client/schemas.ts", "../src/client/types/com/atproto/account/create.ts", "../src/client/types/com/atproto/account/createInviteCode.ts", "../src/client/types/com/atproto/account/delete.ts", "../src/client/types/com/atproto/account/get.ts", "../src/client/types/com/atproto/account/requestPasswordReset.ts", "../src/client/types/com/atproto/account/resetPassword.ts", "../src/client/types/com/atproto/handle/resolve.ts", "../src/client/types/com/atproto/repo/batchWrite.ts", "../src/client/types/com/atproto/repo/createRecord.ts", "../src/client/types/com/atproto/repo/deleteRecord.ts", "../src/client/types/com/atproto/repo/describe.ts", "../src/client/types/com/atproto/repo/getRecord.ts", "../src/client/types/com/atproto/repo/listRecords.ts", "../src/client/types/com/atproto/repo/putRecord.ts", "../src/client/types/com/atproto/server/getAccountsConfig.ts", "../src/client/types/com/atproto/session/create.ts", "../src/client/types/com/atproto/session/delete.ts", "../src/client/types/com/atproto/session/get.ts", "../src/client/types/com/atproto/session/refresh.ts", "../src/client/types/com/atproto/sync/getRepo.ts", "../src/client/types/com/atproto/sync/getRoot.ts", "../src/client/types/com/atproto/sync/updateRepo.ts", "../src/client/types/app/bsky/actor/createScene.ts", "../src/client/types/app/bsky/actor/getProfile.ts", "../src/client/types/app/bsky/actor/getSuggestions.ts", "../src/client/types/app/bsky/actor/search.ts", "../src/client/types/app/bsky/actor/searchTypeahead.ts", "../src/client/types/app/bsky/actor/updateProfile.ts", "../src/client/types/app/bsky/feed/getAuthorFeed.ts", "../src/client/types/app/bsky/feed/getPostThread.ts", "../src/client/types/app/bsky/feed/getRepostedBy.ts", "../src/client/types/app/bsky/feed/getTimeline.ts", "../src/client/types/app/bsky/feed/getVotes.ts", "../src/client/types/app/bsky/feed/setVote.ts", "../src/client/types/app/bsky/graph/getAssertions.ts", "../src/client/types/app/bsky/graph/getFollowers.ts", "../src/client/types/app/bsky/graph/getFollows.ts", "../src/client/types/app/bsky/graph/getMembers.ts", "../src/client/types/app/bsky/graph/getMemberships.ts", "../src/client/types/app/bsky/notification/getCount.ts", "../src/client/types/app/bsky/notification/list.ts", "../src/client/types/app/bsky/notification/updateSeen.ts", "../src/client/types/app/bsky/actor/profile.ts", "../src/client/types/app/bsky/feed/mediaEmbed.ts", "../src/client/types/app/bsky/feed/post.ts", "../src/client/types/app/bsky/feed/repost.ts", "../src/client/types/app/bsky/feed/trend.ts", "../src/client/types/app/bsky/feed/vote.ts", "../src/client/types/app/bsky/graph/assertion.ts", "../src/client/types/app/bsky/graph/confirmation.ts", "../src/client/types/app/bsky/graph/follow.ts", "../src/client/types/app/bsky/system/declaration.ts", "../src/client/index.ts", "../src/session.ts"],
-  "sourcesContent": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, "'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n  if (a === b) return true;\n\n  if (a && b && typeof a == 'object' && typeof b == 'object') {\n    if (a.constructor !== b.constructor) return false;\n\n    var length, i, keys;\n    if (Array.isArray(a)) {\n      length = a.length;\n      if (length != b.length) return false;\n      for (i = length; i-- !== 0;)\n        if (!equal(a[i], b[i])) return false;\n      return true;\n    }\n\n\n\n    if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n    if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n    if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n    keys = Object.keys(a);\n    length = keys.length;\n    if (length !== Object.keys(b).length) return false;\n\n    for (i = length; i-- !== 0;)\n      if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n    for (i = length; i-- !== 0;) {\n      var key = keys[i];\n\n      if (!equal(a[key], b[key])) return false;\n    }\n\n    return true;\n  }\n\n  // true if both NaN, false otherwise\n  return a!==a && b!==b;\n};\n", "'use strict';\n\nvar traverse = module.exports = function (schema, opts, cb) {\n  // Legacy support for v0.3.1 and earlier.\n  if (typeof opts == 'function') {\n    cb = opts;\n    opts = {};\n  }\n\n  cb = opts.cb || cb;\n  var pre = (typeof cb == 'function') ? cb : cb.pre || function() {};\n  var post = cb.post || function() {};\n\n  _traverse(opts, pre, post, schema, '', schema);\n};\n\n\ntraverse.keywords = {\n  additionalItems: true,\n  items: true,\n  contains: true,\n  additionalProperties: true,\n  propertyNames: true,\n  not: true,\n  if: true,\n  then: true,\n  else: true\n};\n\ntraverse.arrayKeywords = {\n  items: true,\n  allOf: true,\n  anyOf: true,\n  oneOf: true\n};\n\ntraverse.propsKeywords = {\n  $defs: true,\n  definitions: true,\n  properties: true,\n  patternProperties: true,\n  dependencies: true\n};\n\ntraverse.skipKeywords = {\n  default: true,\n  enum: true,\n  const: true,\n  required: true,\n  maximum: true,\n  minimum: true,\n  exclusiveMaximum: true,\n  exclusiveMinimum: true,\n  multipleOf: true,\n  maxLength: true,\n  minLength: true,\n  pattern: true,\n  format: true,\n  maxItems: true,\n  minItems: true,\n  uniqueItems: true,\n  maxProperties: true,\n  minProperties: true\n};\n\n\nfunction _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n  if (schema && typeof schema == 'object' && !Array.isArray(schema)) {\n    pre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n    for (var key in schema) {\n      var sch = schema[key];\n      if (Array.isArray(sch)) {\n        if (key in traverse.arrayKeywords) {\n          for (var i=0; i<sch.length; i++)\n            _traverse(opts, pre, post, sch[i], jsonPtr + '/' + key + '/' + i, rootSchema, jsonPtr, key, schema, i);\n        }\n      } else if (key in traverse.propsKeywords) {\n        if (sch && typeof sch == 'object') {\n          for (var prop in sch)\n            _traverse(opts, pre, post, sch[prop], jsonPtr + '/' + key + '/' + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);\n        }\n      } else if (key in traverse.keywords || (opts.allKeys && !(key in traverse.skipKeywords))) {\n        _traverse(opts, pre, post, sch, jsonPtr + '/' + key, rootSchema, jsonPtr, key, schema);\n      }\n    }\n    post(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n  }\n}\n\n\nfunction escapeJsonPtr(str) {\n  return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n}\n", null, null, null, null, null, "import { SCHEMES } from \"./uri\";\n\nimport http from \"./schemes/http\";\nSCHEMES[http.scheme] = http;\n\nimport https from \"./schemes/https\";\nSCHEMES[https.scheme] = https;\n\nimport ws from \"./schemes/ws\";\nSCHEMES[ws.scheme] = ws;\n\nimport wss from \"./schemes/wss\";\nSCHEMES[wss.scheme] = wss;\n\nimport mailto from \"./schemes/mailto\";\nSCHEMES[mailto.scheme] = mailto;\n\nimport urn from \"./schemes/urn\";\nSCHEMES[urn.scheme] = urn;\n\nimport uuid from \"./schemes/urn-uuid\";\nSCHEMES[uuid.scheme] = uuid;\n\nexport * from \"./uri\";\n", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport { URNComponents } from \"./urn\";\nimport { SCHEMES } from \"../uri\";\n\nexport interface UUIDComponents extends URNComponents {\n\tuuid?: string;\n}\n\nconst UUID = /^[0-9A-Fa-f]{8}(?:\\-[0-9A-Fa-f]{4}){3}\\-[0-9A-Fa-f]{12}$/;\nconst UUID_PARSE = /^[0-9A-Fa-f\\-]{36}/;\n\n//RFC 4122\nconst handler:URISchemeHandler<UUIDComponents, URIOptions, URNComponents> = {\n\tscheme : \"urn:uuid\",\n\n\tparse : function (urnComponents:URNComponents, options:URIOptions):UUIDComponents {\n\t\tconst uuidComponents = urnComponents as UUIDComponents;\n\t\tuuidComponents.uuid = uuidComponents.nss;\n\t\tuuidComponents.nss = undefined;\n\n\t\tif (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) {\n\t\t\tuuidComponents.error = uuidComponents.error || \"UUID is not valid.\";\n\t\t}\n\n\t\treturn uuidComponents;\n\t},\n\n\tserialize : function (uuidComponents:UUIDComponents, options:URIOptions):URNComponents {\n\t\tconst urnComponents = uuidComponents as URNComponents;\n\t\t//normalize UUID\n\t\turnComponents.nss = (uuidComponents.uuid || \"\").toLowerCase();\n\t\treturn urnComponents;\n\t},\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport { pctEncChar, SCHEMES } from \"../uri\";\n\nexport interface URNComponents extends URIComponents {\n\tnid?:string;\n\tnss?:string;\n}\n\nexport interface URNOptions extends URIOptions {\n\tnid?:string;\n}\n\nconst NID$ = \"(?:[0-9A-Za-z][0-9A-Za-z\\\\-]{1,31})\";\nconst PCT_ENCODED$ = \"(?:\\\\%[0-9A-Fa-f]{2})\";\nconst TRANS$$ = \"[0-9A-Za-z\\\\(\\\\)\\\\+\\\\,\\\\-\\\\.\\\\:\\\\=\\\\@\\\\;\\\\$\\\\_\\\\!\\\\*\\\\'\\\\/\\\\?\\\\#]\";\nconst NSS$ = \"(?:(?:\" + PCT_ENCODED$ + \"|\" + TRANS$$ + \")+)\";\nconst URN_SCHEME = new RegExp(\"^urn\\\\:(\" + NID$ + \")$\");\nconst URN_PATH = new RegExp(\"^(\" + NID$ + \")\\\\:(\" + NSS$ + \")$\");\nconst URN_PARSE = /^([^\\:]+)\\:(.*)/;\nconst URN_EXCLUDED = /[\\x00-\\x20\\\\\\\"\\&\\<\\>\\[\\]\\^\\`\\{\\|\\}\\~\\x7F-\\xFF]/g;\n\n//RFC 2141\nconst handler:URISchemeHandler<URNComponents,URNOptions> = {\n\tscheme : \"urn\",\n\n\tparse : function (components:URIComponents, options:URNOptions):URNComponents {\n\t\tconst matches = components.path && components.path.match(URN_PARSE);\n\t\tlet urnComponents = components as URNComponents;\n\n\t\tif (matches) {\n\t\t\tconst scheme = options.scheme || urnComponents.scheme || \"urn\";\n\t\t\tconst nid = matches[1].toLowerCase();\n\t\t\tconst nss = matches[2];\n\t\t\tconst urnScheme = `${scheme}:${options.nid || nid}`;\n\t\t\tconst schemeHandler = SCHEMES[urnScheme];\n\n\t\t\turnComponents.nid = nid;\n\t\t\turnComponents.nss = nss;\n\t\t\turnComponents.path = undefined;\n\n\t\t\tif (schemeHandler) {\n\t\t\t\turnComponents = schemeHandler.parse(urnComponents, options) as URNComponents;\n\t\t\t}\n\t\t} else {\n\t\t\turnComponents.error = urnComponents.error || \"URN can not be parsed.\";\n\t\t}\n\n\t\treturn urnComponents;\n\t},\n\n\tserialize : function (urnComponents:URNComponents, options:URNOptions):URIComponents {\n\t\tconst scheme = options.scheme || urnComponents.scheme || \"urn\";\n\t\tconst nid = urnComponents.nid;\n\t\tconst urnScheme = `${scheme}:${options.nid || nid}`;\n\t\tconst schemeHandler = SCHEMES[urnScheme];\n\n\t\tif (schemeHandler) {\n\t\t\turnComponents = schemeHandler.serialize(urnComponents, options) as URNComponents;\n\t\t}\n\n\t\tconst uriComponents = urnComponents as URIComponents;\n\t\tconst nss = urnComponents.nss;\n\t\turiComponents.path = `${nid || options.nid}:${nss}`;\n\n\t\treturn uriComponents;\n\t},\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport { pctEncChar, pctDecChars, unescapeComponent } from \"../uri\";\nimport punycode from \"punycode\";\nimport { merge, subexp, toUpperCase, toArray } from \"../util\";\n\nexport interface MailtoHeaders {\n\t[hfname:string]:string\n}\n\nexport interface MailtoComponents extends URIComponents {\n\tto:Array<string>,\n\theaders?:MailtoHeaders,\n\tsubject?:string,\n\tbody?:string\n}\n\nconst O:MailtoHeaders = {};\nconst isIRI = true;\n\n//RFC 3986\nconst UNRESERVED$$ = \"[A-Za-z0-9\\\\-\\\\.\\\\_\\\\~\" + (isIRI ? \"\\\\xA0-\\\\u200D\\\\u2010-\\\\u2029\\\\u202F-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFEF\" : \"\") + \"]\";\nconst HEXDIG$$ = \"[0-9A-Fa-f]\";  //case-insensitive\nconst PCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$));  //expanded\n\n//RFC 5322, except these symbols as per RFC 6068: @ : / ? # [ ] & ; =\n//const ATEXT$$ = \"[A-Za-z0-9\\\\!\\\\#\\\\$\\\\%\\\\&\\\\'\\\\*\\\\+\\\\-\\\\/\\\\=\\\\?\\\\^\\\\_\\\\`\\\\{\\\\|\\\\}\\\\~]\";\n//const WSP$$ = \"[\\\\x20\\\\x09]\";\n//const OBS_QTEXT$$ = \"[\\\\x01-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F]\";  //(%d1-8 / %d11-12 / %d14-31 / %d127)\n//const QTEXT$$ = merge(\"[\\\\x21\\\\x23-\\\\x5B\\\\x5D-\\\\x7E]\", OBS_QTEXT$$);  //%d33 / %d35-91 / %d93-126 / obs-qtext\n//const VCHAR$$ = \"[\\\\x21-\\\\x7E]\";\n//const WSP$$ = \"[\\\\x20\\\\x09]\";\n//const OBS_QP$ = subexp(\"\\\\\\\\\" + merge(\"[\\\\x00\\\\x0D\\\\x0A]\", OBS_QTEXT$$));  //%d0 / CR / LF / obs-qtext\n//const FWS$ = subexp(subexp(WSP$$ + \"*\" + \"\\\\x0D\\\\x0A\") + \"?\" + WSP$$ + \"+\");\n//const QUOTED_PAIR$ = subexp(subexp(\"\\\\\\\\\" + subexp(VCHAR$$ + \"|\" + WSP$$)) + \"|\" + OBS_QP$);\n//const QUOTED_STRING$ = subexp('\\\\\"' + subexp(FWS$ + \"?\" + QCONTENT$) + \"*\" + FWS$ + \"?\" + '\\\\\"');\nconst ATEXT$$ = \"[A-Za-z0-9\\\\!\\\\$\\\\%\\\\'\\\\*\\\\+\\\\-\\\\^\\\\_\\\\`\\\\{\\\\|\\\\}\\\\~]\";\nconst QTEXT$$ = \"[\\\\!\\\\$\\\\%\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\-\\\\.0-9\\\\<\\\\>A-Z\\\\x5E-\\\\x7E]\";\nconst VCHAR$$ = merge(QTEXT$$, \"[\\\\\\\"\\\\\\\\]\");\nconst DOT_ATOM_TEXT$ = subexp(ATEXT$$ + \"+\" + subexp(\"\\\\.\" + ATEXT$$ + \"+\") + \"*\");\nconst QUOTED_PAIR$ = subexp(\"\\\\\\\\\" + VCHAR$$);\nconst QCONTENT$ = subexp(QTEXT$$ + \"|\" + QUOTED_PAIR$);\nconst QUOTED_STRING$ = subexp('\\\\\"' + QCONTENT$ + \"*\" + '\\\\\"');\n\n//RFC 6068\nconst DTEXT_NO_OBS$$ = \"[\\\\x21-\\\\x5A\\\\x5E-\\\\x7E]\";  //%d33-90 / %d94-126\nconst SOME_DELIMS$$ = \"[\\\\!\\\\$\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\;\\\\:\\\\@]\";\nconst QCHAR$ = subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$ + \"|\" + SOME_DELIMS$$);\nconst DOMAIN$ = subexp(DOT_ATOM_TEXT$ + \"|\" + \"\\\\[\" + DTEXT_NO_OBS$$ + \"*\" + \"\\\\]\");\nconst LOCAL_PART$ = subexp(DOT_ATOM_TEXT$ + \"|\" + QUOTED_STRING$);\nconst ADDR_SPEC$ = subexp(LOCAL_PART$ + \"\\\\@\" + DOMAIN$);\nconst TO$ = subexp(ADDR_SPEC$ + subexp(\"\\\\,\" + ADDR_SPEC$) + \"*\");\nconst HFNAME$ = subexp(QCHAR$ + \"*\");\nconst HFVALUE$ = HFNAME$;\nconst HFIELD$ = subexp(HFNAME$ + \"\\\\=\" + HFVALUE$);\nconst HFIELDS2$ = subexp(HFIELD$ + subexp(\"\\\\&\" + HFIELD$) + \"*\");\nconst HFIELDS$ = subexp(\"\\\\?\" + HFIELDS2$);\nconst MAILTO_URI = new RegExp(\"^mailto\\\\:\" + TO$ + \"?\" + HFIELDS$ + \"?$\");\n\nconst UNRESERVED = new RegExp(UNRESERVED$$, \"g\");\nconst PCT_ENCODED = new RegExp(PCT_ENCODED$, \"g\");\nconst NOT_LOCAL_PART = new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\.]\", '[\\\\\"]', VCHAR$$), \"g\");\nconst NOT_DOMAIN = new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\.]\", \"[\\\\[]\", DTEXT_NO_OBS$$, \"[\\\\]]\"), \"g\");\nconst NOT_HFNAME = new RegExp(merge(\"[^]\", UNRESERVED$$, SOME_DELIMS$$), \"g\");\nconst NOT_HFVALUE = NOT_HFNAME;\nconst TO = new RegExp(\"^\" + TO$ + \"$\");\nconst HFIELDS = new RegExp(\"^\" + HFIELDS2$ + \"$\");\n\nfunction decodeUnreserved(str:string):string {\n\tconst decStr = pctDecChars(str);\n\treturn (!decStr.match(UNRESERVED) ? str : decStr);\n}\n\nconst handler:URISchemeHandler<MailtoComponents> =  {\n\tscheme : \"mailto\",\n\n\tparse : function (components:URIComponents, options:URIOptions):MailtoComponents {\n\t\tconst mailtoComponents = components as MailtoComponents;\n\t\tconst to = mailtoComponents.to = (mailtoComponents.path ? mailtoComponents.path.split(\",\") : []);\n\t\tmailtoComponents.path = undefined;\n\n\t\tif (mailtoComponents.query) {\n\t\t\tlet unknownHeaders = false\n\t\t\tconst headers:MailtoHeaders = {};\n\t\t\tconst hfields = mailtoComponents.query.split(\"&\");\n\n\t\t\tfor (let x = 0, xl = hfields.length; x < xl; ++x) {\n\t\t\t\tconst hfield = hfields[x].split(\"=\");\n\n\t\t\t\tswitch (hfield[0]) {\n\t\t\t\t\tcase \"to\":\n\t\t\t\t\t\tconst toAddrs = hfield[1].split(\",\");\n\t\t\t\t\t\tfor (let x = 0, xl = toAddrs.length; x < xl; ++x) {\n\t\t\t\t\t\t\tto.push(toAddrs[x]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"subject\":\n\t\t\t\t\t\tmailtoComponents.subject = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"body\":\n\t\t\t\t\t\tmailtoComponents.body = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tunknownHeaders = true;\n\t\t\t\t\t\theaders[unescapeComponent(hfield[0], options)] = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (unknownHeaders) mailtoComponents.headers = headers;\n\t\t}\n\n\t\tmailtoComponents.query = undefined;\n\n\t\tfor (let x = 0, xl = to.length; x < xl; ++x) {\n\t\t\tconst addr = to[x].split(\"@\");\n\n\t\t\taddr[0] = unescapeComponent(addr[0]);\n\n\t\t\tif (!options.unicodeSupport) {\n\t\t\t\t//convert Unicode IDN -> ASCII IDN\n\t\t\t\ttry {\n\t\t\t\t\taddr[1] = punycode.toASCII(unescapeComponent(addr[1], options).toLowerCase());\n\t\t\t\t} catch (e) {\n\t\t\t\t\tmailtoComponents.error = mailtoComponents.error || \"Email address's domain name can not be converted to ASCII via punycode: \" + e;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\taddr[1] = unescapeComponent(addr[1], options).toLowerCase();\n\t\t\t}\n\n\t\t\tto[x] = addr.join(\"@\");\n\t\t}\n\n\t\treturn mailtoComponents;\n\t},\n\n\tserialize : function (mailtoComponents:MailtoComponents, options:URIOptions):URIComponents {\n\t\tconst components = mailtoComponents as URIComponents;\n\t\tconst to = toArray(mailtoComponents.to);\n\t\tif (to) {\n\t\t\tfor (let x = 0, xl = to.length; x < xl; ++x) {\n\t\t\t\tconst toAddr = String(to[x]);\n\t\t\t\tconst atIdx = toAddr.lastIndexOf(\"@\");\n\t\t\t\tconst localPart = (toAddr.slice(0, atIdx)).replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_LOCAL_PART, pctEncChar);\n\t\t\t\tlet domain = toAddr.slice(atIdx + 1);\n\n\t\t\t\t//convert IDN via punycode\n\t\t\t\ttry {\n\t\t\t\t\tdomain = (!options.iri ? punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : punycode.toUnicode(domain));\n\t\t\t\t} catch (e) {\n\t\t\t\t\tcomponents.error = components.error || \"Email address's domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via punycode: \" + e;\n\t\t\t\t}\n\n\t\t\t\tto[x] = localPart + \"@\" + domain;\n\t\t\t}\n\n\t\t\tcomponents.path = to.join(\",\");\n\t\t}\n\n\t\tconst headers = mailtoComponents.headers = mailtoComponents.headers || {};\n\n\t\tif (mailtoComponents.subject) headers[\"subject\"] = mailtoComponents.subject;\n\t\tif (mailtoComponents.body) headers[\"body\"] = mailtoComponents.body;\n\n\t\tconst fields = [];\n\t\tfor (const name in headers) {\n\t\t\tif (headers[name] !== O[name]) {\n\t\t\t\tfields.push(\n\t\t\t\t\tname.replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFNAME, pctEncChar) +\n\t\t\t\t\t\"=\" +\n\t\t\t\t\theaders[name].replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFVALUE, pctEncChar)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif (fields.length) {\n\t\t\tcomponents.query = fields.join(\"&\");\n\t\t}\n\n\t\treturn components;\n\t}\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport ws from \"./ws\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"wss\",\n\tdomainHost : ws.domainHost,\n\tparse : ws.parse,\n\tserialize : ws.serialize\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\n\nexport interface WSComponents extends URIComponents {\n\tresourceName?: string;\n\tsecure?: boolean;\n}\n\nfunction isSecure(wsComponents:WSComponents):boolean {\n\treturn typeof wsComponents.secure === 'boolean' ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === \"wss\";\n}\n\n//RFC 6455\nconst handler:URISchemeHandler = {\n\tscheme : \"ws\",\n\n\tdomainHost : true,\n\n\tparse : function (components:URIComponents, options:URIOptions):WSComponents {\n\t\tconst wsComponents = components as WSComponents;\n\n\t\t//indicate if the secure flag is set\n\t\twsComponents.secure = isSecure(wsComponents);\n\n\t\t//construct resouce name\n\t\twsComponents.resourceName = (wsComponents.path || '/') + (wsComponents.query ? '?' + wsComponents.query : '');\n\t\twsComponents.path = undefined;\n\t\twsComponents.query = undefined;\n\n\t\treturn wsComponents;\n\t},\n\n\tserialize : function (wsComponents:WSComponents, options:URIOptions):URIComponents {\n\t\t//normalize the default port\n\t\tif (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === \"\") {\n\t\t\twsComponents.port = undefined;\n\t\t}\n\n\t\t//ensure scheme matches secure flag\n\t\tif (typeof wsComponents.secure === 'boolean') {\n\t\t\twsComponents.scheme = (wsComponents.secure ? 'wss' : 'ws');\n\t\t\twsComponents.secure = undefined;\n\t\t}\n\n\t\t//reconstruct path from resource name\n\t\tif (wsComponents.resourceName) {\n\t\t\tconst [path, query] = wsComponents.resourceName.split('?');\n\t\t\twsComponents.path = (path && path !== '/' ? path : undefined);\n\t\t\twsComponents.query = query;\n\t\t\twsComponents.resourceName = undefined;\n\t\t}\n\n\t\t//forbid fragment component\n\t\twsComponents.fragment = undefined;\n\n\t\treturn wsComponents;\n\t}\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport http from \"./http\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"https\",\n\tdomainHost : http.domainHost,\n\tparse : http.parse,\n\tserialize : http.serialize\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"http\",\n\n\tdomainHost : true,\n\n\tparse : function (components:URIComponents, options:URIOptions):URIComponents {\n\t\t//report missing host\n\t\tif (!components.host) {\n\t\t\tcomponents.error = components.error || \"HTTP URIs must have a host.\";\n\t\t}\n\n\t\treturn components;\n\t},\n\n\tserialize : function (components:URIComponents, options:URIOptions):URIComponents {\n\t\tconst secure = String(components.scheme).toLowerCase() === \"https\";\n\n\t\t//normalize the default port\n\t\tif (components.port === (secure ? 443 : 80) || components.port === \"\") {\n\t\t\tcomponents.port = undefined;\n\t\t}\n\t\t\n\t\t//normalize the empty path\n\t\tif (!components.path) {\n\t\t\tcomponents.path = \"/\";\n\t\t}\n\n\t\t//NOTE: We do not parse query strings for HTTP URIs\n\t\t//as WWW Form Url Encoded query strings are part of the HTML4+ spec,\n\t\t//and not the HTTP spec.\n\n\t\treturn components;\n\t}\n};\n\nexport default handler;", "/**\n * URI.js\n *\n * @fileoverview An RFC 3986 compliant, scheme extendable URI parsing/validating/resolving library for JavaScript.\n * @author <a href=\"mailto:gary.court@gmail.com\">Gary Court</a>\n * @see http://github.com/garycourt/uri-js\n */\n\n/**\n * Copyright 2011 Gary Court. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification, are\n * permitted provided that the following conditions are met:\n *\n *    1. Redistributions of source code must retain the above copyright notice, this list of\n *       conditions and the following disclaimer.\n *\n *    2. Redistributions in binary form must reproduce the above copyright notice, this list\n *       of conditions and the following disclaimer in the documentation and/or other materials\n *       provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n * The views and conclusions contained in the software and documentation are those of the\n * authors and should not be interpreted as representing official policies, either expressed\n * or implied, of Gary Court.\n */\n\nimport URI_PROTOCOL from \"./regexps-uri\";\nimport IRI_PROTOCOL from \"./regexps-iri\";\nimport punycode from \"punycode\";\nimport { toUpperCase, typeOf, assign } from \"./util\";\n\nexport interface URIComponents {\n\tscheme?:string;\n\tuserinfo?:string;\n\thost?:string;\n\tport?:number|string;\n\tpath?:string;\n\tquery?:string;\n\tfragment?:string;\n\treference?:string;\n\terror?:string;\n}\n\nexport interface URIOptions {\n\tscheme?:string;\n\treference?:string;\n\ttolerant?:boolean;\n\tabsolutePath?:boolean;\n\tiri?:boolean;\n\tunicodeSupport?:boolean;\n\tdomainHost?:boolean;\n}\n\nexport interface URISchemeHandler<Components extends URIComponents = URIComponents, Options extends URIOptions = URIOptions, ParentComponents extends URIComponents = URIComponents> {\n\tscheme:string;\n\tparse(components:ParentComponents, options:Options):Components;\n\tserialize(components:Components, options:Options):ParentComponents;\n\tunicodeSupport?:boolean;\n\tdomainHost?:boolean;\n\tabsolutePath?:boolean;\n}\n\nexport interface URIRegExps {\n\tNOT_SCHEME : RegExp,\n\tNOT_USERINFO : RegExp,\n\tNOT_HOST : RegExp,\n\tNOT_PATH : RegExp,\n\tNOT_PATH_NOSCHEME : RegExp,\n\tNOT_QUERY : RegExp,\n\tNOT_FRAGMENT : RegExp,\n\tESCAPE : RegExp,\n\tUNRESERVED : RegExp,\n\tOTHER_CHARS : RegExp,\n\tPCT_ENCODED : RegExp,\n\tIPV4ADDRESS : RegExp,\n\tIPV6ADDRESS : RegExp,\n}\n\nexport const SCHEMES:{[scheme:string]:URISchemeHandler} = {};\n\nexport function pctEncChar(chr:string):string {\n\tconst c = chr.charCodeAt(0);\n\tlet e:string;\n\n\tif (c < 16) e = \"%0\" + c.toString(16).toUpperCase();\n\telse if (c < 128) e = \"%\" + c.toString(16).toUpperCase();\n\telse if (c < 2048) e = \"%\" + ((c >> 6) | 192).toString(16).toUpperCase() + \"%\" + ((c & 63) | 128).toString(16).toUpperCase();\n\telse e = \"%\" + ((c >> 12) | 224).toString(16).toUpperCase() + \"%\" + (((c >> 6) & 63) | 128).toString(16).toUpperCase() + \"%\" + ((c & 63) | 128).toString(16).toUpperCase();\n\n\treturn e;\n}\n\nexport function pctDecChars(str:string):string {\n\tlet newStr = \"\";\n\tlet i = 0;\n\tconst il = str.length;\n\n\twhile (i < il) {\n\t\tconst c = parseInt(str.substr(i + 1, 2), 16);\n\n\t\tif (c < 128) {\n\t\t\tnewStr += String.fromCharCode(c);\n\t\t\ti += 3;\n\t\t}\n\t\telse if (c >= 194 && c < 224) {\n\t\t\tif ((il - i) >= 6) {\n\t\t\t\tconst c2 = parseInt(str.substr(i + 4, 2), 16);\n\t\t\t\tnewStr += String.fromCharCode(((c & 31) << 6) | (c2 & 63));\n\t\t\t} else {\n\t\t\t\tnewStr += str.substr(i, 6);\n\t\t\t}\n\t\t\ti += 6;\n\t\t}\n\t\telse if (c >= 224) {\n\t\t\tif ((il - i) >= 9) {\n\t\t\t\tconst c2 = parseInt(str.substr(i + 4, 2), 16);\n\t\t\t\tconst c3 = parseInt(str.substr(i + 7, 2), 16);\n\t\t\t\tnewStr += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));\n\t\t\t} else {\n\t\t\t\tnewStr += str.substr(i, 9);\n\t\t\t}\n\t\t\ti += 9;\n\t\t}\n\t\telse {\n\t\t\tnewStr += str.substr(i, 3);\n\t\t\ti += 3;\n\t\t}\n\t}\n\n\treturn newStr;\n}\n\nfunction _normalizeComponentEncoding(components:URIComponents, protocol:URIRegExps) {\n\tfunction decodeUnreserved(str:string):string {\n\t\tconst decStr = pctDecChars(str);\n\t\treturn (!decStr.match(protocol.UNRESERVED) ? str : decStr);\n\t}\n\n\tif (components.scheme) components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME, \"\");\n\tif (components.userinfo !== undefined) components.userinfo = String(components.userinfo).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_USERINFO, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.host !== undefined) components.host = String(components.host).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.path !== undefined) components.path = String(components.path).replace(protocol.PCT_ENCODED, decodeUnreserved).replace((components.scheme ? protocol.NOT_PATH : protocol.NOT_PATH_NOSCHEME), pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.query !== undefined) components.query = String(components.query).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_QUERY, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.fragment !== undefined) components.fragment = String(components.fragment).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_FRAGMENT, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\n\treturn components;\n};\n\nfunction _stripLeadingZeros(str:string):string {\n\treturn str.replace(/^0*(.*)/, \"$1\") || \"0\";\n}\n\nfunction _normalizeIPv4(host:string, protocol:URIRegExps):string {\n\tconst matches = host.match(protocol.IPV4ADDRESS) || [];\n\tconst [, address] = matches;\n\t\n\tif (address) {\n\t\treturn address.split(\".\").map(_stripLeadingZeros).join(\".\");\n\t} else {\n\t\treturn host;\n\t}\n}\n\nfunction _normalizeIPv6(host:string, protocol:URIRegExps):string {\n\tconst matches = host.match(protocol.IPV6ADDRESS) || [];\n\tconst [, address, zone] = matches;\n\n\tif (address) {\n\t\tconst [last, first] = address.toLowerCase().split('::').reverse();\n\t\tconst firstFields = first ? first.split(\":\").map(_stripLeadingZeros) : [];\n\t\tconst lastFields = last.split(\":\").map(_stripLeadingZeros);\n\t\tconst isLastFieldIPv4Address = protocol.IPV4ADDRESS.test(lastFields[lastFields.length - 1]);\n\t\tconst fieldCount = isLastFieldIPv4Address ? 7 : 8;\n\t\tconst lastFieldsStart = lastFields.length - fieldCount;\n\t\tconst fields = Array<string>(fieldCount);\n\n\t\tfor (let x = 0; x < fieldCount; ++x) {\n\t\t\tfields[x] = firstFields[x] || lastFields[lastFieldsStart + x] || '';\n\t\t}\n\n\t\tif (isLastFieldIPv4Address) {\n\t\t\tfields[fieldCount - 1] = _normalizeIPv4(fields[fieldCount - 1], protocol);\n\t\t}\n\n\t\tconst allZeroFields = fields.reduce<Array<{index:number,length:number}>>((acc, field, index) => {\n\t\t\tif (!field || field === \"0\") {\n\t\t\t\tconst lastLongest = acc[acc.length - 1];\n\t\t\t\tif (lastLongest && lastLongest.index + lastLongest.length === index) {\n\t\t\t\t\tlastLongest.length++;\n\t\t\t\t} else {\n\t\t\t\t\tacc.push({ index, length : 1 });\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn acc;\n\t\t}, []);\n\n\t\tconst longestZeroFields = allZeroFields.sort((a, b) => b.length - a.length)[0];\n\n\t\tlet newHost:string;\n\t\tif (longestZeroFields && longestZeroFields.length > 1) {\n\t\t\tconst newFirst = fields.slice(0, longestZeroFields.index) ;\n\t\t\tconst newLast = fields.slice(longestZeroFields.index + longestZeroFields.length);\n\t\t\tnewHost = newFirst.join(\":\") + \"::\" + newLast.join(\":\");\n\t\t} else {\n\t\t\tnewHost = fields.join(\":\");\n\t\t}\n\n\t\tif (zone) {\n\t\t\tnewHost += \"%\" + zone;\n\t\t}\n\n\t\treturn newHost;\n\t} else {\n\t\treturn host;\n\t}\n}\n\nconst URI_PARSE = /^(?:([^:\\/?#]+):)?(?:\\/\\/((?:([^\\/?#@]*)@)?(\\[[^\\/?#\\]]+\\]|[^\\/?#:]*)(?:\\:(\\d*))?))?([^?#]*)(?:\\?([^#]*))?(?:#((?:.|\\n|\\r)*))?/i;\nconst NO_MATCH_IS_UNDEFINED = (<RegExpMatchArray>(\"\").match(/(){0}/))[1] === undefined;\n\nexport function parse(uriString:string, options:URIOptions = {}):URIComponents {\n\tconst components:URIComponents = {};\n\tconst protocol = (options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL);\n\n\tif (options.reference === \"suffix\") uriString = (options.scheme ? options.scheme + \":\" : \"\") + \"//\" + uriString;\n\n\tconst matches = uriString.match(URI_PARSE);\n\n\tif (matches) {\n\t\tif (NO_MATCH_IS_UNDEFINED) {\n\t\t\t//store each component\n\t\t\tcomponents.scheme = matches[1];\n\t\t\tcomponents.userinfo = matches[3];\n\t\t\tcomponents.host = matches[4];\n\t\t\tcomponents.port = parseInt(matches[5], 10);\n\t\t\tcomponents.path = matches[6] || \"\";\n\t\t\tcomponents.query = matches[7];\n\t\t\tcomponents.fragment = matches[8];\n\n\t\t\t//fix port number\n\t\t\tif (isNaN(components.port)) {\n\t\t\t\tcomponents.port = matches[5];\n\t\t\t}\n\t\t} else {  //IE FIX for improper RegExp matching\n\t\t\t//store each component\n\t\t\tcomponents.scheme = matches[1] || undefined;\n\t\t\tcomponents.userinfo = (uriString.indexOf(\"@\") !== -1 ? matches[3] : undefined);\n\t\t\tcomponents.host = (uriString.indexOf(\"//\") !== -1 ? matches[4] : undefined);\n\t\t\tcomponents.port = parseInt(matches[5], 10);\n\t\t\tcomponents.path = matches[6] || \"\";\n\t\t\tcomponents.query = (uriString.indexOf(\"?\") !== -1 ? matches[7] : undefined);\n\t\t\tcomponents.fragment = (uriString.indexOf(\"#\") !== -1 ? matches[8] : undefined);\n\n\t\t\t//fix port number\n\t\t\tif (isNaN(components.port)) {\n\t\t\t\tcomponents.port = (uriString.match(/\\/\\/(?:.|\\n)*\\:(?:\\/|\\?|\\#|$)/) ? matches[4] : undefined);\n\t\t\t}\n\t\t}\n\n\t\tif (components.host) {\n\t\t\t//normalize IP hosts\n\t\t\tcomponents.host = _normalizeIPv6(_normalizeIPv4(components.host, protocol), protocol);\n\t\t}\n\n\t\t//determine reference type\n\t\tif (components.scheme === undefined && components.userinfo === undefined && components.host === undefined && components.port === undefined && !components.path && components.query === undefined) {\n\t\t\tcomponents.reference = \"same-document\";\n\t\t} else if (components.scheme === undefined) {\n\t\t\tcomponents.reference = \"relative\";\n\t\t} else if (components.fragment === undefined) {\n\t\t\tcomponents.reference = \"absolute\";\n\t\t} else {\n\t\t\tcomponents.reference = \"uri\";\n\t\t}\n\n\t\t//check for reference errors\n\t\tif (options.reference && options.reference !== \"suffix\" && options.reference !== components.reference) {\n\t\t\tcomponents.error = components.error || \"URI is not a \" + options.reference + \" reference.\";\n\t\t}\n\n\t\t//find scheme handler\n\t\tconst schemeHandler = SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\n\n\t\t//check if scheme can't handle IRIs\n\t\tif (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {\n\t\t\t//if host component is a domain name\n\t\t\tif (components.host && (options.domainHost || (schemeHandler && schemeHandler.domainHost))) {\n\t\t\t\t//convert Unicode IDN -> ASCII IDN\n\t\t\t\ttry {\n\t\t\t\t\tcomponents.host = punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase());\n\t\t\t\t} catch (e) {\n\t\t\t\t\tcomponents.error = components.error || \"Host's domain name can not be converted to ASCII via punycode: \" + e;\n\t\t\t\t}\n\t\t\t}\n\t\t\t//convert IRI -> URI\n\t\t\t_normalizeComponentEncoding(components, URI_PROTOCOL);\n\t\t} else {\n\t\t\t//normalize encodings\n\t\t\t_normalizeComponentEncoding(components, protocol);\n\t\t}\n\n\t\t//perform scheme specific parsing\n\t\tif (schemeHandler && schemeHandler.parse) {\n\t\t\tschemeHandler.parse(components, options);\n\t\t}\n\t} else {\n\t\tcomponents.error = components.error || \"URI can not be parsed.\";\n\t}\n\n\treturn components;\n};\n\nfunction _recomposeAuthority(components:URIComponents, options:URIOptions):string|undefined {\n\tconst protocol = (options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL);\n\tconst uriTokens:Array<string> = [];\n\n\tif (components.userinfo !== undefined) {\n\t\turiTokens.push(components.userinfo);\n\t\turiTokens.push(\"@\");\n\t}\n\n\tif (components.host !== undefined) {\n\t\t//normalize IP hosts, add brackets and escape zone separator for IPv6\n\t\turiTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host), protocol), protocol).replace(protocol.IPV6ADDRESS, (_, $1, $2) => \"[\" + $1 + ($2 ? \"%25\" + $2 : \"\") + \"]\"));\n\t}\n\n\tif (typeof components.port === \"number\" || typeof components.port === \"string\") {\n\t\turiTokens.push(\":\");\n\t\turiTokens.push(String(components.port));\n\t}\n\n\treturn uriTokens.length ? uriTokens.join(\"\") : undefined;\n};\n\nconst RDS1 = /^\\.\\.?\\//;\nconst RDS2 = /^\\/\\.(\\/|$)/;\nconst RDS3 = /^\\/\\.\\.(\\/|$)/;\nconst RDS4 = /^\\.\\.?$/;\nconst RDS5 = /^\\/?(?:.|\\n)*?(?=\\/|$)/;\n\nexport function removeDotSegments(input:string):string {\n\tconst output:Array<string> = [];\n\n\twhile (input.length) {\n\t\tif (input.match(RDS1)) {\n\t\t\tinput = input.replace(RDS1, \"\");\n\t\t} else if (input.match(RDS2)) {\n\t\t\tinput = input.replace(RDS2, \"/\");\n\t\t} else if (input.match(RDS3)) {\n\t\t\tinput = input.replace(RDS3, \"/\");\n\t\t\toutput.pop();\n\t\t} else if (input === \".\" || input === \"..\") {\n\t\t\tinput = \"\";\n\t\t} else {\n\t\t\tconst im = input.match(RDS5);\n\t\t\tif (im) {\n\t\t\t\tconst s = im[0];\n\t\t\t\tinput = input.slice(s.length);\n\t\t\t\toutput.push(s);\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Unexpected dot segment condition\");\n\t\t\t}\n\t\t}\n\t}\n\n\treturn output.join(\"\");\n};\n\nexport function serialize(components:URIComponents, options:URIOptions = {}):string {\n\tconst protocol = (options.iri ? IRI_PROTOCOL : URI_PROTOCOL);\n\tconst uriTokens:Array<string> = [];\n\n\t//find scheme handler\n\tconst schemeHandler = SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\n\n\t//perform scheme specific serialization\n\tif (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(components, options);\n\n\tif (components.host) {\n\t\t//if host component is an IPv6 address\n\t\tif (protocol.IPV6ADDRESS.test(components.host)) {\n\t\t\t//TODO: normalize IPv6 address as per RFC 5952\n\t\t}\n\n\t\t//if host component is a domain name\n\t\telse if (options.domainHost || (schemeHandler && schemeHandler.domainHost)) {\n\t\t\t//convert IDN via punycode\n\t\t\ttry {\n\t\t\t\tcomponents.host = (!options.iri ? punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase()) : punycode.toUnicode(components.host));\n\t\t\t} catch (e) {\n\t\t\t\tcomponents.error = components.error || \"Host's domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via punycode: \" + e;\n\t\t\t}\n\t\t}\n\t}\n\n\t//normalize encoding\n\t_normalizeComponentEncoding(components, protocol);\n\n\tif (options.reference !== \"suffix\" && components.scheme) {\n\t\turiTokens.push(components.scheme);\n\t\turiTokens.push(\":\");\n\t}\n\n\tconst authority = _recomposeAuthority(components, options);\n\tif (authority !== undefined) {\n\t\tif (options.reference !== \"suffix\") {\n\t\t\turiTokens.push(\"//\");\n\t\t}\n\n\t\turiTokens.push(authority);\n\n\t\tif (components.path && components.path.charAt(0) !== \"/\") {\n\t\t\turiTokens.push(\"/\");\n\t\t}\n\t}\n\n\tif (components.path !== undefined) {\n\t\tlet s = components.path;\n\n\t\tif (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {\n\t\t\ts = removeDotSegments(s);\n\t\t}\n\n\t\tif (authority === undefined) {\n\t\t\ts = s.replace(/^\\/\\//, \"/%2F\");  //don't allow the path to start with \"//\"\n\t\t}\n\n\t\turiTokens.push(s);\n\t}\n\n\tif (components.query !== undefined) {\n\t\turiTokens.push(\"?\");\n\t\turiTokens.push(components.query);\n\t}\n\n\tif (components.fragment !== undefined) {\n\t\turiTokens.push(\"#\");\n\t\turiTokens.push(components.fragment);\n\t}\n\n\treturn uriTokens.join(\"\");  //merge tokens into a string\n};\n\nexport function resolveComponents(base:URIComponents, relative:URIComponents, options:URIOptions = {}, skipNormalization?:boolean):URIComponents {\n\tconst target:URIComponents = {};\n\n\tif (!skipNormalization) {\n\t\tbase = parse(serialize(base, options), options);  //normalize base components\n\t\trelative = parse(serialize(relative, options), options);  //normalize relative components\n\t}\n\toptions = options || {};\n\n\tif (!options.tolerant && relative.scheme) {\n\t\ttarget.scheme = relative.scheme;\n\t\t//target.authority = relative.authority;\n\t\ttarget.userinfo = relative.userinfo;\n\t\ttarget.host = relative.host;\n\t\ttarget.port = relative.port;\n\t\ttarget.path = removeDotSegments(relative.path || \"\");\n\t\ttarget.query = relative.query;\n\t} else {\n\t\tif (relative.userinfo !== undefined || relative.host !== undefined || relative.port !== undefined) {\n\t\t\t//target.authority = relative.authority;\n\t\t\ttarget.userinfo = relative.userinfo;\n\t\t\ttarget.host = relative.host;\n\t\t\ttarget.port = relative.port;\n\t\t\ttarget.path = removeDotSegments(relative.path || \"\");\n\t\t\ttarget.query = relative.query;\n\t\t} else {\n\t\t\tif (!relative.path) {\n\t\t\t\ttarget.path = base.path;\n\t\t\t\tif (relative.query !== undefined) {\n\t\t\t\t\ttarget.query = relative.query;\n\t\t\t\t} else {\n\t\t\t\t\ttarget.query = base.query;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (relative.path.charAt(0) === \"/\") {\n\t\t\t\t\ttarget.path = removeDotSegments(relative.path);\n\t\t\t\t} else {\n\t\t\t\t\tif ((base.userinfo !== undefined || base.host !== undefined || base.port !== undefined) && !base.path) {\n\t\t\t\t\t\ttarget.path = \"/\" + relative.path;\n\t\t\t\t\t} else if (!base.path) {\n\t\t\t\t\t\ttarget.path = relative.path;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttarget.path = base.path.slice(0, base.path.lastIndexOf(\"/\") + 1) + relative.path;\n\t\t\t\t\t}\n\t\t\t\t\ttarget.path = removeDotSegments(target.path);\n\t\t\t\t}\n\t\t\t\ttarget.query = relative.query;\n\t\t\t}\n\t\t\t//target.authority = base.authority;\n\t\t\ttarget.userinfo = base.userinfo;\n\t\t\ttarget.host = base.host;\n\t\t\ttarget.port = base.port;\n\t\t}\n\t\ttarget.scheme = base.scheme;\n\t}\n\n\ttarget.fragment = relative.fragment;\n\n\treturn target;\n};\n\nexport function resolve(baseURI:string, relativeURI:string, options?:URIOptions):string {\n\tconst schemelessOptions = assign({ scheme : 'null' }, options);\n\treturn serialize(resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions);\n};\n\nexport function normalize(uri:string, options?:URIOptions):string;\nexport function normalize(uri:URIComponents, options?:URIOptions):URIComponents;\nexport function normalize(uri:any, options?:URIOptions):any {\n\tif (typeof uri === \"string\") {\n\t\turi = serialize(parse(uri, options), options);\n\t} else if (typeOf(uri) === \"object\") {\n\t\turi = parse(serialize(<URIComponents>uri, options), options);\n\t}\n\n\treturn uri;\n};\n\nexport function equal(uriA:string, uriB:string, options?: URIOptions):boolean;\nexport function equal(uriA:URIComponents, uriB:URIComponents, options?:URIOptions):boolean;\nexport function equal(uriA:any, uriB:any, options?:URIOptions):boolean {\n\tif (typeof uriA === \"string\") {\n\t\turiA = serialize(parse(uriA, options), options);\n\t} else if (typeOf(uriA) === \"object\") {\n\t\turiA = serialize(<URIComponents>uriA, options);\n\t}\n\n\tif (typeof uriB === \"string\") {\n\t\turiB = serialize(parse(uriB, options), options);\n\t} else if (typeOf(uriB) === \"object\") {\n\t\turiB = serialize(<URIComponents>uriB, options);\n\t}\n\n\treturn uriA === uriB;\n};\n\nexport function escapeComponent(str:string, options?:URIOptions):string {\n\treturn str && str.toString().replace((!options || !options.iri ? URI_PROTOCOL.ESCAPE : IRI_PROTOCOL.ESCAPE), pctEncChar);\n};\n\nexport function unescapeComponent(str:string, options?:URIOptions):string {\n\treturn str && str.toString().replace((!options || !options.iri ? URI_PROTOCOL.PCT_ENCODED : IRI_PROTOCOL.PCT_ENCODED), pctDecChars);\n};\n", "'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7E]/; // non-ASCII chars\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, fn) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = fn(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {Array} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(string, fn) {\n\tconst parts = string.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tstring = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tstring = string.replace(regexSeparators, '\\x2E');\n\tconst labels = string.split('.');\n\tconst encoded = map(labels, fn).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = array => String.fromCodePoint(...array);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint - 0x30 < 0x0A) {\n\t\treturn codePoint - 0x16;\n\t}\n\tif (codePoint - 0x41 < 0x1A) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint - 0x61 < 0x1A) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t//  0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tlet oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tlet inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tlet basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue == n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.1.0',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport default punycode;\n", "import { URIRegExps } from \"./uri\";\nimport { buildExps } from \"./regexps-uri\";\n\nexport default buildExps(true);\n", "import { URIRegExps } from \"./uri\";\nimport { merge, subexp } from \"./util\";\n\nexport function buildExps(isIRI:boolean):URIRegExps {\n\tconst\n\t\tALPHA$$ = \"[A-Za-z]\",\n\t\tCR$ = \"[\\\\x0D]\",\n\t\tDIGIT$$ = \"[0-9]\",\n\t\tDQUOTE$$ = \"[\\\\x22]\",\n\t\tHEXDIG$$ = merge(DIGIT$$, \"[A-Fa-f]\"),  //case-insensitive\n\t\tLF$$ = \"[\\\\x0A]\",\n\t\tSP$$ = \"[\\\\x20]\",\n\t\tPCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)),  //expanded\n\t\tGEN_DELIMS$$ = \"[\\\\:\\\\/\\\\?\\\\#\\\\[\\\\]\\\\@]\",\n\t\tSUB_DELIMS$$ = \"[\\\\!\\\\$\\\\&\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\;\\\\=]\",\n\t\tRESERVED$$ = merge(GEN_DELIMS$$, SUB_DELIMS$$),\n\t\tUCSCHAR$$ = isIRI ? \"[\\\\xA0-\\\\u200D\\\\u2010-\\\\u2029\\\\u202F-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFEF]\" : \"[]\",  //subset, excludes bidi control characters\n\t\tIPRIVATE$$ = isIRI ? \"[\\\\uE000-\\\\uF8FF]\" : \"[]\",  //subset\n\t\tUNRESERVED$$ = merge(ALPHA$$, DIGIT$$, \"[\\\\-\\\\.\\\\_\\\\~]\", UCSCHAR$$),\n\t\tSCHEME$ = subexp(ALPHA$$ + merge(ALPHA$$, DIGIT$$, \"[\\\\+\\\\-\\\\.]\") + \"*\"),\n\t\tUSERINFO$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:]\")) + \"*\"),\n\t\tDEC_OCTET$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"[1-9]\" + DIGIT$$) + \"|\" + DIGIT$$),\n\t\tDEC_OCTET_RELAXED$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"0?[1-9]\" + DIGIT$$) + \"|0?0?\" + DIGIT$$),  //relaxed parsing rules\n\t\tIPV4ADDRESS$ = subexp(DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$),\n\t\tH16$ = subexp(HEXDIG$$ + \"{1,4}\"),\n\t\tLS32$ = subexp(subexp(H16$ + \"\\\\:\" + H16$) + \"|\" + IPV4ADDRESS$),\n\t\tIPV6ADDRESS1$ = subexp(                                                            subexp(H16$ + \"\\\\:\") + \"{6}\" + LS32$), //                           6( h16 \":\" ) ls32\n\t\tIPV6ADDRESS2$ = subexp(                                                 \"\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{5}\" + LS32$), //                      \"::\" 5( h16 \":\" ) ls32\n\t\tIPV6ADDRESS3$ = subexp(subexp(                                 H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{4}\" + LS32$), //[               h16 ] \"::\" 4( h16 \":\" ) ls32\n\t\tIPV6ADDRESS4$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,1}\" + H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{3}\" + LS32$), //[ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\n\t\tIPV6ADDRESS5$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,2}\" + H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{2}\" + LS32$), //[ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\n\t\tIPV6ADDRESS6$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,3}\" + H16$) + \"?\\\\:\\\\:\" +        H16$ + \"\\\\:\"          + LS32$), //[ *3( h16 \":\" ) h16 ] \"::\"    h16 \":\"   ls32\n\t\tIPV6ADDRESS7$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,4}\" + H16$) + \"?\\\\:\\\\:\"                                + LS32$), //[ *4( h16 \":\" ) h16 ] \"::\"              ls32\n\t\tIPV6ADDRESS8$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,5}\" + H16$) + \"?\\\\:\\\\:\"                                + H16$ ), //[ *5( h16 \":\" ) h16 ] \"::\"              h16\n\t\tIPV6ADDRESS9$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,6}\" + H16$) + \"?\\\\:\\\\:\"                                       ), //[ *6( h16 \":\" ) h16 ] \"::\"\n\t\tIPV6ADDRESS$ = subexp([IPV6ADDRESS1$, IPV6ADDRESS2$, IPV6ADDRESS3$, IPV6ADDRESS4$, IPV6ADDRESS5$, IPV6ADDRESS6$, IPV6ADDRESS7$, IPV6ADDRESS8$, IPV6ADDRESS9$].join(\"|\")),\n\t\tZONEID$ = subexp(subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$) + \"+\"),  //RFC 6874\n\t\tIPV6ADDRZ$ = subexp(IPV6ADDRESS$ + \"\\\\%25\" + ZONEID$),  //RFC 6874\n\t\tIPV6ADDRZ_RELAXED$ = subexp(IPV6ADDRESS$ + subexp(\"\\\\%25|\\\\%(?!\" + HEXDIG$$ + \"{2})\") + ZONEID$),  //RFC 6874, with relaxed parsing rules\n\t\tIPVFUTURE$ = subexp(\"[vV]\" + HEXDIG$$ + \"+\\\\.\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:]\") + \"+\"),\n\t\tIP_LITERAL$ = subexp(\"\\\\[\" + subexp(IPV6ADDRZ_RELAXED$ + \"|\" + IPV6ADDRESS$ + \"|\" + IPVFUTURE$) + \"\\\\]\"),  //RFC 6874\n\t\tREG_NAME$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$)) + \"*\"),\n\t\tHOST$ = subexp(IP_LITERAL$ + \"|\" + IPV4ADDRESS$ + \"(?!\" + REG_NAME$ + \")\" + \"|\" + REG_NAME$),\n\t\tPORT$ = subexp(DIGIT$$ + \"*\"),\n\t\tAUTHORITY$ = subexp(subexp(USERINFO$ + \"@\") + \"?\" + HOST$ + subexp(\"\\\\:\" + PORT$) + \"?\"),\n\t\tPCHAR$ = subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@]\")),\n\t\tSEGMENT$ = subexp(PCHAR$ + \"*\"),\n\t\tSEGMENT_NZ$ = subexp(PCHAR$ + \"+\"),\n\t\tSEGMENT_NZ_NC$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\@]\")) + \"+\"),\n\t\tPATH_ABEMPTY$ = subexp(subexp(\"\\\\/\" + SEGMENT$) + \"*\"),\n\t\tPATH_ABSOLUTE$ = subexp(\"\\\\/\" + subexp(SEGMENT_NZ$ + PATH_ABEMPTY$) + \"?\"),  //simplified\n\t\tPATH_NOSCHEME$ = subexp(SEGMENT_NZ_NC$ + PATH_ABEMPTY$),  //simplified\n\t\tPATH_ROOTLESS$ = subexp(SEGMENT_NZ$ + PATH_ABEMPTY$),  //simplified\n\t\tPATH_EMPTY$ = \"(?!\" + PCHAR$ + \")\",\n\t\tPATH$ = subexp(PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$),\n\t\tQUERY$ = subexp(subexp(PCHAR$ + \"|\" + merge(\"[\\\\/\\\\?]\", IPRIVATE$$)) + \"*\"),\n\t\tFRAGMENT$ = subexp(subexp(PCHAR$ + \"|[\\\\/\\\\?]\") + \"*\"),\n\t\tHIER_PART$ = subexp(subexp(\"\\\\/\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$),\n\t\tURI$ = subexp(SCHEME$ + \"\\\\:\" + HIER_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\#\" + FRAGMENT$) + \"?\"),\n\t\tRELATIVE_PART$ = subexp(subexp(\"\\\\/\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$),\n\t\tRELATIVE$ = subexp(RELATIVE_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\#\" + FRAGMENT$) + \"?\"),\n\t\tURI_REFERENCE$ = subexp(URI$ + \"|\" + RELATIVE$),\n\t\tABSOLUTE_URI$ = subexp(SCHEME$ + \"\\\\:\" + HIER_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\"),\n\n\t\tGENERIC_REF$ = \"^(\" + SCHEME$ + \")\\\\:\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tRELATIVE_REF$ = \"^(){0}\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tABSOLUTE_REF$ = \"^(\" + SCHEME$ + \")\\\\:\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?$\",\n\t\tSAMEDOC_REF$ = \"^\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tAUTHORITY_REF$ = \"^\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?$\"\n\t;\n\n\treturn {\n\t\tNOT_SCHEME : new RegExp(merge(\"[^]\", ALPHA$$, DIGIT$$, \"[\\\\+\\\\-\\\\.]\"), \"g\"),\n\t\tNOT_USERINFO : new RegExp(merge(\"[^\\\\%\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_HOST : new RegExp(merge(\"[^\\\\%\\\\[\\\\]\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_PATH : new RegExp(merge(\"[^\\\\%\\\\/\\\\:\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_PATH_NOSCHEME : new RegExp(merge(\"[^\\\\%\\\\/\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_QUERY : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@\\\\/\\\\?]\", IPRIVATE$$), \"g\"),\n\t\tNOT_FRAGMENT : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@\\\\/\\\\?]\"), \"g\"),\n\t\tESCAPE : new RegExp(merge(\"[^]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tUNRESERVED : new RegExp(UNRESERVED$$, \"g\"),\n\t\tOTHER_CHARS : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, RESERVED$$), \"g\"),\n\t\tPCT_ENCODED : new RegExp(PCT_ENCODED$, \"g\"),\n\t\tIPV4ADDRESS : new RegExp(\"^(\" + IPV4ADDRESS$ + \")$\"),\n\t\tIPV6ADDRESS : new RegExp(\"^\\\\[?(\" + IPV6ADDRESS$ + \")\" + subexp(subexp(\"\\\\%25|\\\\%(?!\" + HEXDIG$$ + \"{2})\") + \"(\" + ZONEID$ + \")\") + \"?\\\\]?$\")  //RFC 6874, with relaxed parsing rules\n\t};\n}\n\nexport default buildExps(false);\n", "export function merge(...sets:Array<string>):string {\n\tif (sets.length > 1) {\n\t\tsets[0] = sets[0].slice(0, -1);\n\t\tconst xl = sets.length - 1;\n\t\tfor (let x = 1; x < xl; ++x) {\n\t\t\tsets[x] = sets[x].slice(1, -1);\n\t\t}\n\t\tsets[xl] = sets[xl].slice(1);\n\t\treturn sets.join('');\n\t} else {\n\t\treturn sets[0];\n\t}\n}\n\nexport function subexp(str:string):string {\n\treturn \"(?:\" + str + \")\";\n}\n\nexport function typeOf(o:any):string {\n\treturn o === undefined ? \"undefined\" : (o === null ? \"null\" : Object.prototype.toString.call(o).split(\" \").pop().split(\"]\").shift().toLowerCase());\n}\n\nexport function toUpperCase(str:string):string {\n\treturn str.toUpperCase();\n}\n\nexport function toArray(obj:any):Array<any> {\n\treturn obj !== undefined && obj !== null ? (obj instanceof Array ? obj : (typeof obj.length !== \"number\" || obj.split || obj.setInterval || obj.call ? [obj] : Array.prototype.slice.call(obj))) : [];\n}\n\n\nexport function assign(target: object, source: any): any {\n\tconst obj = target as any;\n\tif (source) {\n\t\tfor (const key in source) {\n\t\t\tobj[key] = source[key];\n\t\t}\n\t}\n\treturn obj;\n}", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "export * from './client'\nexport { default } from './client'\nexport * from './session'\nexport { default as sessionClient } from './session'\n", "var util;\n(function (util) {\n    util.assertEqual = (val) => val;\n    function assertIs(_arg) { }\n    util.assertIs = assertIs;\n    function assertNever(_x) {\n        throw new Error();\n    }\n    util.assertNever = assertNever;\n    util.arrayToEnum = (items) => {\n        const obj = {};\n        for (const item of items) {\n            obj[item] = item;\n        }\n        return obj;\n    };\n    util.getValidEnumValues = (obj) => {\n        const validKeys = util.objectKeys(obj).filter((k) => typeof obj[obj[k]] !== \"number\");\n        const filtered = {};\n        for (const k of validKeys) {\n            filtered[k] = obj[k];\n        }\n        return util.objectValues(filtered);\n    };\n    util.objectValues = (obj) => {\n        return util.objectKeys(obj).map(function (e) {\n            return obj[e];\n        });\n    };\n    util.objectKeys = typeof Object.keys === \"function\" // eslint-disable-line ban/ban\n        ? (obj) => Object.keys(obj) // eslint-disable-line ban/ban\n        : (object) => {\n            const keys = [];\n            for (const key in object) {\n                if (Object.prototype.hasOwnProperty.call(object, key)) {\n                    keys.push(key);\n                }\n            }\n            return keys;\n        };\n    util.find = (arr, checker) => {\n        for (const item of arr) {\n            if (checker(item))\n                return item;\n        }\n        return undefined;\n    };\n    util.isInteger = typeof Number.isInteger === \"function\"\n        ? (val) => Number.isInteger(val) // eslint-disable-line ban/ban\n        : (val) => typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n    function joinValues(array, separator = \" | \") {\n        return array\n            .map((val) => (typeof val === \"string\" ? `'${val}'` : val))\n            .join(separator);\n    }\n    util.joinValues = joinValues;\n    util.jsonStringifyReplacer = (_, value) => {\n        if (typeof value === \"bigint\") {\n            return value.toString();\n        }\n        return value;\n    };\n})(util || (util = {}));\nconst ZodParsedType = util.arrayToEnum([\n    \"string\",\n    \"nan\",\n    \"number\",\n    \"integer\",\n    \"float\",\n    \"boolean\",\n    \"date\",\n    \"bigint\",\n    \"symbol\",\n    \"function\",\n    \"undefined\",\n    \"null\",\n    \"array\",\n    \"object\",\n    \"unknown\",\n    \"promise\",\n    \"void\",\n    \"never\",\n    \"map\",\n    \"set\",\n]);\nconst getParsedType = (data) => {\n    const t = typeof data;\n    switch (t) {\n        case \"undefined\":\n            return ZodParsedType.undefined;\n        case \"string\":\n            return ZodParsedType.string;\n        case \"number\":\n            return isNaN(data) ? ZodParsedType.nan : ZodParsedType.number;\n        case \"boolean\":\n            return ZodParsedType.boolean;\n        case \"function\":\n            return ZodParsedType.function;\n        case \"bigint\":\n            return ZodParsedType.bigint;\n        case \"object\":\n            if (Array.isArray(data)) {\n                return ZodParsedType.array;\n            }\n            if (data === null) {\n                return ZodParsedType.null;\n            }\n            if (data.then &&\n                typeof data.then === \"function\" &&\n                data.catch &&\n                typeof data.catch === \"function\") {\n                return ZodParsedType.promise;\n            }\n            if (typeof Map !== \"undefined\" && data instanceof Map) {\n                return ZodParsedType.map;\n            }\n            if (typeof Set !== \"undefined\" && data instanceof Set) {\n                return ZodParsedType.set;\n            }\n            if (typeof Date !== \"undefined\" && data instanceof Date) {\n                return ZodParsedType.date;\n            }\n            return ZodParsedType.object;\n        default:\n            return ZodParsedType.unknown;\n    }\n};\n\nconst ZodIssueCode = util.arrayToEnum([\n    \"invalid_type\",\n    \"invalid_literal\",\n    \"custom\",\n    \"invalid_union\",\n    \"invalid_union_discriminator\",\n    \"invalid_enum_value\",\n    \"unrecognized_keys\",\n    \"invalid_arguments\",\n    \"invalid_return_type\",\n    \"invalid_date\",\n    \"invalid_string\",\n    \"too_small\",\n    \"too_big\",\n    \"invalid_intersection_types\",\n    \"not_multiple_of\",\n]);\nconst quotelessJson = (obj) => {\n    const json = JSON.stringify(obj, null, 2);\n    return json.replace(/\"([^\"]+)\":/g, \"$1:\");\n};\nclass ZodError extends Error {\n    constructor(issues) {\n        super();\n        this.issues = [];\n        this.addIssue = (sub) => {\n            this.issues = [...this.issues, sub];\n        };\n        this.addIssues = (subs = []) => {\n            this.issues = [...this.issues, ...subs];\n        };\n        const actualProto = new.target.prototype;\n        if (Object.setPrototypeOf) {\n            // eslint-disable-next-line ban/ban\n            Object.setPrototypeOf(this, actualProto);\n        }\n        else {\n            this.__proto__ = actualProto;\n        }\n        this.name = \"ZodError\";\n        this.issues = issues;\n    }\n    get errors() {\n        return this.issues;\n    }\n    format(_mapper) {\n        const mapper = _mapper ||\n            function (issue) {\n                return issue.message;\n            };\n        const fieldErrors = { _errors: [] };\n        const processError = (error) => {\n            for (const issue of error.issues) {\n                if (issue.code === \"invalid_union\") {\n                    issue.unionErrors.map(processError);\n                }\n                else if (issue.code === \"invalid_return_type\") {\n                    processError(issue.returnTypeError);\n                }\n                else if (issue.code === \"invalid_arguments\") {\n                    processError(issue.argumentsError);\n                }\n                else if (issue.path.length === 0) {\n                    fieldErrors._errors.push(mapper(issue));\n                }\n                else {\n                    let curr = fieldErrors;\n                    let i = 0;\n                    while (i < issue.path.length) {\n                        const el = issue.path[i];\n                        const terminal = i === issue.path.length - 1;\n                        if (!terminal) {\n                            curr[el] = curr[el] || { _errors: [] };\n                            // if (typeof el === \"string\") {\n                            //   curr[el] = curr[el] || { _errors: [] };\n                            // } else if (typeof el === \"number\") {\n                            //   const errorArray: any = [];\n                            //   errorArray._errors = [];\n                            //   curr[el] = curr[el] || errorArray;\n                            // }\n                        }\n                        else {\n                            curr[el] = curr[el] || { _errors: [] };\n                            curr[el]._errors.push(mapper(issue));\n                        }\n                        curr = curr[el];\n                        i++;\n                    }\n                }\n            }\n        };\n        processError(this);\n        return fieldErrors;\n    }\n    toString() {\n        return this.message;\n    }\n    get message() {\n        return JSON.stringify(this.issues, util.jsonStringifyReplacer, 2);\n    }\n    get isEmpty() {\n        return this.issues.length === 0;\n    }\n    flatten(mapper = (issue) => issue.message) {\n        const fieldErrors = {};\n        const formErrors = [];\n        for (const sub of this.issues) {\n            if (sub.path.length > 0) {\n                fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];\n                fieldErrors[sub.path[0]].push(mapper(sub));\n            }\n            else {\n                formErrors.push(mapper(sub));\n            }\n        }\n        return { formErrors, fieldErrors };\n    }\n    get formErrors() {\n        return this.flatten();\n    }\n}\nZodError.create = (issues) => {\n    const error = new ZodError(issues);\n    return error;\n};\n\nconst errorMap = (issue, _ctx) => {\n    let message;\n    switch (issue.code) {\n        case ZodIssueCode.invalid_type:\n            if (issue.received === ZodParsedType.undefined) {\n                message = \"Required\";\n            }\n            else {\n                message = `Expected ${issue.expected}, received ${issue.received}`;\n            }\n            break;\n        case ZodIssueCode.invalid_literal:\n            message = `Invalid literal value, expected ${JSON.stringify(issue.expected, util.jsonStringifyReplacer)}`;\n            break;\n        case ZodIssueCode.unrecognized_keys:\n            message = `Unrecognized key(s) in object: ${util.joinValues(issue.keys, \", \")}`;\n            break;\n        case ZodIssueCode.invalid_union:\n            message = `Invalid input`;\n            break;\n        case ZodIssueCode.invalid_union_discriminator:\n            message = `Invalid discriminator value. Expected ${util.joinValues(issue.options)}`;\n            break;\n        case ZodIssueCode.invalid_enum_value:\n            message = `Invalid enum value. Expected ${util.joinValues(issue.options)}, received '${issue.received}'`;\n            break;\n        case ZodIssueCode.invalid_arguments:\n            message = `Invalid function arguments`;\n            break;\n        case ZodIssueCode.invalid_return_type:\n            message = `Invalid function return type`;\n            break;\n        case ZodIssueCode.invalid_date:\n            message = `Invalid date`;\n            break;\n        case ZodIssueCode.invalid_string:\n            if (typeof issue.validation === \"object\") {\n                if (\"startsWith\" in issue.validation) {\n                    message = `Invalid input: must start with \"${issue.validation.startsWith}\"`;\n                }\n                else if (\"endsWith\" in issue.validation) {\n                    message = `Invalid input: must end with \"${issue.validation.endsWith}\"`;\n                }\n                else {\n                    util.assertNever(issue.validation);\n                }\n            }\n            else if (issue.validation !== \"regex\") {\n                message = `Invalid ${issue.validation}`;\n            }\n            else {\n                message = \"Invalid\";\n            }\n            break;\n        case ZodIssueCode.too_small:\n            if (issue.type === \"array\")\n                message = `Array must contain ${issue.inclusive ? `at least` : `more than`} ${issue.minimum} element(s)`;\n            else if (issue.type === \"string\")\n                message = `String must contain ${issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;\n            else if (issue.type === \"number\")\n                message = `Number must be greater than ${issue.inclusive ? `or equal to ` : ``}${issue.minimum}`;\n            else if (issue.type === \"date\")\n                message = `Date must be greater than ${issue.inclusive ? `or equal to ` : ``}${new Date(issue.minimum)}`;\n            else\n                message = \"Invalid input\";\n            break;\n        case ZodIssueCode.too_big:\n            if (issue.type === \"array\")\n                message = `Array must contain ${issue.inclusive ? `at most` : `less than`} ${issue.maximum} element(s)`;\n            else if (issue.type === \"string\")\n                message = `String must contain ${issue.inclusive ? `at most` : `under`} ${issue.maximum} character(s)`;\n            else if (issue.type === \"number\")\n                message = `Number must be less than ${issue.inclusive ? `or equal to ` : ``}${issue.maximum}`;\n            else if (issue.type === \"date\")\n                message = `Date must be smaller than ${issue.inclusive ? `or equal to ` : ``}${new Date(issue.maximum)}`;\n            else\n                message = \"Invalid input\";\n            break;\n        case ZodIssueCode.custom:\n            message = `Invalid input`;\n            break;\n        case ZodIssueCode.invalid_intersection_types:\n            message = `Intersection results could not be merged`;\n            break;\n        case ZodIssueCode.not_multiple_of:\n            message = `Number must be a multiple of ${issue.multipleOf}`;\n            break;\n        default:\n            message = _ctx.defaultError;\n            util.assertNever(issue);\n    }\n    return { message };\n};\n\nlet overrideErrorMap = errorMap;\nfunction setErrorMap(map) {\n    overrideErrorMap = map;\n}\nfunction getErrorMap() {\n    return overrideErrorMap;\n}\n\nconst makeIssue = (params) => {\n    const { data, path, errorMaps, issueData } = params;\n    const fullPath = [...path, ...(issueData.path || [])];\n    const fullIssue = {\n        ...issueData,\n        path: fullPath,\n    };\n    let errorMessage = \"\";\n    const maps = errorMaps\n        .filter((m) => !!m)\n        .slice()\n        .reverse();\n    for (const map of maps) {\n        errorMessage = map(fullIssue, { data, defaultError: errorMessage }).message;\n    }\n    return {\n        ...issueData,\n        path: fullPath,\n        message: issueData.message || errorMessage,\n    };\n};\nconst EMPTY_PATH = [];\nfunction addIssueToContext(ctx, issueData) {\n    const issue = makeIssue({\n        issueData: issueData,\n        data: ctx.data,\n        path: ctx.path,\n        errorMaps: [\n            ctx.common.contextualErrorMap,\n            ctx.schemaErrorMap,\n            getErrorMap(),\n            errorMap,\n        ].filter((x) => !!x),\n    });\n    ctx.common.issues.push(issue);\n}\nclass ParseStatus {\n    constructor() {\n        this.value = \"valid\";\n    }\n    dirty() {\n        if (this.value === \"valid\")\n            this.value = \"dirty\";\n    }\n    abort() {\n        if (this.value !== \"aborted\")\n            this.value = \"aborted\";\n    }\n    static mergeArray(status, results) {\n        const arrayValue = [];\n        for (const s of results) {\n            if (s.status === \"aborted\")\n                return INVALID;\n            if (s.status === \"dirty\")\n                status.dirty();\n            arrayValue.push(s.value);\n        }\n        return { status: status.value, value: arrayValue };\n    }\n    static async mergeObjectAsync(status, pairs) {\n        const syncPairs = [];\n        for (const pair of pairs) {\n            syncPairs.push({\n                key: await pair.key,\n                value: await pair.value,\n            });\n        }\n        return ParseStatus.mergeObjectSync(status, syncPairs);\n    }\n    static mergeObjectSync(status, pairs) {\n        const finalObject = {};\n        for (const pair of pairs) {\n            const { key, value } = pair;\n            if (key.status === \"aborted\")\n                return INVALID;\n            if (value.status === \"aborted\")\n                return INVALID;\n            if (key.status === \"dirty\")\n                status.dirty();\n            if (value.status === \"dirty\")\n                status.dirty();\n            if (typeof value.value !== \"undefined\" || pair.alwaysSet) {\n                finalObject[key.value] = value.value;\n            }\n        }\n        return { status: status.value, value: finalObject };\n    }\n}\nconst INVALID = Object.freeze({\n    status: \"aborted\",\n});\nconst DIRTY = (value) => ({ status: \"dirty\", value });\nconst OK = (value) => ({ status: \"valid\", value });\nconst isAborted = (x) => x.status === \"aborted\";\nconst isDirty = (x) => x.status === \"dirty\";\nconst isValid = (x) => x.status === \"valid\";\nconst isAsync = (x) => typeof Promise !== undefined && x instanceof Promise;\n\nvar errorUtil;\n(function (errorUtil) {\n    errorUtil.errToObj = (message) => typeof message === \"string\" ? { message } : message || {};\n    errorUtil.toString = (message) => typeof message === \"string\" ? message : message === null || message === void 0 ? void 0 : message.message;\n})(errorUtil || (errorUtil = {}));\n\nclass ParseInputLazyPath {\n    constructor(parent, value, path, key) {\n        this.parent = parent;\n        this.data = value;\n        this._path = path;\n        this._key = key;\n    }\n    get path() {\n        return this._path.concat(this._key);\n    }\n}\nconst handleResult = (ctx, result) => {\n    if (isValid(result)) {\n        return { success: true, data: result.value };\n    }\n    else {\n        if (!ctx.common.issues.length) {\n            throw new Error(\"Validation failed but no issues detected.\");\n        }\n        const error = new ZodError(ctx.common.issues);\n        return { success: false, error };\n    }\n};\nfunction processCreateParams(params) {\n    if (!params)\n        return {};\n    const { errorMap, invalid_type_error, required_error, description } = params;\n    if (errorMap && (invalid_type_error || required_error)) {\n        throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);\n    }\n    if (errorMap)\n        return { errorMap: errorMap, description };\n    const customMap = (iss, ctx) => {\n        if (iss.code !== \"invalid_type\")\n            return { message: ctx.defaultError };\n        if (typeof ctx.data === \"undefined\") {\n            return { message: required_error !== null && required_error !== void 0 ? required_error : ctx.defaultError };\n        }\n        return { message: invalid_type_error !== null && invalid_type_error !== void 0 ? invalid_type_error : ctx.defaultError };\n    };\n    return { errorMap: customMap, description };\n}\nclass ZodType {\n    constructor(def) {\n        /** Alias of safeParseAsync */\n        this.spa = this.safeParseAsync;\n        this.superRefine = this._refinement;\n        this._def = def;\n        this.parse = this.parse.bind(this);\n        this.safeParse = this.safeParse.bind(this);\n        this.parseAsync = this.parseAsync.bind(this);\n        this.safeParseAsync = this.safeParseAsync.bind(this);\n        this.spa = this.spa.bind(this);\n        this.refine = this.refine.bind(this);\n        this.refinement = this.refinement.bind(this);\n        this.superRefine = this.superRefine.bind(this);\n        this.optional = this.optional.bind(this);\n        this.nullable = this.nullable.bind(this);\n        this.nullish = this.nullish.bind(this);\n        this.array = this.array.bind(this);\n        this.promise = this.promise.bind(this);\n        this.or = this.or.bind(this);\n        this.and = this.and.bind(this);\n        this.transform = this.transform.bind(this);\n        this.default = this.default.bind(this);\n        this.describe = this.describe.bind(this);\n        this.isNullable = this.isNullable.bind(this);\n        this.isOptional = this.isOptional.bind(this);\n    }\n    get description() {\n        return this._def.description;\n    }\n    _getType(input) {\n        return getParsedType(input.data);\n    }\n    _getOrReturnCtx(input, ctx) {\n        return (ctx || {\n            common: input.parent.common,\n            data: input.data,\n            parsedType: getParsedType(input.data),\n            schemaErrorMap: this._def.errorMap,\n            path: input.path,\n            parent: input.parent,\n        });\n    }\n    _processInputParams(input) {\n        return {\n            status: new ParseStatus(),\n            ctx: {\n                common: input.parent.common,\n                data: input.data,\n                parsedType: getParsedType(input.data),\n                schemaErrorMap: this._def.errorMap,\n                path: input.path,\n                parent: input.parent,\n            },\n        };\n    }\n    _parseSync(input) {\n        const result = this._parse(input);\n        if (isAsync(result)) {\n            throw new Error(\"Synchronous parse encountered promise.\");\n        }\n        return result;\n    }\n    _parseAsync(input) {\n        const result = this._parse(input);\n        return Promise.resolve(result);\n    }\n    parse(data, params) {\n        const result = this.safeParse(data, params);\n        if (result.success)\n            return result.data;\n        throw result.error;\n    }\n    safeParse(data, params) {\n        var _a;\n        const ctx = {\n            common: {\n                issues: [],\n                async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,\n                contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n            },\n            path: (params === null || params === void 0 ? void 0 : params.path) || [],\n            schemaErrorMap: this._def.errorMap,\n            parent: null,\n            data,\n            parsedType: getParsedType(data),\n        };\n        const result = this._parseSync({ data, path: ctx.path, parent: ctx });\n        return handleResult(ctx, result);\n    }\n    async parseAsync(data, params) {\n        const result = await this.safeParseAsync(data, params);\n        if (result.success)\n            return result.data;\n        throw result.error;\n    }\n    async safeParseAsync(data, params) {\n        const ctx = {\n            common: {\n                issues: [],\n                contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n                async: true,\n            },\n            path: (params === null || params === void 0 ? void 0 : params.path) || [],\n            schemaErrorMap: this._def.errorMap,\n            parent: null,\n            data,\n            parsedType: getParsedType(data),\n        };\n        const maybeAsyncResult = this._parse({ data, path: [], parent: ctx });\n        const result = await (isAsync(maybeAsyncResult)\n            ? maybeAsyncResult\n            : Promise.resolve(maybeAsyncResult));\n        return handleResult(ctx, result);\n    }\n    refine(check, message) {\n        const getIssueProperties = (val) => {\n            if (typeof message === \"string\" || typeof message === \"undefined\") {\n                return { message };\n            }\n            else if (typeof message === \"function\") {\n                return message(val);\n            }\n            else {\n                return message;\n            }\n        };\n        return this._refinement((val, ctx) => {\n            const result = check(val);\n            const setError = () => ctx.addIssue({\n                code: ZodIssueCode.custom,\n                ...getIssueProperties(val),\n            });\n            if (typeof Promise !== \"undefined\" && result instanceof Promise) {\n                return result.then((data) => {\n                    if (!data) {\n                        setError();\n                        return false;\n                    }\n                    else {\n                        return true;\n                    }\n                });\n            }\n            if (!result) {\n                setError();\n                return false;\n            }\n            else {\n                return true;\n            }\n        });\n    }\n    refinement(check, refinementData) {\n        return this._refinement((val, ctx) => {\n            if (!check(val)) {\n                ctx.addIssue(typeof refinementData === \"function\"\n                    ? refinementData(val, ctx)\n                    : refinementData);\n                return false;\n            }\n            else {\n                return true;\n            }\n        });\n    }\n    _refinement(refinement) {\n        return new ZodEffects({\n            schema: this,\n            typeName: ZodFirstPartyTypeKind.ZodEffects,\n            effect: { type: \"refinement\", refinement },\n        });\n    }\n    optional() {\n        return ZodOptional.create(this);\n    }\n    nullable() {\n        return ZodNullable.create(this);\n    }\n    nullish() {\n        return this.optional().nullable();\n    }\n    array() {\n        return ZodArray.create(this);\n    }\n    promise() {\n        return ZodPromise.create(this);\n    }\n    or(option) {\n        return ZodUnion.create([this, option]);\n    }\n    and(incoming) {\n        return ZodIntersection.create(this, incoming);\n    }\n    transform(transform) {\n        return new ZodEffects({\n            schema: this,\n            typeName: ZodFirstPartyTypeKind.ZodEffects,\n            effect: { type: \"transform\", transform },\n        });\n    }\n    default(def) {\n        const defaultValueFunc = typeof def === \"function\" ? def : () => def;\n        return new ZodDefault({\n            innerType: this,\n            defaultValue: defaultValueFunc,\n            typeName: ZodFirstPartyTypeKind.ZodDefault,\n        });\n    }\n    brand() {\n        return new ZodBranded({\n            typeName: ZodFirstPartyTypeKind.ZodBranded,\n            type: this,\n            ...processCreateParams(undefined),\n        });\n    }\n    describe(description) {\n        const This = this.constructor;\n        return new This({\n            ...this._def,\n            description,\n        });\n    }\n    isOptional() {\n        return this.safeParse(undefined).success;\n    }\n    isNullable() {\n        return this.safeParse(null).success;\n    }\n}\nconst cuidRegex = /^c[^\\s-]{8,}$/i;\nconst uuidRegex = /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;\n// from https://stackoverflow.com/a/46181/1550155\n// old version: too slow, didn't support unicode\n// const emailRegex = /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$/i;\n// eslint-disable-next-line\nconst emailRegex = /^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i;\nclass ZodString extends ZodType {\n    constructor() {\n        super(...arguments);\n        this._regex = (regex, validation, message) => this.refinement((data) => regex.test(data), {\n            validation,\n            code: ZodIssueCode.invalid_string,\n            ...errorUtil.errToObj(message),\n        });\n        /**\n         * @deprecated Use z.string().min(1) instead.\n         * @see {@link ZodString.min}\n         */\n        this.nonempty = (message) => this.min(1, errorUtil.errToObj(message));\n        this.trim = () => new ZodString({\n            ...this._def,\n            checks: [...this._def.checks, { kind: \"trim\" }],\n        });\n    }\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.string) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.string,\n                received: ctx.parsedType,\n            }\n            //\n            );\n            return INVALID;\n        }\n        const status = new ParseStatus();\n        let ctx = undefined;\n        for (const check of this._def.checks) {\n            if (check.kind === \"min\") {\n                if (input.data.length < check.value) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_small,\n                        minimum: check.value,\n                        type: \"string\",\n                        inclusive: true,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"max\") {\n                if (input.data.length > check.value) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_big,\n                        maximum: check.value,\n                        type: \"string\",\n                        inclusive: true,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"email\") {\n                if (!emailRegex.test(input.data)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"email\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"uuid\") {\n                if (!uuidRegex.test(input.data)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"uuid\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"cuid\") {\n                if (!cuidRegex.test(input.data)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"cuid\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"url\") {\n                try {\n                    new URL(input.data);\n                }\n                catch (_a) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"url\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"regex\") {\n                check.regex.lastIndex = 0;\n                const testResult = check.regex.test(input.data);\n                if (!testResult) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"regex\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"trim\") {\n                input.data = input.data.trim();\n            }\n            else if (check.kind === \"startsWith\") {\n                if (!input.data.startsWith(check.value)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.invalid_string,\n                        validation: { startsWith: check.value },\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"endsWith\") {\n                if (!input.data.endsWith(check.value)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.invalid_string,\n                        validation: { endsWith: check.value },\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else {\n                util.assertNever(check);\n            }\n        }\n        return { status: status.value, value: input.data };\n    }\n    _addCheck(check) {\n        return new ZodString({\n            ...this._def,\n            checks: [...this._def.checks, check],\n        });\n    }\n    email(message) {\n        return this._addCheck({ kind: \"email\", ...errorUtil.errToObj(message) });\n    }\n    url(message) {\n        return this._addCheck({ kind: \"url\", ...errorUtil.errToObj(message) });\n    }\n    uuid(message) {\n        return this._addCheck({ kind: \"uuid\", ...errorUtil.errToObj(message) });\n    }\n    cuid(message) {\n        return this._addCheck({ kind: \"cuid\", ...errorUtil.errToObj(message) });\n    }\n    regex(regex, message) {\n        return this._addCheck({\n            kind: \"regex\",\n            regex: regex,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    startsWith(value, message) {\n        return this._addCheck({\n            kind: \"startsWith\",\n            value: value,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    endsWith(value, message) {\n        return this._addCheck({\n            kind: \"endsWith\",\n            value: value,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    min(minLength, message) {\n        return this._addCheck({\n            kind: \"min\",\n            value: minLength,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    max(maxLength, message) {\n        return this._addCheck({\n            kind: \"max\",\n            value: maxLength,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    length(len, message) {\n        return this.min(len, message).max(len, message);\n    }\n    get isEmail() {\n        return !!this._def.checks.find((ch) => ch.kind === \"email\");\n    }\n    get isURL() {\n        return !!this._def.checks.find((ch) => ch.kind === \"url\");\n    }\n    get isUUID() {\n        return !!this._def.checks.find((ch) => ch.kind === \"uuid\");\n    }\n    get isCUID() {\n        return !!this._def.checks.find((ch) => ch.kind === \"cuid\");\n    }\n    get minLength() {\n        let min = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"min\") {\n                if (min === null || ch.value > min)\n                    min = ch.value;\n            }\n        }\n        return min;\n    }\n    get maxLength() {\n        let max = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"max\") {\n                if (max === null || ch.value < max)\n                    max = ch.value;\n            }\n        }\n        return max;\n    }\n}\nZodString.create = (params) => {\n    return new ZodString({\n        checks: [],\n        typeName: ZodFirstPartyTypeKind.ZodString,\n        ...processCreateParams(params),\n    });\n};\n// https://stackoverflow.com/questions/3966484/why-does-modulus-operator-return-fractional-number-in-javascript/31711034#31711034\nfunction floatSafeRemainder(val, step) {\n    const valDecCount = (val.toString().split(\".\")[1] || \"\").length;\n    const stepDecCount = (step.toString().split(\".\")[1] || \"\").length;\n    const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;\n    const valInt = parseInt(val.toFixed(decCount).replace(\".\", \"\"));\n    const stepInt = parseInt(step.toFixed(decCount).replace(\".\", \"\"));\n    return (valInt % stepInt) / Math.pow(10, decCount);\n}\nclass ZodNumber extends ZodType {\n    constructor() {\n        super(...arguments);\n        this.min = this.gte;\n        this.max = this.lte;\n        this.step = this.multipleOf;\n    }\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.number) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.number,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        let ctx = undefined;\n        const status = new ParseStatus();\n        for (const check of this._def.checks) {\n            if (check.kind === \"int\") {\n                if (!util.isInteger(input.data)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.invalid_type,\n                        expected: \"integer\",\n                        received: \"float\",\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"min\") {\n                const tooSmall = check.inclusive\n                    ? input.data < check.value\n                    : input.data <= check.value;\n                if (tooSmall) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_small,\n                        minimum: check.value,\n                        type: \"number\",\n                        inclusive: check.inclusive,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"max\") {\n                const tooBig = check.inclusive\n                    ? input.data > check.value\n                    : input.data >= check.value;\n                if (tooBig) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_big,\n                        maximum: check.value,\n                        type: \"number\",\n                        inclusive: check.inclusive,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"multipleOf\") {\n                if (floatSafeRemainder(input.data, check.value) !== 0) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.not_multiple_of,\n                        multipleOf: check.value,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else {\n                util.assertNever(check);\n            }\n        }\n        return { status: status.value, value: input.data };\n    }\n    gte(value, message) {\n        return this.setLimit(\"min\", value, true, errorUtil.toString(message));\n    }\n    gt(value, message) {\n        return this.setLimit(\"min\", value, false, errorUtil.toString(message));\n    }\n    lte(value, message) {\n        return this.setLimit(\"max\", value, true, errorUtil.toString(message));\n    }\n    lt(value, message) {\n        return this.setLimit(\"max\", value, false, errorUtil.toString(message));\n    }\n    setLimit(kind, value, inclusive, message) {\n        return new ZodNumber({\n            ...this._def,\n            checks: [\n                ...this._def.checks,\n                {\n                    kind,\n                    value,\n                    inclusive,\n                    message: errorUtil.toString(message),\n                },\n            ],\n        });\n    }\n    _addCheck(check) {\n        return new ZodNumber({\n            ...this._def,\n            checks: [...this._def.checks, check],\n        });\n    }\n    int(message) {\n        return this._addCheck({\n            kind: \"int\",\n            message: errorUtil.toString(message),\n        });\n    }\n    positive(message) {\n        return this._addCheck({\n            kind: \"min\",\n            value: 0,\n            inclusive: false,\n            message: errorUtil.toString(message),\n        });\n    }\n    negative(message) {\n        return this._addCheck({\n            kind: \"max\",\n            value: 0,\n            inclusive: false,\n            message: errorUtil.toString(message),\n        });\n    }\n    nonpositive(message) {\n        return this._addCheck({\n            kind: \"max\",\n            value: 0,\n            inclusive: true,\n            message: errorUtil.toString(message),\n        });\n    }\n    nonnegative(message) {\n        return this._addCheck({\n            kind: \"min\",\n            value: 0,\n            inclusive: true,\n            message: errorUtil.toString(message),\n        });\n    }\n    multipleOf(value, message) {\n        return this._addCheck({\n            kind: \"multipleOf\",\n            value: value,\n            message: errorUtil.toString(message),\n        });\n    }\n    get minValue() {\n        let min = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"min\") {\n                if (min === null || ch.value > min)\n                    min = ch.value;\n            }\n        }\n        return min;\n    }\n    get maxValue() {\n        let max = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"max\") {\n                if (max === null || ch.value < max)\n                    max = ch.value;\n            }\n        }\n        return max;\n    }\n    get isInt() {\n        return !!this._def.checks.find((ch) => ch.kind === \"int\");\n    }\n}\nZodNumber.create = (params) => {\n    return new ZodNumber({\n        checks: [],\n        typeName: ZodFirstPartyTypeKind.ZodNumber,\n        ...processCreateParams(params),\n    });\n};\nclass ZodBigInt extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.bigint) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.bigint,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodBigInt.create = (params) => {\n    return new ZodBigInt({\n        typeName: ZodFirstPartyTypeKind.ZodBigInt,\n        ...processCreateParams(params),\n    });\n};\nclass ZodBoolean extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.boolean) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.boolean,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodBoolean.create = (params) => {\n    return new ZodBoolean({\n        typeName: ZodFirstPartyTypeKind.ZodBoolean,\n        ...processCreateParams(params),\n    });\n};\nclass ZodDate extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.date) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.date,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        if (isNaN(input.data.getTime())) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_date,\n            });\n            return INVALID;\n        }\n        const status = new ParseStatus();\n        let ctx = undefined;\n        for (const check of this._def.checks) {\n            if (check.kind === \"min\") {\n                if (input.data.getTime() < check.value) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_small,\n                        message: check.message,\n                        inclusive: true,\n                        minimum: check.value,\n                        type: \"date\",\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"max\") {\n                if (input.data.getTime() > check.value) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_big,\n                        message: check.message,\n                        inclusive: true,\n                        maximum: check.value,\n                        type: \"date\",\n                    });\n                    status.dirty();\n                }\n            }\n            else {\n                util.assertNever(check);\n            }\n        }\n        return {\n            status: status.value,\n            value: new Date(input.data.getTime()),\n        };\n    }\n    _addCheck(check) {\n        return new ZodDate({\n            ...this._def,\n            checks: [...this._def.checks, check],\n        });\n    }\n    min(minDate, message) {\n        return this._addCheck({\n            kind: \"min\",\n            value: minDate.getTime(),\n            message: errorUtil.toString(message),\n        });\n    }\n    max(maxDate, message) {\n        return this._addCheck({\n            kind: \"max\",\n            value: maxDate.getTime(),\n            message: errorUtil.toString(message),\n        });\n    }\n    get minDate() {\n        let min = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"min\") {\n                if (min === null || ch.value > min)\n                    min = ch.value;\n            }\n        }\n        return min != null ? new Date(min) : null;\n    }\n    get maxDate() {\n        let max = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"max\") {\n                if (max === null || ch.value < max)\n                    max = ch.value;\n            }\n        }\n        return max != null ? new Date(max) : null;\n    }\n}\nZodDate.create = (params) => {\n    return new ZodDate({\n        checks: [],\n        typeName: ZodFirstPartyTypeKind.ZodDate,\n        ...processCreateParams(params),\n    });\n};\nclass ZodUndefined extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.undefined) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.undefined,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodUndefined.create = (params) => {\n    return new ZodUndefined({\n        typeName: ZodFirstPartyTypeKind.ZodUndefined,\n        ...processCreateParams(params),\n    });\n};\nclass ZodNull extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.null) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.null,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodNull.create = (params) => {\n    return new ZodNull({\n        typeName: ZodFirstPartyTypeKind.ZodNull,\n        ...processCreateParams(params),\n    });\n};\nclass ZodAny extends ZodType {\n    constructor() {\n        super(...arguments);\n        // to prevent instances of other classes from extending ZodAny. this causes issues with catchall in ZodObject.\n        this._any = true;\n    }\n    _parse(input) {\n        return OK(input.data);\n    }\n}\nZodAny.create = (params) => {\n    return new ZodAny({\n        typeName: ZodFirstPartyTypeKind.ZodAny,\n        ...processCreateParams(params),\n    });\n};\nclass ZodUnknown extends ZodType {\n    constructor() {\n        super(...arguments);\n        // required\n        this._unknown = true;\n    }\n    _parse(input) {\n        return OK(input.data);\n    }\n}\nZodUnknown.create = (params) => {\n    return new ZodUnknown({\n        typeName: ZodFirstPartyTypeKind.ZodUnknown,\n        ...processCreateParams(params),\n    });\n};\nclass ZodNever extends ZodType {\n    _parse(input) {\n        const ctx = this._getOrReturnCtx(input);\n        addIssueToContext(ctx, {\n            code: ZodIssueCode.invalid_type,\n            expected: ZodParsedType.never,\n            received: ctx.parsedType,\n        });\n        return INVALID;\n    }\n}\nZodNever.create = (params) => {\n    return new ZodNever({\n        typeName: ZodFirstPartyTypeKind.ZodNever,\n        ...processCreateParams(params),\n    });\n};\nclass ZodVoid extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.undefined) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.void,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodVoid.create = (params) => {\n    return new ZodVoid({\n        typeName: ZodFirstPartyTypeKind.ZodVoid,\n        ...processCreateParams(params),\n    });\n};\nclass ZodArray extends ZodType {\n    _parse(input) {\n        const { ctx, status } = this._processInputParams(input);\n        const def = this._def;\n        if (ctx.parsedType !== ZodParsedType.array) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.array,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        if (def.minLength !== null) {\n            if (ctx.data.length < def.minLength.value) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.too_small,\n                    minimum: def.minLength.value,\n                    type: \"array\",\n                    inclusive: true,\n                    message: def.minLength.message,\n                });\n                status.dirty();\n            }\n        }\n        if (def.maxLength !== null) {\n            if (ctx.data.length > def.maxLength.value) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.too_big,\n                    maximum: def.maxLength.value,\n                    type: \"array\",\n                    inclusive: true,\n                    message: def.maxLength.message,\n                });\n                status.dirty();\n            }\n        }\n        if (ctx.common.async) {\n            return Promise.all(ctx.data.map((item, i) => {\n                return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n            })).then((result) => {\n                return ParseStatus.mergeArray(status, result);\n            });\n        }\n        const result = ctx.data.map((item, i) => {\n            return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n        });\n        return ParseStatus.mergeArray(status, result);\n    }\n    get element() {\n        return this._def.type;\n    }\n    min(minLength, message) {\n        return new ZodArray({\n            ...this._def,\n            minLength: { value: minLength, message: errorUtil.toString(message) },\n        });\n    }\n    max(maxLength, message) {\n        return new ZodArray({\n            ...this._def,\n            maxLength: { value: maxLength, message: errorUtil.toString(message) },\n        });\n    }\n    length(len, message) {\n        return this.min(len, message).max(len, message);\n    }\n    nonempty(message) {\n        return this.min(1, message);\n    }\n}\nZodArray.create = (schema, params) => {\n    return new ZodArray({\n        type: schema,\n        minLength: null,\n        maxLength: null,\n        typeName: ZodFirstPartyTypeKind.ZodArray,\n        ...processCreateParams(params),\n    });\n};\n/////////////////////////////////////////\n/////////////////////////////////////////\n//////////                     //////////\n//////////      ZodObject      //////////\n//////////                     //////////\n/////////////////////////////////////////\n/////////////////////////////////////////\nvar objectUtil;\n(function (objectUtil) {\n    objectUtil.mergeShapes = (first, second) => {\n        return {\n            ...first,\n            ...second,\n        };\n    };\n})(objectUtil || (objectUtil = {}));\nconst AugmentFactory = (def) => (augmentation) => {\n    return new ZodObject({\n        ...def,\n        shape: () => ({\n            ...def.shape(),\n            ...augmentation,\n        }),\n    });\n};\nfunction deepPartialify(schema) {\n    if (schema instanceof ZodObject) {\n        const newShape = {};\n        for (const key in schema.shape) {\n            const fieldSchema = schema.shape[key];\n            newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));\n        }\n        return new ZodObject({\n            ...schema._def,\n            shape: () => newShape,\n        });\n    }\n    else if (schema instanceof ZodArray) {\n        return ZodArray.create(deepPartialify(schema.element));\n    }\n    else if (schema instanceof ZodOptional) {\n        return ZodOptional.create(deepPartialify(schema.unwrap()));\n    }\n    else if (schema instanceof ZodNullable) {\n        return ZodNullable.create(deepPartialify(schema.unwrap()));\n    }\n    else if (schema instanceof ZodTuple) {\n        return ZodTuple.create(schema.items.map((item) => deepPartialify(item)));\n    }\n    else {\n        return schema;\n    }\n}\nclass ZodObject extends ZodType {\n    constructor() {\n        super(...arguments);\n        this._cached = null;\n        /**\n         * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\n         * If you want to pass through unknown properties, use `.passthrough()` instead.\n         */\n        this.nonstrict = this.passthrough;\n        this.augment = AugmentFactory(this._def);\n        this.extend = AugmentFactory(this._def);\n    }\n    _getCached() {\n        if (this._cached !== null)\n            return this._cached;\n        const shape = this._def.shape();\n        const keys = util.objectKeys(shape);\n        return (this._cached = { shape, keys });\n    }\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.object) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.object,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const { status, ctx } = this._processInputParams(input);\n        const { shape, keys: shapeKeys } = this._getCached();\n        const extraKeys = [];\n        if (!(this._def.catchall instanceof ZodNever &&\n            this._def.unknownKeys === \"strip\")) {\n            for (const key in ctx.data) {\n                if (!shapeKeys.includes(key)) {\n                    extraKeys.push(key);\n                }\n            }\n        }\n        const pairs = [];\n        for (const key of shapeKeys) {\n            const keyValidator = shape[key];\n            const value = ctx.data[key];\n            pairs.push({\n                key: { status: \"valid\", value: key },\n                value: keyValidator._parse(new ParseInputLazyPath(ctx, value, ctx.path, key)),\n                alwaysSet: key in ctx.data,\n            });\n        }\n        if (this._def.catchall instanceof ZodNever) {\n            const unknownKeys = this._def.unknownKeys;\n            if (unknownKeys === \"passthrough\") {\n                for (const key of extraKeys) {\n                    pairs.push({\n                        key: { status: \"valid\", value: key },\n                        value: { status: \"valid\", value: ctx.data[key] },\n                    });\n                }\n            }\n            else if (unknownKeys === \"strict\") {\n                if (extraKeys.length > 0) {\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.unrecognized_keys,\n                        keys: extraKeys,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (unknownKeys === \"strip\") ;\n            else {\n                throw new Error(`Internal ZodObject error: invalid unknownKeys value.`);\n            }\n        }\n        else {\n            // run catchall validation\n            const catchall = this._def.catchall;\n            for (const key of extraKeys) {\n                const value = ctx.data[key];\n                pairs.push({\n                    key: { status: \"valid\", value: key },\n                    value: catchall._parse(new ParseInputLazyPath(ctx, value, ctx.path, key) //, ctx.child(key), value, getParsedType(value)\n                    ),\n                    alwaysSet: key in ctx.data,\n                });\n            }\n        }\n        if (ctx.common.async) {\n            return Promise.resolve()\n                .then(async () => {\n                const syncPairs = [];\n                for (const pair of pairs) {\n                    const key = await pair.key;\n                    syncPairs.push({\n                        key,\n                        value: await pair.value,\n                        alwaysSet: pair.alwaysSet,\n                    });\n                }\n                return syncPairs;\n            })\n                .then((syncPairs) => {\n                return ParseStatus.mergeObjectSync(status, syncPairs);\n            });\n        }\n        else {\n            return ParseStatus.mergeObjectSync(status, pairs);\n        }\n    }\n    get shape() {\n        return this._def.shape();\n    }\n    strict(message) {\n        errorUtil.errToObj;\n        return new ZodObject({\n            ...this._def,\n            unknownKeys: \"strict\",\n            ...(message !== undefined\n                ? {\n                    errorMap: (issue, ctx) => {\n                        var _a, _b, _c, _d;\n                        const defaultError = (_c = (_b = (_a = this._def).errorMap) === null || _b === void 0 ? void 0 : _b.call(_a, issue, ctx).message) !== null && _c !== void 0 ? _c : ctx.defaultError;\n                        if (issue.code === \"unrecognized_keys\")\n                            return {\n                                message: (_d = errorUtil.errToObj(message).message) !== null && _d !== void 0 ? _d : defaultError,\n                            };\n                        return {\n                            message: defaultError,\n                        };\n                    },\n                }\n                : {}),\n        });\n    }\n    strip() {\n        return new ZodObject({\n            ...this._def,\n            unknownKeys: \"strip\",\n        });\n    }\n    passthrough() {\n        return new ZodObject({\n            ...this._def,\n            unknownKeys: \"passthrough\",\n        });\n    }\n    setKey(key, schema) {\n        return this.augment({ [key]: schema });\n    }\n    /**\n     * Prior to zod@1.0.12 there was a bug in the\n     * inferred type of merged objects. Please\n     * upgrade if you are experiencing issues.\n     */\n    merge(merging) {\n        // const mergedShape = objectUtil.mergeShapes(\n        //   this._def.shape(),\n        //   merging._def.shape()\n        // );\n        const merged = new ZodObject({\n            unknownKeys: merging._def.unknownKeys,\n            catchall: merging._def.catchall,\n            shape: () => objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n            typeName: ZodFirstPartyTypeKind.ZodObject,\n        });\n        return merged;\n    }\n    catchall(index) {\n        return new ZodObject({\n            ...this._def,\n            catchall: index,\n        });\n    }\n    pick(mask) {\n        const shape = {};\n        util.objectKeys(mask).map((key) => {\n            // only add to shape if key corresponds to an element of the current shape\n            if (this.shape[key])\n                shape[key] = this.shape[key];\n        });\n        return new ZodObject({\n            ...this._def,\n            shape: () => shape,\n        });\n    }\n    omit(mask) {\n        const shape = {};\n        util.objectKeys(this.shape).map((key) => {\n            if (util.objectKeys(mask).indexOf(key) === -1) {\n                shape[key] = this.shape[key];\n            }\n        });\n        return new ZodObject({\n            ...this._def,\n            shape: () => shape,\n        });\n    }\n    deepPartial() {\n        return deepPartialify(this);\n    }\n    partial(mask) {\n        const newShape = {};\n        if (mask) {\n            util.objectKeys(this.shape).map((key) => {\n                if (util.objectKeys(mask).indexOf(key) === -1) {\n                    newShape[key] = this.shape[key];\n                }\n                else {\n                    newShape[key] = this.shape[key].optional();\n                }\n            });\n            return new ZodObject({\n                ...this._def,\n                shape: () => newShape,\n            });\n        }\n        else {\n            for (const key in this.shape) {\n                const fieldSchema = this.shape[key];\n                newShape[key] = fieldSchema.optional();\n            }\n        }\n        return new ZodObject({\n            ...this._def,\n            shape: () => newShape,\n        });\n    }\n    required() {\n        const newShape = {};\n        for (const key in this.shape) {\n            const fieldSchema = this.shape[key];\n            let newField = fieldSchema;\n            while (newField instanceof ZodOptional) {\n                newField = newField._def.innerType;\n            }\n            newShape[key] = newField;\n        }\n        return new ZodObject({\n            ...this._def,\n            shape: () => newShape,\n        });\n    }\n    keyof() {\n        return createZodEnum(util.objectKeys(this.shape));\n    }\n}\nZodObject.create = (shape, params) => {\n    return new ZodObject({\n        shape: () => shape,\n        unknownKeys: \"strip\",\n        catchall: ZodNever.create(),\n        typeName: ZodFirstPartyTypeKind.ZodObject,\n        ...processCreateParams(params),\n    });\n};\nZodObject.strictCreate = (shape, params) => {\n    return new ZodObject({\n        shape: () => shape,\n        unknownKeys: \"strict\",\n        catchall: ZodNever.create(),\n        typeName: ZodFirstPartyTypeKind.ZodObject,\n        ...processCreateParams(params),\n    });\n};\nZodObject.lazycreate = (shape, params) => {\n    return new ZodObject({\n        shape,\n        unknownKeys: \"strip\",\n        catchall: ZodNever.create(),\n        typeName: ZodFirstPartyTypeKind.ZodObject,\n        ...processCreateParams(params),\n    });\n};\nclass ZodUnion extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        const options = this._def.options;\n        function handleResults(results) {\n            // return first issue-free validation if it exists\n            for (const result of results) {\n                if (result.result.status === \"valid\") {\n                    return result.result;\n                }\n            }\n            for (const result of results) {\n                if (result.result.status === \"dirty\") {\n                    // add issues from dirty option\n                    ctx.common.issues.push(...result.ctx.common.issues);\n                    return result.result;\n                }\n            }\n            // return invalid\n            const unionErrors = results.map((result) => new ZodError(result.ctx.common.issues));\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_union,\n                unionErrors,\n            });\n            return INVALID;\n        }\n        if (ctx.common.async) {\n            return Promise.all(options.map(async (option) => {\n                const childCtx = {\n                    ...ctx,\n                    common: {\n                        ...ctx.common,\n                        issues: [],\n                    },\n                    parent: null,\n                };\n                return {\n                    result: await option._parseAsync({\n                        data: ctx.data,\n                        path: ctx.path,\n                        parent: childCtx,\n                    }),\n                    ctx: childCtx,\n                };\n            })).then(handleResults);\n        }\n        else {\n            let dirty = undefined;\n            const issues = [];\n            for (const option of options) {\n                const childCtx = {\n                    ...ctx,\n                    common: {\n                        ...ctx.common,\n                        issues: [],\n                    },\n                    parent: null,\n                };\n                const result = option._parseSync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: childCtx,\n                });\n                if (result.status === \"valid\") {\n                    return result;\n                }\n                else if (result.status === \"dirty\" && !dirty) {\n                    dirty = { result, ctx: childCtx };\n                }\n                if (childCtx.common.issues.length) {\n                    issues.push(childCtx.common.issues);\n                }\n            }\n            if (dirty) {\n                ctx.common.issues.push(...dirty.ctx.common.issues);\n                return dirty.result;\n            }\n            const unionErrors = issues.map((issues) => new ZodError(issues));\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_union,\n                unionErrors,\n            });\n            return INVALID;\n        }\n    }\n    get options() {\n        return this._def.options;\n    }\n}\nZodUnion.create = (types, params) => {\n    return new ZodUnion({\n        options: types,\n        typeName: ZodFirstPartyTypeKind.ZodUnion,\n        ...processCreateParams(params),\n    });\n};\nclass ZodDiscriminatedUnion extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.object) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.object,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const discriminator = this.discriminator;\n        const discriminatorValue = ctx.data[discriminator];\n        const option = this.options.get(discriminatorValue);\n        if (!option) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_union_discriminator,\n                options: this.validDiscriminatorValues,\n                path: [discriminator],\n            });\n            return INVALID;\n        }\n        if (ctx.common.async) {\n            return option._parseAsync({\n                data: ctx.data,\n                path: ctx.path,\n                parent: ctx,\n            });\n        }\n        else {\n            return option._parseSync({\n                data: ctx.data,\n                path: ctx.path,\n                parent: ctx,\n            });\n        }\n    }\n    get discriminator() {\n        return this._def.discriminator;\n    }\n    get validDiscriminatorValues() {\n        return Array.from(this.options.keys());\n    }\n    get options() {\n        return this._def.options;\n    }\n    /**\n     * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\n     * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\n     * have a different value for each object in the union.\n     * @param discriminator the name of the discriminator property\n     * @param types an array of object schemas\n     * @param params\n     */\n    static create(discriminator, types, params) {\n        // Get all the valid discriminator values\n        const options = new Map();\n        try {\n            types.forEach((type) => {\n                const discriminatorValue = type.shape[discriminator].value;\n                options.set(discriminatorValue, type);\n            });\n        }\n        catch (e) {\n            throw new Error(\"The discriminator value could not be extracted from all the provided schemas\");\n        }\n        // Assert that all the discriminator values are unique\n        if (options.size !== types.length) {\n            throw new Error(\"Some of the discriminator values are not unique\");\n        }\n        return new ZodDiscriminatedUnion({\n            typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,\n            discriminator,\n            options,\n            ...processCreateParams(params),\n        });\n    }\n}\nfunction mergeValues(a, b) {\n    const aType = getParsedType(a);\n    const bType = getParsedType(b);\n    if (a === b) {\n        return { valid: true, data: a };\n    }\n    else if (aType === ZodParsedType.object && bType === ZodParsedType.object) {\n        const bKeys = util.objectKeys(b);\n        const sharedKeys = util\n            .objectKeys(a)\n            .filter((key) => bKeys.indexOf(key) !== -1);\n        const newObj = { ...a, ...b };\n        for (const key of sharedKeys) {\n            const sharedValue = mergeValues(a[key], b[key]);\n            if (!sharedValue.valid) {\n                return { valid: false };\n            }\n            newObj[key] = sharedValue.data;\n        }\n        return { valid: true, data: newObj };\n    }\n    else if (aType === ZodParsedType.array && bType === ZodParsedType.array) {\n        if (a.length !== b.length) {\n            return { valid: false };\n        }\n        const newArray = [];\n        for (let index = 0; index < a.length; index++) {\n            const itemA = a[index];\n            const itemB = b[index];\n            const sharedValue = mergeValues(itemA, itemB);\n            if (!sharedValue.valid) {\n                return { valid: false };\n            }\n            newArray.push(sharedValue.data);\n        }\n        return { valid: true, data: newArray };\n    }\n    else if (aType === ZodParsedType.date &&\n        bType === ZodParsedType.date &&\n        +a === +b) {\n        return { valid: true, data: a };\n    }\n    else {\n        return { valid: false };\n    }\n}\nclass ZodIntersection extends ZodType {\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        const handleParsed = (parsedLeft, parsedRight) => {\n            if (isAborted(parsedLeft) || isAborted(parsedRight)) {\n                return INVALID;\n            }\n            const merged = mergeValues(parsedLeft.value, parsedRight.value);\n            if (!merged.valid) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.invalid_intersection_types,\n                });\n                return INVALID;\n            }\n            if (isDirty(parsedLeft) || isDirty(parsedRight)) {\n                status.dirty();\n            }\n            return { status: status.value, value: merged.data };\n        };\n        if (ctx.common.async) {\n            return Promise.all([\n                this._def.left._parseAsync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: ctx,\n                }),\n                this._def.right._parseAsync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: ctx,\n                }),\n            ]).then(([left, right]) => handleParsed(left, right));\n        }\n        else {\n            return handleParsed(this._def.left._parseSync({\n                data: ctx.data,\n                path: ctx.path,\n                parent: ctx,\n            }), this._def.right._parseSync({\n                data: ctx.data,\n                path: ctx.path,\n                parent: ctx,\n            }));\n        }\n    }\n}\nZodIntersection.create = (left, right, params) => {\n    return new ZodIntersection({\n        left: left,\n        right: right,\n        typeName: ZodFirstPartyTypeKind.ZodIntersection,\n        ...processCreateParams(params),\n    });\n};\nclass ZodTuple extends ZodType {\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.array) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.array,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        if (ctx.data.length < this._def.items.length) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.too_small,\n                minimum: this._def.items.length,\n                inclusive: true,\n                type: \"array\",\n            });\n            return INVALID;\n        }\n        const rest = this._def.rest;\n        if (!rest && ctx.data.length > this._def.items.length) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.too_big,\n                maximum: this._def.items.length,\n                inclusive: true,\n                type: \"array\",\n            });\n            status.dirty();\n        }\n        const items = ctx.data\n            .map((item, itemIndex) => {\n            const schema = this._def.items[itemIndex] || this._def.rest;\n            if (!schema)\n                return null;\n            return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));\n        })\n            .filter((x) => !!x); // filter nulls\n        if (ctx.common.async) {\n            return Promise.all(items).then((results) => {\n                return ParseStatus.mergeArray(status, results);\n            });\n        }\n        else {\n            return ParseStatus.mergeArray(status, items);\n        }\n    }\n    get items() {\n        return this._def.items;\n    }\n    rest(rest) {\n        return new ZodTuple({\n            ...this._def,\n            rest,\n        });\n    }\n}\nZodTuple.create = (schemas, params) => {\n    if (!Array.isArray(schemas)) {\n        throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");\n    }\n    return new ZodTuple({\n        items: schemas,\n        typeName: ZodFirstPartyTypeKind.ZodTuple,\n        rest: null,\n        ...processCreateParams(params),\n    });\n};\nclass ZodRecord extends ZodType {\n    get keySchema() {\n        return this._def.keyType;\n    }\n    get valueSchema() {\n        return this._def.valueType;\n    }\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.object) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.object,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const pairs = [];\n        const keyType = this._def.keyType;\n        const valueType = this._def.valueType;\n        for (const key in ctx.data) {\n            pairs.push({\n                key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),\n                value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key)),\n            });\n        }\n        if (ctx.common.async) {\n            return ParseStatus.mergeObjectAsync(status, pairs);\n        }\n        else {\n            return ParseStatus.mergeObjectSync(status, pairs);\n        }\n    }\n    get element() {\n        return this._def.valueType;\n    }\n    static create(first, second, third) {\n        if (second instanceof ZodType) {\n            return new ZodRecord({\n                keyType: first,\n                valueType: second,\n                typeName: ZodFirstPartyTypeKind.ZodRecord,\n                ...processCreateParams(third),\n            });\n        }\n        return new ZodRecord({\n            keyType: ZodString.create(),\n            valueType: first,\n            typeName: ZodFirstPartyTypeKind.ZodRecord,\n            ...processCreateParams(second),\n        });\n    }\n}\nclass ZodMap extends ZodType {\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.map) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.map,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const keyType = this._def.keyType;\n        const valueType = this._def.valueType;\n        const pairs = [...ctx.data.entries()].map(([key, value], index) => {\n            return {\n                key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, [index, \"key\"])),\n                value: valueType._parse(new ParseInputLazyPath(ctx, value, ctx.path, [index, \"value\"])),\n            };\n        });\n        if (ctx.common.async) {\n            const finalMap = new Map();\n            return Promise.resolve().then(async () => {\n                for (const pair of pairs) {\n                    const key = await pair.key;\n                    const value = await pair.value;\n                    if (key.status === \"aborted\" || value.status === \"aborted\") {\n                        return INVALID;\n                    }\n                    if (key.status === \"dirty\" || value.status === \"dirty\") {\n                        status.dirty();\n                    }\n                    finalMap.set(key.value, value.value);\n                }\n                return { status: status.value, value: finalMap };\n            });\n        }\n        else {\n            const finalMap = new Map();\n            for (const pair of pairs) {\n                const key = pair.key;\n                const value = pair.value;\n                if (key.status === \"aborted\" || value.status === \"aborted\") {\n                    return INVALID;\n                }\n                if (key.status === \"dirty\" || value.status === \"dirty\") {\n                    status.dirty();\n                }\n                finalMap.set(key.value, value.value);\n            }\n            return { status: status.value, value: finalMap };\n        }\n    }\n}\nZodMap.create = (keyType, valueType, params) => {\n    return new ZodMap({\n        valueType,\n        keyType,\n        typeName: ZodFirstPartyTypeKind.ZodMap,\n        ...processCreateParams(params),\n    });\n};\nclass ZodSet extends ZodType {\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.set) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.set,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const def = this._def;\n        if (def.minSize !== null) {\n            if (ctx.data.size < def.minSize.value) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.too_small,\n                    minimum: def.minSize.value,\n                    type: \"set\",\n                    inclusive: true,\n                    message: def.minSize.message,\n                });\n                status.dirty();\n            }\n        }\n        if (def.maxSize !== null) {\n            if (ctx.data.size > def.maxSize.value) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.too_big,\n                    maximum: def.maxSize.value,\n                    type: \"set\",\n                    inclusive: true,\n                    message: def.maxSize.message,\n                });\n                status.dirty();\n            }\n        }\n        const valueType = this._def.valueType;\n        function finalizeSet(elements) {\n            const parsedSet = new Set();\n            for (const element of elements) {\n                if (element.status === \"aborted\")\n                    return INVALID;\n                if (element.status === \"dirty\")\n                    status.dirty();\n                parsedSet.add(element.value);\n            }\n            return { status: status.value, value: parsedSet };\n        }\n        const elements = [...ctx.data.values()].map((item, i) => valueType._parse(new ParseInputLazyPath(ctx, item, ctx.path, i)));\n        if (ctx.common.async) {\n            return Promise.all(elements).then((elements) => finalizeSet(elements));\n        }\n        else {\n            return finalizeSet(elements);\n        }\n    }\n    min(minSize, message) {\n        return new ZodSet({\n            ...this._def,\n            minSize: { value: minSize, message: errorUtil.toString(message) },\n        });\n    }\n    max(maxSize, message) {\n        return new ZodSet({\n            ...this._def,\n            maxSize: { value: maxSize, message: errorUtil.toString(message) },\n        });\n    }\n    size(size, message) {\n        return this.min(size, message).max(size, message);\n    }\n    nonempty(message) {\n        return this.min(1, message);\n    }\n}\nZodSet.create = (valueType, params) => {\n    return new ZodSet({\n        valueType,\n        minSize: null,\n        maxSize: null,\n        typeName: ZodFirstPartyTypeKind.ZodSet,\n        ...processCreateParams(params),\n    });\n};\nclass ZodFunction extends ZodType {\n    constructor() {\n        super(...arguments);\n        this.validate = this.implement;\n    }\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.function) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.function,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        function makeArgsIssue(args, error) {\n            return makeIssue({\n                data: args,\n                path: ctx.path,\n                errorMaps: [\n                    ctx.common.contextualErrorMap,\n                    ctx.schemaErrorMap,\n                    getErrorMap(),\n                    errorMap,\n                ].filter((x) => !!x),\n                issueData: {\n                    code: ZodIssueCode.invalid_arguments,\n                    argumentsError: error,\n                },\n            });\n        }\n        function makeReturnsIssue(returns, error) {\n            return makeIssue({\n                data: returns,\n                path: ctx.path,\n                errorMaps: [\n                    ctx.common.contextualErrorMap,\n                    ctx.schemaErrorMap,\n                    getErrorMap(),\n                    errorMap,\n                ].filter((x) => !!x),\n                issueData: {\n                    code: ZodIssueCode.invalid_return_type,\n                    returnTypeError: error,\n                },\n            });\n        }\n        const params = { errorMap: ctx.common.contextualErrorMap };\n        const fn = ctx.data;\n        if (this._def.returns instanceof ZodPromise) {\n            return OK(async (...args) => {\n                const error = new ZodError([]);\n                const parsedArgs = await this._def.args\n                    .parseAsync(args, params)\n                    .catch((e) => {\n                    error.addIssue(makeArgsIssue(args, e));\n                    throw error;\n                });\n                const result = await fn(...parsedArgs);\n                const parsedReturns = await this._def.returns._def.type\n                    .parseAsync(result, params)\n                    .catch((e) => {\n                    error.addIssue(makeReturnsIssue(result, e));\n                    throw error;\n                });\n                return parsedReturns;\n            });\n        }\n        else {\n            return OK((...args) => {\n                const parsedArgs = this._def.args.safeParse(args, params);\n                if (!parsedArgs.success) {\n                    throw new ZodError([makeArgsIssue(args, parsedArgs.error)]);\n                }\n                const result = fn(...parsedArgs.data);\n                const parsedReturns = this._def.returns.safeParse(result, params);\n                if (!parsedReturns.success) {\n                    throw new ZodError([makeReturnsIssue(result, parsedReturns.error)]);\n                }\n                return parsedReturns.data;\n            });\n        }\n    }\n    parameters() {\n        return this._def.args;\n    }\n    returnType() {\n        return this._def.returns;\n    }\n    args(...items) {\n        return new ZodFunction({\n            ...this._def,\n            args: ZodTuple.create(items).rest(ZodUnknown.create()),\n        });\n    }\n    returns(returnType) {\n        return new ZodFunction({\n            ...this._def,\n            returns: returnType,\n        });\n    }\n    implement(func) {\n        const validatedFunc = this.parse(func);\n        return validatedFunc;\n    }\n    strictImplement(func) {\n        const validatedFunc = this.parse(func);\n        return validatedFunc;\n    }\n    static create(args, returns, params) {\n        return new ZodFunction({\n            args: (args\n                ? args\n                : ZodTuple.create([]).rest(ZodUnknown.create())),\n            returns: returns || ZodUnknown.create(),\n            typeName: ZodFirstPartyTypeKind.ZodFunction,\n            ...processCreateParams(params),\n        });\n    }\n}\nclass ZodLazy extends ZodType {\n    get schema() {\n        return this._def.getter();\n    }\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        const lazySchema = this._def.getter();\n        return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });\n    }\n}\nZodLazy.create = (getter, params) => {\n    return new ZodLazy({\n        getter: getter,\n        typeName: ZodFirstPartyTypeKind.ZodLazy,\n        ...processCreateParams(params),\n    });\n};\nclass ZodLiteral extends ZodType {\n    _parse(input) {\n        if (input.data !== this._def.value) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_literal,\n                expected: this._def.value,\n            });\n            return INVALID;\n        }\n        return { status: \"valid\", value: input.data };\n    }\n    get value() {\n        return this._def.value;\n    }\n}\nZodLiteral.create = (value, params) => {\n    return new ZodLiteral({\n        value: value,\n        typeName: ZodFirstPartyTypeKind.ZodLiteral,\n        ...processCreateParams(params),\n    });\n};\nfunction createZodEnum(values, params) {\n    return new ZodEnum({\n        values: values,\n        typeName: ZodFirstPartyTypeKind.ZodEnum,\n        ...processCreateParams(params),\n    });\n}\nclass ZodEnum extends ZodType {\n    _parse(input) {\n        if (typeof input.data !== \"string\") {\n            const ctx = this._getOrReturnCtx(input);\n            const expectedValues = this._def.values;\n            addIssueToContext(ctx, {\n                expected: util.joinValues(expectedValues),\n                received: ctx.parsedType,\n                code: ZodIssueCode.invalid_type,\n            });\n            return INVALID;\n        }\n        if (this._def.values.indexOf(input.data) === -1) {\n            const ctx = this._getOrReturnCtx(input);\n            const expectedValues = this._def.values;\n            addIssueToContext(ctx, {\n                received: ctx.data,\n                code: ZodIssueCode.invalid_enum_value,\n                options: expectedValues,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n    get options() {\n        return this._def.values;\n    }\n    get enum() {\n        const enumValues = {};\n        for (const val of this._def.values) {\n            enumValues[val] = val;\n        }\n        return enumValues;\n    }\n    get Values() {\n        const enumValues = {};\n        for (const val of this._def.values) {\n            enumValues[val] = val;\n        }\n        return enumValues;\n    }\n    get Enum() {\n        const enumValues = {};\n        for (const val of this._def.values) {\n            enumValues[val] = val;\n        }\n        return enumValues;\n    }\n}\nZodEnum.create = createZodEnum;\nclass ZodNativeEnum extends ZodType {\n    _parse(input) {\n        const nativeEnumValues = util.getValidEnumValues(this._def.values);\n        const ctx = this._getOrReturnCtx(input);\n        if (ctx.parsedType !== ZodParsedType.string &&\n            ctx.parsedType !== ZodParsedType.number) {\n            const expectedValues = util.objectValues(nativeEnumValues);\n            addIssueToContext(ctx, {\n                expected: util.joinValues(expectedValues),\n                received: ctx.parsedType,\n                code: ZodIssueCode.invalid_type,\n            });\n            return INVALID;\n        }\n        if (nativeEnumValues.indexOf(input.data) === -1) {\n            const expectedValues = util.objectValues(nativeEnumValues);\n            addIssueToContext(ctx, {\n                received: ctx.data,\n                code: ZodIssueCode.invalid_enum_value,\n                options: expectedValues,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n    get enum() {\n        return this._def.values;\n    }\n}\nZodNativeEnum.create = (values, params) => {\n    return new ZodNativeEnum({\n        values: values,\n        typeName: ZodFirstPartyTypeKind.ZodNativeEnum,\n        ...processCreateParams(params),\n    });\n};\nclass ZodPromise extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.promise &&\n            ctx.common.async === false) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.promise,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const promisified = ctx.parsedType === ZodParsedType.promise\n            ? ctx.data\n            : Promise.resolve(ctx.data);\n        return OK(promisified.then((data) => {\n            return this._def.type.parseAsync(data, {\n                path: ctx.path,\n                errorMap: ctx.common.contextualErrorMap,\n            });\n        }));\n    }\n}\nZodPromise.create = (schema, params) => {\n    return new ZodPromise({\n        type: schema,\n        typeName: ZodFirstPartyTypeKind.ZodPromise,\n        ...processCreateParams(params),\n    });\n};\nclass ZodEffects extends ZodType {\n    innerType() {\n        return this._def.schema;\n    }\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        const effect = this._def.effect || null;\n        if (effect.type === \"preprocess\") {\n            const processed = effect.transform(ctx.data);\n            if (ctx.common.async) {\n                return Promise.resolve(processed).then((processed) => {\n                    return this._def.schema._parseAsync({\n                        data: processed,\n                        path: ctx.path,\n                        parent: ctx,\n                    });\n                });\n            }\n            else {\n                return this._def.schema._parseSync({\n                    data: processed,\n                    path: ctx.path,\n                    parent: ctx,\n                });\n            }\n        }\n        const checkCtx = {\n            addIssue: (arg) => {\n                addIssueToContext(ctx, arg);\n                if (arg.fatal) {\n                    status.abort();\n                }\n                else {\n                    status.dirty();\n                }\n            },\n            get path() {\n                return ctx.path;\n            },\n        };\n        checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx);\n        if (effect.type === \"refinement\") {\n            const executeRefinement = (acc\n            // effect: RefinementEffect<any>\n            ) => {\n                const result = effect.refinement(acc, checkCtx);\n                if (ctx.common.async) {\n                    return Promise.resolve(result);\n                }\n                if (result instanceof Promise) {\n                    throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");\n                }\n                return acc;\n            };\n            if (ctx.common.async === false) {\n                const inner = this._def.schema._parseSync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: ctx,\n                });\n                if (inner.status === \"aborted\")\n                    return INVALID;\n                if (inner.status === \"dirty\")\n                    status.dirty();\n                // return value is ignored\n                executeRefinement(inner.value);\n                return { status: status.value, value: inner.value };\n            }\n            else {\n                return this._def.schema\n                    ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n                    .then((inner) => {\n                    if (inner.status === \"aborted\")\n                        return INVALID;\n                    if (inner.status === \"dirty\")\n                        status.dirty();\n                    return executeRefinement(inner.value).then(() => {\n                        return { status: status.value, value: inner.value };\n                    });\n                });\n            }\n        }\n        if (effect.type === \"transform\") {\n            if (ctx.common.async === false) {\n                const base = this._def.schema._parseSync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: ctx,\n                });\n                // if (base.status === \"aborted\") return INVALID;\n                // if (base.status === \"dirty\") {\n                //   return { status: \"dirty\", value: base.value };\n                // }\n                if (!isValid(base))\n                    return base;\n                const result = effect.transform(base.value, checkCtx);\n                if (result instanceof Promise) {\n                    throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);\n                }\n                return { status: status.value, value: result };\n            }\n            else {\n                return this._def.schema\n                    ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n                    .then((base) => {\n                    if (!isValid(base))\n                        return base;\n                    // if (base.status === \"aborted\") return INVALID;\n                    // if (base.status === \"dirty\") {\n                    //   return { status: \"dirty\", value: base.value };\n                    // }\n                    return Promise.resolve(effect.transform(base.value, checkCtx)).then((result) => ({ status: status.value, value: result }));\n                });\n            }\n        }\n        util.assertNever(effect);\n    }\n}\nZodEffects.create = (schema, effect, params) => {\n    return new ZodEffects({\n        schema,\n        typeName: ZodFirstPartyTypeKind.ZodEffects,\n        effect,\n        ...processCreateParams(params),\n    });\n};\nZodEffects.createWithPreprocess = (preprocess, schema, params) => {\n    return new ZodEffects({\n        schema,\n        effect: { type: \"preprocess\", transform: preprocess },\n        typeName: ZodFirstPartyTypeKind.ZodEffects,\n        ...processCreateParams(params),\n    });\n};\nclass ZodOptional extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType === ZodParsedType.undefined) {\n            return OK(undefined);\n        }\n        return this._def.innerType._parse(input);\n    }\n    unwrap() {\n        return this._def.innerType;\n    }\n}\nZodOptional.create = (type, params) => {\n    return new ZodOptional({\n        innerType: type,\n        typeName: ZodFirstPartyTypeKind.ZodOptional,\n        ...processCreateParams(params),\n    });\n};\nclass ZodNullable extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType === ZodParsedType.null) {\n            return OK(null);\n        }\n        return this._def.innerType._parse(input);\n    }\n    unwrap() {\n        return this._def.innerType;\n    }\n}\nZodNullable.create = (type, params) => {\n    return new ZodNullable({\n        innerType: type,\n        typeName: ZodFirstPartyTypeKind.ZodNullable,\n        ...processCreateParams(params),\n    });\n};\nclass ZodDefault extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        let data = ctx.data;\n        if (ctx.parsedType === ZodParsedType.undefined) {\n            data = this._def.defaultValue();\n        }\n        return this._def.innerType._parse({\n            data,\n            path: ctx.path,\n            parent: ctx,\n        });\n    }\n    removeDefault() {\n        return this._def.innerType;\n    }\n}\nZodDefault.create = (type, params) => {\n    return new ZodOptional({\n        innerType: type,\n        typeName: ZodFirstPartyTypeKind.ZodOptional,\n        ...processCreateParams(params),\n    });\n};\nclass ZodNaN extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.nan) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.nan,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return { status: \"valid\", value: input.data };\n    }\n}\nZodNaN.create = (params) => {\n    return new ZodNaN({\n        typeName: ZodFirstPartyTypeKind.ZodNaN,\n        ...processCreateParams(params),\n    });\n};\nconst BRAND = Symbol(\"zod_brand\");\nclass ZodBranded extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        const data = ctx.data;\n        return this._def.type._parse({\n            data,\n            path: ctx.path,\n            parent: ctx,\n        });\n    }\n    unwrap() {\n        return this._def.type;\n    }\n}\nconst custom = (check, params = {}, fatal) => {\n    if (check)\n        return ZodAny.create().superRefine((data, ctx) => {\n            if (!check(data)) {\n                const p = typeof params === \"function\" ? params(data) : params;\n                const p2 = typeof p === \"string\" ? { message: p } : p;\n                ctx.addIssue({ code: \"custom\", ...p2, fatal });\n            }\n        });\n    return ZodAny.create();\n};\nconst late = {\n    object: ZodObject.lazycreate,\n};\nvar ZodFirstPartyTypeKind;\n(function (ZodFirstPartyTypeKind) {\n    ZodFirstPartyTypeKind[\"ZodString\"] = \"ZodString\";\n    ZodFirstPartyTypeKind[\"ZodNumber\"] = \"ZodNumber\";\n    ZodFirstPartyTypeKind[\"ZodNaN\"] = \"ZodNaN\";\n    ZodFirstPartyTypeKind[\"ZodBigInt\"] = \"ZodBigInt\";\n    ZodFirstPartyTypeKind[\"ZodBoolean\"] = \"ZodBoolean\";\n    ZodFirstPartyTypeKind[\"ZodDate\"] = \"ZodDate\";\n    ZodFirstPartyTypeKind[\"ZodUndefined\"] = \"ZodUndefined\";\n    ZodFirstPartyTypeKind[\"ZodNull\"] = \"ZodNull\";\n    ZodFirstPartyTypeKind[\"ZodAny\"] = \"ZodAny\";\n    ZodFirstPartyTypeKind[\"ZodUnknown\"] = \"ZodUnknown\";\n    ZodFirstPartyTypeKind[\"ZodNever\"] = \"ZodNever\";\n    ZodFirstPartyTypeKind[\"ZodVoid\"] = \"ZodVoid\";\n    ZodFirstPartyTypeKind[\"ZodArray\"] = \"ZodArray\";\n    ZodFirstPartyTypeKind[\"ZodObject\"] = \"ZodObject\";\n    ZodFirstPartyTypeKind[\"ZodUnion\"] = \"ZodUnion\";\n    ZodFirstPartyTypeKind[\"ZodDiscriminatedUnion\"] = \"ZodDiscriminatedUnion\";\n    ZodFirstPartyTypeKind[\"ZodIntersection\"] = \"ZodIntersection\";\n    ZodFirstPartyTypeKind[\"ZodTuple\"] = \"ZodTuple\";\n    ZodFirstPartyTypeKind[\"ZodRecord\"] = \"ZodRecord\";\n    ZodFirstPartyTypeKind[\"ZodMap\"] = \"ZodMap\";\n    ZodFirstPartyTypeKind[\"ZodSet\"] = \"ZodSet\";\n    ZodFirstPartyTypeKind[\"ZodFunction\"] = \"ZodFunction\";\n    ZodFirstPartyTypeKind[\"ZodLazy\"] = \"ZodLazy\";\n    ZodFirstPartyTypeKind[\"ZodLiteral\"] = \"ZodLiteral\";\n    ZodFirstPartyTypeKind[\"ZodEnum\"] = \"ZodEnum\";\n    ZodFirstPartyTypeKind[\"ZodEffects\"] = \"ZodEffects\";\n    ZodFirstPartyTypeKind[\"ZodNativeEnum\"] = \"ZodNativeEnum\";\n    ZodFirstPartyTypeKind[\"ZodOptional\"] = \"ZodOptional\";\n    ZodFirstPartyTypeKind[\"ZodNullable\"] = \"ZodNullable\";\n    ZodFirstPartyTypeKind[\"ZodDefault\"] = \"ZodDefault\";\n    ZodFirstPartyTypeKind[\"ZodPromise\"] = \"ZodPromise\";\n    ZodFirstPartyTypeKind[\"ZodBranded\"] = \"ZodBranded\";\n})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));\n// new approach that works for abstract classes\n// but required TS 4.4+\n// abstract class Class {\n//   constructor(..._: any[]) {}\n// }\n// const instanceOfType = <T extends typeof Class>(\nconst instanceOfType = (cls, params = {\n    message: `Input not instance of ${cls.name}`,\n}) => custom((data) => data instanceof cls, params, true);\nconst stringType = ZodString.create;\nconst numberType = ZodNumber.create;\nconst nanType = ZodNaN.create;\nconst bigIntType = ZodBigInt.create;\nconst booleanType = ZodBoolean.create;\nconst dateType = ZodDate.create;\nconst undefinedType = ZodUndefined.create;\nconst nullType = ZodNull.create;\nconst anyType = ZodAny.create;\nconst unknownType = ZodUnknown.create;\nconst neverType = ZodNever.create;\nconst voidType = ZodVoid.create;\nconst arrayType = ZodArray.create;\nconst objectType = ZodObject.create;\nconst strictObjectType = ZodObject.strictCreate;\nconst unionType = ZodUnion.create;\nconst discriminatedUnionType = ZodDiscriminatedUnion.create;\nconst intersectionType = ZodIntersection.create;\nconst tupleType = ZodTuple.create;\nconst recordType = ZodRecord.create;\nconst mapType = ZodMap.create;\nconst setType = ZodSet.create;\nconst functionType = ZodFunction.create;\nconst lazyType = ZodLazy.create;\nconst literalType = ZodLiteral.create;\nconst enumType = ZodEnum.create;\nconst nativeEnumType = ZodNativeEnum.create;\nconst promiseType = ZodPromise.create;\nconst effectsType = ZodEffects.create;\nconst optionalType = ZodOptional.create;\nconst nullableType = ZodNullable.create;\nconst preprocessType = ZodEffects.createWithPreprocess;\nconst ostring = () => stringType().optional();\nconst onumber = () => numberType().optional();\nconst oboolean = () => booleanType().optional();\nconst NEVER = INVALID;\n\nvar mod = /*#__PURE__*/Object.freeze({\n    __proto__: null,\n    getParsedType: getParsedType,\n    ZodParsedType: ZodParsedType,\n    defaultErrorMap: errorMap,\n    setErrorMap: setErrorMap,\n    getErrorMap: getErrorMap,\n    makeIssue: makeIssue,\n    EMPTY_PATH: EMPTY_PATH,\n    addIssueToContext: addIssueToContext,\n    ParseStatus: ParseStatus,\n    INVALID: INVALID,\n    DIRTY: DIRTY,\n    OK: OK,\n    isAborted: isAborted,\n    isDirty: isDirty,\n    isValid: isValid,\n    isAsync: isAsync,\n    ZodType: ZodType,\n    ZodString: ZodString,\n    ZodNumber: ZodNumber,\n    ZodBigInt: ZodBigInt,\n    ZodBoolean: ZodBoolean,\n    ZodDate: ZodDate,\n    ZodUndefined: ZodUndefined,\n    ZodNull: ZodNull,\n    ZodAny: ZodAny,\n    ZodUnknown: ZodUnknown,\n    ZodNever: ZodNever,\n    ZodVoid: ZodVoid,\n    ZodArray: ZodArray,\n    get objectUtil () { return objectUtil; },\n    ZodObject: ZodObject,\n    ZodUnion: ZodUnion,\n    ZodDiscriminatedUnion: ZodDiscriminatedUnion,\n    ZodIntersection: ZodIntersection,\n    ZodTuple: ZodTuple,\n    ZodRecord: ZodRecord,\n    ZodMap: ZodMap,\n    ZodSet: ZodSet,\n    ZodFunction: ZodFunction,\n    ZodLazy: ZodLazy,\n    ZodLiteral: ZodLiteral,\n    ZodEnum: ZodEnum,\n    ZodNativeEnum: ZodNativeEnum,\n    ZodPromise: ZodPromise,\n    ZodEffects: ZodEffects,\n    ZodTransformer: ZodEffects,\n    ZodOptional: ZodOptional,\n    ZodNullable: ZodNullable,\n    ZodDefault: ZodDefault,\n    ZodNaN: ZodNaN,\n    BRAND: BRAND,\n    ZodBranded: ZodBranded,\n    custom: custom,\n    Schema: ZodType,\n    ZodSchema: ZodType,\n    late: late,\n    get ZodFirstPartyTypeKind () { return ZodFirstPartyTypeKind; },\n    any: anyType,\n    array: arrayType,\n    bigint: bigIntType,\n    boolean: booleanType,\n    date: dateType,\n    discriminatedUnion: discriminatedUnionType,\n    effect: effectsType,\n    'enum': enumType,\n    'function': functionType,\n    'instanceof': instanceOfType,\n    intersection: intersectionType,\n    lazy: lazyType,\n    literal: literalType,\n    map: mapType,\n    nan: nanType,\n    nativeEnum: nativeEnumType,\n    never: neverType,\n    'null': nullType,\n    nullable: nullableType,\n    number: numberType,\n    object: objectType,\n    oboolean: oboolean,\n    onumber: onumber,\n    optional: optionalType,\n    ostring: ostring,\n    preprocess: preprocessType,\n    promise: promiseType,\n    record: recordType,\n    set: setType,\n    strictObject: strictObjectType,\n    string: stringType,\n    transformer: effectsType,\n    tuple: tupleType,\n    'undefined': undefinedType,\n    union: unionType,\n    unknown: unknownType,\n    'void': voidType,\n    NEVER: NEVER,\n    ZodIssueCode: ZodIssueCode,\n    quotelessJson: quotelessJson,\n    ZodError: ZodError\n});\n\nexport { BRAND, DIRTY, EMPTY_PATH, INVALID, NEVER, OK, ParseStatus, ZodType as Schema, ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodBranded, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodEffects, ZodEnum, ZodError, ZodFirstPartyTypeKind, ZodFunction, ZodIntersection, ZodIssueCode, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNativeEnum, ZodNever, ZodNull, ZodNullable, ZodNumber, ZodObject, ZodOptional, ZodParsedType, ZodPromise, ZodRecord, ZodType as ZodSchema, ZodSet, ZodString, ZodEffects as ZodTransformer, ZodTuple, ZodType, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, addIssueToContext, anyType as any, arrayType as array, bigIntType as bigint, booleanType as boolean, custom, dateType as date, mod as default, errorMap as defaultErrorMap, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, getErrorMap, getParsedType, instanceOfType as instanceof, intersectionType as intersection, isAborted, isAsync, isDirty, isValid, late, lazyType as lazy, literalType as literal, makeIssue, mapType as map, nanType as nan, nativeEnumType as nativeEnum, neverType as never, nullType as null, nullableType as nullable, numberType as number, objectType as object, objectUtil, oboolean, onumber, optionalType as optional, ostring, preprocessType as preprocess, promiseType as promise, quotelessJson, recordType as record, setType as set, setErrorMap, strictObjectType as strictObject, stringType as string, effectsType as transformer, tupleType as tuple, undefinedType as undefined, unionType as union, unknownType as unknown, voidType as void, mod as z };\n", "import { z } from 'zod'\n\nexport type QueryParams = Record<string, any>\nexport type Headers = Record<string, string>\n\nexport interface CallOptions {\n  encoding?: string\n  headers?: Headers\n}\n\nexport interface FetchHandlerResponse {\n  status: number\n  headers: Headers\n  body: ArrayBuffer | undefined\n}\n\nexport type FetchHandler = (\n  httpUri: string,\n  httpMethod: string,\n  httpHeaders: Headers,\n  httpReqBody: any,\n) => Promise<FetchHandlerResponse>\n\nexport const errorResponseBody = z.object({\n  error: z.string().optional(),\n  message: z.string().optional(),\n})\nexport type ErrorResponseBody = z.infer<typeof errorResponseBody>\n\nexport enum ResponseType {\n  Unknown = 1,\n  InvalidResponse = 2,\n  Success = 200,\n  InvalidRequest = 400,\n  AuthRequired = 401,\n  Forbidden = 403,\n  XRPCNotSupported = 404,\n  PayloadTooLarge = 413,\n  RateLimitExceeded = 429,\n  InternalServerError = 500,\n  MethodNotImplemented = 501,\n  UpstreamFailure = 502,\n  NotEnoughResouces = 503,\n  UpstreamTimeout = 504,\n}\n\nexport const ResponseTypeNames = {\n  [ResponseType.InvalidResponse]: 'InvalidResponse',\n  [ResponseType.Success]: 'Success',\n  [ResponseType.InvalidRequest]: 'InvalidRequest',\n  [ResponseType.AuthRequired]: 'AuthenticationRequired',\n  [ResponseType.Forbidden]: 'Forbidden',\n  [ResponseType.XRPCNotSupported]: 'XRPCNotSupported',\n  [ResponseType.PayloadTooLarge]: 'PayloadTooLarge',\n  [ResponseType.RateLimitExceeded]: 'RateLimitExceeded',\n  [ResponseType.InternalServerError]: 'InternalServerError',\n  [ResponseType.MethodNotImplemented]: 'MethodNotImplemented',\n  [ResponseType.UpstreamFailure]: 'UpstreamFailure',\n  [ResponseType.NotEnoughResouces]: 'NotEnoughResouces',\n  [ResponseType.UpstreamTimeout]: 'UpstreamTimeout',\n}\n\nexport const ResponseTypeStrings = {\n  [ResponseType.InvalidResponse]: 'Invalid Response',\n  [ResponseType.Success]: 'Success',\n  [ResponseType.InvalidRequest]: 'Invalid Request',\n  [ResponseType.AuthRequired]: 'Authentication Required',\n  [ResponseType.Forbidden]: 'Forbidden',\n  [ResponseType.XRPCNotSupported]: 'XRPC Not Supported',\n  [ResponseType.PayloadTooLarge]: 'Payload Too Large',\n  [ResponseType.RateLimitExceeded]: 'Rate Limit Exceeded',\n  [ResponseType.InternalServerError]: 'Internal Server Error',\n  [ResponseType.MethodNotImplemented]: 'Method Not Implemented',\n  [ResponseType.UpstreamFailure]: 'Upstream Failure',\n  [ResponseType.NotEnoughResouces]: 'Not Enough Resouces',\n  [ResponseType.UpstreamTimeout]: 'Upstream Timeout',\n}\n\nexport class XRPCResponse {\n  success = true\n\n  constructor(public data: any, public headers: Headers) {}\n}\n\nexport class XRPCError extends Error {\n  success = false\n\n  constructor(\n    public status: ResponseType,\n    public error?: string,\n    message?: string,\n  ) {\n    super(message || error || ResponseTypeStrings[status])\n    if (!this.error) {\n      this.error = ResponseTypeNames[status]\n    }\n  }\n}\n", "/*\nGrammar:\n\nalpha     = \"a\" / \"b\" / \"c\" / \"d\" / \"e\" / \"f\" / \"g\" / \"h\" / \"i\" / \"j\" / \"k\" / \"l\" / \"m\" / \"n\" / \"o\" / \"p\" / \"q\" / \"r\" / \"s\" / \"t\" / \"u\" / \"v\" / \"w\" / \"x\" / \"y\" / \"z\" / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\" / \"G\" / \"H\" / \"I\" / \"J\" / \"K\" / \"L\" / \"M\" / \"N\" / \"O\" / \"P\" / \"Q\" / \"R\" / \"S\" / \"T\" / \"U\" / \"V\" / \"W\" / \"X\" / \"Y\" / \"Z\"\nnumber    = \"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\" / \"0\"\ndelim     = \".\"\nsegment   = alpha *( alpha / number / \"-\" )\nauthority = segment *( delim segment )\nname      = segment\nnsid      = authority delim name\nnsid-ns   = authority delim \"*\"\n\n*/\n\nconst SEGMENT_RE = /^[a-zA-Z]([a-zA-Z0-9-])*$/\n\nexport class NSID {\n  segments: string[] = []\n\n  static parse(nsid: string): NSID {\n    return new NSID(nsid)\n  }\n\n  static create(authority: string, name: string): NSID {\n    const segments = [...authority.split('.').reverse(), name].join('.')\n    return new NSID(segments)\n  }\n\n  static isValid(nsid: string): boolean {\n    try {\n      NSID.parse(nsid)\n      return true\n    } catch (e: any) {\n      return false\n    }\n  }\n\n  constructor(nsid: string) {\n    const segments = nsid.split('.')\n    if (segments.length <= 2) {\n      throw new Error(`Invalid NSID: ${nsid}`)\n    }\n    for (let i = 0; i < segments.length; i++) {\n      const segment = segments[i]\n      if (SEGMENT_RE.test(segment)) {\n        continue\n      }\n      if (i === segments.length - 1 && segment === '*') {\n        continue\n      }\n      throw new Error(`Invalid NSID: invalid character in segment \"${segment}\"`)\n    }\n    this.segments = segments\n  }\n\n  get authority() {\n    return this.segments\n      .slice(0, this.segments.length - 1)\n      .reverse()\n      .join('.')\n  }\n\n  get name() {\n    return this.segments.at(this.segments.length - 1)\n  }\n\n  toString() {\n    return this.segments.join('.')\n  }\n}\n", "import { z } from 'zod'\nimport { NSID } from '@atproto/nsid'\n\nexport const tokenSchema = z.object({\n  lexicon: z.literal(1),\n  id: z.string().refine((v: string) => NSID.isValid(v), {\n    message: 'Must be a valid NSID',\n  }),\n  type: z.enum(['token']),\n  revision: z.number().optional(),\n  description: z.string().optional(),\n  defs: z.any().optional(),\n})\nexport type TokenSchema = z.infer<typeof tokenSchema>\n\nexport function isValidTokenSchema(v: unknown): v is TokenSchema {\n  return tokenSchema.safeParse(v).success\n}\n\nexport const recordSchema = z.object({\n  lexicon: z.literal(1),\n  id: z.string().refine((v: string) => NSID.isValid(v), {\n    message: 'Must be a valid NSID',\n  }),\n  type: z.enum(['record']),\n  revision: z.number().optional(),\n  description: z.string().optional(),\n  key: z.string().optional(),\n  record: z.any().optional(),\n  defs: z.any().optional(),\n})\nexport type RecordSchema = z.infer<typeof recordSchema>\n\nexport function isValidRecordSchema(v: unknown): v is RecordSchema {\n  return recordSchema.safeParse(v).success\n}\n\nexport class RecordSchemaMalformedError extends Error {\n  constructor(\n    message: string,\n    public schemaDef: unknown,\n    public issues?: z.ZodIssue[],\n  ) {\n    super(message)\n    this.schemaDef = schemaDef\n    this.issues = issues\n  }\n}\n\nexport const methodSchemaBody = z.object({\n  encoding: z.union([z.string(), z.string().array()]),\n  description: z.string().optional(),\n  schema: z.any().optional(),\n})\nexport type MethodSchemaBody = z.infer<typeof methodSchemaBody>\n\nexport const methodSchemaParam = z\n  .object({\n    type: z.literal('object'),\n    properties: z.record(\n      z\n        .object({\n          type: z.enum(['string', 'number', 'integer', 'boolean']),\n        })\n        .catchall(z.any()),\n    ),\n  })\n  .catchall(z.any())\nexport type MethodSchemaParam = z.infer<typeof methodSchemaParam>\n\nexport const methodSchemaError = z.object({\n  name: z.string(),\n  description: z.string().optional(),\n})\nexport type MethodSchemaError = z.infer<typeof methodSchemaError>\n\nexport const methodSchema = z.object({\n  lexicon: z.literal(1),\n  id: z.string(),\n  type: z.enum(['query', 'procedure']),\n  description: z.string().optional(),\n  parameters: methodSchemaParam.optional(),\n  input: methodSchemaBody.optional(),\n  output: methodSchemaBody.optional(),\n  errors: methodSchemaError.array().optional(),\n  defs: z.any().optional(),\n})\nexport type MethodSchema = z.infer<typeof methodSchema>\n\nexport function isValidMethodSchema(v: unknown): v is MethodSchema {\n  return methodSchema.safeParse(v).success\n}\n\nexport type Schema = TokenSchema | RecordSchema | MethodSchema\n\nexport class SchemaNotFoundError extends Error {}\n", "import Ajv, { ValidateFunction } from 'ajv'\nimport ajvAddFormats from 'ajv-formats'\nimport { RecordSchema, RecordSchemaMalformedError } from '../types'\n\nconst ajv = new Ajv()\najvAddFormats(ajv)\n\n/**\n * A compiled schema.\n */\nexport class CompiledRecordSchema {\n  id: string\n  validate?: ValidateFunction\n\n  constructor(public def: RecordSchema) {\n    this.id = def.id\n\n    // .record\n    try {\n      if (def.record) {\n        if (def.record.type !== 'object') {\n          throw new Error('The base .type must be an \"object\"')\n        }\n        this.validate = ajv.compile(def.record)\n      }\n    } catch (e: any) {\n      throw new RecordSchemaMalformedError(\n        `The \"${this.id}\" .record failed to compile: ${e.message}`,\n        def,\n      )\n    }\n  }\n}\n\nexport default CompiledRecordSchema\n", "import Ajv from 'ajv'\nimport ajvAddFormats from 'ajv-formats'\nimport * as util from './util'\n\nimport CompiledRecordSchema from './schema'\nimport RecordSchemas from './schemas'\nimport {\n  ValidationError,\n  ValidationResult,\n  ValidationResultCode,\n} from './validation'\n\nconst ajv = new Ajv()\najvAddFormats(ajv)\n\nexport interface RecordValidatorDescription {\n  type: string | string[]\n  ext?: string | string[]\n}\n\n/**\n * Validates records using schemas.\n */\nexport class RecordValidator {\n  constructor(\n    private schemas: RecordSchemas,\n    public type: CompiledRecordSchema[],\n    public ext: CompiledRecordSchema[],\n  ) {}\n\n  /**\n   * Returns detailed information about validity and compatibility.\n   */\n  validate(value: unknown): ValidationResult {\n    const res = new ValidationResult()\n\n    // basic validation\n    if (!util.isRecord(value)) {\n      res._t(ValidationResultCode.Invalid, `The passed value is not an object`)\n      return res // abort now\n    }\n    if (!value.$type) {\n      res._t(\n        ValidationResultCode.Invalid,\n        `The passed value does not declare a $type`,\n      )\n      return res // abort now\n    }\n\n    // lookup schema\n    const typeSchema = this.type.find(schemaIdFilter(value.$type as string))\n    if (!typeSchema) {\n      res._t(\n        ValidationResultCode.Incompatible,\n        `Record type ${value.$type} is not supported`,\n      )\n    } else if (!typeSchema.validate) {\n      res._t(\n        ValidationResultCode.Incompatible,\n        `Record type ${value.$type} is not a record schema`,\n      )\n    } else {\n      // validate base type\n      const typeIsValid = typeSchema.validate(value)\n      if (!typeIsValid) {\n        res._fail(typeSchema, typeSchema.validate)\n      }\n    }\n\n    // validate extension objects\n    if ('$ext' in value && typeof value.$ext === 'object') {\n      for (const [extSchemaId, obj] of Object.entries(\n        value.$ext as Record<string, unknown>,\n      )) {\n        const extObj = obj as Record<string, unknown>\n\n        const extIsRequired =\n          '$required' in extObj && typeof extObj.$required === 'boolean'\n            ? extObj.$required\n            : false\n\n        let extFallback\n        if ('$fallback' in extObj && typeof extObj.$fallback === 'string') {\n          extFallback = extObj.$fallback\n        }\n\n        // lookup extension\n        const extSchema = this.ext.find(schemaIdFilter(extSchemaId))\n        if (!extSchema || !extSchema.validate) {\n          if (extIsRequired) {\n            res._t(\n              ValidationResultCode.Incompatible,\n              `Record extension ${extSchemaId} is not supported`,\n            )\n          } else {\n            res._t(ValidationResultCode.Partial, extFallback)\n          }\n        } else {\n          // validate extension object\n          const extObjIsValid = extSchema.validate(extObj)\n          if (!extObjIsValid) {\n            res._fail(extSchema, extSchema.validate)\n          }\n        }\n      }\n    }\n\n    return res\n  }\n\n  /**\n   * Provides a simple boolean check of validity.\n   */\n  isValid(value: unknown) {\n    const res = this.validate(value)\n    return res.valid\n  }\n\n  /**\n   * Like validate() but throws if validation fails.\n   */\n  assertValid(value: unknown) {\n    const res = this.validate(value)\n    if (!res.valid) {\n      throw new ValidationError(res)\n    }\n    return res\n  }\n}\n\n// helpers\n\nconst schemaIdFilter = (schemaId: string) => (s: CompiledRecordSchema) =>\n  s.id === schemaId\n\nexport default RecordValidator\n", "import { MethodSchema } from '@atproto/lexicon'\nimport {\n  CallOptions,\n  Headers,\n  QueryParams,\n  ResponseType,\n  XRPCError,\n} from './types'\n\nexport function getMethodSchemaHTTPMethod(schema: MethodSchema) {\n  if (schema.type === 'query') {\n    return 'get'\n  }\n  if (schema.type === 'procedure') {\n    return 'post'\n  }\n  throw new Error(`Invalid method type: ${schema.type}`)\n}\n\nexport function constructMethodCallUri(\n  schema: MethodSchema,\n  serviceUri: URL,\n  params?: QueryParams,\n): string {\n  const uri = new URL(serviceUri)\n  uri.pathname = `/xrpc/${schema.id}`\n\n  // given parameters\n  if (params) {\n    for (const [key, value] of Object.entries(params)) {\n      const paramSchema = schema.parameters?.properties[key]\n      if (!paramSchema) {\n        throw new Error(`Invalid query parameter: ${key}`)\n      }\n      if (value !== undefined) {\n        uri.searchParams.set(key, encodeQueryParam(paramSchema.type, value))\n      }\n    }\n  }\n\n  return uri.toString()\n}\n\nexport function encodeQueryParam(\n  type: 'string' | 'number' | 'integer' | 'boolean',\n  value: any,\n): string {\n  if (type === 'string') {\n    return String(value)\n  }\n  if (type === 'number') {\n    return String(Number(value))\n  } else if (type === 'integer') {\n    return String(Number(value) | 0)\n  } else if (type === 'boolean') {\n    return value ? 'true' : 'false'\n  }\n  throw new Error(`Unsupported query param type: ${type}`)\n}\n\nexport function constructMethodCallHeaders(\n  schema: MethodSchema,\n  data?: any,\n  opts?: CallOptions,\n): Headers {\n  const headers: Headers = opts?.headers || {}\n  if (schema.type === 'procedure') {\n    if (opts?.encoding) {\n      headers['Content-Type'] = opts.encoding\n    }\n    if (data && typeof data === 'object') {\n      if (!headers['Content-Type']) {\n        headers['Content-Type'] = 'application/json'\n      }\n    }\n  }\n  return headers\n}\n\nexport function encodeMethodCallBody(\n  headers: Headers,\n  data?: any,\n): ArrayBuffer | undefined {\n  if (!headers['Content-Type'] || typeof data === 'undefined') {\n    return undefined\n  }\n  if (data instanceof ArrayBuffer) {\n    return data\n  }\n  if (headers['Content-Type'].startsWith('text/')) {\n    return new TextEncoder().encode(data.toString())\n  }\n  if (headers['Content-Type'].startsWith('application/json')) {\n    return new TextEncoder().encode(JSON.stringify(data))\n  }\n  return data\n}\n\nexport function httpResponseCodeToEnum(status: number): ResponseType {\n  let resCode: ResponseType\n  if (status in ResponseType) {\n    resCode = status\n  } else if (status >= 100 && status < 200) {\n    resCode = ResponseType.XRPCNotSupported\n  } else if (status >= 200 && status < 300) {\n    resCode = ResponseType.Success\n  } else if (status >= 300 && status < 400) {\n    resCode = ResponseType.XRPCNotSupported\n  } else if (status >= 400 && status < 500) {\n    resCode = ResponseType.InvalidRequest\n  } else {\n    resCode = ResponseType.InternalServerError\n  }\n  return resCode\n}\n\nexport function httpResponseBodyParse(\n  mimeType: string | null,\n  data: ArrayBuffer | undefined,\n): any {\n  if (mimeType) {\n    if (mimeType.includes('application/json') && data?.byteLength) {\n      try {\n        const str = new TextDecoder().decode(data)\n        return JSON.parse(str)\n      } catch (e: any) {\n        throw new XRPCError(\n          ResponseType.InvalidResponse,\n          `Failed to parse response body: ${e.toString()}`,\n        )\n      }\n    }\n    if (mimeType.startsWith('text/') && data?.byteLength) {\n      try {\n        return new TextDecoder().decode(data)\n      } catch (e: any) {\n        throw new XRPCError(\n          ResponseType.InvalidResponse,\n          `Failed to parse response body: ${e.toString()}`,\n        )\n      }\n    }\n  }\n  return data\n}\n", "import {\n  methodSchema,\n  MethodSchema,\n  isValidMethodSchema,\n} from '@atproto/lexicon'\nimport {\n  getMethodSchemaHTTPMethod,\n  constructMethodCallUri,\n  constructMethodCallHeaders,\n  encodeMethodCallBody,\n  httpResponseCodeToEnum,\n  httpResponseBodyParse,\n} from './util'\nimport {\n  FetchHandler,\n  FetchHandlerResponse,\n  Headers,\n  CallOptions,\n  QueryParams,\n  ResponseType,\n  errorResponseBody,\n  ErrorResponseBody,\n  XRPCResponse,\n  XRPCError,\n} from './types'\n\nexport class Client {\n  fetch: FetchHandler = defaultFetchHandler\n  schemas: Map<string, MethodSchema> = new Map()\n\n  // method calls\n  //\n\n  async call(\n    serviceUri: string | URL,\n    methodNsid: string,\n    params?: QueryParams,\n    data?: unknown,\n    opts?: CallOptions,\n  ) {\n    return this.service(serviceUri).call(methodNsid, params, data, opts)\n  }\n\n  service(serviceUri: string | URL) {\n    return new ServiceClient(this, serviceUri)\n  }\n\n  // schemas\n  // =\n\n  addSchema(schema: unknown) {\n    if (isValidMethodSchema(schema)) {\n      this.schemas.set(schema.id, schema)\n    } else {\n      methodSchema.parse(schema) // will throw with the validation error\n    }\n  }\n\n  addSchemas(schemas: unknown[]) {\n    for (const schema of schemas) {\n      this.addSchema(schema)\n    }\n  }\n\n  listSchemaIds(): string[] {\n    return Array.from(this.schemas.keys())\n  }\n\n  removeSchema(nsid: string) {\n    this.schemas.delete(nsid)\n  }\n}\n\nexport class ServiceClient {\n  baseClient: Client\n  uri: URL\n  headers: Record<string, string> = {}\n\n  constructor(baseClient: Client, serviceUri: string | URL) {\n    this.baseClient = baseClient\n    this.uri = typeof serviceUri === 'string' ? new URL(serviceUri) : serviceUri\n  }\n\n  setHeader(key: string, value: string): void {\n    this.headers[key] = value\n  }\n\n  unsetHeader(key: string): void {\n    delete this.headers[key]\n  }\n\n  async call(\n    methodNsid: string,\n    params?: QueryParams,\n    data?: unknown,\n    opts?: CallOptions,\n  ) {\n    const schema = this.baseClient.schemas.get(methodNsid)\n    if (!schema) {\n      throw new Error(`Method schema not found: ${methodNsid}`)\n    }\n    const httpMethod = getMethodSchemaHTTPMethod(schema)\n    const httpUri = constructMethodCallUri(schema, this.uri, params)\n    const httpHeaders = constructMethodCallHeaders(schema, data, {\n      headers: {\n        ...this.headers,\n        ...opts?.headers,\n      },\n      encoding: opts?.encoding,\n    })\n\n    const res = await this.baseClient.fetch(\n      httpUri,\n      httpMethod,\n      httpHeaders,\n      data,\n    )\n\n    const resCode = httpResponseCodeToEnum(res.status)\n    if (resCode === ResponseType.Success) {\n      return new XRPCResponse(res.body, res.headers)\n    } else {\n      if (res.body && isErrorResponseBody(res.body)) {\n        throw new XRPCError(resCode, res.body.error, res.body.message)\n      } else {\n        throw new XRPCError(resCode)\n      }\n    }\n  }\n}\n\nasync function defaultFetchHandler(\n  httpUri: string,\n  httpMethod: string,\n  httpHeaders: Headers,\n  httpReqBody: unknown,\n): Promise<FetchHandlerResponse> {\n  try {\n    const res = await fetch(httpUri, {\n      method: httpMethod,\n      headers: httpHeaders,\n      body: encodeMethodCallBody(httpHeaders, httpReqBody),\n    })\n    const resBody = await res.arrayBuffer()\n    return {\n      status: res.status,\n      headers: Object.fromEntries(res.headers.entries()),\n      body: httpResponseBodyParse(res.headers.get('content-type'), resBody),\n    }\n  } catch (e: any) {\n    throw new XRPCError(ResponseType.Unknown, e.toString())\n  }\n}\n\nfunction isErrorResponseBody(v: unknown): v is ErrorResponseBody {\n  return errorResponseBody.safeParse(v).success\n}\n", "export * from './types'\nexport * from './client'\n\nimport { Client } from './client'\nconst defaultInst = new Client()\nexport default defaultInst\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { MethodSchema, RecordSchema } from '@atproto/lexicon'\n\nexport const methodSchemaDict: Record<string, MethodSchema> = {\n  'com.atproto.account.create': {\n    lexicon: 1,\n    id: 'com.atproto.account.create',\n    type: 'procedure',\n    description: 'Create an account.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['handle', 'email', 'password'],\n        properties: {\n          email: {\n            type: 'string',\n          },\n          handle: {\n            type: 'string',\n          },\n          inviteCode: {\n            type: 'string',\n          },\n          password: {\n            type: 'string',\n          },\n          recoveryKey: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n        properties: {\n          accessJwt: {\n            type: 'string',\n          },\n          refreshJwt: {\n            type: 'string',\n          },\n          handle: {\n            type: 'string',\n          },\n          did: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n    errors: [\n      {\n        name: 'InvalidHandle',\n      },\n      {\n        name: 'InvalidPassword',\n      },\n      {\n        name: 'InvalidInviteCode',\n      },\n      {\n        name: 'HandleNotAvailable',\n      },\n    ],\n  },\n  'com.atproto.account.createInviteCode': {\n    lexicon: 1,\n    id: 'com.atproto.account.createInviteCode',\n    type: 'procedure',\n    description: 'Create an invite code.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['useCount'],\n        properties: {\n          useCount: {\n            type: 'integer',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['code'],\n        properties: {\n          code: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.account.delete': {\n    lexicon: 1,\n    id: 'com.atproto.account.delete',\n    type: 'procedure',\n    description: 'Delete an account.',\n    input: {\n      encoding: '',\n      schema: {\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: '',\n      schema: {\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.account.get': {\n    lexicon: 1,\n    id: 'com.atproto.account.get',\n    type: 'query',\n    description: 'Get information about an account.',\n    output: {\n      encoding: '',\n      schema: {\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.account.requestPasswordReset': {\n    lexicon: 1,\n    id: 'com.atproto.account.requestPasswordReset',\n    type: 'procedure',\n    description: 'Initiate a user account password reset via email.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['email'],\n        properties: {\n          email: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        properties: {},\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.account.resetPassword': {\n    lexicon: 1,\n    id: 'com.atproto.account.resetPassword',\n    type: 'procedure',\n    description: 'Reset a user account password using a token.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['token', 'password'],\n        properties: {\n          token: {\n            type: 'string',\n          },\n          password: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        properties: {},\n        $defs: {},\n      },\n    },\n    errors: [\n      {\n        name: 'ExpiredToken',\n      },\n      {\n        name: 'InvalidToken',\n      },\n    ],\n  },\n  'com.atproto.handle.resolve': {\n    lexicon: 1,\n    id: 'com.atproto.handle.resolve',\n    type: 'query',\n    description: 'Provides the DID of a repo.',\n    parameters: {\n      type: 'object',\n      properties: {\n        handle: {\n          type: 'string',\n          description:\n            \"The handle to resolve. If not supplied, will resolve the host's own handle.\",\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['did'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.repo.batchWrite': {\n    lexicon: 1,\n    id: 'com.atproto.repo.batchWrite',\n    type: 'procedure',\n    description: 'Apply a batch transaction of creates, puts, and deletes.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['did', 'writes'],\n        properties: {\n          did: {\n            type: 'string',\n            description: 'The DID of the repo.',\n          },\n          validate: {\n            type: 'boolean',\n            default: true,\n            description: 'Validate the records?',\n          },\n          writes: {\n            type: 'array',\n            items: {\n              oneOf: [\n                {\n                  type: 'object',\n                  required: ['action', 'collection', 'value'],\n                  properties: {\n                    action: {\n                      type: 'string',\n                      const: 'create',\n                    },\n                    collection: {\n                      type: 'string',\n                    },\n                    rkey: {\n                      type: 'string',\n                    },\n                    value: {},\n                  },\n                },\n                {\n                  type: 'object',\n                  required: ['action', 'collection', 'rkey', 'value'],\n                  properties: {\n                    action: {\n                      type: 'string',\n                      const: 'update',\n                    },\n                    collection: {\n                      type: 'string',\n                    },\n                    rkey: {\n                      type: 'string',\n                    },\n                    value: {},\n                  },\n                },\n                {\n                  type: 'object',\n                  required: ['action', 'collection', 'rkey'],\n                  properties: {\n                    action: {\n                      type: 'string',\n                      const: 'delete',\n                    },\n                    collection: {\n                      type: 'string',\n                    },\n                    rkey: {\n                      type: 'string',\n                    },\n                  },\n                },\n              ],\n            },\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.repo.createRecord': {\n    lexicon: 1,\n    id: 'com.atproto.repo.createRecord',\n    type: 'procedure',\n    description: 'Create a new record.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['did', 'collection', 'record'],\n        properties: {\n          did: {\n            type: 'string',\n            description: 'The DID of the repo.',\n          },\n          collection: {\n            type: 'string',\n            description: 'The NSID of the record collection.',\n          },\n          validate: {\n            type: 'boolean',\n            default: true,\n            description: 'Validate the record?',\n          },\n          record: {\n            type: 'object',\n            description: 'The record to create.',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['uri', 'cid'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.repo.deleteRecord': {\n    lexicon: 1,\n    id: 'com.atproto.repo.deleteRecord',\n    type: 'procedure',\n    description: 'Delete a record.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['did', 'collection', 'rkey'],\n        properties: {\n          did: {\n            type: 'string',\n            description: 'The DID of the repo.',\n          },\n          collection: {\n            type: 'string',\n            description: 'The NSID of the record collection.',\n          },\n          rkey: {\n            type: 'string',\n            description: 'The key of the record.',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.repo.describe': {\n    lexicon: 1,\n    id: 'com.atproto.repo.describe',\n    type: 'query',\n    description:\n      'Get information about the repo, including the list of collections.',\n    parameters: {\n      type: 'object',\n      required: ['user'],\n      properties: {\n        user: {\n          type: 'string',\n          description: 'The handle or DID of the repo.',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['handle', 'did', 'didDoc', 'collections', 'handleIsCorrect'],\n        properties: {\n          handle: {\n            type: 'string',\n          },\n          did: {\n            type: 'string',\n          },\n          didDoc: {\n            type: 'object',\n          },\n          collections: {\n            type: 'array',\n            items: {\n              type: 'string',\n            },\n          },\n          handleIsCorrect: {\n            type: 'boolean',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.repo.getRecord': {\n    lexicon: 1,\n    id: 'com.atproto.repo.getRecord',\n    type: 'query',\n    description: 'Fetch a record.',\n    parameters: {\n      type: 'object',\n      required: ['user', 'collection', 'rkey'],\n      properties: {\n        user: {\n          type: 'string',\n          description: 'The handle or DID of the repo.',\n        },\n        collection: {\n          type: 'string',\n          description: 'The NSID of the collection.',\n        },\n        rkey: {\n          type: 'string',\n          description: 'The key of the record.',\n        },\n        cid: {\n          type: 'string',\n          description:\n            'The CID of the version of the record. If not specified, then return the most recent version.',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['uri', 'value'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          value: {\n            type: 'object',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.repo.listRecords': {\n    lexicon: 1,\n    id: 'com.atproto.repo.listRecords',\n    type: 'query',\n    description: 'List a range of records in a collection.',\n    parameters: {\n      type: 'object',\n      required: ['user', 'collection'],\n      properties: {\n        user: {\n          type: 'string',\n          description: 'The handle or DID of the repo.',\n        },\n        collection: {\n          type: 'string',\n          description: 'The NSID of the record type.',\n        },\n        limit: {\n          type: 'integer',\n          minimum: 1,\n          default: 50,\n          description: 'The number of records to return. TODO-max number?',\n        },\n        before: {\n          type: 'string',\n          description: 'A TID to filter the range of records returned.',\n        },\n        after: {\n          type: 'string',\n          description: 'A TID to filter the range of records returned.',\n        },\n        reverse: {\n          type: 'boolean',\n          description: 'Reverse the order of the returned records?',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['records'],\n        properties: {\n          cursor: {\n            type: 'string',\n          },\n          records: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['uri', 'cid', 'value'],\n              properties: {\n                uri: {\n                  type: 'string',\n                },\n                cid: {\n                  type: 'string',\n                },\n                value: {\n                  type: 'object',\n                },\n              },\n            },\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.repo.putRecord': {\n    lexicon: 1,\n    id: 'com.atproto.repo.putRecord',\n    type: 'procedure',\n    description: 'Write a record.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['did', 'collection', 'rkey', 'record'],\n        properties: {\n          did: {\n            type: 'string',\n            description: 'The DID of the repo.',\n          },\n          collection: {\n            type: 'string',\n            description: 'The NSID of the record type.',\n          },\n          rkey: {\n            type: 'string',\n            description: 'The TID of the record.',\n          },\n          validate: {\n            type: 'boolean',\n            default: true,\n            description: 'Validate the record?',\n          },\n          record: {\n            type: 'object',\n            description: 'The record to create.',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['uri', 'cid'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.server.getAccountsConfig': {\n    lexicon: 1,\n    id: 'com.atproto.server.getAccountsConfig',\n    type: 'query',\n    description:\n      \"Get a document describing the service's accounts configuration.\",\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['availableUserDomains'],\n        properties: {\n          inviteCodeRequired: {\n            type: 'boolean',\n          },\n          availableUserDomains: {\n            type: 'array',\n            items: {\n              type: 'string',\n            },\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.session.create': {\n    lexicon: 1,\n    id: 'com.atproto.session.create',\n    type: 'procedure',\n    description: 'Create an authentication session.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['handle', 'password'],\n        properties: {\n          handle: {\n            type: 'string',\n          },\n          password: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n        properties: {\n          accessJwt: {\n            type: 'string',\n          },\n          refreshJwt: {\n            type: 'string',\n          },\n          handle: {\n            type: 'string',\n          },\n          did: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.session.delete': {\n    lexicon: 1,\n    id: 'com.atproto.session.delete',\n    type: 'procedure',\n    description: 'Delete the current session.',\n    output: {\n      encoding: 'application/json',\n      schema: {\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.session.get': {\n    lexicon: 1,\n    id: 'com.atproto.session.get',\n    type: 'query',\n    description: 'Get information about the current session.',\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['handle', 'did'],\n        properties: {\n          handle: {\n            type: 'string',\n          },\n          did: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.session.refresh': {\n    lexicon: 1,\n    id: 'com.atproto.session.refresh',\n    type: 'procedure',\n    description: 'Refresh an authentication session.',\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n        properties: {\n          accessJwt: {\n            type: 'string',\n          },\n          refreshJwt: {\n            type: 'string',\n          },\n          handle: {\n            type: 'string',\n          },\n          did: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.sync.getRepo': {\n    lexicon: 1,\n    id: 'com.atproto.sync.getRepo',\n    type: 'query',\n    description: 'Gets the repo state.',\n    parameters: {\n      type: 'object',\n      required: ['did'],\n      properties: {\n        did: {\n          type: 'string',\n          description: 'The DID of the repo.',\n        },\n        from: {\n          type: 'string',\n          description: 'A past commit CID.',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/cbor',\n    },\n  },\n  'com.atproto.sync.getRoot': {\n    lexicon: 1,\n    id: 'com.atproto.sync.getRoot',\n    type: 'query',\n    description: 'Gets the current root CID of a repo.',\n    parameters: {\n      type: 'object',\n      required: ['did'],\n      properties: {\n        did: {\n          type: 'string',\n          description: 'The DID of the repo.',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['root'],\n        properties: {\n          root: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'com.atproto.sync.updateRepo': {\n    lexicon: 1,\n    id: 'com.atproto.sync.updateRepo',\n    type: 'procedure',\n    description: 'Writes commits to a repo.',\n    parameters: {\n      type: 'object',\n      required: ['did'],\n      properties: {\n        did: {\n          type: 'string',\n          description: 'The DID of the repo.',\n        },\n      },\n    },\n    input: {\n      encoding: 'application/cbor',\n    },\n  },\n  'app.bsky.actor.createScene': {\n    lexicon: 1,\n    id: 'app.bsky.actor.createScene',\n    type: 'procedure',\n    description: 'Create a scene.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['handle'],\n        properties: {\n          handle: {\n            type: 'string',\n          },\n          recoveryKey: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['handle', 'did', 'declaration'],\n        properties: {\n          handle: {\n            type: 'string',\n          },\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            $ref: '#/$defs/declaration',\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    errors: [\n      {\n        name: 'InvalidHandle',\n      },\n      {\n        name: 'HandleNotAvailable',\n      },\n    ],\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.actor.getProfile': {\n    lexicon: 1,\n    id: 'app.bsky.actor.getProfile',\n    type: 'query',\n    parameters: {\n      type: 'object',\n      required: ['actor'],\n      properties: {\n        actor: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: [\n          'did',\n          'declaration',\n          'handle',\n          'creator',\n          'followersCount',\n          'followsCount',\n          'membersCount',\n          'postsCount',\n        ],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            $ref: '#/$defs/declaration',\n          },\n          handle: {\n            type: 'string',\n          },\n          creator: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          description: {\n            type: 'string',\n            maxLength: 256,\n          },\n          followersCount: {\n            type: 'integer',\n          },\n          followsCount: {\n            type: 'integer',\n          },\n          membersCount: {\n            type: 'integer',\n          },\n          postsCount: {\n            type: 'integer',\n          },\n          myState: {\n            type: 'object',\n            properties: {\n              follow: {\n                type: 'string',\n              },\n              member: {\n                type: 'string',\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.actor.getSuggestions': {\n    lexicon: 1,\n    id: 'app.bsky.actor.getSuggestions',\n    type: 'query',\n    description:\n      'Get a list of actors suggested for following. Used in discovery UIs.',\n    parameters: {\n      type: 'object',\n      properties: {\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        cursor: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['actors'],\n        properties: {\n          cursor: {\n            type: 'string',\n          },\n          actors: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['did', 'declaration', 'handle'],\n              properties: {\n                did: {\n                  type: 'string',\n                },\n                declaration: {\n                  $ref: '#/$defs/declaration',\n                },\n                handle: {\n                  type: 'string',\n                },\n                displayName: {\n                  type: 'string',\n                  maxLength: 64,\n                },\n                description: {\n                  type: 'string',\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                myState: {\n                  type: 'object',\n                  properties: {\n                    follow: {\n                      type: 'string',\n                    },\n                  },\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.actor.search': {\n    lexicon: 1,\n    id: 'app.bsky.actor.search',\n    type: 'query',\n    description: 'Find users matching search criteria.',\n    parameters: {\n      type: 'object',\n      required: ['term'],\n      properties: {\n        term: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['users'],\n        properties: {\n          cursor: {\n            type: 'string',\n          },\n          users: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['did', 'declaration', 'handle'],\n              properties: {\n                did: {\n                  type: 'string',\n                },\n                declaration: {\n                  $ref: '#/$defs/declaration',\n                },\n                handle: {\n                  type: 'string',\n                },\n                displayName: {\n                  type: 'string',\n                  maxLength: 64,\n                },\n                description: {\n                  type: 'string',\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.actor.searchTypeahead': {\n    lexicon: 1,\n    id: 'app.bsky.actor.searchTypeahead',\n    type: 'query',\n    description: 'Find user suggestions for a search term.',\n    parameters: {\n      type: 'object',\n      required: ['term'],\n      properties: {\n        term: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['users'],\n        properties: {\n          users: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['did', 'declaration', 'handle'],\n              properties: {\n                did: {\n                  type: 'string',\n                },\n                declaration: {\n                  $ref: '#/$defs/declaration',\n                },\n                handle: {\n                  type: 'string',\n                },\n                displayName: {\n                  type: 'string',\n                  maxLength: 64,\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.actor.updateProfile': {\n    lexicon: 1,\n    id: 'app.bsky.actor.updateProfile',\n    type: 'procedure',\n    description: 'Notify server that the user has seen notifications.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        properties: {\n          did: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          description: {\n            type: 'string',\n            maxLength: 256,\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['uri', 'cid', 'record'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          record: {\n            type: 'object',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'app.bsky.feed.getAuthorFeed': {\n    lexicon: 1,\n    id: 'app.bsky.feed.getAuthorFeed',\n    type: 'query',\n    description: \"A view of a user's feed.\",\n    parameters: {\n      type: 'object',\n      required: ['author'],\n      properties: {\n        author: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['feed'],\n        properties: {\n          cursor: {\n            type: 'string',\n          },\n          feed: {\n            type: 'array',\n            items: {\n              $ref: '#/$defs/feedItem',\n            },\n          },\n        },\n        $defs: {\n          feedItem: {\n            type: 'object',\n            required: [\n              'uri',\n              'cid',\n              'author',\n              'record',\n              'replyCount',\n              'repostCount',\n              'upvoteCount',\n              'downvoteCount',\n              'indexedAt',\n            ],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n              author: {\n                $ref: '#/$defs/actor',\n              },\n              trendedBy: {\n                $ref: '#/$defs/actor',\n              },\n              repostedBy: {\n                $ref: '#/$defs/actor',\n              },\n              record: {\n                type: 'object',\n              },\n              embed: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/recordEmbed',\n                  },\n                  {\n                    $ref: '#/$defs/externalEmbed',\n                  },\n                  {\n                    $ref: '#/$defs/unknownEmbed',\n                  },\n                ],\n              },\n              replyCount: {\n                type: 'integer',\n              },\n              repostCount: {\n                type: 'integer',\n              },\n              upvoteCount: {\n                type: 'integer',\n              },\n              downvoteCount: {\n                type: 'integer',\n              },\n              indexedAt: {\n                type: 'string',\n                format: 'date-time',\n              },\n              myState: {\n                type: 'object',\n                properties: {\n                  repost: {\n                    type: 'string',\n                  },\n                  upvote: {\n                    type: 'string',\n                  },\n                  downvote: {\n                    type: 'string',\n                  },\n                },\n              },\n            },\n          },\n          actor: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n          recordEmbed: {\n            type: 'object',\n            required: ['type', 'author', 'record'],\n            properties: {\n              type: {\n                const: 'record',\n              },\n              author: {\n                $ref: '#/$defs/actor',\n              },\n              record: {\n                type: 'object',\n              },\n            },\n          },\n          externalEmbed: {\n            type: 'object',\n            required: ['type', 'uri', 'title', 'description', 'imageUri'],\n            properties: {\n              type: {\n                const: 'external',\n              },\n              uri: {\n                type: 'string',\n              },\n              title: {\n                type: 'string',\n              },\n              description: {\n                type: 'string',\n              },\n              imageUri: {\n                type: 'string',\n              },\n            },\n          },\n          unknownEmbed: {\n            type: 'object',\n            required: ['type'],\n            properties: {\n              type: {\n                type: 'string',\n                not: {\n                  enum: ['record', 'external'],\n                },\n              },\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      feedItem: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'author',\n          'record',\n          'replyCount',\n          'repostCount',\n          'upvoteCount',\n          'downvoteCount',\n          'indexedAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          author: {\n            $ref: '#/$defs/actor',\n          },\n          trendedBy: {\n            $ref: '#/$defs/actor',\n          },\n          repostedBy: {\n            $ref: '#/$defs/actor',\n          },\n          record: {\n            type: 'object',\n          },\n          embed: {\n            oneOf: [\n              {\n                $ref: '#/$defs/recordEmbed',\n              },\n              {\n                $ref: '#/$defs/externalEmbed',\n              },\n              {\n                $ref: '#/$defs/unknownEmbed',\n              },\n            ],\n          },\n          replyCount: {\n            type: 'integer',\n          },\n          repostCount: {\n            type: 'integer',\n          },\n          upvoteCount: {\n            type: 'integer',\n          },\n          downvoteCount: {\n            type: 'integer',\n          },\n          indexedAt: {\n            type: 'string',\n            format: 'date-time',\n          },\n          myState: {\n            type: 'object',\n            properties: {\n              repost: {\n                type: 'string',\n              },\n              upvote: {\n                type: 'string',\n              },\n              downvote: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n      actor: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            $ref: '#/$defs/declaration',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n        },\n      },\n      recordEmbed: {\n        type: 'object',\n        required: ['type', 'author', 'record'],\n        properties: {\n          type: {\n            const: 'record',\n          },\n          author: {\n            $ref: '#/$defs/actor',\n          },\n          record: {\n            type: 'object',\n          },\n        },\n      },\n      externalEmbed: {\n        type: 'object',\n        required: ['type', 'uri', 'title', 'description', 'imageUri'],\n        properties: {\n          type: {\n            const: 'external',\n          },\n          uri: {\n            type: 'string',\n          },\n          title: {\n            type: 'string',\n          },\n          description: {\n            type: 'string',\n          },\n          imageUri: {\n            type: 'string',\n          },\n        },\n      },\n      unknownEmbed: {\n        type: 'object',\n        required: ['type'],\n        properties: {\n          type: {\n            type: 'string',\n            not: {\n              enum: ['record', 'external'],\n            },\n          },\n        },\n      },\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.feed.getPostThread': {\n    lexicon: 1,\n    id: 'app.bsky.feed.getPostThread',\n    type: 'query',\n    parameters: {\n      type: 'object',\n      required: ['uri'],\n      properties: {\n        uri: {\n          type: 'string',\n        },\n        depth: {\n          type: 'integer',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['thread'],\n        properties: {\n          thread: {\n            $ref: '#/$defs/post',\n          },\n        },\n        $defs: {\n          post: {\n            type: 'object',\n            required: [\n              'uri',\n              'cid',\n              'author',\n              'record',\n              'replyCount',\n              'repostCount',\n              'upvoteCount',\n              'downvoteCount',\n              'indexedAt',\n            ],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n              author: {\n                $ref: '#/$defs/user',\n              },\n              record: {\n                type: 'object',\n              },\n              embed: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/recordEmbed',\n                  },\n                  {\n                    $ref: '#/$defs/externalEmbed',\n                  },\n                  {\n                    $ref: '#/$defs/unknownEmbed',\n                  },\n                ],\n              },\n              parent: {\n                $ref: '#/$defs/post',\n              },\n              replyCount: {\n                type: 'integer',\n              },\n              replies: {\n                type: 'array',\n                items: {\n                  $ref: '#/$defs/post',\n                },\n              },\n              repostCount: {\n                type: 'integer',\n              },\n              upvoteCount: {\n                type: 'integer',\n              },\n              downvoteCount: {\n                type: 'integer',\n              },\n              indexedAt: {\n                type: 'string',\n                format: 'date-time',\n              },\n              myState: {\n                type: 'object',\n                properties: {\n                  repost: {\n                    type: 'string',\n                  },\n                  upvote: {\n                    type: 'string',\n                  },\n                  downvote: {\n                    type: 'string',\n                  },\n                },\n              },\n            },\n          },\n          user: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n          recordEmbed: {\n            type: 'object',\n            required: ['type', 'author', 'record'],\n            properties: {\n              type: {\n                const: 'record',\n              },\n              author: {\n                $ref: '#/$defs/user',\n              },\n              record: {\n                type: 'object',\n              },\n            },\n          },\n          externalEmbed: {\n            type: 'object',\n            required: ['type', 'uri', 'title', 'description', 'imageUri'],\n            properties: {\n              type: {\n                const: 'external',\n              },\n              uri: {\n                type: 'string',\n              },\n              title: {\n                type: 'string',\n              },\n              description: {\n                type: 'string',\n              },\n              imageUri: {\n                type: 'string',\n              },\n            },\n          },\n          unknownEmbed: {\n            type: 'object',\n            required: ['type'],\n            properties: {\n              type: {\n                type: 'string',\n                not: {\n                  enum: ['record', 'external'],\n                },\n              },\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      post: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'author',\n          'record',\n          'replyCount',\n          'repostCount',\n          'upvoteCount',\n          'downvoteCount',\n          'indexedAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          author: {\n            $ref: '#/$defs/user',\n          },\n          record: {\n            type: 'object',\n          },\n          embed: {\n            oneOf: [\n              {\n                $ref: '#/$defs/recordEmbed',\n              },\n              {\n                $ref: '#/$defs/externalEmbed',\n              },\n              {\n                $ref: '#/$defs/unknownEmbed',\n              },\n            ],\n          },\n          parent: {\n            $ref: '#/$defs/post',\n          },\n          replyCount: {\n            type: 'integer',\n          },\n          replies: {\n            type: 'array',\n            items: {\n              $ref: '#/$defs/post',\n            },\n          },\n          repostCount: {\n            type: 'integer',\n          },\n          upvoteCount: {\n            type: 'integer',\n          },\n          downvoteCount: {\n            type: 'integer',\n          },\n          indexedAt: {\n            type: 'string',\n            format: 'date-time',\n          },\n          myState: {\n            type: 'object',\n            properties: {\n              repost: {\n                type: 'string',\n              },\n              upvote: {\n                type: 'string',\n              },\n              downvote: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n      user: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            $ref: '#/$defs/declaration',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n        },\n      },\n      recordEmbed: {\n        type: 'object',\n        required: ['type', 'author', 'record'],\n        properties: {\n          type: {\n            const: 'record',\n          },\n          author: {\n            $ref: '#/$defs/user',\n          },\n          record: {\n            type: 'object',\n          },\n        },\n      },\n      externalEmbed: {\n        type: 'object',\n        required: ['type', 'uri', 'title', 'description', 'imageUri'],\n        properties: {\n          type: {\n            const: 'external',\n          },\n          uri: {\n            type: 'string',\n          },\n          title: {\n            type: 'string',\n          },\n          description: {\n            type: 'string',\n          },\n          imageUri: {\n            type: 'string',\n          },\n        },\n      },\n      unknownEmbed: {\n        type: 'object',\n        required: ['type'],\n        properties: {\n          type: {\n            type: 'string',\n            not: {\n              enum: ['record', 'external'],\n            },\n          },\n        },\n      },\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n    errors: [\n      {\n        name: 'NotFound',\n      },\n    ],\n  },\n  'app.bsky.feed.getRepostedBy': {\n    lexicon: 1,\n    id: 'app.bsky.feed.getRepostedBy',\n    type: 'query',\n    parameters: {\n      type: 'object',\n      required: ['uri'],\n      properties: {\n        uri: {\n          type: 'string',\n        },\n        cid: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['uri', 'repostedBy'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          cursor: {\n            type: 'string',\n          },\n          repostedBy: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['did', 'declaration', 'handle', 'indexedAt'],\n              properties: {\n                did: {\n                  type: 'string',\n                },\n                declaration: {\n                  $ref: '#/$defs/declaration',\n                },\n                handle: {\n                  type: 'string',\n                },\n                displayName: {\n                  type: 'string',\n                  maxLength: 64,\n                },\n                createdAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.feed.getTimeline': {\n    lexicon: 1,\n    id: 'app.bsky.feed.getTimeline',\n    type: 'query',\n    description: \"A view of the user's home timeline.\",\n    parameters: {\n      type: 'object',\n      properties: {\n        algorithm: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['feed'],\n        properties: {\n          cursor: {\n            type: 'string',\n          },\n          feed: {\n            type: 'array',\n            items: {\n              $ref: '#/$defs/feedItem',\n            },\n          },\n        },\n        $defs: {\n          feedItem: {\n            type: 'object',\n            required: [\n              'uri',\n              'cid',\n              'author',\n              'record',\n              'replyCount',\n              'repostCount',\n              'upvoteCount',\n              'downvoteCount',\n              'indexedAt',\n            ],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n              author: {\n                $ref: '#/$defs/actor',\n              },\n              trendedBy: {\n                $ref: '#/$defs/actor',\n              },\n              repostedBy: {\n                $ref: '#/$defs/actor',\n              },\n              record: {\n                type: 'object',\n              },\n              embed: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/recordEmbed',\n                  },\n                  {\n                    $ref: '#/$defs/externalEmbed',\n                  },\n                  {\n                    $ref: '#/$defs/unknownEmbed',\n                  },\n                ],\n              },\n              replyCount: {\n                type: 'integer',\n              },\n              repostCount: {\n                type: 'integer',\n              },\n              upvoteCount: {\n                type: 'integer',\n              },\n              downvoteCount: {\n                type: 'integer',\n              },\n              indexedAt: {\n                type: 'string',\n                format: 'date-time',\n              },\n              myState: {\n                type: 'object',\n                properties: {\n                  repost: {\n                    type: 'string',\n                  },\n                  upvote: {\n                    type: 'string',\n                  },\n                  downvote: {\n                    type: 'string',\n                  },\n                },\n              },\n            },\n          },\n          actor: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              actorType: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n          recordEmbed: {\n            type: 'object',\n            required: ['type', 'author', 'record'],\n            properties: {\n              type: {\n                const: 'record',\n              },\n              author: {\n                $ref: '#/$defs/actor',\n              },\n              record: {\n                type: 'object',\n              },\n            },\n          },\n          externalEmbed: {\n            type: 'object',\n            required: ['type', 'uri', 'title', 'description', 'imageUri'],\n            properties: {\n              type: {\n                const: 'external',\n              },\n              uri: {\n                type: 'string',\n              },\n              title: {\n                type: 'string',\n              },\n              description: {\n                type: 'string',\n              },\n              imageUri: {\n                type: 'string',\n              },\n            },\n          },\n          unknownEmbed: {\n            type: 'object',\n            required: ['type'],\n            properties: {\n              type: {\n                type: 'string',\n                not: {\n                  enum: ['record', 'external'],\n                },\n              },\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      feedItem: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'author',\n          'record',\n          'replyCount',\n          'repostCount',\n          'upvoteCount',\n          'downvoteCount',\n          'indexedAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          author: {\n            $ref: '#/$defs/actor',\n          },\n          trendedBy: {\n            $ref: '#/$defs/actor',\n          },\n          repostedBy: {\n            $ref: '#/$defs/actor',\n          },\n          record: {\n            type: 'object',\n          },\n          embed: {\n            oneOf: [\n              {\n                $ref: '#/$defs/recordEmbed',\n              },\n              {\n                $ref: '#/$defs/externalEmbed',\n              },\n              {\n                $ref: '#/$defs/unknownEmbed',\n              },\n            ],\n          },\n          replyCount: {\n            type: 'integer',\n          },\n          repostCount: {\n            type: 'integer',\n          },\n          upvoteCount: {\n            type: 'integer',\n          },\n          downvoteCount: {\n            type: 'integer',\n          },\n          indexedAt: {\n            type: 'string',\n            format: 'date-time',\n          },\n          myState: {\n            type: 'object',\n            properties: {\n              repost: {\n                type: 'string',\n              },\n              upvote: {\n                type: 'string',\n              },\n              downvote: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n      actor: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            $ref: '#/$defs/declaration',\n          },\n          handle: {\n            type: 'string',\n          },\n          actorType: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n        },\n      },\n      recordEmbed: {\n        type: 'object',\n        required: ['type', 'author', 'record'],\n        properties: {\n          type: {\n            const: 'record',\n          },\n          author: {\n            $ref: '#/$defs/actor',\n          },\n          record: {\n            type: 'object',\n          },\n        },\n      },\n      externalEmbed: {\n        type: 'object',\n        required: ['type', 'uri', 'title', 'description', 'imageUri'],\n        properties: {\n          type: {\n            const: 'external',\n          },\n          uri: {\n            type: 'string',\n          },\n          title: {\n            type: 'string',\n          },\n          description: {\n            type: 'string',\n          },\n          imageUri: {\n            type: 'string',\n          },\n        },\n      },\n      unknownEmbed: {\n        type: 'object',\n        required: ['type'],\n        properties: {\n          type: {\n            type: 'string',\n            not: {\n              enum: ['record', 'external'],\n            },\n          },\n        },\n      },\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.feed.getVotes': {\n    lexicon: 1,\n    id: 'app.bsky.feed.getVotes',\n    type: 'query',\n    parameters: {\n      type: 'object',\n      required: ['uri'],\n      properties: {\n        uri: {\n          type: 'string',\n        },\n        cid: {\n          type: 'string',\n        },\n        direction: {\n          type: 'string',\n          enum: ['up', 'down'],\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['uri', 'votes'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          cursor: {\n            type: 'string',\n          },\n          votes: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['direction', 'indexedAt', 'createdAt', 'actor'],\n              properties: {\n                direction: {\n                  type: 'string',\n                  enum: ['up', 'down'],\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                createdAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                actor: {\n                  $ref: '#/$defs/actor',\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          actor: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      actor: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            $ref: '#/$defs/declaration',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n        },\n      },\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.feed.setVote': {\n    lexicon: 1,\n    id: 'app.bsky.feed.setVote',\n    type: 'procedure',\n    description: \"Upvote, downvote, or clear the user's vote for a post.\",\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['subject', 'direction'],\n        properties: {\n          subject: {\n            $ref: '#/$defs/subject',\n          },\n          direction: {\n            type: 'string',\n            enum: ['up', 'down', 'none'],\n          },\n        },\n        $defs: {\n          subject: {\n            type: 'object',\n            required: ['uri', 'cid'],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        properties: {\n          upvote: {\n            type: 'string',\n          },\n          downvote: {\n            type: 'string',\n          },\n        },\n        $defs: {},\n      },\n    },\n    defs: {\n      subject: {\n        type: 'object',\n        required: ['uri', 'cid'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  'app.bsky.graph.getAssertions': {\n    lexicon: 1,\n    id: 'app.bsky.graph.getAssertions',\n    type: 'query',\n    description: 'General-purpose query for assertions.',\n    parameters: {\n      type: 'object',\n      properties: {\n        author: {\n          type: 'string',\n        },\n        subject: {\n          type: 'string',\n        },\n        assertion: {\n          type: 'string',\n        },\n        confirmed: {\n          type: 'boolean',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['assertions'],\n        properties: {\n          cursor: {\n            type: 'string',\n          },\n          assertions: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: [\n                'uri',\n                'cid',\n                'assertion',\n                'author',\n                'subject',\n                'indexedAt',\n                'createdAt',\n              ],\n              properties: {\n                uri: {\n                  type: 'string',\n                },\n                cid: {\n                  type: 'string',\n                },\n                assertion: {\n                  type: 'string',\n                },\n                confirmation: {\n                  $ref: '#/$defs/confirmation',\n                },\n                author: {\n                  $ref: '#/$defs/actor',\n                },\n                subject: {\n                  $ref: '#/$defs/actor',\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                createdAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          confirmation: {\n            type: 'object',\n            required: ['uri', 'cid', 'indexedAt', 'createdAt'],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n              indexedAt: {\n                type: 'string',\n                format: 'date-time',\n              },\n              createdAt: {\n                type: 'string',\n                format: 'date-time',\n              },\n            },\n          },\n          actor: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      confirmation: {\n        type: 'object',\n        required: ['uri', 'cid', 'indexedAt', 'createdAt'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          indexedAt: {\n            type: 'string',\n            format: 'date-time',\n          },\n          createdAt: {\n            type: 'string',\n            format: 'date-time',\n          },\n        },\n      },\n      actor: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            $ref: '#/$defs/declaration',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n        },\n      },\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.graph.getFollowers': {\n    lexicon: 1,\n    id: 'app.bsky.graph.getFollowers',\n    type: 'query',\n    description: 'Who is following a user?',\n    parameters: {\n      type: 'object',\n      required: ['user'],\n      properties: {\n        user: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['subject', 'followers'],\n        properties: {\n          subject: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          cursor: {\n            type: 'string',\n          },\n          followers: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['did', 'declaration', 'handle', 'indexedAt'],\n              properties: {\n                did: {\n                  type: 'string',\n                },\n                declaration: {\n                  $ref: '#/$defs/declaration',\n                },\n                handle: {\n                  type: 'string',\n                },\n                displayName: {\n                  type: 'string',\n                  maxLength: 64,\n                },\n                createdAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.graph.getFollows': {\n    lexicon: 1,\n    id: 'app.bsky.graph.getFollows',\n    type: 'query',\n    description: 'Who is a user following?',\n    parameters: {\n      type: 'object',\n      required: ['user'],\n      properties: {\n        user: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['subject', 'follows'],\n        properties: {\n          subject: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          cursor: {\n            type: 'string',\n          },\n          follows: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['did', 'declaration', 'handle', 'indexedAt'],\n              properties: {\n                did: {\n                  type: 'string',\n                },\n                declaration: {\n                  $ref: '#/$defs/declaration',\n                },\n                handle: {\n                  type: 'string',\n                },\n                displayName: {\n                  type: 'string',\n                  maxLength: 64,\n                },\n                createdAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.graph.getMembers': {\n    lexicon: 1,\n    id: 'app.bsky.graph.getMembers',\n    type: 'query',\n    description: 'Who is a member of the group?',\n    parameters: {\n      type: 'object',\n      required: ['actor'],\n      properties: {\n        actor: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['subject', 'members'],\n        properties: {\n          subject: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          cursor: {\n            type: 'string',\n          },\n          members: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['did', 'declaration', 'handle', 'indexedAt'],\n              properties: {\n                did: {\n                  type: 'string',\n                },\n                declaration: {\n                  $ref: '#/$defs/declaration',\n                },\n                handle: {\n                  type: 'string',\n                },\n                displayName: {\n                  type: 'string',\n                  maxLength: 64,\n                },\n                createdAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.graph.getMemberships': {\n    lexicon: 1,\n    id: 'app.bsky.graph.getMemberships',\n    type: 'query',\n    description: 'Which groups is the actor a member of?',\n    parameters: {\n      type: 'object',\n      required: ['actor'],\n      properties: {\n        actor: {\n          type: 'string',\n        },\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['subject', 'memberships'],\n        properties: {\n          subject: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          cursor: {\n            type: 'string',\n          },\n          memberships: {\n            type: 'array',\n            items: {\n              type: 'object',\n              required: ['did', 'declaration', 'handle', 'indexedAt'],\n              properties: {\n                did: {\n                  type: 'string',\n                },\n                declaration: {\n                  $ref: '#/$defs/declaration',\n                },\n                handle: {\n                  type: 'string',\n                },\n                displayName: {\n                  type: 'string',\n                  maxLength: 64,\n                },\n                createdAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n                indexedAt: {\n                  type: 'string',\n                  format: 'date-time',\n                },\n              },\n            },\n          },\n        },\n        $defs: {\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.notification.getCount': {\n    lexicon: 1,\n    id: 'app.bsky.notification.getCount',\n    type: 'query',\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['count'],\n        properties: {\n          count: {\n            type: 'integer',\n          },\n        },\n        $defs: {},\n      },\n    },\n  },\n  'app.bsky.notification.list': {\n    lexicon: 1,\n    id: 'app.bsky.notification.list',\n    type: 'query',\n    parameters: {\n      type: 'object',\n      properties: {\n        limit: {\n          type: 'integer',\n          maximum: 100,\n        },\n        before: {\n          type: 'string',\n        },\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['notifications'],\n        properties: {\n          cursor: {\n            type: 'string',\n          },\n          notifications: {\n            type: 'array',\n            items: {\n              $ref: '#/$defs/notification',\n            },\n          },\n        },\n        $defs: {\n          notification: {\n            type: 'object',\n            required: [\n              'uri',\n              'cid',\n              'author',\n              'reason',\n              'record',\n              'isRead',\n              'indexedAt',\n            ],\n            properties: {\n              uri: {\n                type: 'string',\n                format: 'uri',\n              },\n              cid: {\n                type: 'string',\n              },\n              author: {\n                type: 'object',\n                required: ['did', 'declaration', 'handle'],\n                properties: {\n                  did: {\n                    type: 'string',\n                  },\n                  declaration: {\n                    $ref: '#/$defs/declaration',\n                  },\n                  handle: {\n                    type: 'string',\n                  },\n                  displayName: {\n                    type: 'string',\n                    maxLength: 64,\n                  },\n                },\n              },\n              reason: {\n                type: 'string',\n                $comment:\n                  \"Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.\",\n              },\n              reasonSubject: {\n                type: 'string',\n              },\n              record: {\n                type: 'object',\n              },\n              isRead: {\n                type: 'boolean',\n              },\n              indexedAt: {\n                type: 'string',\n                format: 'date-time',\n              },\n            },\n          },\n          declaration: {\n            type: 'object',\n            required: ['cid', 'actorType'],\n            properties: {\n              cid: {\n                type: 'string',\n              },\n              actorType: {\n                oneOf: [\n                  {\n                    $ref: '#/$defs/actorKnown',\n                  },\n                  {\n                    $ref: '#/$defs/actorUnknown',\n                  },\n                ],\n              },\n            },\n          },\n          actorKnown: {\n            type: 'string',\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n          actorUnknown: {\n            type: 'string',\n            not: {\n              enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      notification: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'author',\n          'reason',\n          'record',\n          'isRead',\n          'indexedAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n            format: 'uri',\n          },\n          cid: {\n            type: 'string',\n          },\n          author: {\n            type: 'object',\n            required: ['did', 'declaration', 'handle'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                $ref: '#/$defs/declaration',\n              },\n              handle: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n            },\n          },\n          reason: {\n            type: 'string',\n            $comment:\n              \"Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.\",\n          },\n          reasonSubject: {\n            type: 'string',\n          },\n          record: {\n            type: 'object',\n          },\n          isRead: {\n            type: 'boolean',\n          },\n          indexedAt: {\n            type: 'string',\n            format: 'date-time',\n          },\n        },\n      },\n      declaration: {\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            oneOf: [\n              {\n                $ref: '#/$defs/actorKnown',\n              },\n              {\n                $ref: '#/$defs/actorUnknown',\n              },\n            ],\n          },\n        },\n      },\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n  'app.bsky.notification.updateSeen': {\n    lexicon: 1,\n    id: 'app.bsky.notification.updateSeen',\n    type: 'procedure',\n    description: 'Notify server that the user has seen notifications.',\n    input: {\n      encoding: 'application/json',\n      schema: {\n        type: 'object',\n        required: ['seenAt'],\n        properties: {\n          seenAt: {\n            type: 'string',\n            format: 'date-time',\n          },\n        },\n        $defs: {},\n      },\n    },\n    output: {\n      encoding: 'application/json',\n      schema: {\n        $defs: {},\n      },\n    },\n  },\n}\nexport const methodSchemas: MethodSchema[] = Object.values(methodSchemaDict)\nexport const ids = {\n  AppBskyActorProfile: 'app.bsky.actor.profile',\n  AppBskyFeedMediaEmbed: 'app.bsky.feed.mediaEmbed',\n  AppBskyFeedPost: 'app.bsky.feed.post',\n  AppBskyFeedRepost: 'app.bsky.feed.repost',\n  AppBskyFeedTrend: 'app.bsky.feed.trend',\n  AppBskyFeedVote: 'app.bsky.feed.vote',\n  AppBskyGraphAssertion: 'app.bsky.graph.assertion',\n  AppBskyGraphConfirmation: 'app.bsky.graph.confirmation',\n  AppBskyGraphFollow: 'app.bsky.graph.follow',\n  AppBskySystemDeclaration: 'app.bsky.system.declaration',\n}\nexport const recordSchemaDict: Record<string, RecordSchema> = {\n  'app.bsky.actor.profile': {\n    lexicon: 1,\n    id: 'app.bsky.actor.profile',\n    type: 'record',\n    key: 'literal:self',\n    record: {\n      type: 'object',\n      required: ['displayName'],\n      properties: {\n        displayName: {\n          type: 'string',\n          maxLength: 64,\n        },\n        description: {\n          type: 'string',\n          maxLength: 256,\n        },\n      },\n      $defs: {},\n    },\n  },\n  'app.bsky.feed.mediaEmbed': {\n    lexicon: 1,\n    id: 'app.bsky.feed.mediaEmbed',\n    type: 'record',\n    description: 'A list of media embedded in a post or document.',\n    key: 'tid',\n    record: {\n      type: 'object',\n      required: ['media'],\n      properties: {\n        media: {\n          type: 'array',\n          items: {\n            $ref: '#/$defs/mediaEmbed',\n          },\n        },\n      },\n      $defs: {\n        mediaEmbed: {\n          type: 'object',\n          required: ['original'],\n          properties: {\n            alt: {\n              type: 'string',\n            },\n            thumb: {\n              $ref: '#/$defs/mediaEmbedBlob',\n            },\n            original: {\n              $ref: '#/$defs/mediaEmbedBlob',\n            },\n          },\n        },\n        mediaEmbedBlob: {\n          type: 'object',\n          required: ['mimeType', 'blobId'],\n          properties: {\n            mimeType: {\n              type: 'string',\n            },\n            blobId: {\n              type: 'string',\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      mediaEmbed: {\n        type: 'object',\n        required: ['original'],\n        properties: {\n          alt: {\n            type: 'string',\n          },\n          thumb: {\n            $ref: '#/$defs/mediaEmbedBlob',\n          },\n          original: {\n            $ref: '#/$defs/mediaEmbedBlob',\n          },\n        },\n      },\n      mediaEmbedBlob: {\n        type: 'object',\n        required: ['mimeType', 'blobId'],\n        properties: {\n          mimeType: {\n            type: 'string',\n          },\n          blobId: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  'app.bsky.feed.post': {\n    lexicon: 1,\n    id: 'app.bsky.feed.post',\n    type: 'record',\n    key: 'tid',\n    record: {\n      type: 'object',\n      required: ['text', 'createdAt'],\n      properties: {\n        text: {\n          type: 'string',\n          maxLength: 256,\n        },\n        entities: {\n          type: 'array',\n          items: {\n            $ref: '#/$defs/entity',\n          },\n        },\n        reply: {\n          type: 'object',\n          required: ['root', 'parent'],\n          properties: {\n            root: {\n              $ref: '#/$defs/postRef',\n            },\n            parent: {\n              $ref: '#/$defs/postRef',\n            },\n          },\n        },\n        createdAt: {\n          type: 'string',\n          format: 'date-time',\n        },\n      },\n      $defs: {\n        entity: {\n          type: 'object',\n          required: ['index', 'type', 'value'],\n          properties: {\n            index: {\n              $ref: '#/$defs/textSlice',\n            },\n            type: {\n              type: 'string',\n              $comment: \"Expected values are 'mention', 'hashtag', and 'link'.\",\n            },\n            value: {\n              type: 'string',\n            },\n          },\n        },\n        textSlice: {\n          type: 'object',\n          required: ['start', 'end'],\n          properties: {\n            start: {\n              type: 'integer',\n              minimum: 0,\n            },\n            end: {\n              type: 'integer',\n              minimum: 0,\n            },\n          },\n        },\n        postRef: {\n          type: 'object',\n          required: ['uri', 'cid'],\n          properties: {\n            uri: {\n              type: 'string',\n            },\n            cid: {\n              type: 'string',\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      postRef: {\n        type: 'object',\n        required: ['uri', 'cid'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n        },\n      },\n      entity: {\n        type: 'object',\n        required: ['index', 'type', 'value'],\n        properties: {\n          index: {\n            $ref: '#/$defs/textSlice',\n          },\n          type: {\n            type: 'string',\n            $comment: \"Expected values are 'mention', 'hashtag', and 'link'.\",\n          },\n          value: {\n            type: 'string',\n          },\n        },\n      },\n      textSlice: {\n        type: 'object',\n        required: ['start', 'end'],\n        properties: {\n          start: {\n            type: 'integer',\n            minimum: 0,\n          },\n          end: {\n            type: 'integer',\n            minimum: 0,\n          },\n        },\n      },\n    },\n  },\n  'app.bsky.feed.repost': {\n    lexicon: 1,\n    id: 'app.bsky.feed.repost',\n    type: 'record',\n    key: 'tid',\n    record: {\n      type: 'object',\n      required: ['subject', 'createdAt'],\n      properties: {\n        subject: {\n          $ref: '#/$defs/subject',\n        },\n        createdAt: {\n          type: 'string',\n          format: 'date-time',\n        },\n      },\n      $defs: {\n        subject: {\n          type: 'object',\n          required: ['uri', 'cid'],\n          properties: {\n            uri: {\n              type: 'string',\n            },\n            cid: {\n              type: 'string',\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      subject: {\n        type: 'object',\n        required: ['uri', 'cid'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  'app.bsky.feed.trend': {\n    lexicon: 1,\n    id: 'app.bsky.feed.trend',\n    type: 'record',\n    key: 'tid',\n    record: {\n      type: 'object',\n      required: ['subject', 'createdAt'],\n      properties: {\n        subject: {\n          $ref: '#/$defs/subject',\n        },\n        createdAt: {\n          type: 'string',\n          format: 'date-time',\n        },\n      },\n      $defs: {\n        subject: {\n          type: 'object',\n          required: ['uri', 'cid'],\n          properties: {\n            uri: {\n              type: 'string',\n            },\n            cid: {\n              type: 'string',\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      subject: {\n        type: 'object',\n        required: ['uri', 'cid'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  'app.bsky.feed.vote': {\n    lexicon: 1,\n    id: 'app.bsky.feed.vote',\n    type: 'record',\n    key: 'tid',\n    record: {\n      type: 'object',\n      required: ['subject', 'direction', 'createdAt'],\n      properties: {\n        subject: {\n          $ref: '#/$defs/subject',\n        },\n        direction: {\n          type: 'string',\n          enum: ['up', 'down'],\n        },\n        createdAt: {\n          type: 'string',\n          format: 'date-time',\n        },\n      },\n      $defs: {\n        subject: {\n          type: 'object',\n          required: ['uri', 'cid'],\n          properties: {\n            uri: {\n              type: 'string',\n            },\n            cid: {\n              type: 'string',\n            },\n          },\n        },\n      },\n    },\n    defs: {\n      subject: {\n        type: 'object',\n        required: ['uri', 'cid'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  'app.bsky.graph.assertion': {\n    lexicon: 1,\n    id: 'app.bsky.graph.assertion',\n    type: 'record',\n    key: 'tid',\n    record: {\n      type: 'object',\n      required: ['assertion', 'subject', 'createdAt'],\n      properties: {\n        assertion: {\n          type: 'string',\n        },\n        subject: {\n          type: 'object',\n          required: ['did', 'declarationCid'],\n          properties: {\n            did: {\n              type: 'string',\n            },\n            declarationCid: {\n              type: 'string',\n            },\n          },\n        },\n        createdAt: {\n          type: 'string',\n          format: 'date-time',\n        },\n      },\n      $defs: {},\n    },\n  },\n  'app.bsky.graph.confirmation': {\n    lexicon: 1,\n    id: 'app.bsky.graph.confirmation',\n    type: 'record',\n    key: 'tid',\n    record: {\n      type: 'object',\n      required: ['originator', 'assertion', 'createdAt'],\n      properties: {\n        originator: {\n          type: 'object',\n          required: ['did', 'declarationCid'],\n          properties: {\n            did: {\n              type: 'string',\n            },\n            declarationCid: {\n              type: 'string',\n            },\n          },\n        },\n        assertion: {\n          type: 'object',\n          required: ['uri', 'cid'],\n          properties: {\n            uri: {\n              type: 'string',\n            },\n            cid: {\n              type: 'string',\n            },\n          },\n        },\n        createdAt: {\n          type: 'string',\n          format: 'date-time',\n        },\n      },\n      $defs: {},\n    },\n  },\n  'app.bsky.graph.follow': {\n    lexicon: 1,\n    id: 'app.bsky.graph.follow',\n    type: 'record',\n    description: 'A social follow.',\n    key: 'tid',\n    record: {\n      type: 'object',\n      required: ['subject', 'createdAt'],\n      properties: {\n        subject: {\n          type: 'object',\n          required: ['did', 'declarationCid'],\n          properties: {\n            did: {\n              type: 'string',\n            },\n            declarationCid: {\n              type: 'string',\n            },\n          },\n        },\n        createdAt: {\n          type: 'string',\n          format: 'date-time',\n        },\n      },\n      $defs: {},\n    },\n  },\n  'app.bsky.system.declaration': {\n    lexicon: 1,\n    id: 'app.bsky.system.declaration',\n    description:\n      'Context for an account that is considered intrinsic to it and alters the fundamental understanding of an account of changed. A declaration should be treated as immutable.',\n    type: 'record',\n    key: 'literal:self',\n    record: {\n      type: 'object',\n      required: ['actorType'],\n      properties: {\n        actorType: {\n          oneOf: [\n            {\n              $ref: '#/$defs/actorKnown',\n            },\n            {\n              $ref: '#/$defs/actorUnknown',\n            },\n          ],\n        },\n      },\n      $defs: {\n        actorKnown: {\n          type: 'string',\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n        actorUnknown: {\n          type: 'string',\n          not: {\n            enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n          },\n        },\n      },\n    },\n    defs: {\n      actorKnown: {\n        type: 'string',\n        enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n      },\n      actorUnknown: {\n        type: 'string',\n        not: {\n          enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n        },\n      },\n    },\n  },\n}\nexport const recordSchemas: RecordSchema[] = Object.values(recordSchemaDict)\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  email: string;\n  handle: string;\n  inviteCode?: string;\n  password: string;\n  recoveryKey?: string;\n}\n\nexport interface OutputSchema {\n  accessJwt: string;\n  refreshJwt: string;\n  handle: string;\n  did: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport class InvalidHandleError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class InvalidPasswordError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class InvalidInviteCodeError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class HandleNotAvailableError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n    if (e.error === 'InvalidHandle') return new InvalidHandleError(e)\n    if (e.error === 'InvalidPassword') return new InvalidPasswordError(e)\n    if (e.error === 'InvalidInviteCode') return new InvalidInviteCodeError(e)\n    if (e.error === 'HandleNotAvailable') return new HandleNotAvailableError(e)\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  useCount: number;\n}\n\nexport interface OutputSchema {\n  code: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: '';\n}\n\nexport interface InputSchema {\n  [k: string]: unknown;\n}\n\nexport interface OutputSchema {\n  [k: string]: unknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  [k: string]: unknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  email: string;\n}\n\nexport interface OutputSchema {}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  token: string;\n  password: string;\n}\n\nexport interface OutputSchema {}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport class ExpiredTokenError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class InvalidTokenError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n    if (e.error === 'ExpiredToken') return new ExpiredTokenError(e)\n    if (e.error === 'InvalidToken') return new InvalidTokenError(e)\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /**\n   * The handle to resolve. If not supplied, will resolve the host's own handle.\n   */\n  handle?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  did: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  /**\n   * The DID of the repo.\n   */\n  did: string;\n  /**\n   * Validate the records?\n   */\n  validate?: boolean;\n  writes: (\n    | {\n        action: 'create',\n        collection: string,\n        rkey?: string,\n        value: unknown,\n      }\n    | {\n        action: 'update',\n        collection: string,\n        rkey: string,\n        value: unknown,\n      }\n    | {\n        action: 'delete',\n        collection: string,\n        rkey: string,\n      }\n  )[];\n}\n\nexport interface OutputSchema {\n  [k: string]: unknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  /**\n   * The DID of the repo.\n   */\n  did: string;\n  /**\n   * The NSID of the record collection.\n   */\n  collection: string;\n  /**\n   * Validate the record?\n   */\n  validate?: boolean;\n  /**\n   * The record to create.\n   */\n  record: {};\n}\n\nexport interface OutputSchema {\n  uri: string;\n  cid: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  /**\n   * The DID of the repo.\n   */\n  did: string;\n  /**\n   * The NSID of the record collection.\n   */\n  collection: string;\n  /**\n   * The key of the record.\n   */\n  rkey: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /**\n   * The handle or DID of the repo.\n   */\n  user: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  handle: string;\n  did: string;\n  didDoc: {};\n  collections: string[];\n  handleIsCorrect: boolean;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /**\n   * The handle or DID of the repo.\n   */\n  user: string;\n  /**\n   * The NSID of the collection.\n   */\n  collection: string;\n  /**\n   * The key of the record.\n   */\n  rkey: string;\n  /**\n   * The CID of the version of the record. If not specified, then return the most recent version.\n   */\n  cid?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  uri: string;\n  cid?: string;\n  value: {};\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /**\n   * The handle or DID of the repo.\n   */\n  user: string;\n  /**\n   * The NSID of the record type.\n   */\n  collection: string;\n  /**\n   * The number of records to return. TODO-max number?\n   */\n  limit?: number;\n  /**\n   * A TID to filter the range of records returned.\n   */\n  before?: string;\n  /**\n   * A TID to filter the range of records returned.\n   */\n  after?: string;\n  /**\n   * Reverse the order of the returned records?\n   */\n  reverse?: boolean;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  cursor?: string;\n  records: {\n    uri: string,\n    cid: string,\n    value: {},\n  }[];\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  /**\n   * The DID of the repo.\n   */\n  did: string;\n  /**\n   * The NSID of the record type.\n   */\n  collection: string;\n  /**\n   * The TID of the record.\n   */\n  rkey: string;\n  /**\n   * Validate the record?\n   */\n  validate?: boolean;\n  /**\n   * The record to create.\n   */\n  record: {};\n}\n\nexport interface OutputSchema {\n  uri: string;\n  cid: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  inviteCodeRequired?: boolean;\n  availableUserDomains: string[];\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  handle: string;\n  password: string;\n}\n\nexport interface OutputSchema {\n  accessJwt: string;\n  refreshJwt: string;\n  handle: string;\n  did: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  [k: string]: unknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  handle: string;\n  did: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  accessJwt: string;\n  refreshJwt: string;\n  handle: string;\n  did: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /**\n   * The DID of the repo.\n   */\n  did: string;\n  /**\n   * A past commit CID.\n   */\n  from?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: Uint8Array;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /**\n   * The DID of the repo.\n   */\n  did: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  root: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /**\n   * The DID of the repo.\n   */\n  did: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/cbor';\n}\n\nexport type InputSchema = string | Uint8Array\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  handle: string;\n  recoveryKey?: string;\n}\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  handle: string;\n  did: string;\n  declaration: Declaration;\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport class InvalidHandleError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class HandleNotAvailableError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n    if (e.error === 'InvalidHandle') return new InvalidHandleError(e)\n    if (e.error === 'HandleNotAvailable') return new HandleNotAvailableError(e)\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  actor: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  did: string;\n  declaration: Declaration;\n  handle: string;\n  creator: string;\n  displayName?: string;\n  description?: string;\n  followersCount: number;\n  followsCount: number;\n  membersCount: number;\n  postsCount: number;\n  myState?: {\n    follow?: string,\n    member?: string,\n  };\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  limit?: number;\n  cursor?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  cursor?: string;\n  actors: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n    description?: string,\n    indexedAt?: string,\n    myState?: {\n      follow?: string,\n    },\n  }[];\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  term: string;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  cursor?: string;\n  users: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n    description?: string,\n    indexedAt?: string,\n  }[];\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  term: string;\n  limit?: number;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  users: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n  }[];\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  did?: string;\n  displayName?: string;\n  description?: string;\n}\n\nexport interface OutputSchema {\n  uri: string;\n  cid: string;\n  record: {};\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  author: string;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  cursor?: string;\n  feed: FeedItem[];\n}\nexport interface FeedItem {\n  uri: string;\n  cid: string;\n  author: Actor;\n  trendedBy?: Actor;\n  repostedBy?: Actor;\n  record: {};\n  embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n  replyCount: number;\n  repostCount: number;\n  upvoteCount: number;\n  downvoteCount: number;\n  indexedAt: string;\n  myState?: {\n    repost?: string,\n    upvote?: string,\n    downvote?: string,\n  };\n}\nexport interface Actor {\n  did: string;\n  declaration: Declaration;\n  handle: string;\n  displayName?: string;\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n  type: 'record';\n  author: Actor;\n  record: {};\n}\nexport interface ExternalEmbed {\n  type: 'external';\n  uri: string;\n  title: string;\n  description: string;\n  imageUri: string;\n}\nexport interface UnknownEmbed {\n  type: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  uri: string;\n  depth?: number;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  thread: Post;\n}\nexport interface Post {\n  uri: string;\n  cid: string;\n  author: User;\n  record: {};\n  embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n  parent?: Post;\n  replyCount: number;\n  replies?: Post[];\n  repostCount: number;\n  upvoteCount: number;\n  downvoteCount: number;\n  indexedAt: string;\n  myState?: {\n    repost?: string,\n    upvote?: string,\n    downvote?: string,\n  };\n}\nexport interface User {\n  did: string;\n  declaration: Declaration;\n  handle: string;\n  displayName?: string;\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n  type: 'record';\n  author: User;\n  record: {};\n}\nexport interface ExternalEmbed {\n  type: 'external';\n  uri: string;\n  title: string;\n  description: string;\n  imageUri: string;\n}\nexport interface UnknownEmbed {\n  type: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport class NotFoundError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n    if (e.error === 'NotFound') return new NotFoundError(e)\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  uri: string;\n  cid?: string;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  uri: string;\n  cid?: string;\n  cursor?: string;\n  repostedBy: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n    createdAt?: string,\n    indexedAt: string,\n  }[];\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  algorithm?: string;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  cursor?: string;\n  feed: FeedItem[];\n}\nexport interface FeedItem {\n  uri: string;\n  cid: string;\n  author: Actor;\n  trendedBy?: Actor;\n  repostedBy?: Actor;\n  record: {};\n  embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n  replyCount: number;\n  repostCount: number;\n  upvoteCount: number;\n  downvoteCount: number;\n  indexedAt: string;\n  myState?: {\n    repost?: string,\n    upvote?: string,\n    downvote?: string,\n  };\n}\nexport interface Actor {\n  did: string;\n  declaration: Declaration;\n  handle: string;\n  actorType?: string;\n  displayName?: string;\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n  type: 'record';\n  author: Actor;\n  record: {};\n}\nexport interface ExternalEmbed {\n  type: 'external';\n  uri: string;\n  title: string;\n  description: string;\n  imageUri: string;\n}\nexport interface UnknownEmbed {\n  type: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  uri: string;\n  cid?: string;\n  direction?: 'up' | 'down';\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  uri: string;\n  cid?: string;\n  cursor?: string;\n  votes: {\n    direction: 'up' | 'down',\n    indexedAt: string,\n    createdAt: string,\n    actor: Actor,\n  }[];\n}\nexport interface Actor {\n  did: string;\n  declaration: Declaration;\n  handle: string;\n  displayName?: string;\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  subject: Subject;\n  direction: 'up' | 'down' | 'none';\n}\nexport interface Subject {\n  uri: string;\n  cid: string;\n}\n\nexport interface OutputSchema {\n  upvote?: string;\n  downvote?: string;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  author?: string;\n  subject?: string;\n  assertion?: string;\n  confirmed?: boolean;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  cursor?: string;\n  assertions: {\n    uri: string,\n    cid: string,\n    assertion: string,\n    confirmation?: Confirmation,\n    author: Actor,\n    subject: Actor,\n    indexedAt: string,\n    createdAt: string,\n  }[];\n}\nexport interface Confirmation {\n  uri: string;\n  cid: string;\n  indexedAt: string;\n  createdAt: string;\n}\nexport interface Actor {\n  did: string;\n  declaration: Declaration;\n  handle: string;\n  displayName?: string;\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  user: string;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  subject: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n  };\n  cursor?: string;\n  followers: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n    createdAt?: string,\n    indexedAt: string,\n  }[];\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  user: string;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  subject: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n  };\n  cursor?: string;\n  follows: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n    createdAt?: string,\n    indexedAt: string,\n  }[];\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  actor: string;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  subject: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n  };\n  cursor?: string;\n  members: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n    createdAt?: string,\n    indexedAt: string,\n  }[];\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  actor: string;\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  subject: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n  };\n  cursor?: string;\n  memberships: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n    createdAt?: string,\n    indexedAt: string,\n  }[];\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  count: number;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  limit?: number;\n  before?: string;\n}\n\nexport interface CallOptions {\n  headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n  cursor?: string;\n  notifications: Notification[];\n}\nexport interface Notification {\n  uri: string;\n  cid: string;\n  author: {\n    did: string,\n    declaration: Declaration,\n    handle: string,\n    displayName?: string,\n  };\n  reason: string;\n  reasonSubject?: string;\n  record: {};\n  isRead: boolean;\n  indexedAt: string;\n}\nexport interface Declaration {\n  cid: string;\n  actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n  headers?: Headers;\n  qp?: QueryParams;\n  encoding: 'application/json';\n}\n\nexport interface InputSchema {\n  seenAt: string;\n}\n\nexport interface OutputSchema {\n  [k: string]: unknown;\n}\n\nexport interface Response {\n  success: boolean;\n  headers: Headers;\n  data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  displayName: string;\n  description?: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  media: MediaEmbed[];\n  [k: string]: unknown;\n}\nexport interface MediaEmbed {\n  alt?: string;\n  thumb?: MediaEmbedBlob;\n  original: MediaEmbedBlob;\n  [k: string]: unknown;\n}\nexport interface MediaEmbedBlob {\n  mimeType: string;\n  blobId: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  text: string;\n  entities?: Entity[];\n  reply?: {\n    root: PostRef,\n    parent: PostRef,\n    [k: string]: unknown,\n  };\n  createdAt: string;\n  [k: string]: unknown;\n}\nexport interface Entity {\n  index: TextSlice;\n  type: string;\n  value: string;\n  [k: string]: unknown;\n}\nexport interface TextSlice {\n  start: number;\n  end: number;\n  [k: string]: unknown;\n}\nexport interface PostRef {\n  uri: string;\n  cid: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  subject: Subject;\n  createdAt: string;\n  [k: string]: unknown;\n}\nexport interface Subject {\n  uri: string;\n  cid: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  subject: Subject;\n  createdAt: string;\n  [k: string]: unknown;\n}\nexport interface Subject {\n  uri: string;\n  cid: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  subject: Subject;\n  direction: 'up' | 'down';\n  createdAt: string;\n  [k: string]: unknown;\n}\nexport interface Subject {\n  uri: string;\n  cid: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  assertion: string;\n  subject: {\n    did: string,\n    declarationCid: string,\n    [k: string]: unknown,\n  };\n  createdAt: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  originator: {\n    did: string,\n    declarationCid: string,\n    [k: string]: unknown,\n  };\n  assertion: {\n    uri: string,\n    cid: string,\n    [k: string]: unknown,\n  };\n  createdAt: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n  subject: {\n    did: string,\n    declarationCid: string,\n    [k: string]: unknown,\n  };\n  createdAt: string;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport type ActorKnown =\n  | 'app.bsky.system.actorUser'\n  | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface Record {\n  actorType: ActorKnown | ActorUnknown;\n  [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport {\n  Client as XrpcClient,\n  ServiceClient as XrpcServiceClient,\n} from '@atproto/xrpc'\nimport { methodSchemas, recordSchemas } from './schemas'\nimport * as ComAtprotoAccountCreate from './types/com/atproto/account/create'\nimport * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode'\nimport * as ComAtprotoAccountDelete from './types/com/atproto/account/delete'\nimport * as ComAtprotoAccountGet from './types/com/atproto/account/get'\nimport * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset'\nimport * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword'\nimport * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'\nimport * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'\nimport * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'\nimport * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'\nimport * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe'\nimport * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord'\nimport * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords'\nimport * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'\nimport * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig'\nimport * as ComAtprotoSessionCreate from './types/com/atproto/session/create'\nimport * as ComAtprotoSessionDelete from './types/com/atproto/session/delete'\nimport * as ComAtprotoSessionGet from './types/com/atproto/session/get'\nimport * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh'\nimport * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'\nimport * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot'\nimport * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo'\nimport * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene'\nimport * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'\nimport * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'\nimport * as AppBskyActorProfile from './types/app/bsky/actor/profile'\nimport * as AppBskyActorSearch from './types/app/bsky/actor/search'\nimport * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead'\nimport * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile'\nimport * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'\nimport * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'\nimport * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'\nimport * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'\nimport * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes'\nimport * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed'\nimport * as AppBskyFeedPost from './types/app/bsky/feed/post'\nimport * as AppBskyFeedRepost from './types/app/bsky/feed/repost'\nimport * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote'\nimport * as AppBskyFeedTrend from './types/app/bsky/feed/trend'\nimport * as AppBskyFeedVote from './types/app/bsky/feed/vote'\nimport * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'\nimport * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'\nimport * as AppBskyGraphFollow from './types/app/bsky/graph/follow'\nimport * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions'\nimport * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'\nimport * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'\nimport * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'\nimport * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'\nimport * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'\nimport * as AppBskyNotificationList from './types/app/bsky/notification/list'\nimport * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen'\nimport * as AppBskySystemDeclaration from './types/app/bsky/system/declaration'\n\nexport * as ComAtprotoAccountCreate from './types/com/atproto/account/create'\nexport * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode'\nexport * as ComAtprotoAccountDelete from './types/com/atproto/account/delete'\nexport * as ComAtprotoAccountGet from './types/com/atproto/account/get'\nexport * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset'\nexport * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword'\nexport * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'\nexport * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'\nexport * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'\nexport * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'\nexport * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe'\nexport * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord'\nexport * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords'\nexport * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'\nexport * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig'\nexport * as ComAtprotoSessionCreate from './types/com/atproto/session/create'\nexport * as ComAtprotoSessionDelete from './types/com/atproto/session/delete'\nexport * as ComAtprotoSessionGet from './types/com/atproto/session/get'\nexport * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh'\nexport * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'\nexport * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot'\nexport * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo'\nexport * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene'\nexport * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'\nexport * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'\nexport * as AppBskyActorProfile from './types/app/bsky/actor/profile'\nexport * as AppBskyActorSearch from './types/app/bsky/actor/search'\nexport * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead'\nexport * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile'\nexport * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'\nexport * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'\nexport * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'\nexport * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'\nexport * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes'\nexport * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed'\nexport * as AppBskyFeedPost from './types/app/bsky/feed/post'\nexport * as AppBskyFeedRepost from './types/app/bsky/feed/repost'\nexport * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote'\nexport * as AppBskyFeedTrend from './types/app/bsky/feed/trend'\nexport * as AppBskyFeedVote from './types/app/bsky/feed/vote'\nexport * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'\nexport * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'\nexport * as AppBskyGraphFollow from './types/app/bsky/graph/follow'\nexport * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions'\nexport * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'\nexport * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'\nexport * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'\nexport * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'\nexport * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'\nexport * as AppBskyNotificationList from './types/app/bsky/notification/list'\nexport * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen'\nexport * as AppBskySystemDeclaration from './types/app/bsky/system/declaration'\n\nexport const APP_BSKY_GRAPH = {\n  AssertCreator: 'app.bsky.graph.assertCreator',\n  AssertMember: 'app.bsky.graph.assertMember',\n}\nexport const APP_BSKY_SYSTEM = {\n  ActorScene: 'app.bsky.system.actorScene',\n  ActorUser: 'app.bsky.system.actorUser',\n}\n\nexport class Client {\n  xrpc: XrpcClient = new XrpcClient()\n\n  constructor() {\n    this.xrpc.addSchemas(methodSchemas)\n  }\n\n  service(serviceUri: string | URL): ServiceClient {\n    return new ServiceClient(this, this.xrpc.service(serviceUri))\n  }\n}\n\nconst defaultInst = new Client()\nexport default defaultInst\n\nexport class ServiceClient {\n  _baseClient: Client\n  xrpc: XrpcServiceClient\n  com: ComNS\n  app: AppNS\n\n  constructor(baseClient: Client, xrpcService: XrpcServiceClient) {\n    this._baseClient = baseClient\n    this.xrpc = xrpcService\n    this.com = new ComNS(this)\n    this.app = new AppNS(this)\n  }\n\n  setHeader(key: string, value: string): void {\n    this.xrpc.setHeader(key, value)\n  }\n}\n\nexport class ComNS {\n  _service: ServiceClient\n  atproto: AtprotoNS\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.atproto = new AtprotoNS(service)\n  }\n}\n\nexport class AtprotoNS {\n  _service: ServiceClient\n  account: AccountNS\n  handle: HandleNS\n  repo: RepoNS\n  server: ServerNS\n  session: SessionNS\n  sync: SyncNS\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.account = new AccountNS(service)\n    this.handle = new HandleNS(service)\n    this.repo = new RepoNS(service)\n    this.server = new ServerNS(service)\n    this.session = new SessionNS(service)\n    this.sync = new SyncNS(service)\n  }\n}\n\nexport class AccountNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  create(\n    data?: ComAtprotoAccountCreate.InputSchema,\n    opts?: ComAtprotoAccountCreate.CallOptions\n  ): Promise<ComAtprotoAccountCreate.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.create', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountCreate.toKnownErr(e)\n      })\n  }\n\n  createInviteCode(\n    data?: ComAtprotoAccountCreateInviteCode.InputSchema,\n    opts?: ComAtprotoAccountCreateInviteCode.CallOptions\n  ): Promise<ComAtprotoAccountCreateInviteCode.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.createInviteCode', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountCreateInviteCode.toKnownErr(e)\n      })\n  }\n\n  delete(\n    data?: ComAtprotoAccountDelete.InputSchema,\n    opts?: ComAtprotoAccountDelete.CallOptions\n  ): Promise<ComAtprotoAccountDelete.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.delete', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountDelete.toKnownErr(e)\n      })\n  }\n\n  get(\n    params?: ComAtprotoAccountGet.QueryParams,\n    opts?: ComAtprotoAccountGet.CallOptions\n  ): Promise<ComAtprotoAccountGet.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.get', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountGet.toKnownErr(e)\n      })\n  }\n\n  requestPasswordReset(\n    data?: ComAtprotoAccountRequestPasswordReset.InputSchema,\n    opts?: ComAtprotoAccountRequestPasswordReset.CallOptions\n  ): Promise<ComAtprotoAccountRequestPasswordReset.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.requestPasswordReset', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountRequestPasswordReset.toKnownErr(e)\n      })\n  }\n\n  resetPassword(\n    data?: ComAtprotoAccountResetPassword.InputSchema,\n    opts?: ComAtprotoAccountResetPassword.CallOptions\n  ): Promise<ComAtprotoAccountResetPassword.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.resetPassword', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountResetPassword.toKnownErr(e)\n      })\n  }\n}\n\nexport class HandleNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  resolve(\n    params?: ComAtprotoHandleResolve.QueryParams,\n    opts?: ComAtprotoHandleResolve.CallOptions\n  ): Promise<ComAtprotoHandleResolve.Response> {\n    return this._service.xrpc\n      .call('com.atproto.handle.resolve', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoHandleResolve.toKnownErr(e)\n      })\n  }\n}\n\nexport class RepoNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  batchWrite(\n    data?: ComAtprotoRepoBatchWrite.InputSchema,\n    opts?: ComAtprotoRepoBatchWrite.CallOptions\n  ): Promise<ComAtprotoRepoBatchWrite.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.batchWrite', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoBatchWrite.toKnownErr(e)\n      })\n  }\n\n  createRecord(\n    data?: ComAtprotoRepoCreateRecord.InputSchema,\n    opts?: ComAtprotoRepoCreateRecord.CallOptions\n  ): Promise<ComAtprotoRepoCreateRecord.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.createRecord', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoCreateRecord.toKnownErr(e)\n      })\n  }\n\n  deleteRecord(\n    data?: ComAtprotoRepoDeleteRecord.InputSchema,\n    opts?: ComAtprotoRepoDeleteRecord.CallOptions\n  ): Promise<ComAtprotoRepoDeleteRecord.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.deleteRecord', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoDeleteRecord.toKnownErr(e)\n      })\n  }\n\n  describe(\n    params?: ComAtprotoRepoDescribe.QueryParams,\n    opts?: ComAtprotoRepoDescribe.CallOptions\n  ): Promise<ComAtprotoRepoDescribe.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.describe', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoDescribe.toKnownErr(e)\n      })\n  }\n\n  getRecord(\n    params?: ComAtprotoRepoGetRecord.QueryParams,\n    opts?: ComAtprotoRepoGetRecord.CallOptions\n  ): Promise<ComAtprotoRepoGetRecord.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.getRecord', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoGetRecord.toKnownErr(e)\n      })\n  }\n\n  listRecords(\n    params?: ComAtprotoRepoListRecords.QueryParams,\n    opts?: ComAtprotoRepoListRecords.CallOptions\n  ): Promise<ComAtprotoRepoListRecords.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.listRecords', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoListRecords.toKnownErr(e)\n      })\n  }\n\n  putRecord(\n    data?: ComAtprotoRepoPutRecord.InputSchema,\n    opts?: ComAtprotoRepoPutRecord.CallOptions\n  ): Promise<ComAtprotoRepoPutRecord.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.putRecord', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoPutRecord.toKnownErr(e)\n      })\n  }\n}\n\nexport class ServerNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  getAccountsConfig(\n    params?: ComAtprotoServerGetAccountsConfig.QueryParams,\n    opts?: ComAtprotoServerGetAccountsConfig.CallOptions\n  ): Promise<ComAtprotoServerGetAccountsConfig.Response> {\n    return this._service.xrpc\n      .call('com.atproto.server.getAccountsConfig', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoServerGetAccountsConfig.toKnownErr(e)\n      })\n  }\n}\n\nexport class SessionNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  create(\n    data?: ComAtprotoSessionCreate.InputSchema,\n    opts?: ComAtprotoSessionCreate.CallOptions\n  ): Promise<ComAtprotoSessionCreate.Response> {\n    return this._service.xrpc\n      .call('com.atproto.session.create', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoSessionCreate.toKnownErr(e)\n      })\n  }\n\n  delete(\n    data?: ComAtprotoSessionDelete.InputSchema,\n    opts?: ComAtprotoSessionDelete.CallOptions\n  ): Promise<ComAtprotoSessionDelete.Response> {\n    return this._service.xrpc\n      .call('com.atproto.session.delete', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoSessionDelete.toKnownErr(e)\n      })\n  }\n\n  get(\n    params?: ComAtprotoSessionGet.QueryParams,\n    opts?: ComAtprotoSessionGet.CallOptions\n  ): Promise<ComAtprotoSessionGet.Response> {\n    return this._service.xrpc\n      .call('com.atproto.session.get', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoSessionGet.toKnownErr(e)\n      })\n  }\n\n  refresh(\n    data?: ComAtprotoSessionRefresh.InputSchema,\n    opts?: ComAtprotoSessionRefresh.CallOptions\n  ): Promise<ComAtprotoSessionRefresh.Response> {\n    return this._service.xrpc\n      .call('com.atproto.session.refresh', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoSessionRefresh.toKnownErr(e)\n      })\n  }\n}\n\nexport class SyncNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  getRepo(\n    params?: ComAtprotoSyncGetRepo.QueryParams,\n    opts?: ComAtprotoSyncGetRepo.CallOptions\n  ): Promise<ComAtprotoSyncGetRepo.Response> {\n    return this._service.xrpc\n      .call('com.atproto.sync.getRepo', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoSyncGetRepo.toKnownErr(e)\n      })\n  }\n\n  getRoot(\n    params?: ComAtprotoSyncGetRoot.QueryParams,\n    opts?: ComAtprotoSyncGetRoot.CallOptions\n  ): Promise<ComAtprotoSyncGetRoot.Response> {\n    return this._service.xrpc\n      .call('com.atproto.sync.getRoot', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoSyncGetRoot.toKnownErr(e)\n      })\n  }\n\n  updateRepo(\n    data?: ComAtprotoSyncUpdateRepo.InputSchema,\n    opts?: ComAtprotoSyncUpdateRepo.CallOptions\n  ): Promise<ComAtprotoSyncUpdateRepo.Response> {\n    return this._service.xrpc\n      .call('com.atproto.sync.updateRepo', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoSyncUpdateRepo.toKnownErr(e)\n      })\n  }\n}\n\nexport class AppNS {\n  _service: ServiceClient\n  bsky: BskyNS\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.bsky = new BskyNS(service)\n  }\n}\n\nexport class BskyNS {\n  _service: ServiceClient\n  actor: ActorNS\n  feed: FeedNS\n  graph: GraphNS\n  notification: NotificationNS\n  system: SystemNS\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.actor = new ActorNS(service)\n    this.feed = new FeedNS(service)\n    this.graph = new GraphNS(service)\n    this.notification = new NotificationNS(service)\n    this.system = new SystemNS(service)\n  }\n}\n\nexport class ActorNS {\n  _service: ServiceClient\n  profile: ProfileRecord\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.profile = new ProfileRecord(service)\n  }\n\n  createScene(\n    data?: AppBskyActorCreateScene.InputSchema,\n    opts?: AppBskyActorCreateScene.CallOptions\n  ): Promise<AppBskyActorCreateScene.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.createScene', opts?.qp, data, opts)\n      .catch((e) => {\n        throw AppBskyActorCreateScene.toKnownErr(e)\n      })\n  }\n\n  getProfile(\n    params?: AppBskyActorGetProfile.QueryParams,\n    opts?: AppBskyActorGetProfile.CallOptions\n  ): Promise<AppBskyActorGetProfile.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.getProfile', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyActorGetProfile.toKnownErr(e)\n      })\n  }\n\n  getSuggestions(\n    params?: AppBskyActorGetSuggestions.QueryParams,\n    opts?: AppBskyActorGetSuggestions.CallOptions\n  ): Promise<AppBskyActorGetSuggestions.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.getSuggestions', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyActorGetSuggestions.toKnownErr(e)\n      })\n  }\n\n  search(\n    params?: AppBskyActorSearch.QueryParams,\n    opts?: AppBskyActorSearch.CallOptions\n  ): Promise<AppBskyActorSearch.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.search', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyActorSearch.toKnownErr(e)\n      })\n  }\n\n  searchTypeahead(\n    params?: AppBskyActorSearchTypeahead.QueryParams,\n    opts?: AppBskyActorSearchTypeahead.CallOptions\n  ): Promise<AppBskyActorSearchTypeahead.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.searchTypeahead', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyActorSearchTypeahead.toKnownErr(e)\n      })\n  }\n\n  updateProfile(\n    data?: AppBskyActorUpdateProfile.InputSchema,\n    opts?: AppBskyActorUpdateProfile.CallOptions\n  ): Promise<AppBskyActorUpdateProfile.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.updateProfile', opts?.qp, data, opts)\n      .catch((e) => {\n        throw AppBskyActorUpdateProfile.toKnownErr(e)\n      })\n  }\n}\n\nexport class ProfileRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyActorProfile.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.actor.profile',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{ uri: string, cid: string, value: AppBskyActorProfile.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.actor.profile',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyActorProfile.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.actor.profile'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.actor.profile', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.actor.profile', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class FeedNS {\n  _service: ServiceClient\n  mediaEmbed: MediaEmbedRecord\n  post: PostRecord\n  repost: RepostRecord\n  trend: TrendRecord\n  vote: VoteRecord\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.mediaEmbed = new MediaEmbedRecord(service)\n    this.post = new PostRecord(service)\n    this.repost = new RepostRecord(service)\n    this.trend = new TrendRecord(service)\n    this.vote = new VoteRecord(service)\n  }\n\n  getAuthorFeed(\n    params?: AppBskyFeedGetAuthorFeed.QueryParams,\n    opts?: AppBskyFeedGetAuthorFeed.CallOptions\n  ): Promise<AppBskyFeedGetAuthorFeed.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getAuthorFeed', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetAuthorFeed.toKnownErr(e)\n      })\n  }\n\n  getPostThread(\n    params?: AppBskyFeedGetPostThread.QueryParams,\n    opts?: AppBskyFeedGetPostThread.CallOptions\n  ): Promise<AppBskyFeedGetPostThread.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getPostThread', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetPostThread.toKnownErr(e)\n      })\n  }\n\n  getRepostedBy(\n    params?: AppBskyFeedGetRepostedBy.QueryParams,\n    opts?: AppBskyFeedGetRepostedBy.CallOptions\n  ): Promise<AppBskyFeedGetRepostedBy.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getRepostedBy', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetRepostedBy.toKnownErr(e)\n      })\n  }\n\n  getTimeline(\n    params?: AppBskyFeedGetTimeline.QueryParams,\n    opts?: AppBskyFeedGetTimeline.CallOptions\n  ): Promise<AppBskyFeedGetTimeline.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getTimeline', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetTimeline.toKnownErr(e)\n      })\n  }\n\n  getVotes(\n    params?: AppBskyFeedGetVotes.QueryParams,\n    opts?: AppBskyFeedGetVotes.CallOptions\n  ): Promise<AppBskyFeedGetVotes.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getVotes', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetVotes.toKnownErr(e)\n      })\n  }\n\n  setVote(\n    data?: AppBskyFeedSetVote.InputSchema,\n    opts?: AppBskyFeedSetVote.CallOptions\n  ): Promise<AppBskyFeedSetVote.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.setVote', opts?.qp, data, opts)\n      .catch((e) => {\n        throw AppBskyFeedSetVote.toKnownErr(e)\n      })\n  }\n}\n\nexport class MediaEmbedRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyFeedMediaEmbed.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.mediaEmbed',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{\n    uri: string,\n    cid: string,\n    value: AppBskyFeedMediaEmbed.Record,\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.mediaEmbed',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedMediaEmbed.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.feed.mediaEmbed'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.mediaEmbed', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.mediaEmbed', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class PostRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyFeedPost.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.post',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{ uri: string, cid: string, value: AppBskyFeedPost.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.post',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedPost.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.feed.post'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.post', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.post', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class RepostRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyFeedRepost.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.repost',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{ uri: string, cid: string, value: AppBskyFeedRepost.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.repost',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedRepost.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.feed.repost'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.repost', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.repost', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class TrendRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyFeedTrend.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.trend',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{ uri: string, cid: string, value: AppBskyFeedTrend.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.trend',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedTrend.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.feed.trend'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.trend', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.trend', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class VoteRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyFeedVote.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.vote',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{ uri: string, cid: string, value: AppBskyFeedVote.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.vote',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedVote.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.feed.vote'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.vote', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.vote', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class GraphNS {\n  _service: ServiceClient\n  assertion: AssertionRecord\n  confirmation: ConfirmationRecord\n  follow: FollowRecord\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.assertion = new AssertionRecord(service)\n    this.confirmation = new ConfirmationRecord(service)\n    this.follow = new FollowRecord(service)\n  }\n\n  getAssertions(\n    params?: AppBskyGraphGetAssertions.QueryParams,\n    opts?: AppBskyGraphGetAssertions.CallOptions\n  ): Promise<AppBskyGraphGetAssertions.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getAssertions', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetAssertions.toKnownErr(e)\n      })\n  }\n\n  getFollowers(\n    params?: AppBskyGraphGetFollowers.QueryParams,\n    opts?: AppBskyGraphGetFollowers.CallOptions\n  ): Promise<AppBskyGraphGetFollowers.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getFollowers', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetFollowers.toKnownErr(e)\n      })\n  }\n\n  getFollows(\n    params?: AppBskyGraphGetFollows.QueryParams,\n    opts?: AppBskyGraphGetFollows.CallOptions\n  ): Promise<AppBskyGraphGetFollows.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getFollows', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetFollows.toKnownErr(e)\n      })\n  }\n\n  getMembers(\n    params?: AppBskyGraphGetMembers.QueryParams,\n    opts?: AppBskyGraphGetMembers.CallOptions\n  ): Promise<AppBskyGraphGetMembers.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getMembers', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetMembers.toKnownErr(e)\n      })\n  }\n\n  getMemberships(\n    params?: AppBskyGraphGetMemberships.QueryParams,\n    opts?: AppBskyGraphGetMemberships.CallOptions\n  ): Promise<AppBskyGraphGetMemberships.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getMemberships', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetMemberships.toKnownErr(e)\n      })\n  }\n}\n\nexport class AssertionRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyGraphAssertion.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.graph.assertion',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{\n    uri: string,\n    cid: string,\n    value: AppBskyGraphAssertion.Record,\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.graph.assertion',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyGraphAssertion.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.graph.assertion'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.graph.assertion', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.graph.assertion', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class ConfirmationRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyGraphConfirmation.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.graph.confirmation',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{\n    uri: string,\n    cid: string,\n    value: AppBskyGraphConfirmation.Record,\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.graph.confirmation',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyGraphConfirmation.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.graph.confirmation'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.graph.confirmation', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.graph.confirmation', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class FollowRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskyGraphFollow.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.graph.follow',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{ uri: string, cid: string, value: AppBskyGraphFollow.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.graph.follow',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyGraphFollow.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.graph.follow'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.graph.follow', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.graph.follow', ...params },\n      { headers }\n    )\n  }\n}\n\nexport class NotificationNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  getCount(\n    params?: AppBskyNotificationGetCount.QueryParams,\n    opts?: AppBskyNotificationGetCount.CallOptions\n  ): Promise<AppBskyNotificationGetCount.Response> {\n    return this._service.xrpc\n      .call('app.bsky.notification.getCount', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyNotificationGetCount.toKnownErr(e)\n      })\n  }\n\n  list(\n    params?: AppBskyNotificationList.QueryParams,\n    opts?: AppBskyNotificationList.CallOptions\n  ): Promise<AppBskyNotificationList.Response> {\n    return this._service.xrpc\n      .call('app.bsky.notification.list', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyNotificationList.toKnownErr(e)\n      })\n  }\n\n  updateSeen(\n    data?: AppBskyNotificationUpdateSeen.InputSchema,\n    opts?: AppBskyNotificationUpdateSeen.CallOptions\n  ): Promise<AppBskyNotificationUpdateSeen.Response> {\n    return this._service.xrpc\n      .call('app.bsky.notification.updateSeen', opts?.qp, data, opts)\n      .catch((e) => {\n        throw AppBskyNotificationUpdateSeen.toKnownErr(e)\n      })\n  }\n}\n\nexport class SystemNS {\n  _service: ServiceClient\n  declaration: DeclarationRecord\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.declaration = new DeclarationRecord(service)\n  }\n}\n\nexport class DeclarationRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>\n  ): Promise<{\n    cursor?: string,\n    records: { uri: string, value: AppBskySystemDeclaration.Record }[],\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.system.declaration',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>\n  ): Promise<{\n    uri: string,\n    cid: string,\n    value: AppBskySystemDeclaration.Record,\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.system.declaration',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskySystemDeclaration.Record,\n    headers?: Record<string, string>\n  ): Promise<{ uri: string, cid: string }> {\n    record.$type = 'app.bsky.system.declaration'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.system.declaration', ...params, record },\n      { encoding: 'application/json', headers }\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.system.declaration', ...params },\n      { headers }\n    )\n  }\n}\n", "import {\n  CallOptions,\n  Client as XrpcClient,\n  ServiceClient as XrpcServiceClient,\n  QueryParams,\n  ResponseType,\n  XRPCError,\n  XRPCResponse,\n} from '@atproto/xrpc'\nimport EventEmitter from 'events'\nimport TypedEmitter from 'typed-emitter'\nimport { Client, ServiceClient } from './client'\nimport * as CreateSession from './client/types/com/atproto/session/create'\nimport * as RefreshSession from './client/types/com/atproto/session/refresh'\nimport * as CreateAccount from './client/types/com/atproto/session/create'\n\nconst CREATE_SESSION = 'com.atproto.session.create'\nconst REFRESH_SESSION = 'com.atproto.session.refresh'\nconst DELETE_SESSION = 'com.atproto.session.delete'\nconst CREATE_ACCOUNT = 'com.atproto.account.create'\n\nexport class SessionClient extends Client {\n  service(serviceUri: string | URL): SessionServiceClient {\n    const xrpcService = new SessionXrpcServiceClient(this.xrpc, serviceUri)\n    return new SessionServiceClient(this, xrpcService)\n  }\n}\n\nconst defaultInst = new SessionClient()\nexport default defaultInst\n\nexport class SessionServiceClient extends ServiceClient {\n  xrpc: SessionXrpcServiceClient\n  sessionManager: SessionManager\n  constructor(baseClient: Client, xrpcService: SessionXrpcServiceClient) {\n    super(baseClient, xrpcService)\n    this.sessionManager = this.xrpc.sessionManager\n  }\n}\n\nexport class SessionXrpcServiceClient extends XrpcServiceClient {\n  sessionManager = new SessionManager()\n  refreshing?: Promise<XRPCResponse>\n\n  constructor(baseClient: XrpcClient, serviceUri: string | URL) {\n    super(baseClient, serviceUri)\n    this.sessionManager.on('session', () => {\n      // Maintain access token headers when session changes\n      const accessHeaders = this.sessionManager.accessHeaders()\n      if (accessHeaders) {\n        this.setHeader('authorization', accessHeaders.authorization)\n      } else {\n        this.unsetHeader('authorization')\n      }\n    })\n  }\n\n  async call(\n    methodNsid: string,\n    params?: QueryParams,\n    data?: unknown,\n    opts?: CallOptions,\n  ) {\n    const original = (overrideOpts?: CallOptions) =>\n      super.call(methodNsid, params, data, overrideOpts ?? opts)\n\n    // If someone is setting credentials manually, pass through as an escape hatch\n    if (opts?.headers?.authorization) {\n      return await original()\n    }\n\n    // Manage concurrent refreshes on session refresh\n    if (methodNsid === REFRESH_SESSION) {\n      return await this.refresh(opts)\n    }\n\n    // Complete any pending session refresh and then continue onto the original request with fresh credentials\n    await this.refreshing\n\n    // Setup session on session or account creation\n    if (methodNsid === CREATE_SESSION || methodNsid === CREATE_ACCOUNT) {\n      const result = await original()\n      const { accessJwt, refreshJwt } =\n        result.data as CreateSession.OutputSchema & CreateAccount.OutputSchema\n      this.sessionManager.set({ accessJwt, refreshJwt })\n      return result\n    }\n\n    // Clear session on session deletion\n    if (methodNsid === DELETE_SESSION) {\n      const result = await original({\n        ...opts,\n        headers: {\n          ...opts?.headers,\n          ...this.sessionManager.refreshHeaders(),\n        },\n      })\n      this.sessionManager.unset()\n      return result\n    }\n\n    // For all other requests, if failed due to an expired token, refresh and retry with fresh credentials\n    try {\n      return await original()\n    } catch (err) {\n      if (\n        err instanceof XRPCError &&\n        err.status === ResponseType.InvalidRequest &&\n        err.error === 'ExpiredToken' &&\n        this.sessionManager.active()\n      ) {\n        await this.refresh(opts)\n        return await original()\n      }\n      throw err\n    }\n  }\n\n  // Ensures a single refresh request at a time, deduping concurrent requests.\n  async refresh(opts?: CallOptions) {\n    this.refreshing ??= this._refresh(opts)\n    try {\n      return await this.refreshing\n    } finally {\n      this.refreshing = undefined\n    }\n  }\n\n  private async _refresh(opts?: CallOptions) {\n    try {\n      const result = await super.call(REFRESH_SESSION, undefined, undefined, {\n        ...opts,\n        headers: {\n          ...opts?.headers,\n          ...this.sessionManager.refreshHeaders(),\n        },\n      })\n      const { accessJwt, refreshJwt } =\n        result.data as RefreshSession.OutputSchema\n      this.sessionManager.set({ accessJwt, refreshJwt })\n      return result\n    } catch (err) {\n      if (\n        err instanceof XRPCError &&\n        err.status === ResponseType.InvalidRequest &&\n        (err.error === 'ExpiredToken' || err.error === 'InvalidToken')\n      ) {\n        this.sessionManager.unset()\n      }\n      throw err\n    }\n  }\n}\n\nexport class SessionManager extends (EventEmitter as new () => TypedEmitter<SessionEvents>) {\n  session?: Session\n  get() {\n    return this.session\n  }\n  set(session: Session) {\n    this.session = session\n    this.emit('session', session)\n  }\n  unset() {\n    this.session = undefined\n    this.emit('session', undefined)\n  }\n  active() {\n    return !!this.session\n  }\n  accessHeaders() {\n    return (\n      this.session && {\n        authorization: `Bearer ${this.session.accessJwt}`,\n      }\n    )\n  }\n  refreshHeaders() {\n    return (\n      this.session && {\n        authorization: `Bearer ${this.session.refreshJwt}`,\n      }\n    )\n  }\n}\n\nexport type Session = {\n  refreshJwt: string\n  accessJwt: string\n}\n\ntype SessionEvents = {\n  session: (session?: Session) => void\n}\n"],
-  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,QAAsB,cAAtB,MAAiC;;AAAjC,YAAA,cAAA;AAOa,YAAA,aAAa;AAE1B,QAAa,OAAb,cAA0B,YAAW;MAEnC,YAAY,GAAS;AACnB,cAAK;AACL,YAAI,CAAC,QAAA,WAAW,KAAK,CAAC;AAAG,gBAAM,IAAI,MAAM,0CAA0C;AACnF,aAAK,MAAM;MACb;MAEA,WAAQ;AACN,eAAO,KAAK;MACd;MAEA,WAAQ;AACN,eAAO;MACT;MAEA,IAAI,QAAK;AACP,eAAO,EAAC,CAAC,KAAK,MAAM,EAAC;MACvB;;AAlBF,YAAA,OAAA;AAqBA,QAAa,QAAb,cAA2B,YAAW;MAKpC,YAAY,MAAkC;AAC5C,cAAK;AACL,aAAK,SAAS,OAAO,SAAS,WAAW,CAAC,IAAI,IAAI;MACpD;MAEA,W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AK,iBAAiB,QAAW,QAAW;AAAA,QACrE,GAAG;AAAA,QACH,SAAS;AAAA,UACP,GAAG,MAAM;AAAA,UACT,GAAG,KAAK,eAAe,eAAe;AAAA,QACxC;AAAA,MACF,CAAC;AACD,YAAM,EAAE,WAAW,WAAW,IAC5B,OAAO;AACT,WAAK,eAAe,IAAI,EAAE,WAAW,WAAW,CAAC;AACjD,aAAO;AAAA,IACT,SAAS,KAAP;AACA,UACE,eAAe,aACf,IAAI,wCACH,IAAI,UAAU,kBAAkB,IAAI,UAAU,iBAC/C;AACA,aAAK,eAAe,MAAM;AAAA,MAC5B;AACA,YAAM;AAAA,IACR;AAAA,EACF;AACF;AAEO,IAAM,iBAAN,cAA8B,cAAAC,QAAuD;AAAA,EAE1F,MAAM;AACJ,WAAO,KAAK;AAAA,EACd;AAAA,EACA,IAAI,SAAkB;AACpB,SAAK,UAAU;AACf,SAAK,KAAK,WAAW,OAAO;AAAA,EAC9B;AAAA,EACA,QAAQ;AACN,SAAK,UAAU;AACf,SAAK,KAAK,WAAW,MAAS;AAAA,EAChC;AAAA,EACA,SAAS;AACP,WAAO,CAAC,CAAC,KAAK;AAAA,EAChB;AAAA,EACA,gBAAgB;AACd,WACE,KAAK,WAAW;AAAA,MACd,eAAe,UAAU,KAAK,QAAQ;AAAA,IACxC;AAAA,EAEJ;AAAA,EACA,iBAAiB;AACf,WACE,KAAK,WAAW;AAAA,MACd,eAAe,UAAU,KAAK,QAAQ;AAAA,IACxC;AAAA,EAEJ;AACF;",
-  "names": ["UsedValueState", "mergeValues", "Type", "DataType", "_a", "module", "module", "baseId", "ValidationError", "ValidationError", "merge", "sets", "length", "slice", "xl", "x", "join", "subexp", "str", "typeOf", "o", "undefined", "Object", "prototype", "toString", "call", "split", "pop", "shift", "toLowerCase", "toUpperCase", "toArray", "obj", "Array", "setInterval", "assign", "target", "source", "key", "buildExps", "isIRI", "ALPHA$$", "CR$", "DIGIT$$", "DQUOTE$$", "HEXDIG$$", "SP$$", "PCT_ENCODED$", "SUB_DELIMS$$", "RESERVED$$", "GEN_DELIMS$$", "UCSCHAR$$", "SCHEME$", "USERINFO$", "UNRESERVED$$", "DEC_OCTET$", "DEC_OCTET_RELAXED$", "H16$", "LS32$", "IPV4ADDRESS$", "IPV6ADDRESS1$", "IPV6ADDRESS2$", "IPV6ADDRESS3$", "IPV6ADDRESS4$", "IPV6ADDRESS5$", "IPV6ADDRESS6$", "IPV6ADDRESS7$", "IPV6ADDRESS8$", "IPV6ADDRESS9$", "ZONEID$", "IPV6ADDRESS$", "IP_LITERAL$", "IPV6ADDRZ_RELAXED$", "IPVFUTURE$", "HOST$", "REG_NAME$", "PORT$", "AUTHORITY$", "PCHAR$", "SEGMENT$", "SEGMENT_NZ$", "SEGMENT_NZ_NC$", "PATH_ABEMPTY$", "PATH_ABSOLUTE$", "PATH$", "PATH_NOSCHEME$", "PATH_ROOTLESS$", "PATH_EMPTY$", "QUERY$", "IPRIVATE$$", "FRAGMENT$", "HIER_PART$", "URI$", "RELATIVE_PART$", "RELATIVE$", "URI_REFERENCE$", "ABSOLUTE_URI$", "GENERIC_REF$", "RELATIVE_REF$", "ABSOLUTE_REF$", "SAMEDOC_REF$", "AUTHORITY_REF$", "RegExp", "maxInt", "base", "tMin", "tMax", "skew", "damp", "initialBias", "initialN", "delimiter", "regexPunycode", "regexNonASCII", "regexSeparators", "errors", "baseMinusTMin", "floor", "Math", "stringFromCharCode", "String", "fromCharCode", "error", "type", "RangeError", "map", "array", "fn", "result", "mapDomain", "string", "parts", "replace", "labels", "encoded", "ucs2decode", "output", "counter", "value", "charCodeAt", "extra", "push", "ucs2encode", "fromCodePoint", "basicToDigit", "codePoint", "digitToBasic", "digit", "flag", "adapt", "delta", "numPoints", "firstTime", "k", "decode", "input", "inputLength", "i", "n", "bias", "basic", "lastIndexOf", "j", "index", "oldi", "w", "t", "baseMinusT", "out", "splice", "encode", "currentValue", "basicLength", "handledCPCount", "m", "handledCPCountPlusOne", "q", "qMinusT", "toUnicode", "test", "toASCII", "punycode", "SCHEMES", "pctEncChar", "chr", "c", "e", "pctDecChars", "newStr", "il", "parseInt", "substr", "c2", "c3", "_normalizeComponentEncoding", "components", "protocol", "decodeUnreserved", "decStr", "match", "UNRESERVED", "scheme", "PCT_ENCODED", "NOT_SCHEME", "userinfo", "NOT_USERINFO", "host", "NOT_HOST", "path", "NOT_PATH", "NOT_PATH_NOSCHEME", "query", "NOT_QUERY", "fragment", "NOT_FRAGMENT", "_stripLeadingZeros", "_normalizeIPv4", "matches", "IPV4ADDRESS", "address", "_normalizeIPv6", "IPV6ADDRESS", "zone", "reverse", "last", "first", "firstFields", "lastFields", "isLastFieldIPv4Address", "fieldCount", "lastFieldsStart", "fields", "allZeroFields", "reduce", "acc", "field", "lastLongest", "longestZeroFields", "sort", "a", "b", "newHost", "newFirst", "newLast", "URI_PARSE", "NO_MATCH_IS_UNDEFINED", "parse", "uriString", "options", "iri", "IRI_PROTOCOL", "URI_PROTOCOL", "reference", "port", "isNaN", "indexOf", "schemeHandler", "unicodeSupport", "domainHost", "_recomposeAuthority", "uriTokens", "_", "$1", "$2", "RDS1", "RDS2", "RDS3", "RDS5", "removeDotSegments", "im", "s", "Error", "serialize", "authority", "charAt", "absolutePath", "resolveComponents", "relative", "skipNormalization", "tolerant", "resolve", "baseURI", "relativeURI", "schemelessOptions", "normalize", "uri", "equal", "uriA", "uriB", "escapeComponent", "ESCAPE", "unescapeComponent", "handler", "secure", "http", "isSecure", "wsComponents", "resourceName", "ws", "O", "ATEXT$$", "QTEXT$$", "VCHAR$$", "SOME_DELIMS$$", "NOT_LOCAL_PART", "NOT_HFNAME", "NOT_HFVALUE", "mailtoComponents", "to", "unknownHeaders", "headers", "hfields", "hfield", "toAddrs", "subject", "body", "addr", "toAddr", "atIdx", "localPart", "domain", "name", "URN_PARSE", "urnComponents", "nid", "nss", "urnScheme", "uriComponents", "UUID", "uuidComponents", "uuid", "https", "wss", "mailto", "urn", "Ajv", "DiscrError", "Ajv", "module", "ajv", "ajv", "module", "Client", "create_exports", "delete_exports", "get_exports", "ServiceClient", "util", "errorUtil", "errorMap", "ctx", "result", "objectUtil", "issues", "elements", "processed", "ZodFirstPartyTypeKind", "ResponseType", "Ajv", "ajvAddFormats", "import_ajv", "import_ajv_formats", "ajv", "Ajv", "ajvAddFormats", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "create_exports", "toKnownErr", "toKnownErr", "delete_exports", "toKnownErr", "toKnownErr", "get_exports", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "HandleNotAvailableError", "InvalidHandleError", "toKnownErr", "InvalidHandleError", "HandleNotAvailableError", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "Client", "ServiceClient", "defaultInst", "toKnownErr", "Client", "defaultInst", "ServiceClient", "EventEmitter"]
+  "sources": ["../src/index.ts", "../../../node_modules/zod/lib/index.mjs", "../../xrpc/src/types.ts", "../../nsid/src/index.ts", "../../lexicon/src/types.ts", "../../lexicon/src/validators/primitives.ts", "../../lexicon/src/validators/blob.ts", "../../lexicon/src/validators/complex.ts", "../../lexicon/src/util.ts", "../../lexicon/src/validators/xrpc.ts", "../../lexicon/src/validation.ts", "../../lexicon/src/lexicons.ts", "../../xrpc/src/util.ts", "../../xrpc/src/client.ts", "../../xrpc/src/index.ts", "../src/client/lexicons.ts", "../src/client/types/com/atproto/account/create.ts", "../src/client/types/com/atproto/account/createInviteCode.ts", "../src/client/types/com/atproto/account/delete.ts", "../src/client/types/com/atproto/account/get.ts", "../src/client/types/com/atproto/account/requestPasswordReset.ts", "../src/client/types/com/atproto/account/resetPassword.ts", "../src/client/types/com/atproto/handle/resolve.ts", "../src/client/types/com/atproto/repo/batchWrite.ts", "../src/client/types/com/atproto/repo/createRecord.ts", "../src/client/types/com/atproto/repo/deleteRecord.ts", "../src/client/types/com/atproto/repo/describe.ts", "../src/client/types/com/atproto/repo/getRecord.ts", "../src/client/types/com/atproto/repo/listRecords.ts", "../src/client/types/com/atproto/repo/putRecord.ts", "../src/client/types/com/atproto/server/getAccountsConfig.ts", "../src/client/types/com/atproto/session/create.ts", "../src/client/types/com/atproto/session/delete.ts", "../src/client/types/com/atproto/session/get.ts", "../src/client/types/com/atproto/session/refresh.ts", "../src/client/types/com/atproto/sync/getRepo.ts", "../src/client/types/com/atproto/sync/getRoot.ts", "../src/client/types/com/atproto/sync/updateRepo.ts", "../src/client/types/app/bsky/actor/createScene.ts", "../src/client/types/app/bsky/actor/getProfile.ts", "../src/client/types/app/bsky/actor/getSuggestions.ts", "../src/client/types/app/bsky/actor/search.ts", "../src/client/types/app/bsky/actor/searchTypeahead.ts", "../src/client/types/app/bsky/actor/updateProfile.ts", "../src/client/types/app/bsky/feed/getAuthorFeed.ts", "../src/client/types/app/bsky/feed/getPostThread.ts", "../src/client/types/app/bsky/feed/getRepostedBy.ts", "../src/client/types/app/bsky/feed/getTimeline.ts", "../src/client/types/app/bsky/feed/getVotes.ts", "../src/client/types/app/bsky/feed/setVote.ts", "../src/client/types/app/bsky/graph/getAssertions.ts", "../src/client/types/app/bsky/graph/getFollowers.ts", "../src/client/types/app/bsky/graph/getFollows.ts", "../src/client/types/app/bsky/graph/getMembers.ts", "../src/client/types/app/bsky/graph/getMemberships.ts", "../src/client/types/app/bsky/notification/getCount.ts", "../src/client/types/app/bsky/notification/list.ts", "../src/client/types/app/bsky/notification/updateSeen.ts", "../src/client/types/com/atproto/repo/strongRef.ts", "../src/client/types/app/bsky/actor/profile.ts", "../src/client/types/app/bsky/actor/ref.ts", "../src/client/types/app/bsky/feed/embed.ts", "../src/client/types/app/bsky/feed/post.ts", "../src/client/types/app/bsky/feed/repost.ts", "../src/client/types/app/bsky/feed/trend.ts", "../src/client/types/app/bsky/feed/vote.ts", "../src/client/types/app/bsky/graph/assertCreator.ts", "../src/client/types/app/bsky/graph/assertMember.ts", "../src/client/types/app/bsky/graph/assertion.ts", "../src/client/types/app/bsky/graph/confirmation.ts", "../src/client/types/app/bsky/graph/follow.ts", "../src/client/types/app/bsky/system/actorScene.ts", "../src/client/types/app/bsky/system/actorUser.ts", "../src/client/types/app/bsky/system/declRef.ts", "../src/client/types/app/bsky/system/declaration.ts", "../src/client/index.ts", "../src/session.ts"],
+  "sourcesContent": ["export * from './client'\nexport { default } from './client'\nexport * from './session'\nexport { default as sessionClient } from './session'\n", "var util;\n(function (util) {\n    util.assertEqual = (val) => val;\n    function assertIs(_arg) { }\n    util.assertIs = assertIs;\n    function assertNever(_x) {\n        throw new Error();\n    }\n    util.assertNever = assertNever;\n    util.arrayToEnum = (items) => {\n        const obj = {};\n        for (const item of items) {\n            obj[item] = item;\n        }\n        return obj;\n    };\n    util.getValidEnumValues = (obj) => {\n        const validKeys = util.objectKeys(obj).filter((k) => typeof obj[obj[k]] !== \"number\");\n        const filtered = {};\n        for (const k of validKeys) {\n            filtered[k] = obj[k];\n        }\n        return util.objectValues(filtered);\n    };\n    util.objectValues = (obj) => {\n        return util.objectKeys(obj).map(function (e) {\n            return obj[e];\n        });\n    };\n    util.objectKeys = typeof Object.keys === \"function\" // eslint-disable-line ban/ban\n        ? (obj) => Object.keys(obj) // eslint-disable-line ban/ban\n        : (object) => {\n            const keys = [];\n            for (const key in object) {\n                if (Object.prototype.hasOwnProperty.call(object, key)) {\n                    keys.push(key);\n                }\n            }\n            return keys;\n        };\n    util.find = (arr, checker) => {\n        for (const item of arr) {\n            if (checker(item))\n                return item;\n        }\n        return undefined;\n    };\n    util.isInteger = typeof Number.isInteger === \"function\"\n        ? (val) => Number.isInteger(val) // eslint-disable-line ban/ban\n        : (val) => typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n    function joinValues(array, separator = \" | \") {\n        return array\n            .map((val) => (typeof val === \"string\" ? `'${val}'` : val))\n            .join(separator);\n    }\n    util.joinValues = joinValues;\n    util.jsonStringifyReplacer = (_, value) => {\n        if (typeof value === \"bigint\") {\n            return value.toString();\n        }\n        return value;\n    };\n})(util || (util = {}));\nconst ZodParsedType = util.arrayToEnum([\n    \"string\",\n    \"nan\",\n    \"number\",\n    \"integer\",\n    \"float\",\n    \"boolean\",\n    \"date\",\n    \"bigint\",\n    \"symbol\",\n    \"function\",\n    \"undefined\",\n    \"null\",\n    \"array\",\n    \"object\",\n    \"unknown\",\n    \"promise\",\n    \"void\",\n    \"never\",\n    \"map\",\n    \"set\",\n]);\nconst getParsedType = (data) => {\n    const t = typeof data;\n    switch (t) {\n        case \"undefined\":\n            return ZodParsedType.undefined;\n        case \"string\":\n            return ZodParsedType.string;\n        case \"number\":\n            return isNaN(data) ? ZodParsedType.nan : ZodParsedType.number;\n        case \"boolean\":\n            return ZodParsedType.boolean;\n        case \"function\":\n            return ZodParsedType.function;\n        case \"bigint\":\n            return ZodParsedType.bigint;\n        case \"object\":\n            if (Array.isArray(data)) {\n                return ZodParsedType.array;\n            }\n            if (data === null) {\n                return ZodParsedType.null;\n            }\n            if (data.then &&\n                typeof data.then === \"function\" &&\n                data.catch &&\n                typeof data.catch === \"function\") {\n                return ZodParsedType.promise;\n            }\n            if (typeof Map !== \"undefined\" && data instanceof Map) {\n                return ZodParsedType.map;\n            }\n            if (typeof Set !== \"undefined\" && data instanceof Set) {\n                return ZodParsedType.set;\n            }\n            if (typeof Date !== \"undefined\" && data instanceof Date) {\n                return ZodParsedType.date;\n            }\n            return ZodParsedType.object;\n        default:\n            return ZodParsedType.unknown;\n    }\n};\n\nconst ZodIssueCode = util.arrayToEnum([\n    \"invalid_type\",\n    \"invalid_literal\",\n    \"custom\",\n    \"invalid_union\",\n    \"invalid_union_discriminator\",\n    \"invalid_enum_value\",\n    \"unrecognized_keys\",\n    \"invalid_arguments\",\n    \"invalid_return_type\",\n    \"invalid_date\",\n    \"invalid_string\",\n    \"too_small\",\n    \"too_big\",\n    \"invalid_intersection_types\",\n    \"not_multiple_of\",\n]);\nconst quotelessJson = (obj) => {\n    const json = JSON.stringify(obj, null, 2);\n    return json.replace(/\"([^\"]+)\":/g, \"$1:\");\n};\nclass ZodError extends Error {\n    constructor(issues) {\n        super();\n        this.issues = [];\n        this.addIssue = (sub) => {\n            this.issues = [...this.issues, sub];\n        };\n        this.addIssues = (subs = []) => {\n            this.issues = [...this.issues, ...subs];\n        };\n        const actualProto = new.target.prototype;\n        if (Object.setPrototypeOf) {\n            // eslint-disable-next-line ban/ban\n            Object.setPrototypeOf(this, actualProto);\n        }\n        else {\n            this.__proto__ = actualProto;\n        }\n        this.name = \"ZodError\";\n        this.issues = issues;\n    }\n    get errors() {\n        return this.issues;\n    }\n    format(_mapper) {\n        const mapper = _mapper ||\n            function (issue) {\n                return issue.message;\n            };\n        const fieldErrors = { _errors: [] };\n        const processError = (error) => {\n            for (const issue of error.issues) {\n                if (issue.code === \"invalid_union\") {\n                    issue.unionErrors.map(processError);\n                }\n                else if (issue.code === \"invalid_return_type\") {\n                    processError(issue.returnTypeError);\n                }\n                else if (issue.code === \"invalid_arguments\") {\n                    processError(issue.argumentsError);\n                }\n                else if (issue.path.length === 0) {\n                    fieldErrors._errors.push(mapper(issue));\n                }\n                else {\n                    let curr = fieldErrors;\n                    let i = 0;\n                    while (i < issue.path.length) {\n                        const el = issue.path[i];\n                        const terminal = i === issue.path.length - 1;\n                        if (!terminal) {\n                            curr[el] = curr[el] || { _errors: [] };\n                            // if (typeof el === \"string\") {\n                            //   curr[el] = curr[el] || { _errors: [] };\n                            // } else if (typeof el === \"number\") {\n                            //   const errorArray: any = [];\n                            //   errorArray._errors = [];\n                            //   curr[el] = curr[el] || errorArray;\n                            // }\n                        }\n                        else {\n                            curr[el] = curr[el] || { _errors: [] };\n                            curr[el]._errors.push(mapper(issue));\n                        }\n                        curr = curr[el];\n                        i++;\n                    }\n                }\n            }\n        };\n        processError(this);\n        return fieldErrors;\n    }\n    toString() {\n        return this.message;\n    }\n    get message() {\n        return JSON.stringify(this.issues, util.jsonStringifyReplacer, 2);\n    }\n    get isEmpty() {\n        return this.issues.length === 0;\n    }\n    flatten(mapper = (issue) => issue.message) {\n        const fieldErrors = {};\n        const formErrors = [];\n        for (const sub of this.issues) {\n            if (sub.path.length > 0) {\n                fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];\n                fieldErrors[sub.path[0]].push(mapper(sub));\n            }\n            else {\n                formErrors.push(mapper(sub));\n            }\n        }\n        return { formErrors, fieldErrors };\n    }\n    get formErrors() {\n        return this.flatten();\n    }\n}\nZodError.create = (issues) => {\n    const error = new ZodError(issues);\n    return error;\n};\n\nconst errorMap = (issue, _ctx) => {\n    let message;\n    switch (issue.code) {\n        case ZodIssueCode.invalid_type:\n            if (issue.received === ZodParsedType.undefined) {\n                message = \"Required\";\n            }\n            else {\n                message = `Expected ${issue.expected}, received ${issue.received}`;\n            }\n            break;\n        case ZodIssueCode.invalid_literal:\n            message = `Invalid literal value, expected ${JSON.stringify(issue.expected, util.jsonStringifyReplacer)}`;\n            break;\n        case ZodIssueCode.unrecognized_keys:\n            message = `Unrecognized key(s) in object: ${util.joinValues(issue.keys, \", \")}`;\n            break;\n        case ZodIssueCode.invalid_union:\n            message = `Invalid input`;\n            break;\n        case ZodIssueCode.invalid_union_discriminator:\n            message = `Invalid discriminator value. Expected ${util.joinValues(issue.options)}`;\n            break;\n        case ZodIssueCode.invalid_enum_value:\n            message = `Invalid enum value. Expected ${util.joinValues(issue.options)}, received '${issue.received}'`;\n            break;\n        case ZodIssueCode.invalid_arguments:\n            message = `Invalid function arguments`;\n            break;\n        case ZodIssueCode.invalid_return_type:\n            message = `Invalid function return type`;\n            break;\n        case ZodIssueCode.invalid_date:\n            message = `Invalid date`;\n            break;\n        case ZodIssueCode.invalid_string:\n            if (typeof issue.validation === \"object\") {\n                if (\"startsWith\" in issue.validation) {\n                    message = `Invalid input: must start with \"${issue.validation.startsWith}\"`;\n                }\n                else if (\"endsWith\" in issue.validation) {\n                    message = `Invalid input: must end with \"${issue.validation.endsWith}\"`;\n                }\n                else {\n                    util.assertNever(issue.validation);\n                }\n            }\n            else if (issue.validation !== \"regex\") {\n                message = `Invalid ${issue.validation}`;\n            }\n            else {\n                message = \"Invalid\";\n            }\n            break;\n        case ZodIssueCode.too_small:\n            if (issue.type === \"array\")\n                message = `Array must contain ${issue.inclusive ? `at least` : `more than`} ${issue.minimum} element(s)`;\n            else if (issue.type === \"string\")\n                message = `String must contain ${issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;\n            else if (issue.type === \"number\")\n                message = `Number must be greater than ${issue.inclusive ? `or equal to ` : ``}${issue.minimum}`;\n            else if (issue.type === \"date\")\n                message = `Date must be greater than ${issue.inclusive ? `or equal to ` : ``}${new Date(issue.minimum)}`;\n            else\n                message = \"Invalid input\";\n            break;\n        case ZodIssueCode.too_big:\n            if (issue.type === \"array\")\n                message = `Array must contain ${issue.inclusive ? `at most` : `less than`} ${issue.maximum} element(s)`;\n            else if (issue.type === \"string\")\n                message = `String must contain ${issue.inclusive ? `at most` : `under`} ${issue.maximum} character(s)`;\n            else if (issue.type === \"number\")\n                message = `Number must be less than ${issue.inclusive ? `or equal to ` : ``}${issue.maximum}`;\n            else if (issue.type === \"date\")\n                message = `Date must be smaller than ${issue.inclusive ? `or equal to ` : ``}${new Date(issue.maximum)}`;\n            else\n                message = \"Invalid input\";\n            break;\n        case ZodIssueCode.custom:\n            message = `Invalid input`;\n            break;\n        case ZodIssueCode.invalid_intersection_types:\n            message = `Intersection results could not be merged`;\n            break;\n        case ZodIssueCode.not_multiple_of:\n            message = `Number must be a multiple of ${issue.multipleOf}`;\n            break;\n        default:\n            message = _ctx.defaultError;\n            util.assertNever(issue);\n    }\n    return { message };\n};\n\nlet overrideErrorMap = errorMap;\nfunction setErrorMap(map) {\n    overrideErrorMap = map;\n}\nfunction getErrorMap() {\n    return overrideErrorMap;\n}\n\nconst makeIssue = (params) => {\n    const { data, path, errorMaps, issueData } = params;\n    const fullPath = [...path, ...(issueData.path || [])];\n    const fullIssue = {\n        ...issueData,\n        path: fullPath,\n    };\n    let errorMessage = \"\";\n    const maps = errorMaps\n        .filter((m) => !!m)\n        .slice()\n        .reverse();\n    for (const map of maps) {\n        errorMessage = map(fullIssue, { data, defaultError: errorMessage }).message;\n    }\n    return {\n        ...issueData,\n        path: fullPath,\n        message: issueData.message || errorMessage,\n    };\n};\nconst EMPTY_PATH = [];\nfunction addIssueToContext(ctx, issueData) {\n    const issue = makeIssue({\n        issueData: issueData,\n        data: ctx.data,\n        path: ctx.path,\n        errorMaps: [\n            ctx.common.contextualErrorMap,\n            ctx.schemaErrorMap,\n            getErrorMap(),\n            errorMap,\n        ].filter((x) => !!x),\n    });\n    ctx.common.issues.push(issue);\n}\nclass ParseStatus {\n    constructor() {\n        this.value = \"valid\";\n    }\n    dirty() {\n        if (this.value === \"valid\")\n            this.value = \"dirty\";\n    }\n    abort() {\n        if (this.value !== \"aborted\")\n            this.value = \"aborted\";\n    }\n    static mergeArray(status, results) {\n        const arrayValue = [];\n        for (const s of results) {\n            if (s.status === \"aborted\")\n                return INVALID;\n            if (s.status === \"dirty\")\n                status.dirty();\n            arrayValue.push(s.value);\n        }\n        return { status: status.value, value: arrayValue };\n    }\n    static async mergeObjectAsync(status, pairs) {\n        const syncPairs = [];\n        for (const pair of pairs) {\n            syncPairs.push({\n                key: await pair.key,\n                value: await pair.value,\n            });\n        }\n        return ParseStatus.mergeObjectSync(status, syncPairs);\n    }\n    static mergeObjectSync(status, pairs) {\n        const finalObject = {};\n        for (const pair of pairs) {\n            const { key, value } = pair;\n            if (key.status === \"aborted\")\n                return INVALID;\n            if (value.status === \"aborted\")\n                return INVALID;\n            if (key.status === \"dirty\")\n                status.dirty();\n            if (value.status === \"dirty\")\n                status.dirty();\n            if (typeof value.value !== \"undefined\" || pair.alwaysSet) {\n                finalObject[key.value] = value.value;\n            }\n        }\n        return { status: status.value, value: finalObject };\n    }\n}\nconst INVALID = Object.freeze({\n    status: \"aborted\",\n});\nconst DIRTY = (value) => ({ status: \"dirty\", value });\nconst OK = (value) => ({ status: \"valid\", value });\nconst isAborted = (x) => x.status === \"aborted\";\nconst isDirty = (x) => x.status === \"dirty\";\nconst isValid = (x) => x.status === \"valid\";\nconst isAsync = (x) => typeof Promise !== undefined && x instanceof Promise;\n\nvar errorUtil;\n(function (errorUtil) {\n    errorUtil.errToObj = (message) => typeof message === \"string\" ? { message } : message || {};\n    errorUtil.toString = (message) => typeof message === \"string\" ? message : message === null || message === void 0 ? void 0 : message.message;\n})(errorUtil || (errorUtil = {}));\n\nclass ParseInputLazyPath {\n    constructor(parent, value, path, key) {\n        this.parent = parent;\n        this.data = value;\n        this._path = path;\n        this._key = key;\n    }\n    get path() {\n        return this._path.concat(this._key);\n    }\n}\nconst handleResult = (ctx, result) => {\n    if (isValid(result)) {\n        return { success: true, data: result.value };\n    }\n    else {\n        if (!ctx.common.issues.length) {\n            throw new Error(\"Validation failed but no issues detected.\");\n        }\n        const error = new ZodError(ctx.common.issues);\n        return { success: false, error };\n    }\n};\nfunction processCreateParams(params) {\n    if (!params)\n        return {};\n    const { errorMap, invalid_type_error, required_error, description } = params;\n    if (errorMap && (invalid_type_error || required_error)) {\n        throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);\n    }\n    if (errorMap)\n        return { errorMap: errorMap, description };\n    const customMap = (iss, ctx) => {\n        if (iss.code !== \"invalid_type\")\n            return { message: ctx.defaultError };\n        if (typeof ctx.data === \"undefined\") {\n            return { message: required_error !== null && required_error !== void 0 ? required_error : ctx.defaultError };\n        }\n        return { message: invalid_type_error !== null && invalid_type_error !== void 0 ? invalid_type_error : ctx.defaultError };\n    };\n    return { errorMap: customMap, description };\n}\nclass ZodType {\n    constructor(def) {\n        /** Alias of safeParseAsync */\n        this.spa = this.safeParseAsync;\n        this.superRefine = this._refinement;\n        this._def = def;\n        this.parse = this.parse.bind(this);\n        this.safeParse = this.safeParse.bind(this);\n        this.parseAsync = this.parseAsync.bind(this);\n        this.safeParseAsync = this.safeParseAsync.bind(this);\n        this.spa = this.spa.bind(this);\n        this.refine = this.refine.bind(this);\n        this.refinement = this.refinement.bind(this);\n        this.superRefine = this.superRefine.bind(this);\n        this.optional = this.optional.bind(this);\n        this.nullable = this.nullable.bind(this);\n        this.nullish = this.nullish.bind(this);\n        this.array = this.array.bind(this);\n        this.promise = this.promise.bind(this);\n        this.or = this.or.bind(this);\n        this.and = this.and.bind(this);\n        this.transform = this.transform.bind(this);\n        this.default = this.default.bind(this);\n        this.describe = this.describe.bind(this);\n        this.isNullable = this.isNullable.bind(this);\n        this.isOptional = this.isOptional.bind(this);\n    }\n    get description() {\n        return this._def.description;\n    }\n    _getType(input) {\n        return getParsedType(input.data);\n    }\n    _getOrReturnCtx(input, ctx) {\n        return (ctx || {\n            common: input.parent.common,\n            data: input.data,\n            parsedType: getParsedType(input.data),\n            schemaErrorMap: this._def.errorMap,\n            path: input.path,\n            parent: input.parent,\n        });\n    }\n    _processInputParams(input) {\n        return {\n            status: new ParseStatus(),\n            ctx: {\n                common: input.parent.common,\n                data: input.data,\n                parsedType: getParsedType(input.data),\n                schemaErrorMap: this._def.errorMap,\n                path: input.path,\n                parent: input.parent,\n            },\n        };\n    }\n    _parseSync(input) {\n        const result = this._parse(input);\n        if (isAsync(result)) {\n            throw new Error(\"Synchronous parse encountered promise.\");\n        }\n        return result;\n    }\n    _parseAsync(input) {\n        const result = this._parse(input);\n        return Promise.resolve(result);\n    }\n    parse(data, params) {\n        const result = this.safeParse(data, params);\n        if (result.success)\n            return result.data;\n        throw result.error;\n    }\n    safeParse(data, params) {\n        var _a;\n        const ctx = {\n            common: {\n                issues: [],\n                async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,\n                contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n            },\n            path: (params === null || params === void 0 ? void 0 : params.path) || [],\n            schemaErrorMap: this._def.errorMap,\n            parent: null,\n            data,\n            parsedType: getParsedType(data),\n        };\n        const result = this._parseSync({ data, path: ctx.path, parent: ctx });\n        return handleResult(ctx, result);\n    }\n    async parseAsync(data, params) {\n        const result = await this.safeParseAsync(data, params);\n        if (result.success)\n            return result.data;\n        throw result.error;\n    }\n    async safeParseAsync(data, params) {\n        const ctx = {\n            common: {\n                issues: [],\n                contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n                async: true,\n            },\n            path: (params === null || params === void 0 ? void 0 : params.path) || [],\n            schemaErrorMap: this._def.errorMap,\n            parent: null,\n            data,\n            parsedType: getParsedType(data),\n        };\n        const maybeAsyncResult = this._parse({ data, path: [], parent: ctx });\n        const result = await (isAsync(maybeAsyncResult)\n            ? maybeAsyncResult\n            : Promise.resolve(maybeAsyncResult));\n        return handleResult(ctx, result);\n    }\n    refine(check, message) {\n        const getIssueProperties = (val) => {\n            if (typeof message === \"string\" || typeof message === \"undefined\") {\n                return { message };\n            }\n            else if (typeof message === \"function\") {\n                return message(val);\n            }\n            else {\n                return message;\n            }\n        };\n        return this._refinement((val, ctx) => {\n            const result = check(val);\n            const setError = () => ctx.addIssue({\n                code: ZodIssueCode.custom,\n                ...getIssueProperties(val),\n            });\n            if (typeof Promise !== \"undefined\" && result instanceof Promise) {\n                return result.then((data) => {\n                    if (!data) {\n                        setError();\n                        return false;\n                    }\n                    else {\n                        return true;\n                    }\n                });\n            }\n            if (!result) {\n                setError();\n                return false;\n            }\n            else {\n                return true;\n            }\n        });\n    }\n    refinement(check, refinementData) {\n        return this._refinement((val, ctx) => {\n            if (!check(val)) {\n                ctx.addIssue(typeof refinementData === \"function\"\n                    ? refinementData(val, ctx)\n                    : refinementData);\n                return false;\n            }\n            else {\n                return true;\n            }\n        });\n    }\n    _refinement(refinement) {\n        return new ZodEffects({\n            schema: this,\n            typeName: ZodFirstPartyTypeKind.ZodEffects,\n            effect: { type: \"refinement\", refinement },\n        });\n    }\n    optional() {\n        return ZodOptional.create(this);\n    }\n    nullable() {\n        return ZodNullable.create(this);\n    }\n    nullish() {\n        return this.optional().nullable();\n    }\n    array() {\n        return ZodArray.create(this);\n    }\n    promise() {\n        return ZodPromise.create(this);\n    }\n    or(option) {\n        return ZodUnion.create([this, option]);\n    }\n    and(incoming) {\n        return ZodIntersection.create(this, incoming);\n    }\n    transform(transform) {\n        return new ZodEffects({\n            schema: this,\n            typeName: ZodFirstPartyTypeKind.ZodEffects,\n            effect: { type: \"transform\", transform },\n        });\n    }\n    default(def) {\n        const defaultValueFunc = typeof def === \"function\" ? def : () => def;\n        return new ZodDefault({\n            innerType: this,\n            defaultValue: defaultValueFunc,\n            typeName: ZodFirstPartyTypeKind.ZodDefault,\n        });\n    }\n    brand() {\n        return new ZodBranded({\n            typeName: ZodFirstPartyTypeKind.ZodBranded,\n            type: this,\n            ...processCreateParams(undefined),\n        });\n    }\n    describe(description) {\n        const This = this.constructor;\n        return new This({\n            ...this._def,\n            description,\n        });\n    }\n    isOptional() {\n        return this.safeParse(undefined).success;\n    }\n    isNullable() {\n        return this.safeParse(null).success;\n    }\n}\nconst cuidRegex = /^c[^\\s-]{8,}$/i;\nconst uuidRegex = /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;\n// from https://stackoverflow.com/a/46181/1550155\n// old version: too slow, didn't support unicode\n// const emailRegex = /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$/i;\n// eslint-disable-next-line\nconst emailRegex = /^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i;\nclass ZodString extends ZodType {\n    constructor() {\n        super(...arguments);\n        this._regex = (regex, validation, message) => this.refinement((data) => regex.test(data), {\n            validation,\n            code: ZodIssueCode.invalid_string,\n            ...errorUtil.errToObj(message),\n        });\n        /**\n         * @deprecated Use z.string().min(1) instead.\n         * @see {@link ZodString.min}\n         */\n        this.nonempty = (message) => this.min(1, errorUtil.errToObj(message));\n        this.trim = () => new ZodString({\n            ...this._def,\n            checks: [...this._def.checks, { kind: \"trim\" }],\n        });\n    }\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.string) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.string,\n                received: ctx.parsedType,\n            }\n            //\n            );\n            return INVALID;\n        }\n        const status = new ParseStatus();\n        let ctx = undefined;\n        for (const check of this._def.checks) {\n            if (check.kind === \"min\") {\n                if (input.data.length < check.value) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_small,\n                        minimum: check.value,\n                        type: \"string\",\n                        inclusive: true,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"max\") {\n                if (input.data.length > check.value) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_big,\n                        maximum: check.value,\n                        type: \"string\",\n                        inclusive: true,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"email\") {\n                if (!emailRegex.test(input.data)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"email\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"uuid\") {\n                if (!uuidRegex.test(input.data)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"uuid\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"cuid\") {\n                if (!cuidRegex.test(input.data)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"cuid\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"url\") {\n                try {\n                    new URL(input.data);\n                }\n                catch (_a) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"url\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"regex\") {\n                check.regex.lastIndex = 0;\n                const testResult = check.regex.test(input.data);\n                if (!testResult) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        validation: \"regex\",\n                        code: ZodIssueCode.invalid_string,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"trim\") {\n                input.data = input.data.trim();\n            }\n            else if (check.kind === \"startsWith\") {\n                if (!input.data.startsWith(check.value)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.invalid_string,\n                        validation: { startsWith: check.value },\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"endsWith\") {\n                if (!input.data.endsWith(check.value)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.invalid_string,\n                        validation: { endsWith: check.value },\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else {\n                util.assertNever(check);\n            }\n        }\n        return { status: status.value, value: input.data };\n    }\n    _addCheck(check) {\n        return new ZodString({\n            ...this._def,\n            checks: [...this._def.checks, check],\n        });\n    }\n    email(message) {\n        return this._addCheck({ kind: \"email\", ...errorUtil.errToObj(message) });\n    }\n    url(message) {\n        return this._addCheck({ kind: \"url\", ...errorUtil.errToObj(message) });\n    }\n    uuid(message) {\n        return this._addCheck({ kind: \"uuid\", ...errorUtil.errToObj(message) });\n    }\n    cuid(message) {\n        return this._addCheck({ kind: \"cuid\", ...errorUtil.errToObj(message) });\n    }\n    regex(regex, message) {\n        return this._addCheck({\n            kind: \"regex\",\n            regex: regex,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    startsWith(value, message) {\n        return this._addCheck({\n            kind: \"startsWith\",\n            value: value,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    endsWith(value, message) {\n        return this._addCheck({\n            kind: \"endsWith\",\n            value: value,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    min(minLength, message) {\n        return this._addCheck({\n            kind: \"min\",\n            value: minLength,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    max(maxLength, message) {\n        return this._addCheck({\n            kind: \"max\",\n            value: maxLength,\n            ...errorUtil.errToObj(message),\n        });\n    }\n    length(len, message) {\n        return this.min(len, message).max(len, message);\n    }\n    get isEmail() {\n        return !!this._def.checks.find((ch) => ch.kind === \"email\");\n    }\n    get isURL() {\n        return !!this._def.checks.find((ch) => ch.kind === \"url\");\n    }\n    get isUUID() {\n        return !!this._def.checks.find((ch) => ch.kind === \"uuid\");\n    }\n    get isCUID() {\n        return !!this._def.checks.find((ch) => ch.kind === \"cuid\");\n    }\n    get minLength() {\n        let min = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"min\") {\n                if (min === null || ch.value > min)\n                    min = ch.value;\n            }\n        }\n        return min;\n    }\n    get maxLength() {\n        let max = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"max\") {\n                if (max === null || ch.value < max)\n                    max = ch.value;\n            }\n        }\n        return max;\n    }\n}\nZodString.create = (params) => {\n    return new ZodString({\n        checks: [],\n        typeName: ZodFirstPartyTypeKind.ZodString,\n        ...processCreateParams(params),\n    });\n};\n// https://stackoverflow.com/questions/3966484/why-does-modulus-operator-return-fractional-number-in-javascript/31711034#31711034\nfunction floatSafeRemainder(val, step) {\n    const valDecCount = (val.toString().split(\".\")[1] || \"\").length;\n    const stepDecCount = (step.toString().split(\".\")[1] || \"\").length;\n    const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;\n    const valInt = parseInt(val.toFixed(decCount).replace(\".\", \"\"));\n    const stepInt = parseInt(step.toFixed(decCount).replace(\".\", \"\"));\n    return (valInt % stepInt) / Math.pow(10, decCount);\n}\nclass ZodNumber extends ZodType {\n    constructor() {\n        super(...arguments);\n        this.min = this.gte;\n        this.max = this.lte;\n        this.step = this.multipleOf;\n    }\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.number) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.number,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        let ctx = undefined;\n        const status = new ParseStatus();\n        for (const check of this._def.checks) {\n            if (check.kind === \"int\") {\n                if (!util.isInteger(input.data)) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.invalid_type,\n                        expected: \"integer\",\n                        received: \"float\",\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"min\") {\n                const tooSmall = check.inclusive\n                    ? input.data < check.value\n                    : input.data <= check.value;\n                if (tooSmall) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_small,\n                        minimum: check.value,\n                        type: \"number\",\n                        inclusive: check.inclusive,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"max\") {\n                const tooBig = check.inclusive\n                    ? input.data > check.value\n                    : input.data >= check.value;\n                if (tooBig) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_big,\n                        maximum: check.value,\n                        type: \"number\",\n                        inclusive: check.inclusive,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"multipleOf\") {\n                if (floatSafeRemainder(input.data, check.value) !== 0) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.not_multiple_of,\n                        multipleOf: check.value,\n                        message: check.message,\n                    });\n                    status.dirty();\n                }\n            }\n            else {\n                util.assertNever(check);\n            }\n        }\n        return { status: status.value, value: input.data };\n    }\n    gte(value, message) {\n        return this.setLimit(\"min\", value, true, errorUtil.toString(message));\n    }\n    gt(value, message) {\n        return this.setLimit(\"min\", value, false, errorUtil.toString(message));\n    }\n    lte(value, message) {\n        return this.setLimit(\"max\", value, true, errorUtil.toString(message));\n    }\n    lt(value, message) {\n        return this.setLimit(\"max\", value, false, errorUtil.toString(message));\n    }\n    setLimit(kind, value, inclusive, message) {\n        return new ZodNumber({\n            ...this._def,\n            checks: [\n                ...this._def.checks,\n                {\n                    kind,\n                    value,\n                    inclusive,\n                    message: errorUtil.toString(message),\n                },\n            ],\n        });\n    }\n    _addCheck(check) {\n        return new ZodNumber({\n            ...this._def,\n            checks: [...this._def.checks, check],\n        });\n    }\n    int(message) {\n        return this._addCheck({\n            kind: \"int\",\n            message: errorUtil.toString(message),\n        });\n    }\n    positive(message) {\n        return this._addCheck({\n            kind: \"min\",\n            value: 0,\n            inclusive: false,\n            message: errorUtil.toString(message),\n        });\n    }\n    negative(message) {\n        return this._addCheck({\n            kind: \"max\",\n            value: 0,\n            inclusive: false,\n            message: errorUtil.toString(message),\n        });\n    }\n    nonpositive(message) {\n        return this._addCheck({\n            kind: \"max\",\n            value: 0,\n            inclusive: true,\n            message: errorUtil.toString(message),\n        });\n    }\n    nonnegative(message) {\n        return this._addCheck({\n            kind: \"min\",\n            value: 0,\n            inclusive: true,\n            message: errorUtil.toString(message),\n        });\n    }\n    multipleOf(value, message) {\n        return this._addCheck({\n            kind: \"multipleOf\",\n            value: value,\n            message: errorUtil.toString(message),\n        });\n    }\n    get minValue() {\n        let min = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"min\") {\n                if (min === null || ch.value > min)\n                    min = ch.value;\n            }\n        }\n        return min;\n    }\n    get maxValue() {\n        let max = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"max\") {\n                if (max === null || ch.value < max)\n                    max = ch.value;\n            }\n        }\n        return max;\n    }\n    get isInt() {\n        return !!this._def.checks.find((ch) => ch.kind === \"int\");\n    }\n}\nZodNumber.create = (params) => {\n    return new ZodNumber({\n        checks: [],\n        typeName: ZodFirstPartyTypeKind.ZodNumber,\n        ...processCreateParams(params),\n    });\n};\nclass ZodBigInt extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.bigint) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.bigint,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodBigInt.create = (params) => {\n    return new ZodBigInt({\n        typeName: ZodFirstPartyTypeKind.ZodBigInt,\n        ...processCreateParams(params),\n    });\n};\nclass ZodBoolean extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.boolean) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.boolean,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodBoolean.create = (params) => {\n    return new ZodBoolean({\n        typeName: ZodFirstPartyTypeKind.ZodBoolean,\n        ...processCreateParams(params),\n    });\n};\nclass ZodDate extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.date) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.date,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        if (isNaN(input.data.getTime())) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_date,\n            });\n            return INVALID;\n        }\n        const status = new ParseStatus();\n        let ctx = undefined;\n        for (const check of this._def.checks) {\n            if (check.kind === \"min\") {\n                if (input.data.getTime() < check.value) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_small,\n                        message: check.message,\n                        inclusive: true,\n                        minimum: check.value,\n                        type: \"date\",\n                    });\n                    status.dirty();\n                }\n            }\n            else if (check.kind === \"max\") {\n                if (input.data.getTime() > check.value) {\n                    ctx = this._getOrReturnCtx(input, ctx);\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.too_big,\n                        message: check.message,\n                        inclusive: true,\n                        maximum: check.value,\n                        type: \"date\",\n                    });\n                    status.dirty();\n                }\n            }\n            else {\n                util.assertNever(check);\n            }\n        }\n        return {\n            status: status.value,\n            value: new Date(input.data.getTime()),\n        };\n    }\n    _addCheck(check) {\n        return new ZodDate({\n            ...this._def,\n            checks: [...this._def.checks, check],\n        });\n    }\n    min(minDate, message) {\n        return this._addCheck({\n            kind: \"min\",\n            value: minDate.getTime(),\n            message: errorUtil.toString(message),\n        });\n    }\n    max(maxDate, message) {\n        return this._addCheck({\n            kind: \"max\",\n            value: maxDate.getTime(),\n            message: errorUtil.toString(message),\n        });\n    }\n    get minDate() {\n        let min = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"min\") {\n                if (min === null || ch.value > min)\n                    min = ch.value;\n            }\n        }\n        return min != null ? new Date(min) : null;\n    }\n    get maxDate() {\n        let max = null;\n        for (const ch of this._def.checks) {\n            if (ch.kind === \"max\") {\n                if (max === null || ch.value < max)\n                    max = ch.value;\n            }\n        }\n        return max != null ? new Date(max) : null;\n    }\n}\nZodDate.create = (params) => {\n    return new ZodDate({\n        checks: [],\n        typeName: ZodFirstPartyTypeKind.ZodDate,\n        ...processCreateParams(params),\n    });\n};\nclass ZodUndefined extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.undefined) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.undefined,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodUndefined.create = (params) => {\n    return new ZodUndefined({\n        typeName: ZodFirstPartyTypeKind.ZodUndefined,\n        ...processCreateParams(params),\n    });\n};\nclass ZodNull extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.null) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.null,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodNull.create = (params) => {\n    return new ZodNull({\n        typeName: ZodFirstPartyTypeKind.ZodNull,\n        ...processCreateParams(params),\n    });\n};\nclass ZodAny extends ZodType {\n    constructor() {\n        super(...arguments);\n        // to prevent instances of other classes from extending ZodAny. this causes issues with catchall in ZodObject.\n        this._any = true;\n    }\n    _parse(input) {\n        return OK(input.data);\n    }\n}\nZodAny.create = (params) => {\n    return new ZodAny({\n        typeName: ZodFirstPartyTypeKind.ZodAny,\n        ...processCreateParams(params),\n    });\n};\nclass ZodUnknown extends ZodType {\n    constructor() {\n        super(...arguments);\n        // required\n        this._unknown = true;\n    }\n    _parse(input) {\n        return OK(input.data);\n    }\n}\nZodUnknown.create = (params) => {\n    return new ZodUnknown({\n        typeName: ZodFirstPartyTypeKind.ZodUnknown,\n        ...processCreateParams(params),\n    });\n};\nclass ZodNever extends ZodType {\n    _parse(input) {\n        const ctx = this._getOrReturnCtx(input);\n        addIssueToContext(ctx, {\n            code: ZodIssueCode.invalid_type,\n            expected: ZodParsedType.never,\n            received: ctx.parsedType,\n        });\n        return INVALID;\n    }\n}\nZodNever.create = (params) => {\n    return new ZodNever({\n        typeName: ZodFirstPartyTypeKind.ZodNever,\n        ...processCreateParams(params),\n    });\n};\nclass ZodVoid extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.undefined) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.void,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n}\nZodVoid.create = (params) => {\n    return new ZodVoid({\n        typeName: ZodFirstPartyTypeKind.ZodVoid,\n        ...processCreateParams(params),\n    });\n};\nclass ZodArray extends ZodType {\n    _parse(input) {\n        const { ctx, status } = this._processInputParams(input);\n        const def = this._def;\n        if (ctx.parsedType !== ZodParsedType.array) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.array,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        if (def.minLength !== null) {\n            if (ctx.data.length < def.minLength.value) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.too_small,\n                    minimum: def.minLength.value,\n                    type: \"array\",\n                    inclusive: true,\n                    message: def.minLength.message,\n                });\n                status.dirty();\n            }\n        }\n        if (def.maxLength !== null) {\n            if (ctx.data.length > def.maxLength.value) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.too_big,\n                    maximum: def.maxLength.value,\n                    type: \"array\",\n                    inclusive: true,\n                    message: def.maxLength.message,\n                });\n                status.dirty();\n            }\n        }\n        if (ctx.common.async) {\n            return Promise.all(ctx.data.map((item, i) => {\n                return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n            })).then((result) => {\n                return ParseStatus.mergeArray(status, result);\n            });\n        }\n        const result = ctx.data.map((item, i) => {\n            return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n        });\n        return ParseStatus.mergeArray(status, result);\n    }\n    get element() {\n        return this._def.type;\n    }\n    min(minLength, message) {\n        return new ZodArray({\n            ...this._def,\n            minLength: { value: minLength, message: errorUtil.toString(message) },\n        });\n    }\n    max(maxLength, message) {\n        return new ZodArray({\n            ...this._def,\n            maxLength: { value: maxLength, message: errorUtil.toString(message) },\n        });\n    }\n    length(len, message) {\n        return this.min(len, message).max(len, message);\n    }\n    nonempty(message) {\n        return this.min(1, message);\n    }\n}\nZodArray.create = (schema, params) => {\n    return new ZodArray({\n        type: schema,\n        minLength: null,\n        maxLength: null,\n        typeName: ZodFirstPartyTypeKind.ZodArray,\n        ...processCreateParams(params),\n    });\n};\n/////////////////////////////////////////\n/////////////////////////////////////////\n//////////                     //////////\n//////////      ZodObject      //////////\n//////////                     //////////\n/////////////////////////////////////////\n/////////////////////////////////////////\nvar objectUtil;\n(function (objectUtil) {\n    objectUtil.mergeShapes = (first, second) => {\n        return {\n            ...first,\n            ...second,\n        };\n    };\n})(objectUtil || (objectUtil = {}));\nconst AugmentFactory = (def) => (augmentation) => {\n    return new ZodObject({\n        ...def,\n        shape: () => ({\n            ...def.shape(),\n            ...augmentation,\n        }),\n    });\n};\nfunction deepPartialify(schema) {\n    if (schema instanceof ZodObject) {\n        const newShape = {};\n        for (const key in schema.shape) {\n            const fieldSchema = schema.shape[key];\n            newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));\n        }\n        return new ZodObject({\n            ...schema._def,\n            shape: () => newShape,\n        });\n    }\n    else if (schema instanceof ZodArray) {\n        return ZodArray.create(deepPartialify(schema.element));\n    }\n    else if (schema instanceof ZodOptional) {\n        return ZodOptional.create(deepPartialify(schema.unwrap()));\n    }\n    else if (schema instanceof ZodNullable) {\n        return ZodNullable.create(deepPartialify(schema.unwrap()));\n    }\n    else if (schema instanceof ZodTuple) {\n        return ZodTuple.create(schema.items.map((item) => deepPartialify(item)));\n    }\n    else {\n        return schema;\n    }\n}\nclass ZodObject extends ZodType {\n    constructor() {\n        super(...arguments);\n        this._cached = null;\n        /**\n         * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\n         * If you want to pass through unknown properties, use `.passthrough()` instead.\n         */\n        this.nonstrict = this.passthrough;\n        this.augment = AugmentFactory(this._def);\n        this.extend = AugmentFactory(this._def);\n    }\n    _getCached() {\n        if (this._cached !== null)\n            return this._cached;\n        const shape = this._def.shape();\n        const keys = util.objectKeys(shape);\n        return (this._cached = { shape, keys });\n    }\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.object) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.object,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const { status, ctx } = this._processInputParams(input);\n        const { shape, keys: shapeKeys } = this._getCached();\n        const extraKeys = [];\n        if (!(this._def.catchall instanceof ZodNever &&\n            this._def.unknownKeys === \"strip\")) {\n            for (const key in ctx.data) {\n                if (!shapeKeys.includes(key)) {\n                    extraKeys.push(key);\n                }\n            }\n        }\n        const pairs = [];\n        for (const key of shapeKeys) {\n            const keyValidator = shape[key];\n            const value = ctx.data[key];\n            pairs.push({\n                key: { status: \"valid\", value: key },\n                value: keyValidator._parse(new ParseInputLazyPath(ctx, value, ctx.path, key)),\n                alwaysSet: key in ctx.data,\n            });\n        }\n        if (this._def.catchall instanceof ZodNever) {\n            const unknownKeys = this._def.unknownKeys;\n            if (unknownKeys === \"passthrough\") {\n                for (const key of extraKeys) {\n                    pairs.push({\n                        key: { status: \"valid\", value: key },\n                        value: { status: \"valid\", value: ctx.data[key] },\n                    });\n                }\n            }\n            else if (unknownKeys === \"strict\") {\n                if (extraKeys.length > 0) {\n                    addIssueToContext(ctx, {\n                        code: ZodIssueCode.unrecognized_keys,\n                        keys: extraKeys,\n                    });\n                    status.dirty();\n                }\n            }\n            else if (unknownKeys === \"strip\") ;\n            else {\n                throw new Error(`Internal ZodObject error: invalid unknownKeys value.`);\n            }\n        }\n        else {\n            // run catchall validation\n            const catchall = this._def.catchall;\n            for (const key of extraKeys) {\n                const value = ctx.data[key];\n                pairs.push({\n                    key: { status: \"valid\", value: key },\n                    value: catchall._parse(new ParseInputLazyPath(ctx, value, ctx.path, key) //, ctx.child(key), value, getParsedType(value)\n                    ),\n                    alwaysSet: key in ctx.data,\n                });\n            }\n        }\n        if (ctx.common.async) {\n            return Promise.resolve()\n                .then(async () => {\n                const syncPairs = [];\n                for (const pair of pairs) {\n                    const key = await pair.key;\n                    syncPairs.push({\n                        key,\n                        value: await pair.value,\n                        alwaysSet: pair.alwaysSet,\n                    });\n                }\n                return syncPairs;\n            })\n                .then((syncPairs) => {\n                return ParseStatus.mergeObjectSync(status, syncPairs);\n            });\n        }\n        else {\n            return ParseStatus.mergeObjectSync(status, pairs);\n        }\n    }\n    get shape() {\n        return this._def.shape();\n    }\n    strict(message) {\n        errorUtil.errToObj;\n        return new ZodObject({\n            ...this._def,\n            unknownKeys: \"strict\",\n            ...(message !== undefined\n                ? {\n                    errorMap: (issue, ctx) => {\n                        var _a, _b, _c, _d;\n                        const defaultError = (_c = (_b = (_a = this._def).errorMap) === null || _b === void 0 ? void 0 : _b.call(_a, issue, ctx).message) !== null && _c !== void 0 ? _c : ctx.defaultError;\n                        if (issue.code === \"unrecognized_keys\")\n                            return {\n                                message: (_d = errorUtil.errToObj(message).message) !== null && _d !== void 0 ? _d : defaultError,\n                            };\n                        return {\n                            message: defaultError,\n                        };\n                    },\n                }\n                : {}),\n        });\n    }\n    strip() {\n        return new ZodObject({\n            ...this._def,\n            unknownKeys: \"strip\",\n        });\n    }\n    passthrough() {\n        return new ZodObject({\n            ...this._def,\n            unknownKeys: \"passthrough\",\n        });\n    }\n    setKey(key, schema) {\n        return this.augment({ [key]: schema });\n    }\n    /**\n     * Prior to zod@1.0.12 there was a bug in the\n     * inferred type of merged objects. Please\n     * upgrade if you are experiencing issues.\n     */\n    merge(merging) {\n        // const mergedShape = objectUtil.mergeShapes(\n        //   this._def.shape(),\n        //   merging._def.shape()\n        // );\n        const merged = new ZodObject({\n            unknownKeys: merging._def.unknownKeys,\n            catchall: merging._def.catchall,\n            shape: () => objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n            typeName: ZodFirstPartyTypeKind.ZodObject,\n        });\n        return merged;\n    }\n    catchall(index) {\n        return new ZodObject({\n            ...this._def,\n            catchall: index,\n        });\n    }\n    pick(mask) {\n        const shape = {};\n        util.objectKeys(mask).map((key) => {\n            // only add to shape if key corresponds to an element of the current shape\n            if (this.shape[key])\n                shape[key] = this.shape[key];\n        });\n        return new ZodObject({\n            ...this._def,\n            shape: () => shape,\n        });\n    }\n    omit(mask) {\n        const shape = {};\n        util.objectKeys(this.shape).map((key) => {\n            if (util.objectKeys(mask).indexOf(key) === -1) {\n                shape[key] = this.shape[key];\n            }\n        });\n        return new ZodObject({\n            ...this._def,\n            shape: () => shape,\n        });\n    }\n    deepPartial() {\n        return deepPartialify(this);\n    }\n    partial(mask) {\n        const newShape = {};\n        if (mask) {\n            util.objectKeys(this.shape).map((key) => {\n                if (util.objectKeys(mask).indexOf(key) === -1) {\n                    newShape[key] = this.shape[key];\n                }\n                else {\n                    newShape[key] = this.shape[key].optional();\n                }\n            });\n            return new ZodObject({\n                ...this._def,\n                shape: () => newShape,\n            });\n        }\n        else {\n            for (const key in this.shape) {\n                const fieldSchema = this.shape[key];\n                newShape[key] = fieldSchema.optional();\n            }\n        }\n        return new ZodObject({\n            ...this._def,\n            shape: () => newShape,\n        });\n    }\n    required() {\n        const newShape = {};\n        for (const key in this.shape) {\n            const fieldSchema = this.shape[key];\n            let newField = fieldSchema;\n            while (newField instanceof ZodOptional) {\n                newField = newField._def.innerType;\n            }\n            newShape[key] = newField;\n        }\n        return new ZodObject({\n            ...this._def,\n            shape: () => newShape,\n        });\n    }\n    keyof() {\n        return createZodEnum(util.objectKeys(this.shape));\n    }\n}\nZodObject.create = (shape, params) => {\n    return new ZodObject({\n        shape: () => shape,\n        unknownKeys: \"strip\",\n        catchall: ZodNever.create(),\n        typeName: ZodFirstPartyTypeKind.ZodObject,\n        ...processCreateParams(params),\n    });\n};\nZodObject.strictCreate = (shape, params) => {\n    return new ZodObject({\n        shape: () => shape,\n        unknownKeys: \"strict\",\n        catchall: ZodNever.create(),\n        typeName: ZodFirstPartyTypeKind.ZodObject,\n        ...processCreateParams(params),\n    });\n};\nZodObject.lazycreate = (shape, params) => {\n    return new ZodObject({\n        shape,\n        unknownKeys: \"strip\",\n        catchall: ZodNever.create(),\n        typeName: ZodFirstPartyTypeKind.ZodObject,\n        ...processCreateParams(params),\n    });\n};\nclass ZodUnion extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        const options = this._def.options;\n        function handleResults(results) {\n            // return first issue-free validation if it exists\n            for (const result of results) {\n                if (result.result.status === \"valid\") {\n                    return result.result;\n                }\n            }\n            for (const result of results) {\n                if (result.result.status === \"dirty\") {\n                    // add issues from dirty option\n                    ctx.common.issues.push(...result.ctx.common.issues);\n                    return result.result;\n                }\n            }\n            // return invalid\n            const unionErrors = results.map((result) => new ZodError(result.ctx.common.issues));\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_union,\n                unionErrors,\n            });\n            return INVALID;\n        }\n        if (ctx.common.async) {\n            return Promise.all(options.map(async (option) => {\n                const childCtx = {\n                    ...ctx,\n                    common: {\n                        ...ctx.common,\n                        issues: [],\n                    },\n                    parent: null,\n                };\n                return {\n                    result: await option._parseAsync({\n                        data: ctx.data,\n                        path: ctx.path,\n                        parent: childCtx,\n                    }),\n                    ctx: childCtx,\n                };\n            })).then(handleResults);\n        }\n        else {\n            let dirty = undefined;\n            const issues = [];\n            for (const option of options) {\n                const childCtx = {\n                    ...ctx,\n                    common: {\n                        ...ctx.common,\n                        issues: [],\n                    },\n                    parent: null,\n                };\n                const result = option._parseSync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: childCtx,\n                });\n                if (result.status === \"valid\") {\n                    return result;\n                }\n                else if (result.status === \"dirty\" && !dirty) {\n                    dirty = { result, ctx: childCtx };\n                }\n                if (childCtx.common.issues.length) {\n                    issues.push(childCtx.common.issues);\n                }\n            }\n            if (dirty) {\n                ctx.common.issues.push(...dirty.ctx.common.issues);\n                return dirty.result;\n            }\n            const unionErrors = issues.map((issues) => new ZodError(issues));\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_union,\n                unionErrors,\n            });\n            return INVALID;\n        }\n    }\n    get options() {\n        return this._def.options;\n    }\n}\nZodUnion.create = (types, params) => {\n    return new ZodUnion({\n        options: types,\n        typeName: ZodFirstPartyTypeKind.ZodUnion,\n        ...processCreateParams(params),\n    });\n};\nclass ZodDiscriminatedUnion extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.object) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.object,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const discriminator = this.discriminator;\n        const discriminatorValue = ctx.data[discriminator];\n        const option = this.options.get(discriminatorValue);\n        if (!option) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_union_discriminator,\n                options: this.validDiscriminatorValues,\n                path: [discriminator],\n            });\n            return INVALID;\n        }\n        if (ctx.common.async) {\n            return option._parseAsync({\n                data: ctx.data,\n                path: ctx.path,\n                parent: ctx,\n            });\n        }\n        else {\n            return option._parseSync({\n                data: ctx.data,\n                path: ctx.path,\n                parent: ctx,\n            });\n        }\n    }\n    get discriminator() {\n        return this._def.discriminator;\n    }\n    get validDiscriminatorValues() {\n        return Array.from(this.options.keys());\n    }\n    get options() {\n        return this._def.options;\n    }\n    /**\n     * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\n     * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\n     * have a different value for each object in the union.\n     * @param discriminator the name of the discriminator property\n     * @param types an array of object schemas\n     * @param params\n     */\n    static create(discriminator, types, params) {\n        // Get all the valid discriminator values\n        const options = new Map();\n        try {\n            types.forEach((type) => {\n                const discriminatorValue = type.shape[discriminator].value;\n                options.set(discriminatorValue, type);\n            });\n        }\n        catch (e) {\n            throw new Error(\"The discriminator value could not be extracted from all the provided schemas\");\n        }\n        // Assert that all the discriminator values are unique\n        if (options.size !== types.length) {\n            throw new Error(\"Some of the discriminator values are not unique\");\n        }\n        return new ZodDiscriminatedUnion({\n            typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,\n            discriminator,\n            options,\n            ...processCreateParams(params),\n        });\n    }\n}\nfunction mergeValues(a, b) {\n    const aType = getParsedType(a);\n    const bType = getParsedType(b);\n    if (a === b) {\n        return { valid: true, data: a };\n    }\n    else if (aType === ZodParsedType.object && bType === ZodParsedType.object) {\n        const bKeys = util.objectKeys(b);\n        const sharedKeys = util\n            .objectKeys(a)\n            .filter((key) => bKeys.indexOf(key) !== -1);\n        const newObj = { ...a, ...b };\n        for (const key of sharedKeys) {\n            const sharedValue = mergeValues(a[key], b[key]);\n            if (!sharedValue.valid) {\n                return { valid: false };\n            }\n            newObj[key] = sharedValue.data;\n        }\n        return { valid: true, data: newObj };\n    }\n    else if (aType === ZodParsedType.array && bType === ZodParsedType.array) {\n        if (a.length !== b.length) {\n            return { valid: false };\n        }\n        const newArray = [];\n        for (let index = 0; index < a.length; index++) {\n            const itemA = a[index];\n            const itemB = b[index];\n            const sharedValue = mergeValues(itemA, itemB);\n            if (!sharedValue.valid) {\n                return { valid: false };\n            }\n            newArray.push(sharedValue.data);\n        }\n        return { valid: true, data: newArray };\n    }\n    else if (aType === ZodParsedType.date &&\n        bType === ZodParsedType.date &&\n        +a === +b) {\n        return { valid: true, data: a };\n    }\n    else {\n        return { valid: false };\n    }\n}\nclass ZodIntersection extends ZodType {\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        const handleParsed = (parsedLeft, parsedRight) => {\n            if (isAborted(parsedLeft) || isAborted(parsedRight)) {\n                return INVALID;\n            }\n            const merged = mergeValues(parsedLeft.value, parsedRight.value);\n            if (!merged.valid) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.invalid_intersection_types,\n                });\n                return INVALID;\n            }\n            if (isDirty(parsedLeft) || isDirty(parsedRight)) {\n                status.dirty();\n            }\n            return { status: status.value, value: merged.data };\n        };\n        if (ctx.common.async) {\n            return Promise.all([\n                this._def.left._parseAsync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: ctx,\n                }),\n                this._def.right._parseAsync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: ctx,\n                }),\n            ]).then(([left, right]) => handleParsed(left, right));\n        }\n        else {\n            return handleParsed(this._def.left._parseSync({\n                data: ctx.data,\n                path: ctx.path,\n                parent: ctx,\n            }), this._def.right._parseSync({\n                data: ctx.data,\n                path: ctx.path,\n                parent: ctx,\n            }));\n        }\n    }\n}\nZodIntersection.create = (left, right, params) => {\n    return new ZodIntersection({\n        left: left,\n        right: right,\n        typeName: ZodFirstPartyTypeKind.ZodIntersection,\n        ...processCreateParams(params),\n    });\n};\nclass ZodTuple extends ZodType {\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.array) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.array,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        if (ctx.data.length < this._def.items.length) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.too_small,\n                minimum: this._def.items.length,\n                inclusive: true,\n                type: \"array\",\n            });\n            return INVALID;\n        }\n        const rest = this._def.rest;\n        if (!rest && ctx.data.length > this._def.items.length) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.too_big,\n                maximum: this._def.items.length,\n                inclusive: true,\n                type: \"array\",\n            });\n            status.dirty();\n        }\n        const items = ctx.data\n            .map((item, itemIndex) => {\n            const schema = this._def.items[itemIndex] || this._def.rest;\n            if (!schema)\n                return null;\n            return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));\n        })\n            .filter((x) => !!x); // filter nulls\n        if (ctx.common.async) {\n            return Promise.all(items).then((results) => {\n                return ParseStatus.mergeArray(status, results);\n            });\n        }\n        else {\n            return ParseStatus.mergeArray(status, items);\n        }\n    }\n    get items() {\n        return this._def.items;\n    }\n    rest(rest) {\n        return new ZodTuple({\n            ...this._def,\n            rest,\n        });\n    }\n}\nZodTuple.create = (schemas, params) => {\n    if (!Array.isArray(schemas)) {\n        throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");\n    }\n    return new ZodTuple({\n        items: schemas,\n        typeName: ZodFirstPartyTypeKind.ZodTuple,\n        rest: null,\n        ...processCreateParams(params),\n    });\n};\nclass ZodRecord extends ZodType {\n    get keySchema() {\n        return this._def.keyType;\n    }\n    get valueSchema() {\n        return this._def.valueType;\n    }\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.object) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.object,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const pairs = [];\n        const keyType = this._def.keyType;\n        const valueType = this._def.valueType;\n        for (const key in ctx.data) {\n            pairs.push({\n                key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),\n                value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key)),\n            });\n        }\n        if (ctx.common.async) {\n            return ParseStatus.mergeObjectAsync(status, pairs);\n        }\n        else {\n            return ParseStatus.mergeObjectSync(status, pairs);\n        }\n    }\n    get element() {\n        return this._def.valueType;\n    }\n    static create(first, second, third) {\n        if (second instanceof ZodType) {\n            return new ZodRecord({\n                keyType: first,\n                valueType: second,\n                typeName: ZodFirstPartyTypeKind.ZodRecord,\n                ...processCreateParams(third),\n            });\n        }\n        return new ZodRecord({\n            keyType: ZodString.create(),\n            valueType: first,\n            typeName: ZodFirstPartyTypeKind.ZodRecord,\n            ...processCreateParams(second),\n        });\n    }\n}\nclass ZodMap extends ZodType {\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.map) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.map,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const keyType = this._def.keyType;\n        const valueType = this._def.valueType;\n        const pairs = [...ctx.data.entries()].map(([key, value], index) => {\n            return {\n                key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, [index, \"key\"])),\n                value: valueType._parse(new ParseInputLazyPath(ctx, value, ctx.path, [index, \"value\"])),\n            };\n        });\n        if (ctx.common.async) {\n            const finalMap = new Map();\n            return Promise.resolve().then(async () => {\n                for (const pair of pairs) {\n                    const key = await pair.key;\n                    const value = await pair.value;\n                    if (key.status === \"aborted\" || value.status === \"aborted\") {\n                        return INVALID;\n                    }\n                    if (key.status === \"dirty\" || value.status === \"dirty\") {\n                        status.dirty();\n                    }\n                    finalMap.set(key.value, value.value);\n                }\n                return { status: status.value, value: finalMap };\n            });\n        }\n        else {\n            const finalMap = new Map();\n            for (const pair of pairs) {\n                const key = pair.key;\n                const value = pair.value;\n                if (key.status === \"aborted\" || value.status === \"aborted\") {\n                    return INVALID;\n                }\n                if (key.status === \"dirty\" || value.status === \"dirty\") {\n                    status.dirty();\n                }\n                finalMap.set(key.value, value.value);\n            }\n            return { status: status.value, value: finalMap };\n        }\n    }\n}\nZodMap.create = (keyType, valueType, params) => {\n    return new ZodMap({\n        valueType,\n        keyType,\n        typeName: ZodFirstPartyTypeKind.ZodMap,\n        ...processCreateParams(params),\n    });\n};\nclass ZodSet extends ZodType {\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.set) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.set,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const def = this._def;\n        if (def.minSize !== null) {\n            if (ctx.data.size < def.minSize.value) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.too_small,\n                    minimum: def.minSize.value,\n                    type: \"set\",\n                    inclusive: true,\n                    message: def.minSize.message,\n                });\n                status.dirty();\n            }\n        }\n        if (def.maxSize !== null) {\n            if (ctx.data.size > def.maxSize.value) {\n                addIssueToContext(ctx, {\n                    code: ZodIssueCode.too_big,\n                    maximum: def.maxSize.value,\n                    type: \"set\",\n                    inclusive: true,\n                    message: def.maxSize.message,\n                });\n                status.dirty();\n            }\n        }\n        const valueType = this._def.valueType;\n        function finalizeSet(elements) {\n            const parsedSet = new Set();\n            for (const element of elements) {\n                if (element.status === \"aborted\")\n                    return INVALID;\n                if (element.status === \"dirty\")\n                    status.dirty();\n                parsedSet.add(element.value);\n            }\n            return { status: status.value, value: parsedSet };\n        }\n        const elements = [...ctx.data.values()].map((item, i) => valueType._parse(new ParseInputLazyPath(ctx, item, ctx.path, i)));\n        if (ctx.common.async) {\n            return Promise.all(elements).then((elements) => finalizeSet(elements));\n        }\n        else {\n            return finalizeSet(elements);\n        }\n    }\n    min(minSize, message) {\n        return new ZodSet({\n            ...this._def,\n            minSize: { value: minSize, message: errorUtil.toString(message) },\n        });\n    }\n    max(maxSize, message) {\n        return new ZodSet({\n            ...this._def,\n            maxSize: { value: maxSize, message: errorUtil.toString(message) },\n        });\n    }\n    size(size, message) {\n        return this.min(size, message).max(size, message);\n    }\n    nonempty(message) {\n        return this.min(1, message);\n    }\n}\nZodSet.create = (valueType, params) => {\n    return new ZodSet({\n        valueType,\n        minSize: null,\n        maxSize: null,\n        typeName: ZodFirstPartyTypeKind.ZodSet,\n        ...processCreateParams(params),\n    });\n};\nclass ZodFunction extends ZodType {\n    constructor() {\n        super(...arguments);\n        this.validate = this.implement;\n    }\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.function) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.function,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        function makeArgsIssue(args, error) {\n            return makeIssue({\n                data: args,\n                path: ctx.path,\n                errorMaps: [\n                    ctx.common.contextualErrorMap,\n                    ctx.schemaErrorMap,\n                    getErrorMap(),\n                    errorMap,\n                ].filter((x) => !!x),\n                issueData: {\n                    code: ZodIssueCode.invalid_arguments,\n                    argumentsError: error,\n                },\n            });\n        }\n        function makeReturnsIssue(returns, error) {\n            return makeIssue({\n                data: returns,\n                path: ctx.path,\n                errorMaps: [\n                    ctx.common.contextualErrorMap,\n                    ctx.schemaErrorMap,\n                    getErrorMap(),\n                    errorMap,\n                ].filter((x) => !!x),\n                issueData: {\n                    code: ZodIssueCode.invalid_return_type,\n                    returnTypeError: error,\n                },\n            });\n        }\n        const params = { errorMap: ctx.common.contextualErrorMap };\n        const fn = ctx.data;\n        if (this._def.returns instanceof ZodPromise) {\n            return OK(async (...args) => {\n                const error = new ZodError([]);\n                const parsedArgs = await this._def.args\n                    .parseAsync(args, params)\n                    .catch((e) => {\n                    error.addIssue(makeArgsIssue(args, e));\n                    throw error;\n                });\n                const result = await fn(...parsedArgs);\n                const parsedReturns = await this._def.returns._def.type\n                    .parseAsync(result, params)\n                    .catch((e) => {\n                    error.addIssue(makeReturnsIssue(result, e));\n                    throw error;\n                });\n                return parsedReturns;\n            });\n        }\n        else {\n            return OK((...args) => {\n                const parsedArgs = this._def.args.safeParse(args, params);\n                if (!parsedArgs.success) {\n                    throw new ZodError([makeArgsIssue(args, parsedArgs.error)]);\n                }\n                const result = fn(...parsedArgs.data);\n                const parsedReturns = this._def.returns.safeParse(result, params);\n                if (!parsedReturns.success) {\n                    throw new ZodError([makeReturnsIssue(result, parsedReturns.error)]);\n                }\n                return parsedReturns.data;\n            });\n        }\n    }\n    parameters() {\n        return this._def.args;\n    }\n    returnType() {\n        return this._def.returns;\n    }\n    args(...items) {\n        return new ZodFunction({\n            ...this._def,\n            args: ZodTuple.create(items).rest(ZodUnknown.create()),\n        });\n    }\n    returns(returnType) {\n        return new ZodFunction({\n            ...this._def,\n            returns: returnType,\n        });\n    }\n    implement(func) {\n        const validatedFunc = this.parse(func);\n        return validatedFunc;\n    }\n    strictImplement(func) {\n        const validatedFunc = this.parse(func);\n        return validatedFunc;\n    }\n    static create(args, returns, params) {\n        return new ZodFunction({\n            args: (args\n                ? args\n                : ZodTuple.create([]).rest(ZodUnknown.create())),\n            returns: returns || ZodUnknown.create(),\n            typeName: ZodFirstPartyTypeKind.ZodFunction,\n            ...processCreateParams(params),\n        });\n    }\n}\nclass ZodLazy extends ZodType {\n    get schema() {\n        return this._def.getter();\n    }\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        const lazySchema = this._def.getter();\n        return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });\n    }\n}\nZodLazy.create = (getter, params) => {\n    return new ZodLazy({\n        getter: getter,\n        typeName: ZodFirstPartyTypeKind.ZodLazy,\n        ...processCreateParams(params),\n    });\n};\nclass ZodLiteral extends ZodType {\n    _parse(input) {\n        if (input.data !== this._def.value) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_literal,\n                expected: this._def.value,\n            });\n            return INVALID;\n        }\n        return { status: \"valid\", value: input.data };\n    }\n    get value() {\n        return this._def.value;\n    }\n}\nZodLiteral.create = (value, params) => {\n    return new ZodLiteral({\n        value: value,\n        typeName: ZodFirstPartyTypeKind.ZodLiteral,\n        ...processCreateParams(params),\n    });\n};\nfunction createZodEnum(values, params) {\n    return new ZodEnum({\n        values: values,\n        typeName: ZodFirstPartyTypeKind.ZodEnum,\n        ...processCreateParams(params),\n    });\n}\nclass ZodEnum extends ZodType {\n    _parse(input) {\n        if (typeof input.data !== \"string\") {\n            const ctx = this._getOrReturnCtx(input);\n            const expectedValues = this._def.values;\n            addIssueToContext(ctx, {\n                expected: util.joinValues(expectedValues),\n                received: ctx.parsedType,\n                code: ZodIssueCode.invalid_type,\n            });\n            return INVALID;\n        }\n        if (this._def.values.indexOf(input.data) === -1) {\n            const ctx = this._getOrReturnCtx(input);\n            const expectedValues = this._def.values;\n            addIssueToContext(ctx, {\n                received: ctx.data,\n                code: ZodIssueCode.invalid_enum_value,\n                options: expectedValues,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n    get options() {\n        return this._def.values;\n    }\n    get enum() {\n        const enumValues = {};\n        for (const val of this._def.values) {\n            enumValues[val] = val;\n        }\n        return enumValues;\n    }\n    get Values() {\n        const enumValues = {};\n        for (const val of this._def.values) {\n            enumValues[val] = val;\n        }\n        return enumValues;\n    }\n    get Enum() {\n        const enumValues = {};\n        for (const val of this._def.values) {\n            enumValues[val] = val;\n        }\n        return enumValues;\n    }\n}\nZodEnum.create = createZodEnum;\nclass ZodNativeEnum extends ZodType {\n    _parse(input) {\n        const nativeEnumValues = util.getValidEnumValues(this._def.values);\n        const ctx = this._getOrReturnCtx(input);\n        if (ctx.parsedType !== ZodParsedType.string &&\n            ctx.parsedType !== ZodParsedType.number) {\n            const expectedValues = util.objectValues(nativeEnumValues);\n            addIssueToContext(ctx, {\n                expected: util.joinValues(expectedValues),\n                received: ctx.parsedType,\n                code: ZodIssueCode.invalid_type,\n            });\n            return INVALID;\n        }\n        if (nativeEnumValues.indexOf(input.data) === -1) {\n            const expectedValues = util.objectValues(nativeEnumValues);\n            addIssueToContext(ctx, {\n                received: ctx.data,\n                code: ZodIssueCode.invalid_enum_value,\n                options: expectedValues,\n            });\n            return INVALID;\n        }\n        return OK(input.data);\n    }\n    get enum() {\n        return this._def.values;\n    }\n}\nZodNativeEnum.create = (values, params) => {\n    return new ZodNativeEnum({\n        values: values,\n        typeName: ZodFirstPartyTypeKind.ZodNativeEnum,\n        ...processCreateParams(params),\n    });\n};\nclass ZodPromise extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        if (ctx.parsedType !== ZodParsedType.promise &&\n            ctx.common.async === false) {\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.promise,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        const promisified = ctx.parsedType === ZodParsedType.promise\n            ? ctx.data\n            : Promise.resolve(ctx.data);\n        return OK(promisified.then((data) => {\n            return this._def.type.parseAsync(data, {\n                path: ctx.path,\n                errorMap: ctx.common.contextualErrorMap,\n            });\n        }));\n    }\n}\nZodPromise.create = (schema, params) => {\n    return new ZodPromise({\n        type: schema,\n        typeName: ZodFirstPartyTypeKind.ZodPromise,\n        ...processCreateParams(params),\n    });\n};\nclass ZodEffects extends ZodType {\n    innerType() {\n        return this._def.schema;\n    }\n    _parse(input) {\n        const { status, ctx } = this._processInputParams(input);\n        const effect = this._def.effect || null;\n        if (effect.type === \"preprocess\") {\n            const processed = effect.transform(ctx.data);\n            if (ctx.common.async) {\n                return Promise.resolve(processed).then((processed) => {\n                    return this._def.schema._parseAsync({\n                        data: processed,\n                        path: ctx.path,\n                        parent: ctx,\n                    });\n                });\n            }\n            else {\n                return this._def.schema._parseSync({\n                    data: processed,\n                    path: ctx.path,\n                    parent: ctx,\n                });\n            }\n        }\n        const checkCtx = {\n            addIssue: (arg) => {\n                addIssueToContext(ctx, arg);\n                if (arg.fatal) {\n                    status.abort();\n                }\n                else {\n                    status.dirty();\n                }\n            },\n            get path() {\n                return ctx.path;\n            },\n        };\n        checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx);\n        if (effect.type === \"refinement\") {\n            const executeRefinement = (acc\n            // effect: RefinementEffect<any>\n            ) => {\n                const result = effect.refinement(acc, checkCtx);\n                if (ctx.common.async) {\n                    return Promise.resolve(result);\n                }\n                if (result instanceof Promise) {\n                    throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");\n                }\n                return acc;\n            };\n            if (ctx.common.async === false) {\n                const inner = this._def.schema._parseSync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: ctx,\n                });\n                if (inner.status === \"aborted\")\n                    return INVALID;\n                if (inner.status === \"dirty\")\n                    status.dirty();\n                // return value is ignored\n                executeRefinement(inner.value);\n                return { status: status.value, value: inner.value };\n            }\n            else {\n                return this._def.schema\n                    ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n                    .then((inner) => {\n                    if (inner.status === \"aborted\")\n                        return INVALID;\n                    if (inner.status === \"dirty\")\n                        status.dirty();\n                    return executeRefinement(inner.value).then(() => {\n                        return { status: status.value, value: inner.value };\n                    });\n                });\n            }\n        }\n        if (effect.type === \"transform\") {\n            if (ctx.common.async === false) {\n                const base = this._def.schema._parseSync({\n                    data: ctx.data,\n                    path: ctx.path,\n                    parent: ctx,\n                });\n                // if (base.status === \"aborted\") return INVALID;\n                // if (base.status === \"dirty\") {\n                //   return { status: \"dirty\", value: base.value };\n                // }\n                if (!isValid(base))\n                    return base;\n                const result = effect.transform(base.value, checkCtx);\n                if (result instanceof Promise) {\n                    throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);\n                }\n                return { status: status.value, value: result };\n            }\n            else {\n                return this._def.schema\n                    ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n                    .then((base) => {\n                    if (!isValid(base))\n                        return base;\n                    // if (base.status === \"aborted\") return INVALID;\n                    // if (base.status === \"dirty\") {\n                    //   return { status: \"dirty\", value: base.value };\n                    // }\n                    return Promise.resolve(effect.transform(base.value, checkCtx)).then((result) => ({ status: status.value, value: result }));\n                });\n            }\n        }\n        util.assertNever(effect);\n    }\n}\nZodEffects.create = (schema, effect, params) => {\n    return new ZodEffects({\n        schema,\n        typeName: ZodFirstPartyTypeKind.ZodEffects,\n        effect,\n        ...processCreateParams(params),\n    });\n};\nZodEffects.createWithPreprocess = (preprocess, schema, params) => {\n    return new ZodEffects({\n        schema,\n        effect: { type: \"preprocess\", transform: preprocess },\n        typeName: ZodFirstPartyTypeKind.ZodEffects,\n        ...processCreateParams(params),\n    });\n};\nclass ZodOptional extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType === ZodParsedType.undefined) {\n            return OK(undefined);\n        }\n        return this._def.innerType._parse(input);\n    }\n    unwrap() {\n        return this._def.innerType;\n    }\n}\nZodOptional.create = (type, params) => {\n    return new ZodOptional({\n        innerType: type,\n        typeName: ZodFirstPartyTypeKind.ZodOptional,\n        ...processCreateParams(params),\n    });\n};\nclass ZodNullable extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType === ZodParsedType.null) {\n            return OK(null);\n        }\n        return this._def.innerType._parse(input);\n    }\n    unwrap() {\n        return this._def.innerType;\n    }\n}\nZodNullable.create = (type, params) => {\n    return new ZodNullable({\n        innerType: type,\n        typeName: ZodFirstPartyTypeKind.ZodNullable,\n        ...processCreateParams(params),\n    });\n};\nclass ZodDefault extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        let data = ctx.data;\n        if (ctx.parsedType === ZodParsedType.undefined) {\n            data = this._def.defaultValue();\n        }\n        return this._def.innerType._parse({\n            data,\n            path: ctx.path,\n            parent: ctx,\n        });\n    }\n    removeDefault() {\n        return this._def.innerType;\n    }\n}\nZodDefault.create = (type, params) => {\n    return new ZodOptional({\n        innerType: type,\n        typeName: ZodFirstPartyTypeKind.ZodOptional,\n        ...processCreateParams(params),\n    });\n};\nclass ZodNaN extends ZodType {\n    _parse(input) {\n        const parsedType = this._getType(input);\n        if (parsedType !== ZodParsedType.nan) {\n            const ctx = this._getOrReturnCtx(input);\n            addIssueToContext(ctx, {\n                code: ZodIssueCode.invalid_type,\n                expected: ZodParsedType.nan,\n                received: ctx.parsedType,\n            });\n            return INVALID;\n        }\n        return { status: \"valid\", value: input.data };\n    }\n}\nZodNaN.create = (params) => {\n    return new ZodNaN({\n        typeName: ZodFirstPartyTypeKind.ZodNaN,\n        ...processCreateParams(params),\n    });\n};\nconst BRAND = Symbol(\"zod_brand\");\nclass ZodBranded extends ZodType {\n    _parse(input) {\n        const { ctx } = this._processInputParams(input);\n        const data = ctx.data;\n        return this._def.type._parse({\n            data,\n            path: ctx.path,\n            parent: ctx,\n        });\n    }\n    unwrap() {\n        return this._def.type;\n    }\n}\nconst custom = (check, params = {}, fatal) => {\n    if (check)\n        return ZodAny.create().superRefine((data, ctx) => {\n            if (!check(data)) {\n                const p = typeof params === \"function\" ? params(data) : params;\n                const p2 = typeof p === \"string\" ? { message: p } : p;\n                ctx.addIssue({ code: \"custom\", ...p2, fatal });\n            }\n        });\n    return ZodAny.create();\n};\nconst late = {\n    object: ZodObject.lazycreate,\n};\nvar ZodFirstPartyTypeKind;\n(function (ZodFirstPartyTypeKind) {\n    ZodFirstPartyTypeKind[\"ZodString\"] = \"ZodString\";\n    ZodFirstPartyTypeKind[\"ZodNumber\"] = \"ZodNumber\";\n    ZodFirstPartyTypeKind[\"ZodNaN\"] = \"ZodNaN\";\n    ZodFirstPartyTypeKind[\"ZodBigInt\"] = \"ZodBigInt\";\n    ZodFirstPartyTypeKind[\"ZodBoolean\"] = \"ZodBoolean\";\n    ZodFirstPartyTypeKind[\"ZodDate\"] = \"ZodDate\";\n    ZodFirstPartyTypeKind[\"ZodUndefined\"] = \"ZodUndefined\";\n    ZodFirstPartyTypeKind[\"ZodNull\"] = \"ZodNull\";\n    ZodFirstPartyTypeKind[\"ZodAny\"] = \"ZodAny\";\n    ZodFirstPartyTypeKind[\"ZodUnknown\"] = \"ZodUnknown\";\n    ZodFirstPartyTypeKind[\"ZodNever\"] = \"ZodNever\";\n    ZodFirstPartyTypeKind[\"ZodVoid\"] = \"ZodVoid\";\n    ZodFirstPartyTypeKind[\"ZodArray\"] = \"ZodArray\";\n    ZodFirstPartyTypeKind[\"ZodObject\"] = \"ZodObject\";\n    ZodFirstPartyTypeKind[\"ZodUnion\"] = \"ZodUnion\";\n    ZodFirstPartyTypeKind[\"ZodDiscriminatedUnion\"] = \"ZodDiscriminatedUnion\";\n    ZodFirstPartyTypeKind[\"ZodIntersection\"] = \"ZodIntersection\";\n    ZodFirstPartyTypeKind[\"ZodTuple\"] = \"ZodTuple\";\n    ZodFirstPartyTypeKind[\"ZodRecord\"] = \"ZodRecord\";\n    ZodFirstPartyTypeKind[\"ZodMap\"] = \"ZodMap\";\n    ZodFirstPartyTypeKind[\"ZodSet\"] = \"ZodSet\";\n    ZodFirstPartyTypeKind[\"ZodFunction\"] = \"ZodFunction\";\n    ZodFirstPartyTypeKind[\"ZodLazy\"] = \"ZodLazy\";\n    ZodFirstPartyTypeKind[\"ZodLiteral\"] = \"ZodLiteral\";\n    ZodFirstPartyTypeKind[\"ZodEnum\"] = \"ZodEnum\";\n    ZodFirstPartyTypeKind[\"ZodEffects\"] = \"ZodEffects\";\n    ZodFirstPartyTypeKind[\"ZodNativeEnum\"] = \"ZodNativeEnum\";\n    ZodFirstPartyTypeKind[\"ZodOptional\"] = \"ZodOptional\";\n    ZodFirstPartyTypeKind[\"ZodNullable\"] = \"ZodNullable\";\n    ZodFirstPartyTypeKind[\"ZodDefault\"] = \"ZodDefault\";\n    ZodFirstPartyTypeKind[\"ZodPromise\"] = \"ZodPromise\";\n    ZodFirstPartyTypeKind[\"ZodBranded\"] = \"ZodBranded\";\n})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));\n// new approach that works for abstract classes\n// but required TS 4.4+\n// abstract class Class {\n//   constructor(..._: any[]) {}\n// }\n// const instanceOfType = <T extends typeof Class>(\nconst instanceOfType = (cls, params = {\n    message: `Input not instance of ${cls.name}`,\n}) => custom((data) => data instanceof cls, params, true);\nconst stringType = ZodString.create;\nconst numberType = ZodNumber.create;\nconst nanType = ZodNaN.create;\nconst bigIntType = ZodBigInt.create;\nconst booleanType = ZodBoolean.create;\nconst dateType = ZodDate.create;\nconst undefinedType = ZodUndefined.create;\nconst nullType = ZodNull.create;\nconst anyType = ZodAny.create;\nconst unknownType = ZodUnknown.create;\nconst neverType = ZodNever.create;\nconst voidType = ZodVoid.create;\nconst arrayType = ZodArray.create;\nconst objectType = ZodObject.create;\nconst strictObjectType = ZodObject.strictCreate;\nconst unionType = ZodUnion.create;\nconst discriminatedUnionType = ZodDiscriminatedUnion.create;\nconst intersectionType = ZodIntersection.create;\nconst tupleType = ZodTuple.create;\nconst recordType = ZodRecord.create;\nconst mapType = ZodMap.create;\nconst setType = ZodSet.create;\nconst functionType = ZodFunction.create;\nconst lazyType = ZodLazy.create;\nconst literalType = ZodLiteral.create;\nconst enumType = ZodEnum.create;\nconst nativeEnumType = ZodNativeEnum.create;\nconst promiseType = ZodPromise.create;\nconst effectsType = ZodEffects.create;\nconst optionalType = ZodOptional.create;\nconst nullableType = ZodNullable.create;\nconst preprocessType = ZodEffects.createWithPreprocess;\nconst ostring = () => stringType().optional();\nconst onumber = () => numberType().optional();\nconst oboolean = () => booleanType().optional();\nconst NEVER = INVALID;\n\nvar mod = /*#__PURE__*/Object.freeze({\n    __proto__: null,\n    getParsedType: getParsedType,\n    ZodParsedType: ZodParsedType,\n    defaultErrorMap: errorMap,\n    setErrorMap: setErrorMap,\n    getErrorMap: getErrorMap,\n    makeIssue: makeIssue,\n    EMPTY_PATH: EMPTY_PATH,\n    addIssueToContext: addIssueToContext,\n    ParseStatus: ParseStatus,\n    INVALID: INVALID,\n    DIRTY: DIRTY,\n    OK: OK,\n    isAborted: isAborted,\n    isDirty: isDirty,\n    isValid: isValid,\n    isAsync: isAsync,\n    ZodType: ZodType,\n    ZodString: ZodString,\n    ZodNumber: ZodNumber,\n    ZodBigInt: ZodBigInt,\n    ZodBoolean: ZodBoolean,\n    ZodDate: ZodDate,\n    ZodUndefined: ZodUndefined,\n    ZodNull: ZodNull,\n    ZodAny: ZodAny,\n    ZodUnknown: ZodUnknown,\n    ZodNever: ZodNever,\n    ZodVoid: ZodVoid,\n    ZodArray: ZodArray,\n    get objectUtil () { return objectUtil; },\n    ZodObject: ZodObject,\n    ZodUnion: ZodUnion,\n    ZodDiscriminatedUnion: ZodDiscriminatedUnion,\n    ZodIntersection: ZodIntersection,\n    ZodTuple: ZodTuple,\n    ZodRecord: ZodRecord,\n    ZodMap: ZodMap,\n    ZodSet: ZodSet,\n    ZodFunction: ZodFunction,\n    ZodLazy: ZodLazy,\n    ZodLiteral: ZodLiteral,\n    ZodEnum: ZodEnum,\n    ZodNativeEnum: ZodNativeEnum,\n    ZodPromise: ZodPromise,\n    ZodEffects: ZodEffects,\n    ZodTransformer: ZodEffects,\n    ZodOptional: ZodOptional,\n    ZodNullable: ZodNullable,\n    ZodDefault: ZodDefault,\n    ZodNaN: ZodNaN,\n    BRAND: BRAND,\n    ZodBranded: ZodBranded,\n    custom: custom,\n    Schema: ZodType,\n    ZodSchema: ZodType,\n    late: late,\n    get ZodFirstPartyTypeKind () { return ZodFirstPartyTypeKind; },\n    any: anyType,\n    array: arrayType,\n    bigint: bigIntType,\n    boolean: booleanType,\n    date: dateType,\n    discriminatedUnion: discriminatedUnionType,\n    effect: effectsType,\n    'enum': enumType,\n    'function': functionType,\n    'instanceof': instanceOfType,\n    intersection: intersectionType,\n    lazy: lazyType,\n    literal: literalType,\n    map: mapType,\n    nan: nanType,\n    nativeEnum: nativeEnumType,\n    never: neverType,\n    'null': nullType,\n    nullable: nullableType,\n    number: numberType,\n    object: objectType,\n    oboolean: oboolean,\n    onumber: onumber,\n    optional: optionalType,\n    ostring: ostring,\n    preprocess: preprocessType,\n    promise: promiseType,\n    record: recordType,\n    set: setType,\n    strictObject: strictObjectType,\n    string: stringType,\n    transformer: effectsType,\n    tuple: tupleType,\n    'undefined': undefinedType,\n    union: unionType,\n    unknown: unknownType,\n    'void': voidType,\n    NEVER: NEVER,\n    ZodIssueCode: ZodIssueCode,\n    quotelessJson: quotelessJson,\n    ZodError: ZodError\n});\n\nexport { BRAND, DIRTY, EMPTY_PATH, INVALID, NEVER, OK, ParseStatus, ZodType as Schema, ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodBranded, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodEffects, ZodEnum, ZodError, ZodFirstPartyTypeKind, ZodFunction, ZodIntersection, ZodIssueCode, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNativeEnum, ZodNever, ZodNull, ZodNullable, ZodNumber, ZodObject, ZodOptional, ZodParsedType, ZodPromise, ZodRecord, ZodType as ZodSchema, ZodSet, ZodString, ZodEffects as ZodTransformer, ZodTuple, ZodType, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, addIssueToContext, anyType as any, arrayType as array, bigIntType as bigint, booleanType as boolean, custom, dateType as date, mod as default, errorMap as defaultErrorMap, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, getErrorMap, getParsedType, instanceOfType as instanceof, intersectionType as intersection, isAborted, isAsync, isDirty, isValid, late, lazyType as lazy, literalType as literal, makeIssue, mapType as map, nanType as nan, nativeEnumType as nativeEnum, neverType as never, nullType as null, nullableType as nullable, numberType as number, objectType as object, objectUtil, oboolean, onumber, optionalType as optional, ostring, preprocessType as preprocess, promiseType as promise, quotelessJson, recordType as record, setType as set, setErrorMap, strictObjectType as strictObject, stringType as string, effectsType as transformer, tupleType as tuple, undefinedType as undefined, unionType as union, unknownType as unknown, voidType as void, mod as z };\n", "import { z } from 'zod'\n\nexport type QueryParams = Record<string, any>\nexport type Headers = Record<string, string>\n\nexport interface CallOptions {\n  encoding?: string\n  headers?: Headers\n}\n\nexport interface FetchHandlerResponse {\n  status: number\n  headers: Headers\n  body: ArrayBuffer | undefined\n}\n\nexport type FetchHandler = (\n  httpUri: string,\n  httpMethod: string,\n  httpHeaders: Headers,\n  httpReqBody: any,\n) => Promise<FetchHandlerResponse>\n\nexport const errorResponseBody = z.object({\n  error: z.string().optional(),\n  message: z.string().optional(),\n})\nexport type ErrorResponseBody = z.infer<typeof errorResponseBody>\n\nexport enum ResponseType {\n  Unknown = 1,\n  InvalidResponse = 2,\n  Success = 200,\n  InvalidRequest = 400,\n  AuthRequired = 401,\n  Forbidden = 403,\n  XRPCNotSupported = 404,\n  PayloadTooLarge = 413,\n  RateLimitExceeded = 429,\n  InternalServerError = 500,\n  MethodNotImplemented = 501,\n  UpstreamFailure = 502,\n  NotEnoughResouces = 503,\n  UpstreamTimeout = 504,\n}\n\nexport const ResponseTypeNames = {\n  [ResponseType.InvalidResponse]: 'InvalidResponse',\n  [ResponseType.Success]: 'Success',\n  [ResponseType.InvalidRequest]: 'InvalidRequest',\n  [ResponseType.AuthRequired]: 'AuthenticationRequired',\n  [ResponseType.Forbidden]: 'Forbidden',\n  [ResponseType.XRPCNotSupported]: 'XRPCNotSupported',\n  [ResponseType.PayloadTooLarge]: 'PayloadTooLarge',\n  [ResponseType.RateLimitExceeded]: 'RateLimitExceeded',\n  [ResponseType.InternalServerError]: 'InternalServerError',\n  [ResponseType.MethodNotImplemented]: 'MethodNotImplemented',\n  [ResponseType.UpstreamFailure]: 'UpstreamFailure',\n  [ResponseType.NotEnoughResouces]: 'NotEnoughResouces',\n  [ResponseType.UpstreamTimeout]: 'UpstreamTimeout',\n}\n\nexport const ResponseTypeStrings = {\n  [ResponseType.InvalidResponse]: 'Invalid Response',\n  [ResponseType.Success]: 'Success',\n  [ResponseType.InvalidRequest]: 'Invalid Request',\n  [ResponseType.AuthRequired]: 'Authentication Required',\n  [ResponseType.Forbidden]: 'Forbidden',\n  [ResponseType.XRPCNotSupported]: 'XRPC Not Supported',\n  [ResponseType.PayloadTooLarge]: 'Payload Too Large',\n  [ResponseType.RateLimitExceeded]: 'Rate Limit Exceeded',\n  [ResponseType.InternalServerError]: 'Internal Server Error',\n  [ResponseType.MethodNotImplemented]: 'Method Not Implemented',\n  [ResponseType.UpstreamFailure]: 'Upstream Failure',\n  [ResponseType.NotEnoughResouces]: 'Not Enough Resouces',\n  [ResponseType.UpstreamTimeout]: 'Upstream Timeout',\n}\n\nexport class XRPCResponse {\n  success = true\n\n  constructor(public data: any, public headers: Headers) {}\n}\n\nexport class XRPCError extends Error {\n  success = false\n\n  constructor(\n    public status: ResponseType,\n    public error?: string,\n    message?: string,\n  ) {\n    super(message || error || ResponseTypeStrings[status])\n    if (!this.error) {\n      this.error = ResponseTypeNames[status]\n    }\n  }\n}\n", "/*\nGrammar:\n\nalpha     = \"a\" / \"b\" / \"c\" / \"d\" / \"e\" / \"f\" / \"g\" / \"h\" / \"i\" / \"j\" / \"k\" / \"l\" / \"m\" / \"n\" / \"o\" / \"p\" / \"q\" / \"r\" / \"s\" / \"t\" / \"u\" / \"v\" / \"w\" / \"x\" / \"y\" / \"z\" / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\" / \"G\" / \"H\" / \"I\" / \"J\" / \"K\" / \"L\" / \"M\" / \"N\" / \"O\" / \"P\" / \"Q\" / \"R\" / \"S\" / \"T\" / \"U\" / \"V\" / \"W\" / \"X\" / \"Y\" / \"Z\"\nnumber    = \"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\" / \"0\"\ndelim     = \".\"\nsegment   = alpha *( alpha / number / \"-\" )\nauthority = segment *( delim segment )\nname      = segment\nnsid      = authority delim name\nnsid-ns   = authority delim \"*\"\n\n*/\n\nconst SEGMENT_RE = /^[a-zA-Z]([a-zA-Z0-9-])*$/\n\nexport class NSID {\n  segments: string[] = []\n\n  static parse(nsid: string): NSID {\n    return new NSID(nsid)\n  }\n\n  static create(authority: string, name: string): NSID {\n    const segments = [...authority.split('.').reverse(), name].join('.')\n    return new NSID(segments)\n  }\n\n  static isValid(nsid: string): boolean {\n    try {\n      NSID.parse(nsid)\n      return true\n    } catch (e) {\n      return false\n    }\n  }\n\n  constructor(nsid: string) {\n    const segments = nsid.split('.')\n    if (segments.length <= 2) {\n      throw new Error(`Invalid NSID: ${nsid}`)\n    }\n    for (let i = 0; i < segments.length; i++) {\n      const segment = segments[i]\n      if (SEGMENT_RE.test(segment)) {\n        continue\n      }\n      if (i === segments.length - 1 && segment === '*') {\n        continue\n      }\n      throw new Error(`Invalid NSID: invalid character in segment \"${segment}\"`)\n    }\n    this.segments = segments\n  }\n\n  get authority() {\n    return this.segments\n      .slice(0, this.segments.length - 1)\n      .reverse()\n      .join('.')\n  }\n\n  get name() {\n    return this.segments.at(this.segments.length - 1)\n  }\n\n  toString() {\n    return this.segments.join('.')\n  }\n}\n", "import { z } from 'zod'\nimport { NSID } from '@atproto/nsid'\n\n// primitives\n// =\n\nexport const lexBoolean = z.object({\n  type: z.literal('boolean'),\n  description: z.string().optional(),\n  default: z.boolean().optional(),\n  const: z.boolean().optional(),\n})\nexport type LexBoolean = z.infer<typeof lexBoolean>\n\nexport const lexNumber = z.object({\n  type: z.literal('number'),\n  description: z.string().optional(),\n  default: z.number().optional(),\n  minimum: z.number().optional(),\n  maximum: z.number().optional(),\n  enum: z.number().array().optional(),\n  const: z.number().optional(),\n})\nexport type LexNumber = z.infer<typeof lexNumber>\n\nexport const lexInteger = z.object({\n  type: z.literal('integer'),\n  description: z.string().optional(),\n  default: z.number().int().optional(),\n  minimum: z.number().int().optional(),\n  maximum: z.number().int().optional(),\n  enum: z.number().int().array().optional(),\n  const: z.number().int().optional(),\n})\nexport type LexInteger = z.infer<typeof lexInteger>\n\nexport const lexString = z.object({\n  type: z.literal('string'),\n  description: z.string().optional(),\n  default: z.string().optional(),\n  minLength: z.number().int().optional(),\n  maxLength: z.number().int().optional(),\n  enum: z.string().array().optional(),\n  const: z.string().optional(),\n  knownValues: z.string().array().optional(),\n})\nexport type LexString = z.infer<typeof lexString>\n\nexport const lexDatetime = z.object({\n  type: z.literal('datetime'),\n  description: z.string().optional(),\n})\nexport type LexDatetime = z.infer<typeof lexDatetime>\n\nexport const lexUnknown = z.object({\n  type: z.literal('unknown'),\n  description: z.string().optional(),\n})\nexport type LexUnknown = z.infer<typeof lexUnknown>\n\nexport const lexPrimitive = z.union([\n  lexBoolean,\n  lexNumber,\n  lexInteger,\n  lexString,\n  lexDatetime,\n  lexUnknown,\n])\nexport type LexPrimitive = z.infer<typeof lexPrimitive>\n\n// references\n// =\n\nexport const lexRef = z.object({\n  type: z.literal('ref'),\n  description: z.string().optional(),\n  ref: z.string(),\n})\nexport type LexRef = z.infer<typeof lexRef>\n\nexport const lexRefUnion = z.object({\n  type: z.literal('union'),\n  description: z.string().optional(),\n  refs: z.string().array(),\n  closed: z.boolean().optional(),\n})\nexport type LexRefUnion = z.infer<typeof lexRefUnion>\n\nexport const lexRefVariant = z.union([lexRef, lexRefUnion])\nexport type LexRefVariant = z.infer<typeof lexRefVariant>\n\n// blobs\n// =\n\nexport const lexBlob = z.object({\n  type: z.literal('blob'),\n  description: z.string().optional(),\n  accept: z.string().array().optional(),\n  maxSize: z.number().optional(),\n})\nexport type LexBlob = z.infer<typeof lexBlob>\n\nexport const lexImage = z.object({\n  type: z.literal('image'),\n  description: z.string().optional(),\n  accept: z.string().array().optional(),\n  maxSize: z.number().optional(),\n  maxWidth: z.number().int().optional(),\n  maxHeight: z.number().int().optional(),\n})\nexport type LexImage = z.infer<typeof lexImage>\n\nexport const lexVideo = z.object({\n  type: z.literal('video'),\n  description: z.string().optional(),\n  accept: z.string().array().optional(),\n  maxSize: z.number().optional(),\n  maxWidth: z.number().int().optional(),\n  maxHeight: z.number().int().optional(),\n  maxLength: z.number().int().optional(),\n})\nexport type LexVideo = z.infer<typeof lexVideo>\n\nexport const lexAudio = z.object({\n  type: z.literal('audio'),\n  description: z.string().optional(),\n  accept: z.string().array().optional(),\n  maxSize: z.number().optional(),\n  maxLength: z.number().int().optional(),\n})\nexport type LexAudio = z.infer<typeof lexAudio>\n\nexport const lexBlobVariant = z.union([lexBlob, lexImage, lexVideo, lexAudio])\nexport type LexBlobVariant = z.infer<typeof lexBlobVariant>\n\n// complex types\n// =\n\nexport const lexArray = z.object({\n  type: z.literal('array'),\n  description: z.string().optional(),\n  items: z.union([lexPrimitive, lexBlobVariant, lexRefVariant]),\n  minLength: z.number().int().optional(),\n  maxLength: z.number().int().optional(),\n})\nexport type LexArray = z.infer<typeof lexArray>\n\nexport const lexToken = z.object({\n  type: z.literal('token'),\n  description: z.string().optional(),\n})\nexport type LexToken = z.infer<typeof lexToken>\n\nexport const lexObject = z.object({\n  type: z.literal('object'),\n  description: z.string().optional(),\n  required: z.string().array().optional(),\n  properties: z\n    .record(z.union([lexRefVariant, lexArray, lexBlobVariant, lexPrimitive]))\n    .optional(),\n})\nexport type LexObject = z.infer<typeof lexObject>\n\n// xrpc\n// =\n\nexport const lexXrpcParameters = z.object({\n  type: z.literal('params'),\n  description: z.string().optional(),\n  required: z.string().array().optional(),\n  properties: z.record(lexPrimitive),\n})\nexport type LexXrpcParameters = z.infer<typeof lexXrpcParameters>\n\nexport const lexXrpcBody = z.object({\n  description: z.string().optional(),\n  encoding: z.string(),\n  schema: z.union([lexRefVariant, lexObject]).optional(),\n})\nexport type LexXrpcBody = z.infer<typeof lexXrpcBody>\n\nexport const lexXrpcError = z.object({\n  name: z.string(),\n  description: z.string().optional(),\n})\nexport type LexXrpcError = z.infer<typeof lexXrpcError>\n\nexport const lexXrpcQuery = z.object({\n  type: z.literal('query'),\n  description: z.string().optional(),\n  parameters: lexXrpcParameters.optional(),\n  output: lexXrpcBody.optional(),\n  errors: lexXrpcError.array().optional(),\n})\nexport type LexXrpcQuery = z.infer<typeof lexXrpcQuery>\n\nexport const lexXrpcProcedure = z.object({\n  type: z.literal('procedure'),\n  description: z.string().optional(),\n  parameters: lexXrpcParameters.optional(),\n  input: lexXrpcBody.optional(),\n  output: lexXrpcBody.optional(),\n  errors: lexXrpcError.array().optional(),\n})\nexport type LexXrpcProcedure = z.infer<typeof lexXrpcProcedure>\n\n// database\n// =\n\nexport const lexRecord = z.object({\n  type: z.literal('record'),\n  description: z.string().optional(),\n  key: z.string().optional(),\n  record: lexObject,\n})\nexport type LexRecord = z.infer<typeof lexRecord>\n\n// core\n// =\n\nexport const lexUserType = z.union([\n  lexRecord,\n\n  lexXrpcQuery,\n  lexXrpcProcedure,\n\n  lexBlob,\n  lexImage,\n  lexVideo,\n  lexAudio,\n\n  lexArray,\n  lexToken,\n  lexObject,\n\n  lexBoolean,\n  lexNumber,\n  lexInteger,\n  lexString,\n  lexDatetime,\n  lexUnknown,\n])\nexport type LexUserType = z.infer<typeof lexUserType>\n\nexport const lexiconDoc = z\n  .object({\n    lexicon: z.literal(1),\n    id: z.string().refine((v: string) => NSID.isValid(v), {\n      message: 'Must be a valid NSID',\n    }),\n    revision: z.number().optional(),\n    description: z.string().optional(),\n    defs: z.record(lexUserType),\n  })\n  .superRefine((doc: LexiconDoc, ctx) => {\n    for (const defId in doc.defs) {\n      const def = doc.defs[defId]\n      if (\n        defId !== 'main' &&\n        (def.type === 'record' ||\n          def.type === 'procedure' ||\n          def.type === 'query')\n      ) {\n        ctx.addIssue({\n          code: z.ZodIssueCode.custom,\n          message: `Records, procedures, and queries must be the main definition.`,\n        })\n      }\n    }\n  })\nexport type LexiconDoc = z.infer<typeof lexiconDoc>\n\n// helpers\n// =\n\nexport function isValidLexiconDoc(v: unknown): v is LexiconDoc {\n  return lexiconDoc.safeParse(v).success\n}\n\nexport function isObj(obj: unknown): obj is Record<string, unknown> {\n  return !!obj && typeof obj === 'object'\n}\n\nexport function hasProp<K extends PropertyKey>(\n  data: object,\n  prop: K,\n): data is Record<K, unknown> {\n  return prop in data\n}\n\nexport const discriminatedObject = z.object({ $type: z.string() })\nexport type DiscriminatedObject = z.infer<typeof discriminatedObject>\nexport function isDiscriminatedObject(\n  value: unknown,\n): value is DiscriminatedObject {\n  return discriminatedObject.safeParse(value).success\n}\n\nexport class LexiconDocMalformedError extends Error {\n  constructor(\n    message: string,\n    public schemaDef: unknown,\n    public issues?: z.ZodIssue[],\n  ) {\n    super(message)\n    this.schemaDef = schemaDef\n    this.issues = issues\n  }\n}\n\nexport interface ValidationResult {\n  success: boolean\n  error?: ValidationError\n}\n\nexport class ValidationError extends Error {}\nexport class InvalidLexiconError extends Error {}\nexport class LexiconDefNotFoundError extends Error {}\n", "import { Lexicons } from '../lexicons'\nimport {\n  LexUserType,\n  LexBoolean,\n  LexNumber,\n  LexInteger,\n  LexString,\n  LexDatetime,\n  ValidationResult,\n  ValidationError,\n} from '../types'\n\nexport function validate(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  switch (def.type) {\n    case 'boolean':\n      return boolean(lexicons, path, def, value)\n    case 'number':\n      return number(lexicons, path, def, value)\n    case 'integer':\n      return integer(lexicons, path, def, value)\n    case 'string':\n      return string(lexicons, path, def, value)\n    case 'datetime':\n      return datetime(lexicons, path, def, value)\n    case 'unknown':\n      return unknown(lexicons, path, def, value)\n    default:\n      return {\n        success: false,\n        error: new ValidationError(`Unexpected lexicon type: ${def.type}`),\n      }\n  }\n}\n\nexport function boolean(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  def = def as LexBoolean\n\n  // type\n  const type = typeof value\n  if (type == 'undefined') {\n    if (typeof def.default === 'boolean') {\n      return { success: true }\n    }\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be a boolean`),\n    }\n  } else if (type !== 'boolean') {\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be a boolean`),\n    }\n  }\n\n  // const\n  if (typeof def.const === 'boolean') {\n    if (value !== def.const) {\n      return {\n        success: false,\n        error: new ValidationError(`${path} must be ${def.const}`),\n      }\n    }\n  }\n\n  return { success: true }\n}\n\nexport function number(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  def = def as LexNumber\n\n  // type\n  const type = typeof value\n  if (type == 'undefined') {\n    if (typeof def.default === 'number') {\n      return { success: true }\n    }\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be a number`),\n    }\n  } else if (type !== 'number') {\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be a number`),\n    }\n  }\n\n  // const\n  if (typeof def.const === 'number') {\n    if (value !== def.const) {\n      return {\n        success: false,\n        error: new ValidationError(`${path} must be ${def.const}`),\n      }\n    }\n  }\n\n  // enum\n  if (Array.isArray(def.enum)) {\n    if (!def.enum.includes(value as number)) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} must be one of (${def.enum.join('|')})`,\n        ),\n      }\n    }\n  }\n\n  // maximum\n  if (typeof def.maximum === 'number') {\n    if ((value as number) > def.maximum) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} can not be greater than ${def.maximum}`,\n        ),\n      }\n    }\n  }\n\n  // minimum\n  if (typeof def.minimum === 'number') {\n    if ((value as number) < def.minimum) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} can not be less than ${def.minimum}`,\n        ),\n      }\n    }\n  }\n\n  return { success: true }\n}\n\nexport function integer(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  def = def as LexInteger\n\n  // run number validation\n  const numRes = number(lexicons, path, def, value)\n  if (!numRes.success) {\n    return numRes\n  }\n\n  // whole numbers only\n  if (!Number.isInteger(value)) {\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be an integer`),\n    }\n  }\n\n  return { success: true }\n}\n\nexport function string(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  def = def as LexString\n\n  // type\n  const type = typeof value\n  if (type == 'undefined') {\n    if (typeof def.default === 'string') {\n      return { success: true }\n    }\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be a string`),\n    }\n  } else if (type !== 'string') {\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be a string`),\n    }\n  }\n\n  // const\n  if (typeof def.const === 'string') {\n    if (value !== def.const) {\n      return {\n        success: false,\n        error: new ValidationError(`${path} must be ${def.const}`),\n      }\n    }\n  }\n\n  // enum\n  if (Array.isArray(def.enum)) {\n    if (!def.enum.includes(value as string)) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} must be one of (${def.enum.join('|')})`,\n        ),\n      }\n    }\n  }\n\n  // maxLength\n  if (typeof def.maxLength === 'number') {\n    if ((value as string).length > def.maxLength) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} must not be longer than ${def.maxLength} characters`,\n        ),\n      }\n    }\n  }\n\n  // minLength\n  if (typeof def.minLength === 'number') {\n    if ((value as string).length < def.minLength) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} must not be shorter than ${def.minLength} characters`,\n        ),\n      }\n    }\n  }\n\n  return { success: true }\n}\n\nexport function datetime(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  def = def as LexDatetime\n\n  // type\n  const type = typeof value\n  if (type !== 'string') {\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be a string`),\n    }\n  }\n\n  // valid iso-8601\n  {\n    try {\n      const date = new Date(Date.parse(value as string))\n      if (value !== date.toISOString()) {\n        throw new ValidationError(\n          `${path} must be an iso8601 formatted datetime`,\n        )\n      }\n    } catch {\n      throw new ValidationError(`${path} must be an iso8601 formatted datetime`)\n    }\n  }\n\n  return { success: true }\n}\n\nexport function unknown(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  // type\n  if (!value || typeof value !== 'object') {\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be an object`),\n    }\n  }\n\n  return { success: true }\n}\n", "import { Lexicons } from '../lexicons'\nimport { LexUserType, ValidationResult, ValidationError } from '../types'\nimport { isObj, hasProp } from '../types'\n\nexport function blob(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  if (!isObj(value)) {\n    return {\n      success: false,\n      error: new ValidationError(`${path} should be an object`),\n    }\n  }\n  if (!hasProp(value, 'cid') || typeof value.cid !== 'string') {\n    return {\n      success: false,\n      error: new ValidationError(`${path}/cid should be a string`),\n    }\n  }\n  if (!hasProp(value, 'mimeType') || typeof value.mimeType !== 'string') {\n    return {\n      success: false,\n      error: new ValidationError(`${path}/mimeType should be a string`),\n    }\n  }\n  return { success: true }\n}\n\nexport function image(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  return blob(lexicons, path, def, value)\n}\n\nexport function video(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  return blob(lexicons, path, def, value)\n}\n\nexport function audio(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  return blob(lexicons, path, def, value)\n}\n", "import { Lexicons } from '../lexicons'\nimport {\n  LexArray,\n  LexObject,\n  LexUserType,\n  ValidationResult,\n  ValidationError,\n} from '../types'\nimport { validateOneOf } from '../util'\n\nimport * as Primitives from './primitives'\nimport * as Blob from './blob'\n\nexport function validate(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  switch (def.type) {\n    case 'boolean':\n      return Primitives.boolean(lexicons, path, def, value)\n    case 'number':\n      return Primitives.number(lexicons, path, def, value)\n    case 'integer':\n      return Primitives.integer(lexicons, path, def, value)\n    case 'string':\n      return Primitives.string(lexicons, path, def, value)\n    case 'datetime':\n      return Primitives.datetime(lexicons, path, def, value)\n    case 'unknown':\n      return Primitives.unknown(lexicons, path, def, value)\n    case 'object':\n      return object(lexicons, path, def, value)\n    case 'array':\n      return array(lexicons, path, def, value)\n    case 'blob':\n      return Blob.blob(lexicons, path, def, value)\n    case 'image':\n      return Blob.image(lexicons, path, def, value)\n    case 'video':\n      return Blob.video(lexicons, path, def, value)\n    case 'audio':\n      return Blob.audio(lexicons, path, def, value)\n    default:\n      return {\n        success: false,\n        error: new ValidationError(`Unexpected lexicon type: ${def.type}`),\n      }\n  }\n}\n\nexport function array(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  def = def as LexArray\n\n  // type\n  if (!Array.isArray(value)) {\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be an array`),\n    }\n  }\n\n  // maxLength\n  if (typeof def.maxLength === 'number') {\n    if ((value as Array<unknown>).length > def.maxLength) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} must not have more than ${def.maxLength} elements`,\n        ),\n      }\n    }\n  }\n\n  // minLength\n  if (typeof def.minLength === 'number') {\n    if ((value as Array<unknown>).length < def.minLength) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} must not have fewer than ${def.minLength} elements`,\n        ),\n      }\n    }\n  }\n\n  // items\n  const itemsDef = def.items\n  for (let i = 0; i < (value as Array<unknown>).length; i++) {\n    const itemValue = value[i]\n    const itemPath = `${path}/${i}`\n    const res = validateOneOf(lexicons, itemPath, itemsDef, itemValue)\n    if (!res.success) {\n      return res\n    }\n  }\n\n  return { success: true }\n}\n\nexport function object(\n  lexicons: Lexicons,\n  path: string,\n  def: LexUserType,\n  value: unknown,\n): ValidationResult {\n  def = def as LexObject\n\n  // type\n  if (!value || typeof value !== 'object') {\n    return {\n      success: false,\n      error: new ValidationError(`${path} must be an object`),\n    }\n  }\n\n  // required\n  if (Array.isArray(def.required)) {\n    for (const key of def.required) {\n      if (!(key in value)) {\n        return {\n          success: false,\n          error: new ValidationError(`${path} must have the property \"${key}\"`),\n        }\n      }\n    }\n  }\n\n  // properties\n  if (typeof def.properties === 'object') {\n    for (const key in def.properties) {\n      const propValue = value[key]\n      if (typeof propValue === 'undefined') {\n        continue // skip- if required, will have already failed\n      }\n      const propDef = def.properties[key]\n      const propPath = `${path}/${key}`\n      const res = validateOneOf(lexicons, propPath, propDef, propValue)\n      if (!res.success) {\n        return res\n      }\n    }\n  }\n\n  return { success: true }\n}\n", "import { Lexicons } from './lexicons'\nimport * as ComplexValidators from './validators/complex'\nimport {\n  LexUserType,\n  LexRefVariant,\n  ValidationError,\n  ValidationResult,\n  isDiscriminatedObject,\n} from './types'\n\nexport function toLexUri(str: string, baseUri?: string): string {\n  if (str.startsWith('lex:')) {\n    return str\n  }\n  if (str.startsWith('#')) {\n    if (!baseUri) {\n      throw new Error(`Unable to resolve uri without anchor: ${str}`)\n    }\n    return `${baseUri}${str}`\n  }\n  return `lex:${str}`\n}\n\nexport function validateOneOf(\n  lexicons: Lexicons,\n  path: string,\n  def: LexRefVariant | LexUserType,\n  value: unknown,\n  mustBeObj = false, // this is the only type constraint we need currently (used by xrpc body schema validators)\n): ValidationResult {\n  let error\n\n  let concreteDefs\n  if (def.type === 'union') {\n    if (!isDiscriminatedObject(value)) {\n      return {\n        success: false,\n        error: new ValidationError(\n          `${path} must be an object which includes the \"$type\" property`,\n        ),\n      }\n    }\n    if (!def.refs.includes(toLexUri(value.$type))) {\n      if (def.closed) {\n        return {\n          success: false,\n          error: new ValidationError(\n            `${path} $type must be one of ${def.refs.join(', ')}`,\n          ),\n        }\n      }\n      return { success: true }\n    } else {\n      concreteDefs = toConcreteTypes(lexicons, {\n        type: 'ref',\n        ref: value.$type,\n      })\n    }\n  } else {\n    concreteDefs = toConcreteTypes(lexicons, def)\n  }\n\n  for (const concreteDef of concreteDefs) {\n    const result = mustBeObj\n      ? ComplexValidators.object(lexicons, path, concreteDef, value)\n      : ComplexValidators.validate(lexicons, path, concreteDef, value)\n    if (result.success) {\n      return result\n    }\n    error ??= result.error\n  }\n  if (concreteDefs.length > 1) {\n    return {\n      success: false,\n      error: new ValidationError(\n        `${path} did not match any of the expected definitions`,\n      ),\n    }\n  }\n  return { success: false, error }\n}\n\nexport function assertValidOneOf(\n  lexicons: Lexicons,\n  path: string,\n  def: LexRefVariant | LexUserType,\n  value: unknown,\n  mustBeObj = false,\n) {\n  const res = validateOneOf(lexicons, path, def, value, mustBeObj)\n  if (!res.success) {\n    throw res.error\n  }\n}\n\nexport function toConcreteTypes(\n  lexicons: Lexicons,\n  def: LexRefVariant | LexUserType,\n): LexUserType[] {\n  if (def.type === 'ref') {\n    return [lexicons.getDefOrThrow(def.ref)]\n  } else if (def.type === 'union') {\n    return def.refs.map((ref) => lexicons.getDefOrThrow(ref)).flat()\n  } else {\n    return [def]\n  }\n}\n", "import { Lexicons } from '../lexicons'\nimport { LexXrpcParameters, ValidationResult, ValidationError } from '../types'\n\nimport * as PrimitiveValidators from './primitives'\n\nexport function params(\n  lexicons: Lexicons,\n  path: string,\n  def: LexXrpcParameters,\n  value: unknown,\n): ValidationResult {\n  def = def as LexXrpcParameters\n\n  // type\n  if (!value || typeof value !== 'object') {\n    // in this case, we just fall back to an object\n    value = {}\n  }\n\n  // required\n  if (Array.isArray(def.required)) {\n    for (const key of def.required) {\n      if (!(key in (value as Record<string, unknown>))) {\n        return {\n          success: false,\n          error: new ValidationError(`${path} must have the property \"${key}\"`),\n        }\n      }\n    }\n  }\n\n  // properties\n  for (const key in def.properties) {\n    if (typeof (value as Record<string, unknown>)[key] === 'undefined') {\n      continue // skip- if required, will have already failed\n    }\n    const paramDef = def.properties[key]\n    const res = PrimitiveValidators.validate(\n      lexicons,\n      key,\n      paramDef,\n      (value as Record<string, unknown>)[key],\n    )\n    if (!res.success) {\n      return res\n    }\n  }\n\n  return { success: true }\n}\n", "import { Lexicons } from './lexicons'\nimport { LexRecord, LexXrpcProcedure, LexXrpcQuery } from './types'\nimport { assertValidOneOf } from './util'\n\nimport * as ComplexValidators from './validators/complex'\nimport * as XrpcValidators from './validators/xrpc'\n\nexport function assertValidRecord(\n  lexicons: Lexicons,\n  def: LexRecord,\n  value: unknown,\n) {\n  const res = ComplexValidators.object(lexicons, 'Record', def.record, value)\n  if (!res.success) throw res.error\n}\n\nexport function assertValidXrpcParams(\n  lexicons: Lexicons,\n  def: LexXrpcProcedure | LexXrpcQuery,\n  value: unknown,\n) {\n  if (def.parameters) {\n    const res = XrpcValidators.params(lexicons, 'Params', def.parameters, value)\n    if (!res.success) throw res.error\n  }\n}\n\nexport function assertValidXrpcInput(\n  lexicons: Lexicons,\n  def: LexXrpcProcedure,\n  value: unknown,\n) {\n  if (def.input?.schema) {\n    // loop: all input schema definitions\n    assertValidOneOf(lexicons, 'Input', def.input.schema, value, true)\n  }\n}\n\nexport function assertValidXrpcOutput(\n  lexicons: Lexicons,\n  def: LexXrpcProcedure | LexXrpcQuery,\n  value: unknown,\n) {\n  if (def.output?.schema) {\n    // loop: all output schema definitions\n    assertValidOneOf(lexicons, 'Output', def.output.schema, value, true)\n  }\n}\n", "import { ZodError } from 'zod'\nimport {\n  LexiconDoc,\n  lexiconDoc,\n  LexRecord,\n  LexXrpcProcedure,\n  LexXrpcQuery,\n  LexUserType,\n  LexiconDocMalformedError,\n  LexiconDefNotFoundError,\n  InvalidLexiconError,\n  ValidationError,\n  isObj,\n  hasProp,\n} from './types'\nimport {\n  assertValidRecord,\n  assertValidXrpcParams,\n  assertValidXrpcInput,\n  assertValidXrpcOutput,\n} from './validation'\nimport { toLexUri } from './util'\n\n/**\n * A collection of compiled lexicons.\n */\nexport class Lexicons {\n  docs: Map<string, LexiconDoc> = new Map()\n  defs: Map<string, LexUserType> = new Map()\n\n  constructor(docs?: unknown[]) {\n    if (docs?.length) {\n      for (const doc of docs) {\n        this.add(doc)\n      }\n    }\n  }\n\n  /**\n   * Add a lexicon doc.\n   */\n  add(doc: unknown): void {\n    try {\n      lexiconDoc.parse(doc)\n    } catch (e) {\n      if (e instanceof ZodError) {\n        throw new LexiconDocMalformedError(\n          `Failed to parse schema definition ${\n            (doc as Record<string, string>).id\n          }`,\n          doc,\n          e.issues,\n        )\n      } else {\n        throw e\n      }\n    }\n    const validatedDoc = doc as LexiconDoc\n    const uri = toLexUri(validatedDoc.id)\n    if (this.docs.has(uri)) {\n      throw new Error(`${uri} has already been registered`)\n    }\n\n    // WARNING\n    // mutates the object\n    // -prf\n    resolveRefUris(validatedDoc, uri)\n\n    this.docs.set(uri, validatedDoc)\n    for (const [defUri, def] of iterDefs(validatedDoc)) {\n      this.defs.set(defUri, def)\n    }\n  }\n\n  /**\n   * Remove a lexicon doc.\n   */\n  remove(uri: string) {\n    uri = toLexUri(uri)\n    const doc = this.docs.get(uri)\n    if (!doc) {\n      throw new Error(`Unable to remove \"${uri}\": does not exist`)\n    }\n    for (const [defUri, _def] of iterDefs(doc)) {\n      this.defs.delete(defUri)\n    }\n    this.docs.delete(uri)\n  }\n\n  /**\n   * Get a lexicon doc.\n   */\n  get(uri: string): LexiconDoc | undefined {\n    uri = toLexUri(uri)\n    return this.docs.get(uri)\n  }\n\n  /**\n   * Get a definition.\n   */\n  getDef(uri: string): LexUserType | undefined {\n    uri = toLexUri(uri)\n    return this.defs.get(uri)\n  }\n\n  /**\n   * Get a def, throw if not found. Throws on not found.\n   */\n  getDefOrThrow(uri: string, types?: string[]): LexUserType {\n    const def = this.getDef(uri)\n    if (!def) {\n      throw new LexiconDefNotFoundError(`Lexicon not found: ${uri}`)\n    }\n    if (types && !types.includes(def.type)) {\n      throw new InvalidLexiconError(\n        `Not a ${types.join(' or ')} lexicon: ${uri}`,\n      )\n    }\n    return def\n  }\n\n  /**\n   * Validate a record and throw on any error.\n   */\n  assertValidRecord(lexUri: string, value: unknown) {\n    lexUri = toLexUri(lexUri)\n    const def = this.getDefOrThrow(lexUri, ['record'])\n    if (!isObj(value)) {\n      throw new ValidationError(`Record must be an object`)\n    }\n    if (!hasProp(value, '$type') || typeof value.$type !== 'string') {\n      throw new ValidationError(`Record/$type must be a string`)\n    }\n    const $type = (value as Record<string, string>).$type || ''\n    if (toLexUri($type) !== lexUri) {\n      throw new ValidationError(\n        `Invalid $type: must be ${lexUri}, got ${$type}`,\n      )\n    }\n    assertValidRecord(this, def as LexRecord, value)\n  }\n\n  /**\n   * Validate xrpc query params and throw on any error.\n   */\n  assertValidXrpcParams(lexUri: string, value: unknown) {\n    lexUri = toLexUri(lexUri)\n    const def = this.getDefOrThrow(lexUri, ['query', 'procedure'])\n    assertValidXrpcParams(this, def as LexXrpcProcedure | LexXrpcQuery, value)\n  }\n\n  /**\n   * Validate xrpc input body and throw on any error.\n   */\n  assertValidXrpcInput(lexUri: string, value: unknown) {\n    lexUri = toLexUri(lexUri)\n    const def = this.getDefOrThrow(lexUri, ['procedure'])\n    assertValidXrpcInput(this, def as LexXrpcProcedure, value)\n  }\n\n  /**\n   * Validate xrpc output body and throw on any error.\n   */\n  assertValidXrpcOutput(lexUri: string, value: unknown) {\n    lexUri = toLexUri(lexUri)\n    const def = this.getDefOrThrow(lexUri, ['query', 'procedure'])\n    assertValidXrpcOutput(this, def as LexXrpcProcedure | LexXrpcQuery, value)\n  }\n}\n\nfunction* iterDefs(doc: LexiconDoc): Generator<[string, LexUserType]> {\n  for (const defId in doc.defs) {\n    yield [`lex:${doc.id}#${defId}`, doc.defs[defId]]\n    if (defId === 'main') {\n      yield [`lex:${doc.id}`, doc.defs[defId]]\n    }\n  }\n}\n\n// WARNING\n// this method mutates objects\n// -prf\nfunction resolveRefUris(obj: any, baseUri: string): any {\n  for (const k in obj) {\n    if (obj.type === 'ref') {\n      obj.ref = toLexUri(obj.ref, baseUri)\n    } else if (obj.type === 'union') {\n      obj.refs = obj.refs.map((ref) => toLexUri(ref, baseUri))\n    } else if (Array.isArray(obj[k])) {\n      obj[k] = obj[k].map((item: any) => {\n        if (typeof item === 'string') {\n          return item.startsWith('#') ? toLexUri(item, baseUri) : item\n        } else if (item && typeof item === 'object') {\n          return resolveRefUris(item, baseUri)\n        }\n        return item\n      })\n    } else if (obj[k] && typeof obj[k] === 'object') {\n      obj[k] = resolveRefUris(obj[k], baseUri)\n    }\n  }\n  return obj\n}\n", "import { LexXrpcProcedure, LexXrpcQuery } from '@atproto/lexicon'\nimport {\n  CallOptions,\n  Headers,\n  QueryParams,\n  ResponseType,\n  XRPCError,\n} from './types'\n\nexport function getMethodSchemaHTTPMethod(\n  schema: LexXrpcProcedure | LexXrpcQuery,\n) {\n  if (schema.type === 'procedure') {\n    return 'post'\n  }\n  return 'get'\n}\n\nexport function constructMethodCallUri(\n  nsid: string,\n  schema: LexXrpcProcedure | LexXrpcQuery,\n  serviceUri: URL,\n  params?: QueryParams,\n): string {\n  const uri = new URL(serviceUri)\n  uri.pathname = `/xrpc/${nsid}`\n\n  // given parameters\n  if (params) {\n    for (const [key, value] of Object.entries(params)) {\n      const paramSchema = schema.parameters?.properties?.[key]\n      if (!paramSchema) {\n        throw new Error(`Invalid query parameter: ${key}`)\n      }\n      if (value !== undefined) {\n        uri.searchParams.set(key, encodeQueryParam(paramSchema.type, value))\n      }\n    }\n  }\n\n  return uri.toString()\n}\n\nexport function encodeQueryParam(\n  type: 'string' | 'number' | 'integer' | 'boolean' | 'datetime' | 'unknown',\n  value: any,\n): string {\n  if (type === 'string' || type === 'unknown') {\n    return String(value)\n  }\n  if (type === 'number') {\n    return String(Number(value))\n  } else if (type === 'integer') {\n    return String(Number(value) | 0)\n  } else if (type === 'boolean') {\n    return value ? 'true' : 'false'\n  } else if (type === 'datetime') {\n    if (value instanceof Date) {\n      return value.toISOString()\n    }\n    return String(value)\n  }\n  throw new Error(`Unsupported query param type: ${type}`)\n}\n\nexport function constructMethodCallHeaders(\n  schema: LexXrpcProcedure | LexXrpcQuery,\n  data?: any,\n  opts?: CallOptions,\n): Headers {\n  const headers: Headers = opts?.headers || {}\n  if (schema.type === 'procedure') {\n    if (opts?.encoding) {\n      headers['Content-Type'] = opts.encoding\n    }\n    if (data && typeof data === 'object') {\n      if (!headers['Content-Type']) {\n        headers['Content-Type'] = 'application/json'\n      }\n    }\n  }\n  return headers\n}\n\nexport function encodeMethodCallBody(\n  headers: Headers,\n  data?: any,\n): ArrayBuffer | undefined {\n  if (!headers['Content-Type'] || typeof data === 'undefined') {\n    return undefined\n  }\n  if (data instanceof ArrayBuffer) {\n    return data\n  }\n  if (headers['Content-Type'].startsWith('text/')) {\n    return new TextEncoder().encode(data.toString())\n  }\n  if (headers['Content-Type'].startsWith('application/json')) {\n    return new TextEncoder().encode(JSON.stringify(data))\n  }\n  return data\n}\n\nexport function httpResponseCodeToEnum(status: number): ResponseType {\n  let resCode: ResponseType\n  if (status in ResponseType) {\n    resCode = status\n  } else if (status >= 100 && status < 200) {\n    resCode = ResponseType.XRPCNotSupported\n  } else if (status >= 200 && status < 300) {\n    resCode = ResponseType.Success\n  } else if (status >= 300 && status < 400) {\n    resCode = ResponseType.XRPCNotSupported\n  } else if (status >= 400 && status < 500) {\n    resCode = ResponseType.InvalidRequest\n  } else {\n    resCode = ResponseType.InternalServerError\n  }\n  return resCode\n}\n\nexport function httpResponseBodyParse(\n  mimeType: string | null,\n  data: ArrayBuffer | undefined,\n): any {\n  if (mimeType) {\n    if (mimeType.includes('application/json') && data?.byteLength) {\n      try {\n        const str = new TextDecoder().decode(data)\n        return JSON.parse(str)\n      } catch (e) {\n        throw new XRPCError(\n          ResponseType.InvalidResponse,\n          `Failed to parse response body: ${String(e)}`,\n        )\n      }\n    }\n    if (mimeType.startsWith('text/') && data?.byteLength) {\n      try {\n        return new TextDecoder().decode(data)\n      } catch (e) {\n        throw new XRPCError(\n          ResponseType.InvalidResponse,\n          `Failed to parse response body: ${String(e)}`,\n        )\n      }\n    }\n  }\n  return data\n}\n", "import { Lexicons } from '@atproto/lexicon'\nimport {\n  getMethodSchemaHTTPMethod,\n  constructMethodCallUri,\n  constructMethodCallHeaders,\n  encodeMethodCallBody,\n  httpResponseCodeToEnum,\n  httpResponseBodyParse,\n} from './util'\nimport {\n  FetchHandler,\n  FetchHandlerResponse,\n  Headers,\n  CallOptions,\n  QueryParams,\n  ResponseType,\n  errorResponseBody,\n  ErrorResponseBody,\n  XRPCResponse,\n  XRPCError,\n} from './types'\n\nexport class Client {\n  fetch: FetchHandler = defaultFetchHandler\n  lex = new Lexicons()\n\n  // method calls\n  //\n\n  async call(\n    serviceUri: string | URL,\n    methodNsid: string,\n    params?: QueryParams,\n    data?: unknown,\n    opts?: CallOptions,\n  ) {\n    return this.service(serviceUri).call(methodNsid, params, data, opts)\n  }\n\n  service(serviceUri: string | URL) {\n    return new ServiceClient(this, serviceUri)\n  }\n\n  // schemas\n  // =\n\n  addLexicon(doc: unknown) {\n    this.lex.add(doc)\n  }\n\n  addLexicons(docs: unknown[]) {\n    for (const doc of docs) {\n      this.addLexicon(doc)\n    }\n  }\n\n  removeLexicon(uri: string) {\n    this.lex.remove(uri)\n  }\n}\n\nexport class ServiceClient {\n  baseClient: Client\n  uri: URL\n  headers: Record<string, string> = {}\n\n  constructor(baseClient: Client, serviceUri: string | URL) {\n    this.baseClient = baseClient\n    this.uri = typeof serviceUri === 'string' ? new URL(serviceUri) : serviceUri\n  }\n\n  setHeader(key: string, value: string): void {\n    this.headers[key] = value\n  }\n\n  unsetHeader(key: string): void {\n    delete this.headers[key]\n  }\n\n  async call(\n    methodNsid: string,\n    params?: QueryParams,\n    data?: unknown,\n    opts?: CallOptions,\n  ) {\n    const def = this.baseClient.lex.getDefOrThrow(methodNsid)\n    if (!def || (def.type !== 'query' && def.type !== 'procedure')) {\n      throw new Error(\n        `Invalid lexicon: ${methodNsid}. Must be a query or procedure.`,\n      )\n    }\n\n    const httpMethod = getMethodSchemaHTTPMethod(def)\n    const httpUri = constructMethodCallUri(methodNsid, def, this.uri, params)\n    const httpHeaders = constructMethodCallHeaders(def, data, {\n      headers: {\n        ...this.headers,\n        ...opts?.headers,\n      },\n      encoding: opts?.encoding,\n    })\n\n    const res = await this.baseClient.fetch(\n      httpUri,\n      httpMethod,\n      httpHeaders,\n      data,\n    )\n\n    const resCode = httpResponseCodeToEnum(res.status)\n    if (resCode === ResponseType.Success) {\n      return new XRPCResponse(res.body, res.headers)\n    } else {\n      if (res.body && isErrorResponseBody(res.body)) {\n        throw new XRPCError(resCode, res.body.error, res.body.message)\n      } else {\n        throw new XRPCError(resCode)\n      }\n    }\n  }\n}\n\nasync function defaultFetchHandler(\n  httpUri: string,\n  httpMethod: string,\n  httpHeaders: Headers,\n  httpReqBody: unknown,\n): Promise<FetchHandlerResponse> {\n  try {\n    const res = await fetch(httpUri, {\n      method: httpMethod,\n      headers: httpHeaders,\n      body: encodeMethodCallBody(httpHeaders, httpReqBody),\n    })\n    const resBody = await res.arrayBuffer()\n    return {\n      status: res.status,\n      headers: Object.fromEntries(res.headers.entries()),\n      body: httpResponseBodyParse(res.headers.get('content-type'), resBody),\n    }\n  } catch (e) {\n    throw new XRPCError(ResponseType.Unknown, String(e))\n  }\n}\n\nfunction isErrorResponseBody(v: unknown): v is ErrorResponseBody {\n  return errorResponseBody.safeParse(v).success\n}\n", "export * from './types'\nexport * from './client'\n\nimport { Client } from './client'\nconst defaultInst = new Client()\nexport default defaultInst\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { LexiconDoc } from '@atproto/lexicon'\n\nexport const lexicons: LexiconDoc[] = [\n  {\n    lexicon: 1,\n    id: 'com.atproto.account.create',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Create an account.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['handle', 'email', 'password'],\n            properties: {\n              email: {\n                type: 'string',\n              },\n              handle: {\n                type: 'string',\n              },\n              inviteCode: {\n                type: 'string',\n              },\n              password: {\n                type: 'string',\n              },\n              recoveryKey: {\n                type: 'string',\n              },\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n            properties: {\n              accessJwt: {\n                type: 'string',\n              },\n              refreshJwt: {\n                type: 'string',\n              },\n              handle: {\n                type: 'string',\n              },\n              did: {\n                type: 'string',\n              },\n            },\n          },\n        },\n        errors: [\n          {\n            name: 'InvalidHandle',\n          },\n          {\n            name: 'InvalidPassword',\n          },\n          {\n            name: 'InvalidInviteCode',\n          },\n          {\n            name: 'HandleNotAvailable',\n          },\n        ],\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.account.createInviteCode',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Create an invite code.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['useCount'],\n            properties: {\n              useCount: {\n                type: 'integer',\n              },\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['code'],\n            properties: {\n              code: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.account.delete',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Delete an account.',\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.account.get',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Get information about an account.',\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.account.requestPasswordReset',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Initiate a user account password reset via email.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['email'],\n            properties: {\n              email: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.account.resetPassword',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Reset a user account password using a token.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['token', 'password'],\n            properties: {\n              token: {\n                type: 'string',\n              },\n              password: {\n                type: 'string',\n              },\n            },\n          },\n        },\n        errors: [\n          {\n            name: 'ExpiredToken',\n          },\n          {\n            name: 'InvalidToken',\n          },\n        ],\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.handle.resolve',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Provides the DID of a repo.',\n        parameters: {\n          type: 'params',\n          properties: {\n            handle: {\n              type: 'string',\n              description:\n                \"The handle to resolve. If not supplied, will resolve the host's own handle.\",\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['did'],\n            properties: {\n              did: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.repo.batchWrite',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Apply a batch transaction of creates, puts, and deletes.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['did', 'writes'],\n            properties: {\n              did: {\n                type: 'string',\n                description: 'The DID of the repo.',\n              },\n              validate: {\n                type: 'boolean',\n                default: true,\n                description: 'Validate the records?',\n              },\n              writes: {\n                type: 'array',\n                items: {\n                  type: 'union',\n                  refs: [\n                    'lex:com.atproto.repo.batchWrite#create',\n                    'lex:com.atproto.repo.batchWrite#update',\n                    'lex:com.atproto.repo.batchWrite#delete',\n                  ],\n                  closed: true,\n                },\n              },\n            },\n          },\n        },\n      },\n      create: {\n        type: 'object',\n        required: ['action', 'collection', 'value'],\n        properties: {\n          action: {\n            type: 'string',\n            const: 'create',\n          },\n          collection: {\n            type: 'string',\n          },\n          rkey: {\n            type: 'string',\n          },\n          value: {\n            type: 'unknown',\n          },\n        },\n      },\n      update: {\n        type: 'object',\n        required: ['action', 'collection', 'rkey', 'value'],\n        properties: {\n          action: {\n            type: 'string',\n            const: 'update',\n          },\n          collection: {\n            type: 'string',\n          },\n          rkey: {\n            type: 'string',\n          },\n          value: {\n            type: 'unknown',\n          },\n        },\n      },\n      delete: {\n        type: 'object',\n        required: ['action', 'collection', 'rkey'],\n        properties: {\n          action: {\n            type: 'string',\n            const: 'delete',\n          },\n          collection: {\n            type: 'string',\n          },\n          rkey: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.repo.createRecord',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Create a new record.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['did', 'collection', 'record'],\n            properties: {\n              did: {\n                type: 'string',\n                description: 'The DID of the repo.',\n              },\n              collection: {\n                type: 'string',\n                description: 'The NSID of the record collection.',\n              },\n              validate: {\n                type: 'boolean',\n                default: true,\n                description: 'Validate the record?',\n              },\n              record: {\n                type: 'unknown',\n                description: 'The record to create.',\n              },\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['uri', 'cid'],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.repo.deleteRecord',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Delete a record.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['did', 'collection', 'rkey'],\n            properties: {\n              did: {\n                type: 'string',\n                description: 'The DID of the repo.',\n              },\n              collection: {\n                type: 'string',\n                description: 'The NSID of the record collection.',\n              },\n              rkey: {\n                type: 'string',\n                description: 'The key of the record.',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.repo.describe',\n    defs: {\n      main: {\n        type: 'query',\n        description:\n          'Get information about the repo, including the list of collections.',\n        parameters: {\n          type: 'params',\n          required: ['user'],\n          properties: {\n            user: {\n              type: 'string',\n              description: 'The handle or DID of the repo.',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: [\n              'handle',\n              'did',\n              'didDoc',\n              'collections',\n              'handleIsCorrect',\n            ],\n            properties: {\n              handle: {\n                type: 'string',\n              },\n              did: {\n                type: 'string',\n              },\n              didDoc: {\n                type: 'unknown',\n              },\n              collections: {\n                type: 'array',\n                items: {\n                  type: 'string',\n                },\n              },\n              handleIsCorrect: {\n                type: 'boolean',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.repo.getRecord',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Fetch a record.',\n        parameters: {\n          type: 'params',\n          required: ['user', 'collection', 'rkey'],\n          properties: {\n            user: {\n              type: 'string',\n              description: 'The handle or DID of the repo.',\n            },\n            collection: {\n              type: 'string',\n              description: 'The NSID of the collection.',\n            },\n            rkey: {\n              type: 'string',\n              description: 'The key of the record.',\n            },\n            cid: {\n              type: 'string',\n              description:\n                'The CID of the version of the record. If not specified, then return the most recent version.',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['uri', 'value'],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n              value: {\n                type: 'unknown',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.repo.listRecords',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'List a range of records in a collection.',\n        parameters: {\n          type: 'params',\n          required: ['user', 'collection'],\n          properties: {\n            user: {\n              type: 'string',\n              description: 'The handle or DID of the repo.',\n            },\n            collection: {\n              type: 'string',\n              description: 'The NSID of the record type.',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n              description: 'The number of records to return.',\n            },\n            before: {\n              type: 'string',\n              description: 'A TID to filter the range of records returned.',\n            },\n            after: {\n              type: 'string',\n              description: 'A TID to filter the range of records returned.',\n            },\n            reverse: {\n              type: 'boolean',\n              description: 'Reverse the order of the returned records?',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['records'],\n            properties: {\n              cursor: {\n                type: 'string',\n              },\n              records: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:com.atproto.repo.listRecords#record',\n                },\n              },\n            },\n          },\n        },\n      },\n      record: {\n        type: 'object',\n        required: ['uri', 'cid', 'value'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          value: {\n            type: 'unknown',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.repo.putRecord',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Write a record.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['did', 'collection', 'rkey', 'record'],\n            properties: {\n              did: {\n                type: 'string',\n                description: 'The DID of the repo.',\n              },\n              collection: {\n                type: 'string',\n                description: 'The NSID of the record type.',\n              },\n              rkey: {\n                type: 'string',\n                description: 'The TID of the record.',\n              },\n              validate: {\n                type: 'boolean',\n                default: true,\n                description: 'Validate the record?',\n              },\n              record: {\n                type: 'unknown',\n                description: 'The record to create.',\n              },\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['uri', 'cid'],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.repo.strongRef',\n    description: 'A URI with a content-hash fingerprint.',\n    defs: {\n      main: {\n        type: 'object',\n        required: ['uri', 'cid'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.server.getAccountsConfig',\n    defs: {\n      main: {\n        type: 'query',\n        description:\n          \"Get a document describing the service's accounts configuration.\",\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['availableUserDomains'],\n            properties: {\n              inviteCodeRequired: {\n                type: 'boolean',\n              },\n              availableUserDomains: {\n                type: 'array',\n                items: {\n                  type: 'string',\n                },\n              },\n              links: {\n                type: 'ref',\n                ref: 'lex:com.atproto.server.getAccountsConfig#links',\n              },\n            },\n          },\n        },\n      },\n      links: {\n        type: 'object',\n        properties: {\n          privacyPolicy: {\n            type: 'string',\n          },\n          termsOfService: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.session.create',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Create an authentication session.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['handle', 'password'],\n            properties: {\n              handle: {\n                type: 'string',\n              },\n              password: {\n                type: 'string',\n              },\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n            properties: {\n              accessJwt: {\n                type: 'string',\n              },\n              refreshJwt: {\n                type: 'string',\n              },\n              handle: {\n                type: 'string',\n              },\n              did: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.session.delete',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Delete the current session.',\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.session.get',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Get information about the current session.',\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['handle', 'did'],\n            properties: {\n              handle: {\n                type: 'string',\n              },\n              did: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.session.refresh',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Refresh an authentication session.',\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n            properties: {\n              accessJwt: {\n                type: 'string',\n              },\n              refreshJwt: {\n                type: 'string',\n              },\n              handle: {\n                type: 'string',\n              },\n              did: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.sync.getRepo',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Gets the repo state.',\n        parameters: {\n          type: 'params',\n          required: ['did'],\n          properties: {\n            did: {\n              type: 'string',\n              description: 'The DID of the repo.',\n            },\n            from: {\n              type: 'string',\n              description: 'A past commit CID.',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/cbor',\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.sync.getRoot',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Gets the current root CID of a repo.',\n        parameters: {\n          type: 'params',\n          required: ['did'],\n          properties: {\n            did: {\n              type: 'string',\n              description: 'The DID of the repo.',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['root'],\n            properties: {\n              root: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'com.atproto.sync.updateRepo',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Writes commits to a repo.',\n        parameters: {\n          type: 'params',\n          required: ['did'],\n          properties: {\n            did: {\n              type: 'string',\n              description: 'The DID of the repo.',\n            },\n          },\n        },\n        input: {\n          encoding: 'application/cbor',\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.actor.createScene',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Create a scene.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['handle'],\n            properties: {\n              handle: {\n                type: 'string',\n              },\n              recoveryKey: {\n                type: 'string',\n              },\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['handle', 'did', 'declaration'],\n            properties: {\n              handle: {\n                type: 'string',\n              },\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                type: 'ref',\n                ref: 'lex:app.bsky.system.declRef',\n              },\n            },\n          },\n        },\n        errors: [\n          {\n            name: 'InvalidHandle',\n          },\n          {\n            name: 'HandleNotAvailable',\n          },\n        ],\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.actor.getProfile',\n    defs: {\n      main: {\n        type: 'query',\n        parameters: {\n          type: 'params',\n          required: ['actor'],\n          properties: {\n            actor: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: [\n              'did',\n              'declaration',\n              'handle',\n              'creator',\n              'followersCount',\n              'followsCount',\n              'membersCount',\n              'postsCount',\n            ],\n            properties: {\n              did: {\n                type: 'string',\n              },\n              declaration: {\n                type: 'ref',\n                ref: 'lex:app.bsky.system.declRef',\n              },\n              handle: {\n                type: 'string',\n              },\n              creator: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n              description: {\n                type: 'string',\n                maxLength: 256,\n              },\n              followersCount: {\n                type: 'integer',\n              },\n              followsCount: {\n                type: 'integer',\n              },\n              membersCount: {\n                type: 'integer',\n              },\n              postsCount: {\n                type: 'integer',\n              },\n              myState: {\n                type: 'ref',\n                ref: 'lex:app.bsky.actor.getProfile#myState',\n              },\n            },\n          },\n        },\n      },\n      myState: {\n        type: 'object',\n        properties: {\n          follow: {\n            type: 'string',\n          },\n          member: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.actor.getSuggestions',\n    defs: {\n      main: {\n        type: 'query',\n        description:\n          'Get a list of actors suggested for following. Used in discovery UIs.',\n        parameters: {\n          type: 'params',\n          properties: {\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            cursor: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['actors'],\n            properties: {\n              cursor: {\n                type: 'string',\n              },\n              actors: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.actor.getSuggestions#actor',\n                },\n              },\n            },\n          },\n        },\n      },\n      actor: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          description: {\n            type: 'string',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n          myState: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.getSuggestions#myState',\n          },\n        },\n      },\n      myState: {\n        type: 'object',\n        properties: {\n          follow: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.actor.profile',\n    defs: {\n      main: {\n        type: 'record',\n        key: 'literal:self',\n        record: {\n          type: 'object',\n          required: ['displayName'],\n          properties: {\n            displayName: {\n              type: 'string',\n              maxLength: 64,\n            },\n            description: {\n              type: 'string',\n              maxLength: 256,\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.actor.ref',\n    description: 'A reference to an actor in the network.',\n    defs: {\n      main: {\n        type: 'object',\n        required: ['did', 'declarationCid'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declarationCid: {\n            type: 'string',\n          },\n        },\n      },\n      withInfo: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.actor.search',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Find users matching search criteria.',\n        parameters: {\n          type: 'params',\n          required: ['term'],\n          properties: {\n            term: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['users'],\n            properties: {\n              cursor: {\n                type: 'string',\n              },\n              users: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.actor.search#user',\n                },\n              },\n            },\n          },\n        },\n      },\n      user: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          description: {\n            type: 'string',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.actor.searchTypeahead',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Find user suggestions for a search term.',\n        parameters: {\n          type: 'params',\n          required: ['term'],\n          properties: {\n            term: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['users'],\n            properties: {\n              users: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.actor.searchTypeahead#user',\n                },\n              },\n            },\n          },\n        },\n      },\n      user: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.actor.updateProfile',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Notify server that the user has seen notifications.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            properties: {\n              did: {\n                type: 'string',\n              },\n              displayName: {\n                type: 'string',\n                maxLength: 64,\n              },\n              description: {\n                type: 'string',\n                maxLength: 256,\n              },\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['uri', 'cid', 'record'],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n              record: {\n                type: 'unknown',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.embed',\n    description:\n      'Content embedded in other content, such as an image or link embedded in a post.',\n    defs: {\n      main: {\n        type: 'object',\n        description: 'A list embeds in a post or document.',\n        required: ['media'],\n        properties: {\n          items: {\n            type: 'array',\n            items: {\n              type: 'union',\n              refs: [\n                'lex:app.bsky.feed.embed#media',\n                'lex:app.bsky.feed.embed#record',\n                'lex:app.bsky.feed.embed#external',\n              ],\n            },\n          },\n        },\n      },\n      media: {\n        type: 'object',\n        required: ['original'],\n        properties: {\n          alt: {\n            type: 'string',\n          },\n          thumb: {\n            type: 'image',\n          },\n          original: {\n            type: 'blob',\n          },\n        },\n      },\n      record: {\n        type: 'object',\n        required: ['type', 'author', 'record'],\n        properties: {\n          type: {\n            type: 'string',\n            const: 'record',\n          },\n          author: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          record: {\n            type: 'unknown',\n          },\n        },\n      },\n      external: {\n        type: 'object',\n        required: ['type', 'uri', 'title', 'description', 'imageUri'],\n        properties: {\n          type: {\n            type: 'string',\n            const: 'external',\n          },\n          uri: {\n            type: 'string',\n          },\n          title: {\n            type: 'string',\n          },\n          description: {\n            type: 'string',\n          },\n          imageUri: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.getAuthorFeed',\n    defs: {\n      main: {\n        type: 'query',\n        description: \"A view of a user's feed.\",\n        parameters: {\n          type: 'params',\n          required: ['author'],\n          properties: {\n            author: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['feed'],\n            properties: {\n              cursor: {\n                type: 'string',\n              },\n              feed: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.feed.getAuthorFeed#feedItem',\n                },\n              },\n            },\n          },\n        },\n      },\n      feedItem: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'author',\n          'record',\n          'replyCount',\n          'repostCount',\n          'upvoteCount',\n          'downvoteCount',\n          'indexedAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          author: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          trendedBy: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          repostedBy: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          record: {\n            type: 'unknown',\n          },\n          embed: {\n            type: 'ref',\n            ref: 'lex:app.bsky.feed.embed',\n          },\n          replyCount: {\n            type: 'integer',\n          },\n          repostCount: {\n            type: 'integer',\n          },\n          upvoteCount: {\n            type: 'integer',\n          },\n          downvoteCount: {\n            type: 'integer',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n          myState: {\n            type: 'ref',\n            ref: 'lex:app.bsky.feed.getAuthorFeed#myState',\n          },\n        },\n      },\n      myState: {\n        type: 'object',\n        properties: {\n          repost: {\n            type: 'string',\n          },\n          upvote: {\n            type: 'string',\n          },\n          downvote: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.getPostThread',\n    defs: {\n      main: {\n        type: 'query',\n        parameters: {\n          type: 'params',\n          required: ['uri'],\n          properties: {\n            uri: {\n              type: 'string',\n            },\n            depth: {\n              type: 'integer',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['thread'],\n            properties: {\n              thread: {\n                type: 'union',\n                refs: [\n                  'lex:app.bsky.feed.getPostThread#post',\n                  'lex:app.bsky.feed.getPostThread#notFoundPost',\n                ],\n              },\n            },\n          },\n        },\n        errors: [\n          {\n            name: 'NotFound',\n          },\n        ],\n      },\n      post: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'author',\n          'record',\n          'replyCount',\n          'repostCount',\n          'upvoteCount',\n          'downvoteCount',\n          'indexedAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          author: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          record: {\n            type: 'unknown',\n          },\n          embed: {\n            type: 'ref',\n            ref: 'lex:app.bsky.feed.embed',\n          },\n          parent: {\n            type: 'union',\n            refs: [\n              'lex:app.bsky.feed.getPostThread#post',\n              'lex:app.bsky.feed.getPostThread#notFoundPost',\n            ],\n          },\n          replyCount: {\n            type: 'integer',\n          },\n          replies: {\n            type: 'array',\n            items: {\n              type: 'union',\n              refs: [\n                'lex:app.bsky.feed.getPostThread#post',\n                'lex:app.bsky.feed.getPostThread#notFoundPost',\n              ],\n            },\n          },\n          repostCount: {\n            type: 'integer',\n          },\n          upvoteCount: {\n            type: 'integer',\n          },\n          downvoteCount: {\n            type: 'integer',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n          myState: {\n            type: 'ref',\n            ref: 'lex:app.bsky.feed.getPostThread#myState',\n          },\n        },\n      },\n      notFoundPost: {\n        type: 'object',\n        required: ['uri', 'notFound'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          notFound: {\n            type: 'boolean',\n            const: true,\n          },\n        },\n      },\n      myState: {\n        type: 'object',\n        properties: {\n          repost: {\n            type: 'string',\n          },\n          upvote: {\n            type: 'string',\n          },\n          downvote: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.getRepostedBy',\n    defs: {\n      main: {\n        type: 'query',\n        parameters: {\n          type: 'params',\n          required: ['uri'],\n          properties: {\n            uri: {\n              type: 'string',\n            },\n            cid: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['uri', 'repostedBy'],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n              cursor: {\n                type: 'string',\n              },\n              repostedBy: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.feed.getRepostedBy#repostedBy',\n                },\n              },\n            },\n          },\n        },\n      },\n      repostedBy: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle', 'indexedAt'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          createdAt: {\n            type: 'datetime',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.getTimeline',\n    defs: {\n      main: {\n        type: 'query',\n        description: \"A view of the user's home timeline.\",\n        parameters: {\n          type: 'params',\n          properties: {\n            algorithm: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['feed'],\n            properties: {\n              cursor: {\n                type: 'string',\n              },\n              feed: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.feed.getTimeline#feedItem',\n                },\n              },\n            },\n          },\n        },\n      },\n      feedItem: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'author',\n          'record',\n          'replyCount',\n          'repostCount',\n          'upvoteCount',\n          'downvoteCount',\n          'indexedAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          author: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          trendedBy: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          repostedBy: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          record: {\n            type: 'unknown',\n          },\n          embed: {\n            type: 'ref',\n            ref: 'lex:app.bsky.feed.embed',\n          },\n          replyCount: {\n            type: 'integer',\n          },\n          repostCount: {\n            type: 'integer',\n          },\n          upvoteCount: {\n            type: 'integer',\n          },\n          downvoteCount: {\n            type: 'integer',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n          myState: {\n            type: 'ref',\n            ref: 'lex:app.bsky.feed.getTimeline#myState',\n          },\n        },\n      },\n      myState: {\n        type: 'object',\n        properties: {\n          repost: {\n            type: 'string',\n          },\n          upvote: {\n            type: 'string',\n          },\n          downvote: {\n            type: 'string',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.getVotes',\n    defs: {\n      main: {\n        type: 'query',\n        parameters: {\n          type: 'params',\n          required: ['uri'],\n          properties: {\n            uri: {\n              type: 'string',\n            },\n            cid: {\n              type: 'string',\n            },\n            direction: {\n              type: 'string',\n              enum: ['up', 'down'],\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['uri', 'votes'],\n            properties: {\n              uri: {\n                type: 'string',\n              },\n              cid: {\n                type: 'string',\n              },\n              cursor: {\n                type: 'string',\n              },\n              votes: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.feed.getVotes#vote',\n                },\n              },\n            },\n          },\n        },\n      },\n      vote: {\n        type: 'object',\n        required: ['direction', 'indexedAt', 'createdAt', 'actor'],\n        properties: {\n          direction: {\n            type: 'string',\n            enum: ['up', 'down'],\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n          createdAt: {\n            type: 'datetime',\n          },\n          actor: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.post',\n    defs: {\n      main: {\n        type: 'record',\n        key: 'tid',\n        record: {\n          type: 'object',\n          required: ['text', 'createdAt'],\n          properties: {\n            text: {\n              type: 'string',\n              maxLength: 256,\n            },\n            entities: {\n              type: 'array',\n              items: {\n                type: 'ref',\n                ref: 'lex:app.bsky.feed.post#entity',\n              },\n            },\n            reply: {\n              type: 'ref',\n              ref: 'lex:app.bsky.feed.post#replyRef',\n            },\n            createdAt: {\n              type: 'datetime',\n            },\n          },\n        },\n      },\n      replyRef: {\n        type: 'object',\n        required: ['root', 'parent'],\n        properties: {\n          root: {\n            type: 'ref',\n            ref: 'lex:com.atproto.repo.strongRef',\n          },\n          parent: {\n            type: 'ref',\n            ref: 'lex:com.atproto.repo.strongRef',\n          },\n        },\n      },\n      entity: {\n        type: 'object',\n        required: ['index', 'type', 'value'],\n        properties: {\n          index: {\n            type: 'ref',\n            ref: 'lex:app.bsky.feed.post#textSlice',\n          },\n          type: {\n            type: 'string',\n            description:\n              \"Expected values are 'mention', 'hashtag', and 'link'.\",\n          },\n          value: {\n            type: 'string',\n          },\n        },\n      },\n      textSlice: {\n        type: 'object',\n        required: ['start', 'end'],\n        properties: {\n          start: {\n            type: 'integer',\n            minimum: 0,\n          },\n          end: {\n            type: 'integer',\n            minimum: 0,\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.repost',\n    defs: {\n      main: {\n        type: 'record',\n        key: 'tid',\n        record: {\n          type: 'object',\n          required: ['subject', 'createdAt'],\n          properties: {\n            subject: {\n              type: 'ref',\n              ref: 'lex:com.atproto.repo.strongRef',\n            },\n            createdAt: {\n              type: 'datetime',\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.setVote',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: \"Upvote, downvote, or clear the user's vote for a post.\",\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['subject', 'direction'],\n            properties: {\n              subject: {\n                type: 'ref',\n                ref: 'lex:com.atproto.repo.strongRef',\n              },\n              direction: {\n                type: 'string',\n                enum: ['up', 'down', 'none'],\n              },\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            properties: {\n              upvote: {\n                type: 'string',\n              },\n              downvote: {\n                type: 'string',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.trend',\n    defs: {\n      main: {\n        type: 'record',\n        key: 'tid',\n        record: {\n          type: 'object',\n          required: ['subject', 'createdAt'],\n          properties: {\n            subject: {\n              type: 'ref',\n              ref: 'lex:com.atproto.repo.strongRef',\n            },\n            createdAt: {\n              type: 'datetime',\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.feed.vote',\n    defs: {\n      main: {\n        type: 'record',\n        key: 'tid',\n        record: {\n          type: 'object',\n          required: ['subject', 'direction', 'createdAt'],\n          properties: {\n            subject: {\n              type: 'ref',\n              ref: 'lex:com.atproto.repo.strongRef',\n            },\n            direction: {\n              type: 'string',\n              enum: ['up', 'down'],\n            },\n            createdAt: {\n              type: 'datetime',\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.assertCreator',\n    defs: {\n      main: {\n        type: 'token',\n        description:\n          \"Assertion type: Creator. Defined for app.bsky.graph.assertions's assertion.\",\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.assertMember',\n    defs: {\n      main: {\n        type: 'token',\n        description:\n          \"Assertion type: Member. Defined for app.bsky.graph.assertions's assertion.\",\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.assertion',\n    defs: {\n      main: {\n        type: 'record',\n        key: 'tid',\n        record: {\n          type: 'object',\n          required: ['assertion', 'subject', 'createdAt'],\n          properties: {\n            assertion: {\n              type: 'string',\n            },\n            subject: {\n              type: 'ref',\n              ref: 'lex:app.bsky.actor.ref',\n            },\n            createdAt: {\n              type: 'datetime',\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.confirmation',\n    defs: {\n      main: {\n        type: 'record',\n        key: 'tid',\n        record: {\n          type: 'object',\n          required: ['originator', 'assertion', 'createdAt'],\n          properties: {\n            originator: {\n              type: 'ref',\n              ref: 'lex:app.bsky.actor.ref',\n            },\n            assertion: {\n              type: 'ref',\n              ref: 'lex:com.atproto.repo.strongRef',\n            },\n            createdAt: {\n              type: 'datetime',\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.follow',\n    defs: {\n      main: {\n        type: 'record',\n        description: 'A social follow.',\n        key: 'tid',\n        record: {\n          type: 'object',\n          required: ['subject', 'createdAt'],\n          properties: {\n            subject: {\n              type: 'ref',\n              ref: 'lex:app.bsky.actor.ref',\n            },\n            createdAt: {\n              type: 'datetime',\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.getAssertions',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'General-purpose query for assertions.',\n        parameters: {\n          type: 'params',\n          properties: {\n            author: {\n              type: 'string',\n            },\n            subject: {\n              type: 'string',\n            },\n            assertion: {\n              type: 'string',\n            },\n            confirmed: {\n              type: 'boolean',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['assertions'],\n            properties: {\n              cursor: {\n                type: 'string',\n              },\n              assertions: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.graph.getAssertions#assertion',\n                },\n              },\n            },\n          },\n        },\n      },\n      assertion: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'assertion',\n          'author',\n          'subject',\n          'indexedAt',\n          'createdAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          assertion: {\n            type: 'string',\n          },\n          confirmation: {\n            type: 'ref',\n            ref: 'lex:app.bsky.graph.getAssertions#confirmation',\n          },\n          author: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          subject: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n          createdAt: {\n            type: 'datetime',\n          },\n        },\n      },\n      confirmation: {\n        type: 'object',\n        required: ['uri', 'cid', 'indexedAt', 'createdAt'],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n          createdAt: {\n            type: 'datetime',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.getFollowers',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Who is following a user?',\n        parameters: {\n          type: 'params',\n          required: ['user'],\n          properties: {\n            user: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['subject', 'followers'],\n            properties: {\n              subject: {\n                type: 'ref',\n                ref: 'lex:app.bsky.graph.getFollowers#subject',\n              },\n              cursor: {\n                type: 'string',\n              },\n              followers: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.graph.getFollowers#follower',\n                },\n              },\n            },\n          },\n        },\n      },\n      subject: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n        },\n      },\n      follower: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle', 'indexedAt'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          createdAt: {\n            type: 'datetime',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.getFollows',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Who is a user following?',\n        parameters: {\n          type: 'params',\n          required: ['user'],\n          properties: {\n            user: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['subject', 'follows'],\n            properties: {\n              subject: {\n                type: 'ref',\n                ref: 'lex:app.bsky.actor.ref#withInfo',\n              },\n              cursor: {\n                type: 'string',\n              },\n              follows: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.graph.getFollows#follow',\n                },\n              },\n            },\n          },\n        },\n      },\n      follow: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle', 'indexedAt'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          createdAt: {\n            type: 'datetime',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.getMembers',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Who is a member of the group?',\n        parameters: {\n          type: 'params',\n          required: ['actor'],\n          properties: {\n            actor: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['subject', 'members'],\n            properties: {\n              subject: {\n                type: 'ref',\n                ref: 'lex:app.bsky.actor.ref#withInfo',\n              },\n              cursor: {\n                type: 'string',\n              },\n              members: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.graph.getMembers#member',\n                },\n              },\n            },\n          },\n        },\n      },\n      member: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle', 'indexedAt'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          createdAt: {\n            type: 'datetime',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.graph.getMemberships',\n    defs: {\n      main: {\n        type: 'query',\n        description: 'Which groups is the actor a member of?',\n        parameters: {\n          type: 'params',\n          required: ['actor'],\n          properties: {\n            actor: {\n              type: 'string',\n            },\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['subject', 'memberships'],\n            properties: {\n              subject: {\n                type: 'ref',\n                ref: 'lex:app.bsky.actor.ref#withInfo',\n              },\n              cursor: {\n                type: 'string',\n              },\n              memberships: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.graph.getMemberships#membership',\n                },\n              },\n            },\n          },\n        },\n      },\n      membership: {\n        type: 'object',\n        required: ['did', 'declaration', 'handle', 'indexedAt'],\n        properties: {\n          did: {\n            type: 'string',\n          },\n          declaration: {\n            type: 'ref',\n            ref: 'lex:app.bsky.system.declRef',\n          },\n          handle: {\n            type: 'string',\n          },\n          displayName: {\n            type: 'string',\n            maxLength: 64,\n          },\n          createdAt: {\n            type: 'datetime',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.notification.getCount',\n    defs: {\n      main: {\n        type: 'query',\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['count'],\n            properties: {\n              count: {\n                type: 'integer',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.notification.list',\n    defs: {\n      main: {\n        type: 'query',\n        parameters: {\n          type: 'params',\n          properties: {\n            limit: {\n              type: 'integer',\n              minimum: 1,\n              maximum: 100,\n              default: 50,\n            },\n            before: {\n              type: 'string',\n            },\n          },\n        },\n        output: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['notifications'],\n            properties: {\n              cursor: {\n                type: 'string',\n              },\n              notifications: {\n                type: 'array',\n                items: {\n                  type: 'ref',\n                  ref: 'lex:app.bsky.notification.list#notification',\n                },\n              },\n            },\n          },\n        },\n      },\n      notification: {\n        type: 'object',\n        required: [\n          'uri',\n          'cid',\n          'author',\n          'reason',\n          'record',\n          'isRead',\n          'indexedAt',\n        ],\n        properties: {\n          uri: {\n            type: 'string',\n          },\n          cid: {\n            type: 'string',\n          },\n          author: {\n            type: 'ref',\n            ref: 'lex:app.bsky.actor.ref#withInfo',\n          },\n          reason: {\n            type: 'string',\n            description:\n              \"Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.\",\n            knownValues: [\n              'vote',\n              'repost',\n              'trend',\n              'follow',\n              'invite',\n              'mention',\n              'reply',\n            ],\n          },\n          reasonSubject: {\n            type: 'string',\n          },\n          record: {\n            type: 'unknown',\n          },\n          isRead: {\n            type: 'boolean',\n          },\n          indexedAt: {\n            type: 'datetime',\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.notification.updateSeen',\n    defs: {\n      main: {\n        type: 'procedure',\n        description: 'Notify server that the user has seen notifications.',\n        input: {\n          encoding: 'application/json',\n          schema: {\n            type: 'object',\n            required: ['seenAt'],\n            properties: {\n              seenAt: {\n                type: 'datetime',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.system.actorScene',\n    defs: {\n      main: {\n        type: 'token',\n        description:\n          \"Actor type: Scene. Defined for app.bsky.system.declaration's actorType.\",\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.system.actorUser',\n    defs: {\n      main: {\n        type: 'token',\n        description:\n          \"Actor type: User. Defined for app.bsky.system.declaration's actorType.\",\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.system.declRef',\n    defs: {\n      main: {\n        description: 'A reference to a app.bsky.system.declaration record.',\n        type: 'object',\n        required: ['cid', 'actorType'],\n        properties: {\n          cid: {\n            type: 'string',\n          },\n          actorType: {\n            type: 'string',\n            knownValues: [\n              'app.bsky.system.actorUser',\n              'app.bsky.system.actorScene',\n            ],\n          },\n        },\n      },\n    },\n  },\n  {\n    lexicon: 1,\n    id: 'app.bsky.system.declaration',\n    defs: {\n      main: {\n        description:\n          'Context for an account that is considered intrinsic to it and alters the fundamental understanding of an account of changed. A declaration should be treated as immutable.',\n        type: 'record',\n        key: 'literal:self',\n        record: {\n          type: 'object',\n          required: ['actorType'],\n          properties: {\n            actorType: {\n              type: 'string',\n              knownValues: [\n                'app.bsky.system.actorUser',\n                'app.bsky.system.actorScene',\n              ],\n            },\n          },\n        },\n      },\n    },\n  },\n]\nexport const ids = {\n  ComAtprotoAccountCreate: 'com.atproto.account.create',\n  ComAtprotoAccountCreateInviteCode: 'com.atproto.account.createInviteCode',\n  ComAtprotoAccountDelete: 'com.atproto.account.delete',\n  ComAtprotoAccountGet: 'com.atproto.account.get',\n  ComAtprotoAccountRequestPasswordReset:\n    'com.atproto.account.requestPasswordReset',\n  ComAtprotoAccountResetPassword: 'com.atproto.account.resetPassword',\n  ComAtprotoHandleResolve: 'com.atproto.handle.resolve',\n  ComAtprotoRepoBatchWrite: 'com.atproto.repo.batchWrite',\n  ComAtprotoRepoCreateRecord: 'com.atproto.repo.createRecord',\n  ComAtprotoRepoDeleteRecord: 'com.atproto.repo.deleteRecord',\n  ComAtprotoRepoDescribe: 'com.atproto.repo.describe',\n  ComAtprotoRepoGetRecord: 'com.atproto.repo.getRecord',\n  ComAtprotoRepoListRecords: 'com.atproto.repo.listRecords',\n  ComAtprotoRepoPutRecord: 'com.atproto.repo.putRecord',\n  ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',\n  ComAtprotoServerGetAccountsConfig: 'com.atproto.server.getAccountsConfig',\n  ComAtprotoSessionCreate: 'com.atproto.session.create',\n  ComAtprotoSessionDelete: 'com.atproto.session.delete',\n  ComAtprotoSessionGet: 'com.atproto.session.get',\n  ComAtprotoSessionRefresh: 'com.atproto.session.refresh',\n  ComAtprotoSyncGetRepo: 'com.atproto.sync.getRepo',\n  ComAtprotoSyncGetRoot: 'com.atproto.sync.getRoot',\n  ComAtprotoSyncUpdateRepo: 'com.atproto.sync.updateRepo',\n  AppBskyActorCreateScene: 'app.bsky.actor.createScene',\n  AppBskyActorGetProfile: 'app.bsky.actor.getProfile',\n  AppBskyActorGetSuggestions: 'app.bsky.actor.getSuggestions',\n  AppBskyActorProfile: 'app.bsky.actor.profile',\n  AppBskyActorRef: 'app.bsky.actor.ref',\n  AppBskyActorSearch: 'app.bsky.actor.search',\n  AppBskyActorSearchTypeahead: 'app.bsky.actor.searchTypeahead',\n  AppBskyActorUpdateProfile: 'app.bsky.actor.updateProfile',\n  AppBskyFeedEmbed: 'app.bsky.feed.embed',\n  AppBskyFeedGetAuthorFeed: 'app.bsky.feed.getAuthorFeed',\n  AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',\n  AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',\n  AppBskyFeedGetTimeline: 'app.bsky.feed.getTimeline',\n  AppBskyFeedGetVotes: 'app.bsky.feed.getVotes',\n  AppBskyFeedPost: 'app.bsky.feed.post',\n  AppBskyFeedRepost: 'app.bsky.feed.repost',\n  AppBskyFeedSetVote: 'app.bsky.feed.setVote',\n  AppBskyFeedTrend: 'app.bsky.feed.trend',\n  AppBskyFeedVote: 'app.bsky.feed.vote',\n  AppBskyGraphAssertCreator: 'app.bsky.graph.assertCreator',\n  AppBskyGraphAssertMember: 'app.bsky.graph.assertMember',\n  AppBskyGraphAssertion: 'app.bsky.graph.assertion',\n  AppBskyGraphConfirmation: 'app.bsky.graph.confirmation',\n  AppBskyGraphFollow: 'app.bsky.graph.follow',\n  AppBskyGraphGetAssertions: 'app.bsky.graph.getAssertions',\n  AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers',\n  AppBskyGraphGetFollows: 'app.bsky.graph.getFollows',\n  AppBskyGraphGetMembers: 'app.bsky.graph.getMembers',\n  AppBskyGraphGetMemberships: 'app.bsky.graph.getMemberships',\n  AppBskyNotificationGetCount: 'app.bsky.notification.getCount',\n  AppBskyNotificationList: 'app.bsky.notification.list',\n  AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen',\n  AppBskySystemActorScene: 'app.bsky.system.actorScene',\n  AppBskySystemActorUser: 'app.bsky.system.actorUser',\n  AppBskySystemDeclRef: 'app.bsky.system.declRef',\n  AppBskySystemDeclaration: 'app.bsky.system.declaration',\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  email: string\n  handle: string\n  inviteCode?: string\n  password: string\n  recoveryKey?: string\n  [k: string]: unknown\n}\n\nexport interface OutputSchema {\n  accessJwt: string\n  refreshJwt: string\n  handle: string\n  did: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport class InvalidHandleError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class InvalidPasswordError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class InvalidInviteCodeError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class HandleNotAvailableError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n    if (e.error === 'InvalidHandle') return new InvalidHandleError(e)\n    if (e.error === 'InvalidPassword') return new InvalidPasswordError(e)\n    if (e.error === 'InvalidInviteCode') return new InvalidInviteCodeError(e)\n    if (e.error === 'HandleNotAvailable') return new HandleNotAvailableError(e)\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  useCount: number\n  [k: string]: unknown\n}\n\nexport interface OutputSchema {\n  code: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport type InputSchema = undefined\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport type InputSchema = undefined\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  email: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  token: string\n  password: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport class ExpiredTokenError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class InvalidTokenError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n    if (e.error === 'ExpiredToken') return new ExpiredTokenError(e)\n    if (e.error === 'InvalidToken') return new InvalidTokenError(e)\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /** The handle to resolve. If not supplied, will resolve the host's own handle. */\n  handle?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  did: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  /** The DID of the repo. */\n  did: string\n  /** Validate the records? */\n  validate?: boolean\n  writes: (Create | Update | Delete)[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Create {\n  action: 'create'\n  collection: string\n  rkey?: string\n  value: {}\n  [k: string]: unknown\n}\n\nexport interface Update {\n  action: 'update'\n  collection: string\n  rkey: string\n  value: {}\n  [k: string]: unknown\n}\n\nexport interface Delete {\n  action: 'delete'\n  collection: string\n  rkey: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  /** The DID of the repo. */\n  did: string\n  /** The NSID of the record collection. */\n  collection: string\n  /** Validate the record? */\n  validate?: boolean\n  /** The record to create. */\n  record: {}\n  [k: string]: unknown\n}\n\nexport interface OutputSchema {\n  uri: string\n  cid: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  /** The DID of the repo. */\n  did: string\n  /** The NSID of the record collection. */\n  collection: string\n  /** The key of the record. */\n  rkey: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /** The handle or DID of the repo. */\n  user: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  handle: string\n  did: string\n  didDoc: {}\n  collections: string[]\n  handleIsCorrect: boolean\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /** The handle or DID of the repo. */\n  user: string\n  /** The NSID of the collection. */\n  collection: string\n  /** The key of the record. */\n  rkey: string\n  /** The CID of the version of the record. If not specified, then return the most recent version. */\n  cid?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  uri: string\n  cid?: string\n  value: {}\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /** The handle or DID of the repo. */\n  user: string\n  /** The NSID of the record type. */\n  collection: string\n  /** The number of records to return. */\n  limit?: number\n  /** A TID to filter the range of records returned. */\n  before?: string\n  /** A TID to filter the range of records returned. */\n  after?: string\n  /** Reverse the order of the returned records? */\n  reverse?: boolean\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  cursor?: string\n  records: Record[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Record {\n  uri: string\n  cid: string\n  value: {}\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  /** The DID of the repo. */\n  did: string\n  /** The NSID of the record type. */\n  collection: string\n  /** The TID of the record. */\n  rkey: string\n  /** Validate the record? */\n  validate?: boolean\n  /** The record to create. */\n  record: {}\n  [k: string]: unknown\n}\n\nexport interface OutputSchema {\n  uri: string\n  cid: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  inviteCodeRequired?: boolean\n  availableUserDomains: string[]\n  links?: Links\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Links {\n  privacyPolicy?: string\n  termsOfService?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  handle: string\n  password: string\n  [k: string]: unknown\n}\n\nexport interface OutputSchema {\n  accessJwt: string\n  refreshJwt: string\n  handle: string\n  did: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport type InputSchema = undefined\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  handle: string\n  did: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  accessJwt: string\n  refreshJwt: string\n  handle: string\n  did: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /** The DID of the repo. */\n  did: string\n  /** A past commit CID. */\n  from?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: Uint8Array\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /** The DID of the repo. */\n  did: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  root: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n  /** The DID of the repo. */\n  did: string\n}\n\nexport type InputSchema = string | Uint8Array\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/cbor'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  handle: string\n  recoveryKey?: string\n  [k: string]: unknown\n}\n\nexport interface OutputSchema {\n  handle: string\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport class InvalidHandleError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport class HandleNotAvailableError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n    if (e.error === 'InvalidHandle') return new InvalidHandleError(e)\n    if (e.error === 'HandleNotAvailable') return new HandleNotAvailableError(e)\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  actor: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  creator: string\n  displayName?: string\n  description?: string\n  followersCount: number\n  followsCount: number\n  membersCount: number\n  postsCount: number\n  myState?: MyState\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface MyState {\n  follow?: string\n  member?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  limit?: number\n  cursor?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  cursor?: string\n  actors: Actor[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Actor {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  description?: string\n  indexedAt?: string\n  myState?: MyState\n  [k: string]: unknown\n}\n\nexport interface MyState {\n  follow?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  term: string\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  cursor?: string\n  users: User[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface User {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  description?: string\n  indexedAt?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  term: string\n  limit?: number\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  users: User[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface User {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  did?: string\n  displayName?: string\n  description?: string\n  [k: string]: unknown\n}\n\nexport interface OutputSchema {\n  uri: string\n  cid: string\n  record: {}\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\nimport * as AppBskyFeedEmbed from './embed'\n\nexport interface QueryParams {\n  author: string\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  cursor?: string\n  feed: FeedItem[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface FeedItem {\n  uri: string\n  cid: string\n  author: AppBskyActorRef.WithInfo\n  trendedBy?: AppBskyActorRef.WithInfo\n  repostedBy?: AppBskyActorRef.WithInfo\n  record: {}\n  embed?: AppBskyFeedEmbed.Main\n  replyCount: number\n  repostCount: number\n  upvoteCount: number\n  downvoteCount: number\n  indexedAt: string\n  myState?: MyState\n  [k: string]: unknown\n}\n\nexport interface MyState {\n  repost?: string\n  upvote?: string\n  downvote?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\nimport * as AppBskyFeedEmbed from './embed'\n\nexport interface QueryParams {\n  uri: string\n  depth?: number\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  thread: Post | NotFoundPost | { $type: string; [k: string]: unknown }\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport class NotFoundError extends XRPCError {\n  constructor(src: XRPCError) {\n    super(src.status, src.error, src.message)\n  }\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n    if (e.error === 'NotFound') return new NotFoundError(e)\n  }\n  return e\n}\n\nexport interface Post {\n  uri: string\n  cid: string\n  author: AppBskyActorRef.WithInfo\n  record: {}\n  embed?: AppBskyFeedEmbed.Main\n  parent?: Post | NotFoundPost | { $type: string; [k: string]: unknown }\n  replyCount: number\n  replies?: (Post | NotFoundPost | { $type: string; [k: string]: unknown })[]\n  repostCount: number\n  upvoteCount: number\n  downvoteCount: number\n  indexedAt: string\n  myState?: MyState\n  [k: string]: unknown\n}\n\nexport interface NotFoundPost {\n  uri: string\n  notFound: true\n  [k: string]: unknown\n}\n\nexport interface MyState {\n  repost?: string\n  upvote?: string\n  downvote?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  uri: string\n  cid?: string\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  uri: string\n  cid?: string\n  cursor?: string\n  repostedBy: RepostedBy[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface RepostedBy {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  createdAt?: string\n  indexedAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\nimport * as AppBskyFeedEmbed from './embed'\n\nexport interface QueryParams {\n  algorithm?: string\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  cursor?: string\n  feed: FeedItem[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface FeedItem {\n  uri: string\n  cid: string\n  author: AppBskyActorRef.WithInfo\n  trendedBy?: AppBskyActorRef.WithInfo\n  repostedBy?: AppBskyActorRef.WithInfo\n  record: {}\n  embed?: AppBskyFeedEmbed.Main\n  replyCount: number\n  repostCount: number\n  upvoteCount: number\n  downvoteCount: number\n  indexedAt: string\n  myState?: MyState\n  [k: string]: unknown\n}\n\nexport interface MyState {\n  repost?: string\n  upvote?: string\n  downvote?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\n\nexport interface QueryParams {\n  uri: string\n  cid?: string\n  direction?: 'up' | 'down'\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  uri: string\n  cid?: string\n  cursor?: string\n  votes: Vote[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Vote {\n  direction: 'up' | 'down'\n  indexedAt: string\n  createdAt: string\n  actor: AppBskyActorRef.WithInfo\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  subject: ComAtprotoRepoStrongRef.Main\n  direction: 'up' | 'down' | 'none'\n  [k: string]: unknown\n}\n\nexport interface OutputSchema {\n  upvote?: string\n  downvote?: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\n\nexport interface QueryParams {\n  author?: string\n  subject?: string\n  assertion?: string\n  confirmed?: boolean\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  cursor?: string\n  assertions: Assertion[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Assertion {\n  uri: string\n  cid: string\n  assertion: string\n  confirmation?: Confirmation\n  author: AppBskyActorRef.WithInfo\n  subject: AppBskyActorRef.WithInfo\n  indexedAt: string\n  createdAt: string\n  [k: string]: unknown\n}\n\nexport interface Confirmation {\n  uri: string\n  cid: string\n  indexedAt: string\n  createdAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  user: string\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  subject: Subject\n  cursor?: string\n  followers: Follower[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Subject {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  [k: string]: unknown\n}\n\nexport interface Follower {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  createdAt?: string\n  indexedAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  user: string\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  subject: AppBskyActorRef.WithInfo\n  cursor?: string\n  follows: Follow[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Follow {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  createdAt?: string\n  indexedAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  actor: string\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  subject: AppBskyActorRef.WithInfo\n  cursor?: string\n  members: Member[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Member {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  createdAt?: string\n  indexedAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface QueryParams {\n  actor: string\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  subject: AppBskyActorRef.WithInfo\n  cursor?: string\n  memberships: Membership[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Membership {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  createdAt?: string\n  indexedAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  count: number\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\nimport * as AppBskyActorRef from '../actor/ref'\n\nexport interface QueryParams {\n  limit?: number\n  before?: string\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n  cursor?: string\n  notifications: Notification[]\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n  data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n\nexport interface Notification {\n  uri: string\n  cid: string\n  author: AppBskyActorRef.WithInfo\n  /** Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'. */\n  reason:\n    | 'vote'\n    | 'repost'\n    | 'trend'\n    | 'follow'\n    | 'invite'\n    | 'mention'\n    | 'reply'\n    | (string & {})\n  reasonSubject?: string\n  record: {}\n  isRead: boolean\n  indexedAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface InputSchema {\n  seenAt: string\n  [k: string]: unknown\n}\n\nexport interface CallOptions {\n  headers?: Headers\n  qp?: QueryParams\n  encoding: 'application/json'\n}\n\nexport interface Response {\n  success: boolean\n  headers: Headers\n}\n\nexport function toKnownErr(e: any) {\n  if (e instanceof XRPCError) {\n  }\n  return e\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nexport interface Main {\n  uri: string\n  cid: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nexport interface Record {\n  displayName: string\n  description?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as AppBskySystemDeclRef from '../system/declRef'\n\nexport interface Main {\n  did: string\n  declarationCid: string\n  [k: string]: unknown\n}\n\nexport interface WithInfo {\n  did: string\n  declaration: AppBskySystemDeclRef.Main\n  handle: string\n  displayName?: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as AppBskyActorRef from '../actor/ref'\n\n/** A list embeds in a post or document. */\nexport interface Main {\n  items?: (\n    | Media\n    | Record\n    | External\n    | { $type: string; [k: string]: unknown }\n  )[]\n  [k: string]: unknown\n}\n\nexport interface Media {\n  alt?: string\n  thumb?: { cid: string; mimeType: string; [k: string]: unknown }\n  original: { cid: string; mimeType: string; [k: string]: unknown }\n  [k: string]: unknown\n}\n\nexport interface Record {\n  type: 'record'\n  author: AppBskyActorRef.WithInfo\n  record: {}\n  [k: string]: unknown\n}\n\nexport interface External {\n  type: 'external'\n  uri: string\n  title: string\n  description: string\n  imageUri: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'\n\nexport interface Record {\n  text: string\n  entities?: Entity[]\n  reply?: ReplyRef\n  createdAt: string\n  [k: string]: unknown\n}\n\nexport interface ReplyRef {\n  root: ComAtprotoRepoStrongRef.Main\n  parent: ComAtprotoRepoStrongRef.Main\n  [k: string]: unknown\n}\n\nexport interface Entity {\n  index: TextSlice\n  /** Expected values are 'mention', 'hashtag', and 'link'. */\n  type: string\n  value: string\n  [k: string]: unknown\n}\n\nexport interface TextSlice {\n  start: number\n  end: number\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'\n\nexport interface Record {\n  subject: ComAtprotoRepoStrongRef.Main\n  createdAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'\n\nexport interface Record {\n  subject: ComAtprotoRepoStrongRef.Main\n  createdAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'\n\nexport interface Record {\n  subject: ComAtprotoRepoStrongRef.Main\n  direction: 'up' | 'down'\n  createdAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\n/** Assertion type: Creator. Defined for app.bsky.graph.assertions's assertion. */\nexport const MAIN = 'app.bsky.graph.assertCreator#main'\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\n/** Assertion type: Member. Defined for app.bsky.graph.assertions's assertion. */\nexport const MAIN = 'app.bsky.graph.assertMember#main'\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as AppBskyActorRef from '../actor/ref'\n\nexport interface Record {\n  assertion: string\n  subject: AppBskyActorRef.Main\n  createdAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as AppBskyActorRef from '../actor/ref'\nimport * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'\n\nexport interface Record {\n  originator: AppBskyActorRef.Main\n  assertion: ComAtprotoRepoStrongRef.Main\n  createdAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport * as AppBskyActorRef from '../actor/ref'\n\nexport interface Record {\n  subject: AppBskyActorRef.Main\n  createdAt: string\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\n/** Actor type: Scene. Defined for app.bsky.system.declaration's actorType. */\nexport const MAIN = 'app.bsky.system.actorScene#main'\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\n/** Actor type: User. Defined for app.bsky.system.declaration's actorType. */\nexport const MAIN = 'app.bsky.system.actorUser#main'\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\n/** A reference to a app.bsky.system.declaration record. */\nexport interface Main {\n  cid: string\n  actorType:\n    | 'app.bsky.system.actorUser'\n    | 'app.bsky.system.actorScene'\n    | (string & {})\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nexport interface Record {\n  actorType:\n    | 'app.bsky.system.actorUser'\n    | 'app.bsky.system.actorScene'\n    | (string & {})\n  [k: string]: unknown\n}\n", "/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport {\n  Client as XrpcClient,\n  ServiceClient as XrpcServiceClient,\n} from '@atproto/xrpc'\nimport { lexicons } from './lexicons'\nimport * as ComAtprotoAccountCreate from './types/com/atproto/account/create'\nimport * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode'\nimport * as ComAtprotoAccountDelete from './types/com/atproto/account/delete'\nimport * as ComAtprotoAccountGet from './types/com/atproto/account/get'\nimport * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset'\nimport * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword'\nimport * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'\nimport * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'\nimport * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'\nimport * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'\nimport * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe'\nimport * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord'\nimport * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords'\nimport * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'\nimport * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef'\nimport * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig'\nimport * as ComAtprotoSessionCreate from './types/com/atproto/session/create'\nimport * as ComAtprotoSessionDelete from './types/com/atproto/session/delete'\nimport * as ComAtprotoSessionGet from './types/com/atproto/session/get'\nimport * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh'\nimport * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'\nimport * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot'\nimport * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo'\nimport * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene'\nimport * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'\nimport * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'\nimport * as AppBskyActorProfile from './types/app/bsky/actor/profile'\nimport * as AppBskyActorRef from './types/app/bsky/actor/ref'\nimport * as AppBskyActorSearch from './types/app/bsky/actor/search'\nimport * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead'\nimport * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile'\nimport * as AppBskyFeedEmbed from './types/app/bsky/feed/embed'\nimport * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'\nimport * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'\nimport * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'\nimport * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'\nimport * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes'\nimport * as AppBskyFeedPost from './types/app/bsky/feed/post'\nimport * as AppBskyFeedRepost from './types/app/bsky/feed/repost'\nimport * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote'\nimport * as AppBskyFeedTrend from './types/app/bsky/feed/trend'\nimport * as AppBskyFeedVote from './types/app/bsky/feed/vote'\nimport * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator'\nimport * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember'\nimport * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'\nimport * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'\nimport * as AppBskyGraphFollow from './types/app/bsky/graph/follow'\nimport * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions'\nimport * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'\nimport * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'\nimport * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'\nimport * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'\nimport * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'\nimport * as AppBskyNotificationList from './types/app/bsky/notification/list'\nimport * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen'\nimport * as AppBskySystemActorScene from './types/app/bsky/system/actorScene'\nimport * as AppBskySystemActorUser from './types/app/bsky/system/actorUser'\nimport * as AppBskySystemDeclRef from './types/app/bsky/system/declRef'\nimport * as AppBskySystemDeclaration from './types/app/bsky/system/declaration'\n\nexport * as ComAtprotoAccountCreate from './types/com/atproto/account/create'\nexport * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode'\nexport * as ComAtprotoAccountDelete from './types/com/atproto/account/delete'\nexport * as ComAtprotoAccountGet from './types/com/atproto/account/get'\nexport * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset'\nexport * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword'\nexport * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'\nexport * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'\nexport * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'\nexport * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'\nexport * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe'\nexport * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord'\nexport * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords'\nexport * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'\nexport * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef'\nexport * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig'\nexport * as ComAtprotoSessionCreate from './types/com/atproto/session/create'\nexport * as ComAtprotoSessionDelete from './types/com/atproto/session/delete'\nexport * as ComAtprotoSessionGet from './types/com/atproto/session/get'\nexport * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh'\nexport * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'\nexport * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot'\nexport * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo'\nexport * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene'\nexport * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'\nexport * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'\nexport * as AppBskyActorProfile from './types/app/bsky/actor/profile'\nexport * as AppBskyActorRef from './types/app/bsky/actor/ref'\nexport * as AppBskyActorSearch from './types/app/bsky/actor/search'\nexport * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead'\nexport * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile'\nexport * as AppBskyFeedEmbed from './types/app/bsky/feed/embed'\nexport * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'\nexport * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'\nexport * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'\nexport * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'\nexport * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes'\nexport * as AppBskyFeedPost from './types/app/bsky/feed/post'\nexport * as AppBskyFeedRepost from './types/app/bsky/feed/repost'\nexport * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote'\nexport * as AppBskyFeedTrend from './types/app/bsky/feed/trend'\nexport * as AppBskyFeedVote from './types/app/bsky/feed/vote'\nexport * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator'\nexport * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember'\nexport * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'\nexport * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'\nexport * as AppBskyGraphFollow from './types/app/bsky/graph/follow'\nexport * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions'\nexport * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'\nexport * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'\nexport * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'\nexport * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'\nexport * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'\nexport * as AppBskyNotificationList from './types/app/bsky/notification/list'\nexport * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen'\nexport * as AppBskySystemActorScene from './types/app/bsky/system/actorScene'\nexport * as AppBskySystemActorUser from './types/app/bsky/system/actorUser'\nexport * as AppBskySystemDeclRef from './types/app/bsky/system/declRef'\nexport * as AppBskySystemDeclaration from './types/app/bsky/system/declaration'\n\nexport const APP_BSKY_GRAPH = {\n  AssertCreator: 'app.bsky.graph.assertCreator',\n  AssertMember: 'app.bsky.graph.assertMember',\n}\nexport const APP_BSKY_SYSTEM = {\n  ActorScene: 'app.bsky.system.actorScene',\n  ActorUser: 'app.bsky.system.actorUser',\n}\n\nexport class Client {\n  xrpc: XrpcClient = new XrpcClient()\n\n  constructor() {\n    this.xrpc.addLexicons(lexicons)\n  }\n\n  service(serviceUri: string | URL): ServiceClient {\n    return new ServiceClient(this, this.xrpc.service(serviceUri))\n  }\n}\n\nconst defaultInst = new Client()\nexport default defaultInst\n\nexport class ServiceClient {\n  _baseClient: Client\n  xrpc: XrpcServiceClient\n  com: ComNS\n  app: AppNS\n\n  constructor(baseClient: Client, xrpcService: XrpcServiceClient) {\n    this._baseClient = baseClient\n    this.xrpc = xrpcService\n    this.com = new ComNS(this)\n    this.app = new AppNS(this)\n  }\n\n  setHeader(key: string, value: string): void {\n    this.xrpc.setHeader(key, value)\n  }\n}\n\nexport class ComNS {\n  _service: ServiceClient\n  atproto: AtprotoNS\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.atproto = new AtprotoNS(service)\n  }\n}\n\nexport class AtprotoNS {\n  _service: ServiceClient\n  account: AccountNS\n  handle: HandleNS\n  repo: RepoNS\n  server: ServerNS\n  session: SessionNS\n  sync: SyncNS\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.account = new AccountNS(service)\n    this.handle = new HandleNS(service)\n    this.repo = new RepoNS(service)\n    this.server = new ServerNS(service)\n    this.session = new SessionNS(service)\n    this.sync = new SyncNS(service)\n  }\n}\n\nexport class AccountNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  create(\n    data?: ComAtprotoAccountCreate.InputSchema,\n    opts?: ComAtprotoAccountCreate.CallOptions,\n  ): Promise<ComAtprotoAccountCreate.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.create', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountCreate.toKnownErr(e)\n      })\n  }\n\n  createInviteCode(\n    data?: ComAtprotoAccountCreateInviteCode.InputSchema,\n    opts?: ComAtprotoAccountCreateInviteCode.CallOptions,\n  ): Promise<ComAtprotoAccountCreateInviteCode.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.createInviteCode', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountCreateInviteCode.toKnownErr(e)\n      })\n  }\n\n  delete(\n    data?: ComAtprotoAccountDelete.InputSchema,\n    opts?: ComAtprotoAccountDelete.CallOptions,\n  ): Promise<ComAtprotoAccountDelete.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.delete', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountDelete.toKnownErr(e)\n      })\n  }\n\n  get(\n    params?: ComAtprotoAccountGet.QueryParams,\n    opts?: ComAtprotoAccountGet.CallOptions,\n  ): Promise<ComAtprotoAccountGet.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.get', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountGet.toKnownErr(e)\n      })\n  }\n\n  requestPasswordReset(\n    data?: ComAtprotoAccountRequestPasswordReset.InputSchema,\n    opts?: ComAtprotoAccountRequestPasswordReset.CallOptions,\n  ): Promise<ComAtprotoAccountRequestPasswordReset.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.requestPasswordReset', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountRequestPasswordReset.toKnownErr(e)\n      })\n  }\n\n  resetPassword(\n    data?: ComAtprotoAccountResetPassword.InputSchema,\n    opts?: ComAtprotoAccountResetPassword.CallOptions,\n  ): Promise<ComAtprotoAccountResetPassword.Response> {\n    return this._service.xrpc\n      .call('com.atproto.account.resetPassword', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoAccountResetPassword.toKnownErr(e)\n      })\n  }\n}\n\nexport class HandleNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  resolve(\n    params?: ComAtprotoHandleResolve.QueryParams,\n    opts?: ComAtprotoHandleResolve.CallOptions,\n  ): Promise<ComAtprotoHandleResolve.Response> {\n    return this._service.xrpc\n      .call('com.atproto.handle.resolve', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoHandleResolve.toKnownErr(e)\n      })\n  }\n}\n\nexport class RepoNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  batchWrite(\n    data?: ComAtprotoRepoBatchWrite.InputSchema,\n    opts?: ComAtprotoRepoBatchWrite.CallOptions,\n  ): Promise<ComAtprotoRepoBatchWrite.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.batchWrite', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoBatchWrite.toKnownErr(e)\n      })\n  }\n\n  createRecord(\n    data?: ComAtprotoRepoCreateRecord.InputSchema,\n    opts?: ComAtprotoRepoCreateRecord.CallOptions,\n  ): Promise<ComAtprotoRepoCreateRecord.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.createRecord', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoCreateRecord.toKnownErr(e)\n      })\n  }\n\n  deleteRecord(\n    data?: ComAtprotoRepoDeleteRecord.InputSchema,\n    opts?: ComAtprotoRepoDeleteRecord.CallOptions,\n  ): Promise<ComAtprotoRepoDeleteRecord.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.deleteRecord', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoDeleteRecord.toKnownErr(e)\n      })\n  }\n\n  describe(\n    params?: ComAtprotoRepoDescribe.QueryParams,\n    opts?: ComAtprotoRepoDescribe.CallOptions,\n  ): Promise<ComAtprotoRepoDescribe.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.describe', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoDescribe.toKnownErr(e)\n      })\n  }\n\n  getRecord(\n    params?: ComAtprotoRepoGetRecord.QueryParams,\n    opts?: ComAtprotoRepoGetRecord.CallOptions,\n  ): Promise<ComAtprotoRepoGetRecord.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.getRecord', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoGetRecord.toKnownErr(e)\n      })\n  }\n\n  listRecords(\n    params?: ComAtprotoRepoListRecords.QueryParams,\n    opts?: ComAtprotoRepoListRecords.CallOptions,\n  ): Promise<ComAtprotoRepoListRecords.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.listRecords', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoListRecords.toKnownErr(e)\n      })\n  }\n\n  putRecord(\n    data?: ComAtprotoRepoPutRecord.InputSchema,\n    opts?: ComAtprotoRepoPutRecord.CallOptions,\n  ): Promise<ComAtprotoRepoPutRecord.Response> {\n    return this._service.xrpc\n      .call('com.atproto.repo.putRecord', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoRepoPutRecord.toKnownErr(e)\n      })\n  }\n}\n\nexport class ServerNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  getAccountsConfig(\n    params?: ComAtprotoServerGetAccountsConfig.QueryParams,\n    opts?: ComAtprotoServerGetAccountsConfig.CallOptions,\n  ): Promise<ComAtprotoServerGetAccountsConfig.Response> {\n    return this._service.xrpc\n      .call('com.atproto.server.getAccountsConfig', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoServerGetAccountsConfig.toKnownErr(e)\n      })\n  }\n}\n\nexport class SessionNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  create(\n    data?: ComAtprotoSessionCreate.InputSchema,\n    opts?: ComAtprotoSessionCreate.CallOptions,\n  ): Promise<ComAtprotoSessionCreate.Response> {\n    return this._service.xrpc\n      .call('com.atproto.session.create', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoSessionCreate.toKnownErr(e)\n      })\n  }\n\n  delete(\n    data?: ComAtprotoSessionDelete.InputSchema,\n    opts?: ComAtprotoSessionDelete.CallOptions,\n  ): Promise<ComAtprotoSessionDelete.Response> {\n    return this._service.xrpc\n      .call('com.atproto.session.delete', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoSessionDelete.toKnownErr(e)\n      })\n  }\n\n  get(\n    params?: ComAtprotoSessionGet.QueryParams,\n    opts?: ComAtprotoSessionGet.CallOptions,\n  ): Promise<ComAtprotoSessionGet.Response> {\n    return this._service.xrpc\n      .call('com.atproto.session.get', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoSessionGet.toKnownErr(e)\n      })\n  }\n\n  refresh(\n    data?: ComAtprotoSessionRefresh.InputSchema,\n    opts?: ComAtprotoSessionRefresh.CallOptions,\n  ): Promise<ComAtprotoSessionRefresh.Response> {\n    return this._service.xrpc\n      .call('com.atproto.session.refresh', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoSessionRefresh.toKnownErr(e)\n      })\n  }\n}\n\nexport class SyncNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  getRepo(\n    params?: ComAtprotoSyncGetRepo.QueryParams,\n    opts?: ComAtprotoSyncGetRepo.CallOptions,\n  ): Promise<ComAtprotoSyncGetRepo.Response> {\n    return this._service.xrpc\n      .call('com.atproto.sync.getRepo', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoSyncGetRepo.toKnownErr(e)\n      })\n  }\n\n  getRoot(\n    params?: ComAtprotoSyncGetRoot.QueryParams,\n    opts?: ComAtprotoSyncGetRoot.CallOptions,\n  ): Promise<ComAtprotoSyncGetRoot.Response> {\n    return this._service.xrpc\n      .call('com.atproto.sync.getRoot', params, undefined, opts)\n      .catch((e) => {\n        throw ComAtprotoSyncGetRoot.toKnownErr(e)\n      })\n  }\n\n  updateRepo(\n    data?: ComAtprotoSyncUpdateRepo.InputSchema,\n    opts?: ComAtprotoSyncUpdateRepo.CallOptions,\n  ): Promise<ComAtprotoSyncUpdateRepo.Response> {\n    return this._service.xrpc\n      .call('com.atproto.sync.updateRepo', opts?.qp, data, opts)\n      .catch((e) => {\n        throw ComAtprotoSyncUpdateRepo.toKnownErr(e)\n      })\n  }\n}\n\nexport class AppNS {\n  _service: ServiceClient\n  bsky: BskyNS\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.bsky = new BskyNS(service)\n  }\n}\n\nexport class BskyNS {\n  _service: ServiceClient\n  actor: ActorNS\n  feed: FeedNS\n  graph: GraphNS\n  notification: NotificationNS\n  system: SystemNS\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.actor = new ActorNS(service)\n    this.feed = new FeedNS(service)\n    this.graph = new GraphNS(service)\n    this.notification = new NotificationNS(service)\n    this.system = new SystemNS(service)\n  }\n}\n\nexport class ActorNS {\n  _service: ServiceClient\n  profile: ProfileRecord\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.profile = new ProfileRecord(service)\n  }\n\n  createScene(\n    data?: AppBskyActorCreateScene.InputSchema,\n    opts?: AppBskyActorCreateScene.CallOptions,\n  ): Promise<AppBskyActorCreateScene.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.createScene', opts?.qp, data, opts)\n      .catch((e) => {\n        throw AppBskyActorCreateScene.toKnownErr(e)\n      })\n  }\n\n  getProfile(\n    params?: AppBskyActorGetProfile.QueryParams,\n    opts?: AppBskyActorGetProfile.CallOptions,\n  ): Promise<AppBskyActorGetProfile.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.getProfile', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyActorGetProfile.toKnownErr(e)\n      })\n  }\n\n  getSuggestions(\n    params?: AppBskyActorGetSuggestions.QueryParams,\n    opts?: AppBskyActorGetSuggestions.CallOptions,\n  ): Promise<AppBskyActorGetSuggestions.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.getSuggestions', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyActorGetSuggestions.toKnownErr(e)\n      })\n  }\n\n  search(\n    params?: AppBskyActorSearch.QueryParams,\n    opts?: AppBskyActorSearch.CallOptions,\n  ): Promise<AppBskyActorSearch.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.search', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyActorSearch.toKnownErr(e)\n      })\n  }\n\n  searchTypeahead(\n    params?: AppBskyActorSearchTypeahead.QueryParams,\n    opts?: AppBskyActorSearchTypeahead.CallOptions,\n  ): Promise<AppBskyActorSearchTypeahead.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.searchTypeahead', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyActorSearchTypeahead.toKnownErr(e)\n      })\n  }\n\n  updateProfile(\n    data?: AppBskyActorUpdateProfile.InputSchema,\n    opts?: AppBskyActorUpdateProfile.CallOptions,\n  ): Promise<AppBskyActorUpdateProfile.Response> {\n    return this._service.xrpc\n      .call('app.bsky.actor.updateProfile', opts?.qp, data, opts)\n      .catch((e) => {\n        throw AppBskyActorUpdateProfile.toKnownErr(e)\n      })\n  }\n}\n\nexport class ProfileRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskyActorProfile.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.actor.profile',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{ uri: string; cid: string; value: AppBskyActorProfile.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.actor.profile',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyActorProfile.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.actor.profile'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.actor.profile', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.actor.profile', ...params },\n      { headers },\n    )\n  }\n}\n\nexport class FeedNS {\n  _service: ServiceClient\n  post: PostRecord\n  repost: RepostRecord\n  trend: TrendRecord\n  vote: VoteRecord\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.post = new PostRecord(service)\n    this.repost = new RepostRecord(service)\n    this.trend = new TrendRecord(service)\n    this.vote = new VoteRecord(service)\n  }\n\n  getAuthorFeed(\n    params?: AppBskyFeedGetAuthorFeed.QueryParams,\n    opts?: AppBskyFeedGetAuthorFeed.CallOptions,\n  ): Promise<AppBskyFeedGetAuthorFeed.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getAuthorFeed', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetAuthorFeed.toKnownErr(e)\n      })\n  }\n\n  getPostThread(\n    params?: AppBskyFeedGetPostThread.QueryParams,\n    opts?: AppBskyFeedGetPostThread.CallOptions,\n  ): Promise<AppBskyFeedGetPostThread.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getPostThread', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetPostThread.toKnownErr(e)\n      })\n  }\n\n  getRepostedBy(\n    params?: AppBskyFeedGetRepostedBy.QueryParams,\n    opts?: AppBskyFeedGetRepostedBy.CallOptions,\n  ): Promise<AppBskyFeedGetRepostedBy.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getRepostedBy', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetRepostedBy.toKnownErr(e)\n      })\n  }\n\n  getTimeline(\n    params?: AppBskyFeedGetTimeline.QueryParams,\n    opts?: AppBskyFeedGetTimeline.CallOptions,\n  ): Promise<AppBskyFeedGetTimeline.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getTimeline', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetTimeline.toKnownErr(e)\n      })\n  }\n\n  getVotes(\n    params?: AppBskyFeedGetVotes.QueryParams,\n    opts?: AppBskyFeedGetVotes.CallOptions,\n  ): Promise<AppBskyFeedGetVotes.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.getVotes', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyFeedGetVotes.toKnownErr(e)\n      })\n  }\n\n  setVote(\n    data?: AppBskyFeedSetVote.InputSchema,\n    opts?: AppBskyFeedSetVote.CallOptions,\n  ): Promise<AppBskyFeedSetVote.Response> {\n    return this._service.xrpc\n      .call('app.bsky.feed.setVote', opts?.qp, data, opts)\n      .catch((e) => {\n        throw AppBskyFeedSetVote.toKnownErr(e)\n      })\n  }\n}\n\nexport class PostRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskyFeedPost.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.post',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{ uri: string; cid: string; value: AppBskyFeedPost.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.post',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedPost.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.feed.post'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.post', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.post', ...params },\n      { headers },\n    )\n  }\n}\n\nexport class RepostRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskyFeedRepost.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.repost',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{ uri: string; cid: string; value: AppBskyFeedRepost.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.repost',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedRepost.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.feed.repost'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.repost', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.repost', ...params },\n      { headers },\n    )\n  }\n}\n\nexport class TrendRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskyFeedTrend.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.trend',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{ uri: string; cid: string; value: AppBskyFeedTrend.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.trend',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedTrend.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.feed.trend'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.trend', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.trend', ...params },\n      { headers },\n    )\n  }\n}\n\nexport class VoteRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskyFeedVote.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.feed.vote',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{ uri: string; cid: string; value: AppBskyFeedVote.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.feed.vote',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyFeedVote.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.feed.vote'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.feed.vote', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.feed.vote', ...params },\n      { headers },\n    )\n  }\n}\n\nexport class GraphNS {\n  _service: ServiceClient\n  assertion: AssertionRecord\n  confirmation: ConfirmationRecord\n  follow: FollowRecord\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.assertion = new AssertionRecord(service)\n    this.confirmation = new ConfirmationRecord(service)\n    this.follow = new FollowRecord(service)\n  }\n\n  getAssertions(\n    params?: AppBskyGraphGetAssertions.QueryParams,\n    opts?: AppBskyGraphGetAssertions.CallOptions,\n  ): Promise<AppBskyGraphGetAssertions.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getAssertions', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetAssertions.toKnownErr(e)\n      })\n  }\n\n  getFollowers(\n    params?: AppBskyGraphGetFollowers.QueryParams,\n    opts?: AppBskyGraphGetFollowers.CallOptions,\n  ): Promise<AppBskyGraphGetFollowers.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getFollowers', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetFollowers.toKnownErr(e)\n      })\n  }\n\n  getFollows(\n    params?: AppBskyGraphGetFollows.QueryParams,\n    opts?: AppBskyGraphGetFollows.CallOptions,\n  ): Promise<AppBskyGraphGetFollows.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getFollows', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetFollows.toKnownErr(e)\n      })\n  }\n\n  getMembers(\n    params?: AppBskyGraphGetMembers.QueryParams,\n    opts?: AppBskyGraphGetMembers.CallOptions,\n  ): Promise<AppBskyGraphGetMembers.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getMembers', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetMembers.toKnownErr(e)\n      })\n  }\n\n  getMemberships(\n    params?: AppBskyGraphGetMemberships.QueryParams,\n    opts?: AppBskyGraphGetMemberships.CallOptions,\n  ): Promise<AppBskyGraphGetMemberships.Response> {\n    return this._service.xrpc\n      .call('app.bsky.graph.getMemberships', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyGraphGetMemberships.toKnownErr(e)\n      })\n  }\n}\n\nexport class AssertionRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskyGraphAssertion.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.graph.assertion',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{\n    uri: string\n    cid: string\n    value: AppBskyGraphAssertion.Record\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.graph.assertion',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyGraphAssertion.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.graph.assertion'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.graph.assertion', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.graph.assertion', ...params },\n      { headers },\n    )\n  }\n}\n\nexport class ConfirmationRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskyGraphConfirmation.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.graph.confirmation',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{\n    uri: string\n    cid: string\n    value: AppBskyGraphConfirmation.Record\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.graph.confirmation',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyGraphConfirmation.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.graph.confirmation'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.graph.confirmation', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.graph.confirmation', ...params },\n      { headers },\n    )\n  }\n}\n\nexport class FollowRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskyGraphFollow.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.graph.follow',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{ uri: string; cid: string; value: AppBskyGraphFollow.Record }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.graph.follow',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskyGraphFollow.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.graph.follow'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.graph.follow', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.graph.follow', ...params },\n      { headers },\n    )\n  }\n}\n\nexport class NotificationNS {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  getCount(\n    params?: AppBskyNotificationGetCount.QueryParams,\n    opts?: AppBskyNotificationGetCount.CallOptions,\n  ): Promise<AppBskyNotificationGetCount.Response> {\n    return this._service.xrpc\n      .call('app.bsky.notification.getCount', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyNotificationGetCount.toKnownErr(e)\n      })\n  }\n\n  list(\n    params?: AppBskyNotificationList.QueryParams,\n    opts?: AppBskyNotificationList.CallOptions,\n  ): Promise<AppBskyNotificationList.Response> {\n    return this._service.xrpc\n      .call('app.bsky.notification.list', params, undefined, opts)\n      .catch((e) => {\n        throw AppBskyNotificationList.toKnownErr(e)\n      })\n  }\n\n  updateSeen(\n    data?: AppBskyNotificationUpdateSeen.InputSchema,\n    opts?: AppBskyNotificationUpdateSeen.CallOptions,\n  ): Promise<AppBskyNotificationUpdateSeen.Response> {\n    return this._service.xrpc\n      .call('app.bsky.notification.updateSeen', opts?.qp, data, opts)\n      .catch((e) => {\n        throw AppBskyNotificationUpdateSeen.toKnownErr(e)\n      })\n  }\n}\n\nexport class SystemNS {\n  _service: ServiceClient\n  declaration: DeclarationRecord\n\n  constructor(service: ServiceClient) {\n    this._service = service\n    this.declaration = new DeclarationRecord(service)\n  }\n}\n\nexport class DeclarationRecord {\n  _service: ServiceClient\n\n  constructor(service: ServiceClient) {\n    this._service = service\n  }\n\n  async list(\n    params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,\n  ): Promise<{\n    cursor?: string\n    records: { uri: string; value: AppBskySystemDeclaration.Record }[]\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n      collection: 'app.bsky.system.declaration',\n      ...params,\n    })\n    return res.data\n  }\n\n  async get(\n    params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,\n  ): Promise<{\n    uri: string\n    cid: string\n    value: AppBskySystemDeclaration.Record\n  }> {\n    const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n      collection: 'app.bsky.system.declaration',\n      ...params,\n    })\n    return res.data\n  }\n\n  async create(\n    params: Omit<\n      ComAtprotoRepoCreateRecord.InputSchema,\n      'collection' | 'record'\n    >,\n    record: AppBskySystemDeclaration.Record,\n    headers?: Record<string, string>,\n  ): Promise<{ uri: string; cid: string }> {\n    record.$type = 'app.bsky.system.declaration'\n    const res = await this._service.xrpc.call(\n      'com.atproto.repo.createRecord',\n      undefined,\n      { collection: 'app.bsky.system.declaration', ...params, record },\n      { encoding: 'application/json', headers },\n    )\n    return res.data\n  }\n\n  async delete(\n    params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,\n    headers?: Record<string, string>,\n  ): Promise<void> {\n    await this._service.xrpc.call(\n      'com.atproto.repo.deleteRecord',\n      undefined,\n      { collection: 'app.bsky.system.declaration', ...params },\n      { headers },\n    )\n  }\n}\n", "import {\n  CallOptions,\n  Client as XrpcClient,\n  ServiceClient as XrpcServiceClient,\n  QueryParams,\n  ResponseType,\n  XRPCError,\n  XRPCResponse,\n} from '@atproto/xrpc'\nimport EventEmitter from 'events'\nimport TypedEmitter from 'typed-emitter'\nimport { Client, ServiceClient } from './client'\nimport * as CreateSession from './client/types/com/atproto/session/create'\nimport * as RefreshSession from './client/types/com/atproto/session/refresh'\nimport * as CreateAccount from './client/types/com/atproto/session/create'\n\nconst CREATE_SESSION = 'com.atproto.session.create'\nconst REFRESH_SESSION = 'com.atproto.session.refresh'\nconst DELETE_SESSION = 'com.atproto.session.delete'\nconst CREATE_ACCOUNT = 'com.atproto.account.create'\n\nexport class SessionClient extends Client {\n  service(serviceUri: string | URL): SessionServiceClient {\n    const xrpcService = new SessionXrpcServiceClient(this.xrpc, serviceUri)\n    return new SessionServiceClient(this, xrpcService)\n  }\n}\n\nconst defaultInst = new SessionClient()\nexport default defaultInst\n\nexport class SessionServiceClient extends ServiceClient {\n  xrpc: SessionXrpcServiceClient\n  sessionManager: SessionManager\n  constructor(baseClient: Client, xrpcService: SessionXrpcServiceClient) {\n    super(baseClient, xrpcService)\n    this.sessionManager = this.xrpc.sessionManager\n  }\n}\n\nexport class SessionXrpcServiceClient extends XrpcServiceClient {\n  sessionManager = new SessionManager()\n  refreshing?: Promise<XRPCResponse>\n\n  constructor(baseClient: XrpcClient, serviceUri: string | URL) {\n    super(baseClient, serviceUri)\n    this.sessionManager.on('session', () => {\n      // Maintain access token headers when session changes\n      const accessHeaders = this.sessionManager.accessHeaders()\n      if (accessHeaders) {\n        this.setHeader('authorization', accessHeaders.authorization)\n      } else {\n        this.unsetHeader('authorization')\n      }\n    })\n  }\n\n  async call(\n    methodNsid: string,\n    params?: QueryParams,\n    data?: unknown,\n    opts?: CallOptions,\n  ) {\n    const original = (overrideOpts?: CallOptions) =>\n      super.call(methodNsid, params, data, overrideOpts ?? opts)\n\n    // If someone is setting credentials manually, pass through as an escape hatch\n    if (opts?.headers?.authorization) {\n      return await original()\n    }\n\n    // Manage concurrent refreshes on session refresh\n    if (methodNsid === REFRESH_SESSION) {\n      return await this.refresh(opts)\n    }\n\n    // Complete any pending session refresh and then continue onto the original request with fresh credentials\n    await this.refreshing\n\n    // Setup session on session or account creation\n    if (methodNsid === CREATE_SESSION || methodNsid === CREATE_ACCOUNT) {\n      const result = await original()\n      const { accessJwt, refreshJwt } =\n        result.data as CreateSession.OutputSchema & CreateAccount.OutputSchema\n      this.sessionManager.set({ accessJwt, refreshJwt })\n      return result\n    }\n\n    // Clear session on session deletion\n    if (methodNsid === DELETE_SESSION) {\n      const result = await original({\n        ...opts,\n        headers: {\n          ...opts?.headers,\n          ...this.sessionManager.refreshHeaders(),\n        },\n      })\n      this.sessionManager.unset()\n      return result\n    }\n\n    // For all other requests, if failed due to an expired token, refresh and retry with fresh credentials\n    try {\n      return await original()\n    } catch (err) {\n      if (\n        err instanceof XRPCError &&\n        err.status === ResponseType.InvalidRequest &&\n        err.error === 'ExpiredToken' &&\n        this.sessionManager.active()\n      ) {\n        await this.refresh(opts)\n        return await original()\n      }\n      throw err\n    }\n  }\n\n  // Ensures a single refresh request at a time, deduping concurrent requests.\n  async refresh(opts?: CallOptions) {\n    this.refreshing ??= this._refresh(opts)\n    try {\n      return await this.refreshing\n    } finally {\n      this.refreshing = undefined\n    }\n  }\n\n  private async _refresh(opts?: CallOptions) {\n    try {\n      const result = await super.call(REFRESH_SESSION, undefined, undefined, {\n        ...opts,\n        headers: {\n          ...opts?.headers,\n          ...this.sessionManager.refreshHeaders(),\n        },\n      })\n      const { accessJwt, refreshJwt } =\n        result.data as RefreshSession.OutputSchema\n      this.sessionManager.set({ accessJwt, refreshJwt })\n      return result\n    } catch (err) {\n      if (\n        err instanceof XRPCError &&\n        err.status === ResponseType.InvalidRequest &&\n        (err.error === 'ExpiredToken' || err.error === 'InvalidToken')\n      ) {\n        this.sessionManager.unset()\n      }\n      throw err\n    }\n  }\n}\n\nexport class SessionManager extends (EventEmitter as new () => TypedEmitter<SessionEvents>) {\n  session?: Session\n  get() {\n    return this.session\n  }\n  set(session: Session) {\n    this.session = session\n    this.emit('session', session)\n  }\n  unset() {\n    this.session = undefined\n    this.emit('session', undefined)\n  }\n  active() {\n    return !!this.session\n  }\n  accessHeaders() {\n    return (\n      this.session && {\n        authorization: `Bearer ${this.session.accessJwt}`,\n      }\n    )\n  }\n  refreshHeaders() {\n    return (\n      this.session && {\n        authorization: `Bearer ${this.session.refreshJwt}`,\n      }\n    )\n  }\n}\n\nexport type Session = {\n  refreshJwt: string\n  accessJwt: string\n}\n\ntype SessionEvents = {\n  session: (session?: Session) => void\n}\n"],
+  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAI;AAAA,CACH,SAAUC,OAAM;AACb,EAAAA,MAAK,cAAc,CAAC,QAAQ;AAC5B,WAAS,SAAS,MAAM;AAAA,EAAE;AAC1B,EAAAA,MAAK,WAAW;AAChB,WAAS,YAAY,IAAI;AACrB,UAAM,IAAI,MAAM;AAAA,EACpB;AACA,EAAAA,MAAK,cAAc;AACnB,EAAAA,MAAK,cAAc,CAAC,UAAU;AAC1B,UAAM,MAAM,CAAC;AACb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,EAC9B;AAAA,EACA,QAAQ;AACN,SAAK,UAAU;AACf,SAAK,KAAK,WAAW,MAAS;AAAA,EAChC;AAAA,EACA,SAAS;AACP,WAAO,CAAC,CAAC,KAAK;AAAA,EAChB;AAAA,EACA,gBAAgB;AACd,WACE,KAAK,WAAW;AAAA,MACd,eAAe,UAAU,KAAK,QAAQ;AAAA,IACxC;AAAA,EAEJ;AAAA,EACA,iBAAiB;AACf,WACE,KAAK,WAAW;AAAA,MACd,eAAe,UAAU,KAAK,QAAQ;AAAA,IACxC;AAAA,EAEJ;AACF;",
+  "names": ["Client", "create_exports", "delete_exports", "get_exports", "ServiceClient", "util", "object", "array", "params", "errorUtil", "errorMap", "ctx", "result", "objectUtil", "issues", "elements", "processed", "ZodFirstPartyTypeKind", "ResponseType", "lexicons", "lexicons", "validate", "lexicons", "lexicons", "validate", "lexicons", "lexicons", "params", "params", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "create_exports", "toKnownErr", "toKnownErr", "delete_exports", "toKnownErr", "toKnownErr", "get_exports", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "HandleNotAvailableError", "InvalidHandleError", "toKnownErr", "InvalidHandleError", "HandleNotAvailableError", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "MAIN", "MAIN", "MAIN", "Client", "ServiceClient", "defaultInst", "toKnownErr", "params", "Client", "defaultInst", "ServiceClient", "params", "EventEmitter"]
 }
diff --git a/src/third-party/api/src/client/index.d.ts b/src/third-party/api/src/client/index.d.ts
index 411cfca63..eca1bf07c 100644
--- a/src/third-party/api/src/client/index.d.ts
+++ b/src/third-party/api/src/client/index.d.ts
@@ -33,7 +33,6 @@ import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
 import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
 import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
 import * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
-import * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed';
 import * as AppBskyFeedPost from './types/app/bsky/feed/post';
 import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
 import * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
@@ -65,6 +64,7 @@ export * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
 export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
 export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
 export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
+export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
 export * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
 export * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
 export * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
@@ -77,20 +77,23 @@ export * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
 export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
 export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
 export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
+export * as AppBskyActorRef from './types/app/bsky/actor/ref';
 export * as AppBskyActorSearch from './types/app/bsky/actor/search';
 export * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead';
 export * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile';
+export * as AppBskyFeedEmbed from './types/app/bsky/feed/embed';
 export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
 export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
 export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
 export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
 export * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
-export * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed';
 export * as AppBskyFeedPost from './types/app/bsky/feed/post';
 export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
 export * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
 export * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
 export * as AppBskyFeedVote from './types/app/bsky/feed/vote';
+export * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator';
+export * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember';
 export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
 export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
 export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
@@ -102,6 +105,9 @@ export * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMembershi
 export * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';
 export * as AppBskyNotificationList from './types/app/bsky/notification/list';
 export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
+export * as AppBskySystemActorScene from './types/app/bsky/system/actorScene';
+export * as AppBskySystemActorUser from './types/app/bsky/system/actorUser';
+export * as AppBskySystemDeclRef from './types/app/bsky/system/declRef';
 export * as AppBskySystemDeclaration from './types/app/bsky/system/declaration';
 export declare const APP_BSKY_GRAPH: {
     AssertCreator: string;
@@ -235,7 +241,6 @@ export declare class ProfileRecord {
 }
 export declare class FeedNS {
     _service: ServiceClient;
-    mediaEmbed: MediaEmbedRecord;
     post: PostRecord;
     repost: RepostRecord;
     trend: TrendRecord;
@@ -248,27 +253,6 @@ export declare class FeedNS {
     getVotes(params?: AppBskyFeedGetVotes.QueryParams, opts?: AppBskyFeedGetVotes.CallOptions): Promise<AppBskyFeedGetVotes.Response>;
     setVote(data?: AppBskyFeedSetVote.InputSchema, opts?: AppBskyFeedSetVote.CallOptions): Promise<AppBskyFeedSetVote.Response>;
 }
-export declare class MediaEmbedRecord {
-    _service: ServiceClient;
-    constructor(service: ServiceClient);
-    list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
-        cursor?: string;
-        records: {
-            uri: string;
-            value: AppBskyFeedMediaEmbed.Record;
-        }[];
-    }>;
-    get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
-        uri: string;
-        cid: string;
-        value: AppBskyFeedMediaEmbed.Record;
-    }>;
-    create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedMediaEmbed.Record, headers?: Record<string, string>): Promise<{
-        uri: string;
-        cid: string;
-    }>;
-    delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
-}
 export declare class PostRecord {
     _service: ServiceClient;
     constructor(service: ServiceClient);
diff --git a/src/third-party/api/src/client/lexicons.d.ts b/src/third-party/api/src/client/lexicons.d.ts
new file mode 100644
index 000000000..f97c5c2b0
--- /dev/null
+++ b/src/third-party/api/src/client/lexicons.d.ts
@@ -0,0 +1,63 @@
+import { LexiconDoc } from '@atproto/lexicon';
+export declare const lexicons: LexiconDoc[];
+export declare const ids: {
+    ComAtprotoAccountCreate: string;
+    ComAtprotoAccountCreateInviteCode: string;
+    ComAtprotoAccountDelete: string;
+    ComAtprotoAccountGet: string;
+    ComAtprotoAccountRequestPasswordReset: string;
+    ComAtprotoAccountResetPassword: string;
+    ComAtprotoHandleResolve: string;
+    ComAtprotoRepoBatchWrite: string;
+    ComAtprotoRepoCreateRecord: string;
+    ComAtprotoRepoDeleteRecord: string;
+    ComAtprotoRepoDescribe: string;
+    ComAtprotoRepoGetRecord: string;
+    ComAtprotoRepoListRecords: string;
+    ComAtprotoRepoPutRecord: string;
+    ComAtprotoRepoStrongRef: string;
+    ComAtprotoServerGetAccountsConfig: string;
+    ComAtprotoSessionCreate: string;
+    ComAtprotoSessionDelete: string;
+    ComAtprotoSessionGet: string;
+    ComAtprotoSessionRefresh: string;
+    ComAtprotoSyncGetRepo: string;
+    ComAtprotoSyncGetRoot: string;
+    ComAtprotoSyncUpdateRepo: string;
+    AppBskyActorCreateScene: string;
+    AppBskyActorGetProfile: string;
+    AppBskyActorGetSuggestions: string;
+    AppBskyActorProfile: string;
+    AppBskyActorRef: string;
+    AppBskyActorSearch: string;
+    AppBskyActorSearchTypeahead: string;
+    AppBskyActorUpdateProfile: string;
+    AppBskyFeedEmbed: string;
+    AppBskyFeedGetAuthorFeed: string;
+    AppBskyFeedGetPostThread: string;
+    AppBskyFeedGetRepostedBy: string;
+    AppBskyFeedGetTimeline: string;
+    AppBskyFeedGetVotes: string;
+    AppBskyFeedPost: string;
+    AppBskyFeedRepost: string;
+    AppBskyFeedSetVote: string;
+    AppBskyFeedTrend: string;
+    AppBskyFeedVote: string;
+    AppBskyGraphAssertCreator: string;
+    AppBskyGraphAssertMember: string;
+    AppBskyGraphAssertion: string;
+    AppBskyGraphConfirmation: string;
+    AppBskyGraphFollow: string;
+    AppBskyGraphGetAssertions: string;
+    AppBskyGraphGetFollowers: string;
+    AppBskyGraphGetFollows: string;
+    AppBskyGraphGetMembers: string;
+    AppBskyGraphGetMemberships: string;
+    AppBskyNotificationGetCount: string;
+    AppBskyNotificationList: string;
+    AppBskyNotificationUpdateSeen: string;
+    AppBskySystemActorScene: string;
+    AppBskySystemActorUser: string;
+    AppBskySystemDeclRef: string;
+    AppBskySystemDeclaration: string;
+};
diff --git a/src/third-party/api/src/client/types/app/bsky/actor/createScene.d.ts b/src/third-party/api/src/client/types/app/bsky/actor/createScene.d.ts
index d687b7615..99eb5a4b9 100644
--- a/src/third-party/api/src/client/types/app/bsky/actor/createScene.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/actor/createScene.d.ts
@@ -1,25 +1,22 @@
 import { Headers, XRPCError } from '@atproto/xrpc';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     handle: string;
     recoveryKey?: string;
+    [k: string]: unknown;
 }
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     handle: string;
     did: string;
-    declaration: Declaration;
+    declaration: AppBskySystemDeclRef.Main;
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/app/bsky/actor/getProfile.d.ts b/src/third-party/api/src/client/types/app/bsky/actor/getProfile.d.ts
index 58cf941bc..791790bee 100644
--- a/src/third-party/api/src/client/types/app/bsky/actor/getProfile.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/actor/getProfile.d.ts
@@ -1,16 +1,12 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     actor: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     did: string;
-    declaration: Declaration;
+    declaration: AppBskySystemDeclRef.Main;
     handle: string;
     creator: string;
     displayName?: string;
@@ -19,14 +15,11 @@ export interface OutputSchema {
     followsCount: number;
     membersCount: number;
     postsCount: number;
-    myState?: {
-        follow?: string;
-        member?: string;
-    };
+    myState?: MyState;
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -34,3 +27,8 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface MyState {
+    follow?: string;
+    member?: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/actor/getSuggestions.d.ts b/src/third-party/api/src/client/types/app/bsky/actor/getSuggestions.d.ts
index 718b4bf33..3dbe3fad2 100644
--- a/src/third-party/api/src/client/types/app/bsky/actor/getSuggestions.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/actor/getSuggestions.d.ts
@@ -1,31 +1,17 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     limit?: number;
     cursor?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     cursor?: string;
-    actors: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-        description?: string;
-        indexedAt?: string;
-        myState?: {
-            follow?: string;
-        };
-    }[];
+    actors: Actor[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -33,3 +19,17 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Actor {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    description?: string;
+    indexedAt?: string;
+    myState?: MyState;
+    [k: string]: unknown;
+}
+export interface MyState {
+    follow?: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/actor/ref.d.ts b/src/third-party/api/src/client/types/app/bsky/actor/ref.d.ts
new file mode 100644
index 000000000..a2865382c
--- /dev/null
+++ b/src/third-party/api/src/client/types/app/bsky/actor/ref.d.ts
@@ -0,0 +1,13 @@
+import * as AppBskySystemDeclRef from '../system/declRef';
+export interface Main {
+    did: string;
+    declarationCid: string;
+    [k: string]: unknown;
+}
+export interface WithInfo {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/actor/search.d.ts b/src/third-party/api/src/client/types/app/bsky/actor/search.d.ts
index 448a10651..3685bdc54 100644
--- a/src/third-party/api/src/client/types/app/bsky/actor/search.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/actor/search.d.ts
@@ -1,29 +1,18 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     term: string;
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     cursor?: string;
-    users: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-        description?: string;
-        indexedAt?: string;
-    }[];
+    users: User[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -31,3 +20,12 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface User {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    description?: string;
+    indexedAt?: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/actor/searchTypeahead.d.ts b/src/third-party/api/src/client/types/app/bsky/actor/searchTypeahead.d.ts
index 293b1dc27..530f5cf60 100644
--- a/src/third-party/api/src/client/types/app/bsky/actor/searchTypeahead.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/actor/searchTypeahead.d.ts
@@ -1,25 +1,16 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     term: string;
     limit?: number;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
-    users: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-    }[];
+    users: User[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -27,3 +18,10 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface User {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/actor/updateProfile.d.ts b/src/third-party/api/src/client/types/app/bsky/actor/updateProfile.d.ts
index adec1dbe3..598acfdec 100644
--- a/src/third-party/api/src/client/types/app/bsky/actor/updateProfile.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/actor/updateProfile.d.ts
@@ -1,20 +1,22 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     did?: string;
     displayName?: string;
     description?: string;
+    [k: string]: unknown;
 }
 export interface OutputSchema {
     uri: string;
     cid: string;
     record: {};
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/debug.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/debug.d.ts
new file mode 100644
index 000000000..7fb79cb32
--- /dev/null
+++ b/src/third-party/api/src/client/types/app/bsky/feed/debug.d.ts
@@ -0,0 +1,57 @@
+export interface Record {
+    text: string;
+    entities?: Entity[];
+    reply?: Reply;
+    createdAt: string;
+    [k: string]: unknown;
+}
+export declare const SOMETOKEN = "app.bsky.feed.debug#someToken";
+export declare type Unknown = {};
+export declare type Boolean = boolean;
+export declare type Number = number;
+export declare type Integer = number;
+export declare type String = string;
+export declare type Blob = {
+    cid: string;
+    mimeType: string;
+    [k: string]: unknown;
+};
+export declare type Image = {
+    cid: string;
+    mimeType: string;
+    [k: string]: unknown;
+};
+export declare type Video = {
+    cid: string;
+    mimeType: string;
+    [k: string]: unknown;
+};
+export declare type Audio = {
+    cid: string;
+    mimeType: string;
+    [k: string]: unknown;
+};
+export declare type StringArr = string[];
+export declare type ReplyArr = Reply[];
+export declare type MultiArr = (Reply | PostRef | Entity)[];
+export interface Reply {
+    root: PostRef;
+    parent: PostRef;
+    [k: string]: unknown;
+}
+export interface PostRef {
+    uri: string;
+    cid: string;
+    [k: string]: unknown;
+}
+export interface Entity {
+    index: TextSlice;
+    type: string;
+    value: string;
+    [k: string]: unknown;
+}
+export interface TextSlice {
+    start: number;
+    end: number;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/embed.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/embed.d.ts
new file mode 100644
index 000000000..96a3dae6e
--- /dev/null
+++ b/src/third-party/api/src/client/types/app/bsky/feed/embed.d.ts
@@ -0,0 +1,36 @@
+import * as AppBskyActorRef from '../actor/ref';
+export interface Main {
+    items?: (Media | Record | External | {
+        $type: string;
+        [k: string]: unknown;
+    })[];
+    [k: string]: unknown;
+}
+export interface Media {
+    alt?: string;
+    thumb?: {
+        cid: string;
+        mimeType: string;
+        [k: string]: unknown;
+    };
+    original: {
+        cid: string;
+        mimeType: string;
+        [k: string]: unknown;
+    };
+    [k: string]: unknown;
+}
+export interface Record {
+    type: 'record';
+    author: AppBskyActorRef.WithInfo;
+    record: {};
+    [k: string]: unknown;
+}
+export interface External {
+    type: 'external';
+    uri: string;
+    title: string;
+    description: string;
+    imageUri: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/getAuthorFeed.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/getAuthorFeed.d.ts
index 0d330b3c7..45f220812 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/getAuthorFeed.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/getAuthorFeed.d.ts
@@ -1,66 +1,45 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
+import * as AppBskyFeedEmbed from './embed';
 export interface QueryParams {
     author: string;
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     cursor?: string;
     feed: FeedItem[];
+    [k: string]: unknown;
 }
+export interface CallOptions {
+    headers?: Headers;
+}
+export interface Response {
+    success: boolean;
+    headers: Headers;
+    data: OutputSchema;
+}
+export declare function toKnownErr(e: any): any;
 export interface FeedItem {
     uri: string;
     cid: string;
-    author: Actor;
-    trendedBy?: Actor;
-    repostedBy?: Actor;
+    author: AppBskyActorRef.WithInfo;
+    trendedBy?: AppBskyActorRef.WithInfo;
+    repostedBy?: AppBskyActorRef.WithInfo;
     record: {};
-    embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;
+    embed?: AppBskyFeedEmbed.Main;
     replyCount: number;
     repostCount: number;
     upvoteCount: number;
     downvoteCount: number;
     indexedAt: string;
-    myState?: {
-        repost?: string;
-        upvote?: string;
-        downvote?: string;
-    };
+    myState?: MyState;
+    [k: string]: unknown;
 }
-export interface Actor {
-    did: string;
-    declaration: Declaration;
-    handle: string;
-    displayName?: string;
+export interface MyState {
+    repost?: string;
+    upvote?: string;
+    downvote?: string;
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
-}
-export interface RecordEmbed {
-    type: 'record';
-    author: Actor;
-    record: {};
-}
-export interface ExternalEmbed {
-    type: 'external';
-    uri: string;
-    title: string;
-    description: string;
-    imageUri: string;
-}
-export interface UnknownEmbed {
-    type: string;
-}
-export interface Response {
-    success: boolean;
-    headers: Headers;
-    data: OutputSchema;
-}
-export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/getPostThread.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/getPostThread.d.ts
index 5032e03b7..c8ef7eee8 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/getPostThread.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/getPostThread.d.ts
@@ -1,67 +1,60 @@
 import { Headers, XRPCError } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
+import * as AppBskyFeedEmbed from './embed';
 export interface QueryParams {
     uri: string;
     depth?: number;
 }
+export declare type InputSchema = undefined;
+export interface OutputSchema {
+    thread: Post | NotFoundPost | {
+        $type: string;
+        [k: string]: unknown;
+    };
+    [k: string]: unknown;
+}
 export interface CallOptions {
     headers?: Headers;
 }
-export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
-export interface OutputSchema {
-    thread: Post;
+export interface Response {
+    success: boolean;
+    headers: Headers;
+    data: OutputSchema;
 }
+export declare class NotFoundError extends XRPCError {
+    constructor(src: XRPCError);
+}
+export declare function toKnownErr(e: any): any;
 export interface Post {
     uri: string;
     cid: string;
-    author: User;
+    author: AppBskyActorRef.WithInfo;
     record: {};
-    embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;
-    parent?: Post;
+    embed?: AppBskyFeedEmbed.Main;
+    parent?: Post | NotFoundPost | {
+        $type: string;
+        [k: string]: unknown;
+    };
     replyCount: number;
-    replies?: Post[];
+    replies?: (Post | NotFoundPost | {
+        $type: string;
+        [k: string]: unknown;
+    })[];
     repostCount: number;
     upvoteCount: number;
     downvoteCount: number;
     indexedAt: string;
-    myState?: {
-        repost?: string;
-        upvote?: string;
-        downvote?: string;
-    };
-}
-export interface User {
-    did: string;
-    declaration: Declaration;
-    handle: string;
-    displayName?: string;
-}
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+    myState?: MyState;
+    [k: string]: unknown;
 }
-export interface RecordEmbed {
-    type: 'record';
-    author: User;
-    record: {};
-}
-export interface ExternalEmbed {
-    type: 'external';
+export interface NotFoundPost {
     uri: string;
-    title: string;
-    description: string;
-    imageUri: string;
+    notFound: true;
+    [k: string]: unknown;
 }
-export interface UnknownEmbed {
-    type: string;
+export interface MyState {
+    repost?: string;
+    upvote?: string;
+    downvote?: string;
+    [k: string]: unknown;
 }
-export interface Response {
-    success: boolean;
-    headers: Headers;
-    data: OutputSchema;
-}
-export declare class NotFoundError extends XRPCError {
-    constructor(src: XRPCError);
-}
-export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/getRepostedBy.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/getRepostedBy.d.ts
index ca994c414..712ba64ee 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/getRepostedBy.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/getRepostedBy.d.ts
@@ -1,32 +1,21 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     uri: string;
     cid?: string;
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     uri: string;
     cid?: string;
     cursor?: string;
-    repostedBy: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-        createdAt?: string;
-        indexedAt: string;
-    }[];
+    repostedBy: RepostedBy[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -34,3 +23,12 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface RepostedBy {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    createdAt?: string;
+    indexedAt: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/getTimeline.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/getTimeline.d.ts
index e6d74fe80..52f6839eb 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/getTimeline.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/getTimeline.d.ts
@@ -1,67 +1,45 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
+import * as AppBskyFeedEmbed from './embed';
 export interface QueryParams {
     algorithm?: string;
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     cursor?: string;
     feed: FeedItem[];
+    [k: string]: unknown;
 }
+export interface CallOptions {
+    headers?: Headers;
+}
+export interface Response {
+    success: boolean;
+    headers: Headers;
+    data: OutputSchema;
+}
+export declare function toKnownErr(e: any): any;
 export interface FeedItem {
     uri: string;
     cid: string;
-    author: Actor;
-    trendedBy?: Actor;
-    repostedBy?: Actor;
+    author: AppBskyActorRef.WithInfo;
+    trendedBy?: AppBskyActorRef.WithInfo;
+    repostedBy?: AppBskyActorRef.WithInfo;
     record: {};
-    embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;
+    embed?: AppBskyFeedEmbed.Main;
     replyCount: number;
     repostCount: number;
     upvoteCount: number;
     downvoteCount: number;
     indexedAt: string;
-    myState?: {
-        repost?: string;
-        upvote?: string;
-        downvote?: string;
-    };
+    myState?: MyState;
+    [k: string]: unknown;
 }
-export interface Actor {
-    did: string;
-    declaration: Declaration;
-    handle: string;
-    actorType?: string;
-    displayName?: string;
+export interface MyState {
+    repost?: string;
+    upvote?: string;
+    downvote?: string;
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
-}
-export interface RecordEmbed {
-    type: 'record';
-    author: Actor;
-    record: {};
-}
-export interface ExternalEmbed {
-    type: 'external';
-    uri: string;
-    title: string;
-    description: string;
-    imageUri: string;
-}
-export interface UnknownEmbed {
-    type: string;
-}
-export interface Response {
-    success: boolean;
-    headers: Headers;
-    data: OutputSchema;
-}
-export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/getVotes.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/getVotes.d.ts
index 43ec3dc01..23fabecb6 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/getVotes.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/getVotes.d.ts
@@ -1,4 +1,5 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
 export interface QueryParams {
     uri: string;
     cid?: string;
@@ -6,32 +7,16 @@ export interface QueryParams {
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     uri: string;
     cid?: string;
     cursor?: string;
-    votes: {
-        direction: 'up' | 'down';
-        indexedAt: string;
-        createdAt: string;
-        actor: Actor;
-    }[];
-}
-export interface Actor {
-    did: string;
-    declaration: Declaration;
-    handle: string;
-    displayName?: string;
+    votes: Vote[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -39,3 +24,10 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Vote {
+    direction: 'up' | 'down';
+    indexedAt: string;
+    createdAt: string;
+    actor: AppBskyActorRef.WithInfo;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/mediaEmbed.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/mediaEmbed.d.ts
index d27211bff..4315abaab 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/mediaEmbed.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/mediaEmbed.d.ts
@@ -1,15 +1,18 @@
-export interface Record {
+export interface Main {
     media: MediaEmbed[];
     [k: string]: unknown;
 }
 export interface MediaEmbed {
     alt?: string;
-    thumb?: MediaEmbedBlob;
-    original: MediaEmbedBlob;
-    [k: string]: unknown;
-}
-export interface MediaEmbedBlob {
-    mimeType: string;
-    blobId: string;
+    thumb?: {
+        cid: string;
+        mimeType: string;
+        [k: string]: unknown;
+    };
+    original: {
+        cid: string;
+        mimeType: string;
+        [k: string]: unknown;
+    };
     [k: string]: unknown;
 }
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/post.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/post.d.ts
index 04be969a7..a48b92318 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/post.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/post.d.ts
@@ -1,14 +1,16 @@
+import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
 export interface Record {
     text: string;
     entities?: Entity[];
-    reply?: {
-        root: PostRef;
-        parent: PostRef;
-        [k: string]: unknown;
-    };
+    reply?: ReplyRef;
     createdAt: string;
     [k: string]: unknown;
 }
+export interface ReplyRef {
+    root: ComAtprotoRepoStrongRef.Main;
+    parent: ComAtprotoRepoStrongRef.Main;
+    [k: string]: unknown;
+}
 export interface Entity {
     index: TextSlice;
     type: string;
@@ -20,8 +22,3 @@ export interface TextSlice {
     end: number;
     [k: string]: unknown;
 }
-export interface PostRef {
-    uri: string;
-    cid: string;
-    [k: string]: unknown;
-}
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/repost.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/repost.d.ts
index ec9aca58e..4712ae51d 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/repost.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/repost.d.ts
@@ -1,10 +1,6 @@
+import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
 export interface Record {
-    subject: Subject;
+    subject: ComAtprotoRepoStrongRef.Main;
     createdAt: string;
     [k: string]: unknown;
 }
-export interface Subject {
-    uri: string;
-    cid: string;
-    [k: string]: unknown;
-}
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/setVote.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/setVote.d.ts
index bd8951510..8b59250ec 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/setVote.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/setVote.d.ts
@@ -1,22 +1,21 @@
 import { Headers } from '@atproto/xrpc';
+import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
-    subject: Subject;
+    subject: ComAtprotoRepoStrongRef.Main;
     direction: 'up' | 'down' | 'none';
-}
-export interface Subject {
-    uri: string;
-    cid: string;
+    [k: string]: unknown;
 }
 export interface OutputSchema {
     upvote?: string;
     downvote?: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/trend.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/trend.d.ts
index ec9aca58e..4712ae51d 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/trend.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/trend.d.ts
@@ -1,10 +1,6 @@
+import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
 export interface Record {
-    subject: Subject;
+    subject: ComAtprotoRepoStrongRef.Main;
     createdAt: string;
     [k: string]: unknown;
 }
-export interface Subject {
-    uri: string;
-    cid: string;
-    [k: string]: unknown;
-}
diff --git a/src/third-party/api/src/client/types/app/bsky/feed/vote.d.ts b/src/third-party/api/src/client/types/app/bsky/feed/vote.d.ts
index a9a8dc052..678708e37 100644
--- a/src/third-party/api/src/client/types/app/bsky/feed/vote.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/feed/vote.d.ts
@@ -1,11 +1,7 @@
+import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
 export interface Record {
-    subject: Subject;
+    subject: ComAtprotoRepoStrongRef.Main;
     direction: 'up' | 'down';
     createdAt: string;
     [k: string]: unknown;
 }
-export interface Subject {
-    uri: string;
-    cid: string;
-    [k: string]: unknown;
-}
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/assertCreator.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/assertCreator.d.ts
new file mode 100644
index 000000000..165c6eea0
--- /dev/null
+++ b/src/third-party/api/src/client/types/app/bsky/graph/assertCreator.d.ts
@@ -0,0 +1 @@
+export declare const MAIN = "app.bsky.graph.assertCreator#main";
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/assertMember.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/assertMember.d.ts
new file mode 100644
index 000000000..9602b9b52
--- /dev/null
+++ b/src/third-party/api/src/client/types/app/bsky/graph/assertMember.d.ts
@@ -0,0 +1 @@
+export declare const MAIN = "app.bsky.graph.assertMember#main";
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/assertion.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/assertion.d.ts
index 08c5c7ece..95beb7cda 100644
--- a/src/third-party/api/src/client/types/app/bsky/graph/assertion.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/graph/assertion.d.ts
@@ -1,10 +1,7 @@
+import * as AppBskyActorRef from '../actor/ref';
 export interface Record {
     assertion: string;
-    subject: {
-        did: string;
-        declarationCid: string;
-        [k: string]: unknown;
-    };
+    subject: AppBskyActorRef.Main;
     createdAt: string;
     [k: string]: unknown;
 }
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/confirmation.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/confirmation.d.ts
index 98d19e7f8..58fdbcfa0 100644
--- a/src/third-party/api/src/client/types/app/bsky/graph/confirmation.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/graph/confirmation.d.ts
@@ -1,14 +1,8 @@
+import * as AppBskyActorRef from '../actor/ref';
+import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
 export interface Record {
-    originator: {
-        did: string;
-        declarationCid: string;
-        [k: string]: unknown;
-    };
-    assertion: {
-        uri: string;
-        cid: string;
-        [k: string]: unknown;
-    };
+    originator: AppBskyActorRef.Main;
+    assertion: ComAtprotoRepoStrongRef.Main;
     createdAt: string;
     [k: string]: unknown;
 }
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/follow.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/follow.d.ts
index ca12d36ca..ae77d2302 100644
--- a/src/third-party/api/src/client/types/app/bsky/graph/follow.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/graph/follow.d.ts
@@ -1,9 +1,6 @@
+import * as AppBskyActorRef from '../actor/ref';
 export interface Record {
-    subject: {
-        did: string;
-        declarationCid: string;
-        [k: string]: unknown;
-    };
+    subject: AppBskyActorRef.Main;
     createdAt: string;
     [k: string]: unknown;
 }
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts
index f507d3743..62d0fc1de 100644
--- a/src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts
@@ -1,4 +1,5 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
 export interface QueryParams {
     author?: string;
     subject?: string;
@@ -7,40 +8,14 @@ export interface QueryParams {
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     cursor?: string;
-    assertions: {
-        uri: string;
-        cid: string;
-        assertion: string;
-        confirmation?: Confirmation;
-        author: Actor;
-        subject: Actor;
-        indexedAt: string;
-        createdAt: string;
-    }[];
-}
-export interface Confirmation {
-    uri: string;
-    cid: string;
-    indexedAt: string;
-    createdAt: string;
+    assertions: Assertion[];
+    [k: string]: unknown;
 }
-export interface Actor {
-    did: string;
-    declaration: Declaration;
-    handle: string;
-    displayName?: string;
-}
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -48,3 +23,21 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Assertion {
+    uri: string;
+    cid: string;
+    assertion: string;
+    confirmation?: Confirmation;
+    author: AppBskyActorRef.WithInfo;
+    subject: AppBskyActorRef.WithInfo;
+    indexedAt: string;
+    createdAt: string;
+    [k: string]: unknown;
+}
+export interface Confirmation {
+    uri: string;
+    cid: string;
+    indexedAt: string;
+    createdAt: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/getFollowers.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/getFollowers.d.ts
index 35d7b8239..d7d978fa7 100644
--- a/src/third-party/api/src/client/types/app/bsky/graph/getFollowers.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/graph/getFollowers.d.ts
@@ -1,35 +1,19 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     user: string;
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
-    subject: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-    };
+    subject: Subject;
     cursor?: string;
-    followers: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-        createdAt?: string;
-        indexedAt: string;
-    }[];
+    followers: Follower[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -37,3 +21,19 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Subject {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    [k: string]: unknown;
+}
+export interface Follower {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    createdAt?: string;
+    indexedAt: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/getFollows.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/getFollows.d.ts
index 337cb3d46..a3b2488dc 100644
--- a/src/third-party/api/src/client/types/app/bsky/graph/getFollows.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/graph/getFollows.d.ts
@@ -1,35 +1,20 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     user: string;
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
-    subject: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-    };
+    subject: AppBskyActorRef.WithInfo;
     cursor?: string;
-    follows: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-        createdAt?: string;
-        indexedAt: string;
-    }[];
+    follows: Follow[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -37,3 +22,12 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Follow {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    createdAt?: string;
+    indexedAt: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/getMembers.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/getMembers.d.ts
index cb5e19c5c..34d321744 100644
--- a/src/third-party/api/src/client/types/app/bsky/graph/getMembers.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/graph/getMembers.d.ts
@@ -1,35 +1,20 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     actor: string;
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
-    subject: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-    };
+    subject: AppBskyActorRef.WithInfo;
     cursor?: string;
-    members: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-        createdAt?: string;
-        indexedAt: string;
-    }[];
+    members: Member[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -37,3 +22,12 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Member {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    createdAt?: string;
+    indexedAt: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/graph/getMemberships.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/getMemberships.d.ts
index 1c4c398ec..5b26dd478 100644
--- a/src/third-party/api/src/client/types/app/bsky/graph/getMemberships.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/graph/getMemberships.d.ts
@@ -1,35 +1,20 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
+import * as AppBskySystemDeclRef from '../system/declRef';
 export interface QueryParams {
     actor: string;
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
-    subject: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-    };
+    subject: AppBskyActorRef.WithInfo;
     cursor?: string;
-    memberships: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-        createdAt?: string;
-        indexedAt: string;
-    }[];
+    memberships: Membership[];
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -37,3 +22,12 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Membership {
+    did: string;
+    declaration: AppBskySystemDeclRef.Main;
+    handle: string;
+    displayName?: string;
+    createdAt?: string;
+    indexedAt: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/notification/getCount.d.ts b/src/third-party/api/src/client/types/app/bsky/notification/getCount.d.ts
index 46d20536f..26459d28e 100644
--- a/src/third-party/api/src/client/types/app/bsky/notification/getCount.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/notification/getCount.d.ts
@@ -1,12 +1,13 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     count: number;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/app/bsky/notification/list.d.ts b/src/third-party/api/src/client/types/app/bsky/notification/list.d.ts
index 8144e66c3..9dd9edff0 100644
--- a/src/third-party/api/src/client/types/app/bsky/notification/list.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/notification/list.d.ts
@@ -1,40 +1,32 @@
 import { Headers } from '@atproto/xrpc';
+import * as AppBskyActorRef from '../actor/ref';
 export interface QueryParams {
     limit?: number;
     before?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface OutputSchema {
     cursor?: string;
     notifications: Notification[];
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+}
+export interface Response {
+    success: boolean;
+    headers: Headers;
+    data: OutputSchema;
 }
+export declare function toKnownErr(e: any): any;
 export interface Notification {
     uri: string;
     cid: string;
-    author: {
-        did: string;
-        declaration: Declaration;
-        handle: string;
-        displayName?: string;
-    };
-    reason: string;
+    author: AppBskyActorRef.WithInfo;
+    reason: 'vote' | 'repost' | 'trend' | 'follow' | 'invite' | 'mention' | 'reply' | (string & {});
     reasonSubject?: string;
     record: {};
     isRead: boolean;
     indexedAt: string;
+    [k: string]: unknown;
 }
-export interface Declaration {
-    cid: string;
-    actorType: ActorKnown | ActorUnknown;
-}
-export interface Response {
-    success: boolean;
-    headers: Headers;
-    data: OutputSchema;
-}
-export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/app/bsky/notification/updateSeen.d.ts b/src/third-party/api/src/client/types/app/bsky/notification/updateSeen.d.ts
index 3c1c0a2fe..3cf8309ac 100644
--- a/src/third-party/api/src/client/types/app/bsky/notification/updateSeen.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/notification/updateSeen.d.ts
@@ -1,20 +1,17 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
+export interface InputSchema {
+    seenAt: string;
+    [k: string]: unknown;
+}
 export interface CallOptions {
     headers?: Headers;
     qp?: QueryParams;
     encoding: 'application/json';
 }
-export interface InputSchema {
-    seenAt: string;
-}
-export interface OutputSchema {
-    [k: string]: unknown;
-}
 export interface Response {
     success: boolean;
     headers: Headers;
-    data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/app/bsky/system/actorScene.d.ts b/src/third-party/api/src/client/types/app/bsky/system/actorScene.d.ts
new file mode 100644
index 000000000..35200c2fb
--- /dev/null
+++ b/src/third-party/api/src/client/types/app/bsky/system/actorScene.d.ts
@@ -0,0 +1 @@
+export declare const MAIN = "app.bsky.system.actorScene#main";
diff --git a/src/third-party/api/src/client/types/app/bsky/system/actorUser.d.ts b/src/third-party/api/src/client/types/app/bsky/system/actorUser.d.ts
new file mode 100644
index 000000000..1cc5b5545
--- /dev/null
+++ b/src/third-party/api/src/client/types/app/bsky/system/actorUser.d.ts
@@ -0,0 +1 @@
+export declare const MAIN = "app.bsky.system.actorUser#main";
diff --git a/src/third-party/api/src/client/types/app/bsky/system/declRef.d.ts b/src/third-party/api/src/client/types/app/bsky/system/declRef.d.ts
new file mode 100644
index 000000000..2e0d6e3ed
--- /dev/null
+++ b/src/third-party/api/src/client/types/app/bsky/system/declRef.d.ts
@@ -0,0 +1,5 @@
+export interface Main {
+    cid: string;
+    actorType: 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene' | (string & {});
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/app/bsky/system/declaration.d.ts b/src/third-party/api/src/client/types/app/bsky/system/declaration.d.ts
index 817afb186..40fe6ad77 100644
--- a/src/third-party/api/src/client/types/app/bsky/system/declaration.d.ts
+++ b/src/third-party/api/src/client/types/app/bsky/system/declaration.d.ts
@@ -1,6 +1,4 @@
-export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
-export declare type ActorUnknown = string;
 export interface Record {
-    actorType: ActorKnown | ActorUnknown;
+    actorType: 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene' | (string & {});
     [k: string]: unknown;
 }
diff --git a/src/third-party/api/src/client/types/com/atproto/account/create.d.ts b/src/third-party/api/src/client/types/com/atproto/account/create.d.ts
index 1a6fe9f09..b93f51ac0 100644
--- a/src/third-party/api/src/client/types/com/atproto/account/create.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/account/create.d.ts
@@ -1,23 +1,25 @@
 import { Headers, XRPCError } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     email: string;
     handle: string;
     inviteCode?: string;
     password: string;
     recoveryKey?: string;
+    [k: string]: unknown;
 }
 export interface OutputSchema {
     accessJwt: string;
     refreshJwt: string;
     handle: string;
     did: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/account/createInviteCode.d.ts b/src/third-party/api/src/client/types/com/atproto/account/createInviteCode.d.ts
index 9aac84bd8..71a3ef5fc 100644
--- a/src/third-party/api/src/client/types/com/atproto/account/createInviteCode.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/account/createInviteCode.d.ts
@@ -1,16 +1,18 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     useCount: number;
+    [k: string]: unknown;
 }
 export interface OutputSchema {
     code: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/account/delete.d.ts b/src/third-party/api/src/client/types/com/atproto/account/delete.d.ts
index 5a3c9d852..bb13f32b5 100644
--- a/src/third-party/api/src/client/types/com/atproto/account/delete.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/account/delete.d.ts
@@ -1,20 +1,13 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
+export declare type InputSchema = undefined;
 export interface CallOptions {
     headers?: Headers;
     qp?: QueryParams;
-    encoding: '';
-}
-export interface InputSchema {
-    [k: string]: unknown;
-}
-export interface OutputSchema {
-    [k: string]: unknown;
 }
 export interface Response {
     success: boolean;
     headers: Headers;
-    data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/com/atproto/account/get.d.ts b/src/third-party/api/src/client/types/com/atproto/account/get.d.ts
index ed9e823e4..344b6acdf 100644
--- a/src/third-party/api/src/client/types/com/atproto/account/get.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/account/get.d.ts
@@ -1,16 +1,12 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
+export declare type InputSchema = undefined;
 export interface CallOptions {
     headers?: Headers;
 }
-export declare type InputSchema = undefined;
-export interface OutputSchema {
-    [k: string]: unknown;
-}
 export interface Response {
     success: boolean;
     headers: Headers;
-    data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/com/atproto/account/requestPasswordReset.d.ts b/src/third-party/api/src/client/types/com/atproto/account/requestPasswordReset.d.ts
index b3b054dcd..5149d41ff 100644
--- a/src/third-party/api/src/client/types/com/atproto/account/requestPasswordReset.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/account/requestPasswordReset.d.ts
@@ -1,19 +1,17 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
+export interface InputSchema {
+    email: string;
+    [k: string]: unknown;
+}
 export interface CallOptions {
     headers?: Headers;
     qp?: QueryParams;
     encoding: 'application/json';
 }
-export interface InputSchema {
-    email: string;
-}
-export interface OutputSchema {
-}
 export interface Response {
     success: boolean;
     headers: Headers;
-    data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/com/atproto/account/resetPassword.d.ts b/src/third-party/api/src/client/types/com/atproto/account/resetPassword.d.ts
index a75def969..7dce293ff 100644
--- a/src/third-party/api/src/client/types/com/atproto/account/resetPassword.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/account/resetPassword.d.ts
@@ -1,21 +1,19 @@
 import { Headers, XRPCError } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     token: string;
     password: string;
+    [k: string]: unknown;
 }
-export interface OutputSchema {
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
     headers: Headers;
-    data: OutputSchema;
 }
 export declare class ExpiredTokenError extends XRPCError {
     constructor(src: XRPCError);
diff --git a/src/third-party/api/src/client/types/com/atproto/handle/resolve.d.ts b/src/third-party/api/src/client/types/com/atproto/handle/resolve.d.ts
index 67b1033ff..17d65d3b3 100644
--- a/src/third-party/api/src/client/types/com/atproto/handle/resolve.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/handle/resolve.d.ts
@@ -2,12 +2,13 @@ import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
     handle?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     did: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/repo/batchWrite.d.ts b/src/third-party/api/src/client/types/com/atproto/repo/batchWrite.d.ts
index f951f280a..5e740e9c2 100644
--- a/src/third-party/api/src/client/types/com/atproto/repo/batchWrite.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/repo/batchWrite.d.ts
@@ -1,36 +1,39 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     did: string;
     validate?: boolean;
-    writes: ({
-        action: 'create';
-        collection: string;
-        rkey?: string;
-        value: unknown;
-    } | {
-        action: 'update';
-        collection: string;
-        rkey: string;
-        value: unknown;
-    } | {
-        action: 'delete';
-        collection: string;
-        rkey: string;
-    })[];
-}
-export interface OutputSchema {
+    writes: (Create | Update | Delete)[];
     [k: string]: unknown;
 }
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
+}
 export interface Response {
     success: boolean;
     headers: Headers;
-    data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Create {
+    action: 'create';
+    collection: string;
+    rkey?: string;
+    value: {};
+    [k: string]: unknown;
+}
+export interface Update {
+    action: 'update';
+    collection: string;
+    rkey: string;
+    value: {};
+    [k: string]: unknown;
+}
+export interface Delete {
+    action: 'delete';
+    collection: string;
+    rkey: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/com/atproto/repo/createRecord.d.ts b/src/third-party/api/src/client/types/com/atproto/repo/createRecord.d.ts
index 664eb3d03..97d8b640d 100644
--- a/src/third-party/api/src/client/types/com/atproto/repo/createRecord.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/repo/createRecord.d.ts
@@ -1,20 +1,22 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     did: string;
     collection: string;
     validate?: boolean;
     record: {};
+    [k: string]: unknown;
 }
 export interface OutputSchema {
     uri: string;
     cid: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/repo/deleteRecord.d.ts b/src/third-party/api/src/client/types/com/atproto/repo/deleteRecord.d.ts
index ebbf863eb..95318846f 100644
--- a/src/third-party/api/src/client/types/com/atproto/repo/deleteRecord.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/repo/deleteRecord.d.ts
@@ -1,15 +1,16 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     did: string;
     collection: string;
     rkey: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/repo/describe.d.ts b/src/third-party/api/src/client/types/com/atproto/repo/describe.d.ts
index 5d2242a6b..0ac43029a 100644
--- a/src/third-party/api/src/client/types/com/atproto/repo/describe.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/repo/describe.d.ts
@@ -2,9 +2,6 @@ import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
     user: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     handle: string;
@@ -12,6 +9,10 @@ export interface OutputSchema {
     didDoc: {};
     collections: string[];
     handleIsCorrect: boolean;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/repo/getRecord.d.ts b/src/third-party/api/src/client/types/com/atproto/repo/getRecord.d.ts
index 197fc2b28..ab39e64ac 100644
--- a/src/third-party/api/src/client/types/com/atproto/repo/getRecord.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/repo/getRecord.d.ts
@@ -5,14 +5,15 @@ export interface QueryParams {
     rkey: string;
     cid?: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     uri: string;
     cid?: string;
     value: {};
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/repo/listRecords.d.ts b/src/third-party/api/src/client/types/com/atproto/repo/listRecords.d.ts
index 0d1a6cc11..710cd3ba4 100644
--- a/src/third-party/api/src/client/types/com/atproto/repo/listRecords.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/repo/listRecords.d.ts
@@ -7,17 +7,14 @@ export interface QueryParams {
     after?: string;
     reverse?: boolean;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     cursor?: string;
-    records: {
-        uri: string;
-        cid: string;
-        value: {};
-    }[];
+    records: Record[];
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -25,3 +22,9 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Record {
+    uri: string;
+    cid: string;
+    value: {};
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/com/atproto/repo/putRecord.d.ts b/src/third-party/api/src/client/types/com/atproto/repo/putRecord.d.ts
index e776216cb..93b87c73f 100644
--- a/src/third-party/api/src/client/types/com/atproto/repo/putRecord.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/repo/putRecord.d.ts
@@ -1,21 +1,23 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     did: string;
     collection: string;
     rkey: string;
     validate?: boolean;
     record: {};
+    [k: string]: unknown;
 }
 export interface OutputSchema {
     uri: string;
     cid: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/repo/strongRef.d.ts b/src/third-party/api/src/client/types/com/atproto/repo/strongRef.d.ts
new file mode 100644
index 000000000..4904603a5
--- /dev/null
+++ b/src/third-party/api/src/client/types/com/atproto/repo/strongRef.d.ts
@@ -0,0 +1,5 @@
+export interface Main {
+    uri: string;
+    cid: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/com/atproto/server/getAccountsConfig.d.ts b/src/third-party/api/src/client/types/com/atproto/server/getAccountsConfig.d.ts
index c622ad820..8523c6b86 100644
--- a/src/third-party/api/src/client/types/com/atproto/server/getAccountsConfig.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/server/getAccountsConfig.d.ts
@@ -1,13 +1,15 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     inviteCodeRequired?: boolean;
     availableUserDomains: string[];
+    links?: Links;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
@@ -15,3 +17,8 @@ export interface Response {
     data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
+export interface Links {
+    privacyPolicy?: string;
+    termsOfService?: string;
+    [k: string]: unknown;
+}
diff --git a/src/third-party/api/src/client/types/com/atproto/session/create.d.ts b/src/third-party/api/src/client/types/com/atproto/session/create.d.ts
index c8d201639..a5b138f9e 100644
--- a/src/third-party/api/src/client/types/com/atproto/session/create.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/session/create.d.ts
@@ -1,20 +1,22 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-    encoding: 'application/json';
-}
 export interface InputSchema {
     handle: string;
     password: string;
+    [k: string]: unknown;
 }
 export interface OutputSchema {
     accessJwt: string;
     refreshJwt: string;
     handle: string;
     did: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
+    encoding: 'application/json';
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/session/delete.d.ts b/src/third-party/api/src/client/types/com/atproto/session/delete.d.ts
index 4e96df839..bb13f32b5 100644
--- a/src/third-party/api/src/client/types/com/atproto/session/delete.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/session/delete.d.ts
@@ -1,17 +1,13 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
+export declare type InputSchema = undefined;
 export interface CallOptions {
     headers?: Headers;
     qp?: QueryParams;
 }
-export declare type InputSchema = undefined;
-export interface OutputSchema {
-    [k: string]: unknown;
-}
 export interface Response {
     success: boolean;
     headers: Headers;
-    data: OutputSchema;
 }
 export declare function toKnownErr(e: any): any;
diff --git a/src/third-party/api/src/client/types/com/atproto/session/get.d.ts b/src/third-party/api/src/client/types/com/atproto/session/get.d.ts
index f4bf94eda..0355a9da7 100644
--- a/src/third-party/api/src/client/types/com/atproto/session/get.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/session/get.d.ts
@@ -1,13 +1,14 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     handle: string;
     did: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/session/refresh.d.ts b/src/third-party/api/src/client/types/com/atproto/session/refresh.d.ts
index 7ea198f05..8d450546e 100644
--- a/src/third-party/api/src/client/types/com/atproto/session/refresh.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/session/refresh.d.ts
@@ -1,16 +1,17 @@
 import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
 }
-export interface CallOptions {
-    headers?: Headers;
-    qp?: QueryParams;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     accessJwt: string;
     refreshJwt: string;
     handle: string;
     did: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
+    qp?: QueryParams;
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/sync/getRepo.d.ts b/src/third-party/api/src/client/types/com/atproto/sync/getRepo.d.ts
index 20613bc0c..fa9d6acd1 100644
--- a/src/third-party/api/src/client/types/com/atproto/sync/getRepo.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/sync/getRepo.d.ts
@@ -3,10 +3,10 @@ export interface QueryParams {
     did: string;
     from?: string;
 }
+export declare type InputSchema = undefined;
 export interface CallOptions {
     headers?: Headers;
 }
-export declare type InputSchema = undefined;
 export interface Response {
     success: boolean;
     headers: Headers;
diff --git a/src/third-party/api/src/client/types/com/atproto/sync/getRoot.d.ts b/src/third-party/api/src/client/types/com/atproto/sync/getRoot.d.ts
index 78ad6a80f..2a2b6c177 100644
--- a/src/third-party/api/src/client/types/com/atproto/sync/getRoot.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/sync/getRoot.d.ts
@@ -2,12 +2,13 @@ import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
     did: string;
 }
-export interface CallOptions {
-    headers?: Headers;
-}
 export declare type InputSchema = undefined;
 export interface OutputSchema {
     root: string;
+    [k: string]: unknown;
+}
+export interface CallOptions {
+    headers?: Headers;
 }
 export interface Response {
     success: boolean;
diff --git a/src/third-party/api/src/client/types/com/atproto/sync/updateRepo.d.ts b/src/third-party/api/src/client/types/com/atproto/sync/updateRepo.d.ts
index a7c1d5a1c..dfd3bd3f9 100644
--- a/src/third-party/api/src/client/types/com/atproto/sync/updateRepo.d.ts
+++ b/src/third-party/api/src/client/types/com/atproto/sync/updateRepo.d.ts
@@ -2,12 +2,12 @@ import { Headers } from '@atproto/xrpc';
 export interface QueryParams {
     did: string;
 }
+export declare type InputSchema = string | Uint8Array;
 export interface CallOptions {
     headers?: Headers;
     qp?: QueryParams;
     encoding: 'application/cbor';
 }
-export declare type InputSchema = string | Uint8Array;
 export interface Response {
     success: boolean;
     headers: Headers;
diff --git a/src/third-party/api/tsconfig.build.tsbuildinfo b/src/third-party/api/tsconfig.build.tsbuildinfo
index aa3df0b8e..c77fd4705 100644
--- a/src/third-party/api/tsconfig.build.tsbuildinfo
+++ b/src/third-party/api/tsconfig.build.tsbuildinfo
@@ -1 +1 @@
-{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/zod/lib/helpers/typealiases.d.ts","../../../node_modules/zod/lib/helpers/util.d.ts","../../../node_modules/zod/lib/zoderror.d.ts","../../../node_modules/zod/lib/locales/en.d.ts","../../../node_modules/zod/lib/errors.d.ts","../../../node_modules/zod/lib/helpers/parseutil.d.ts","../../../node_modules/zod/lib/helpers/enumutil.d.ts","../../../node_modules/zod/lib/helpers/errorutil.d.ts","../../../node_modules/zod/lib/helpers/partialutil.d.ts","../../../node_modules/zod/lib/types.d.ts","../../../node_modules/zod/lib/external.d.ts","../../../node_modules/zod/lib/index.d.ts","../../../node_modules/zod/index.d.ts","../../xrpc/src/types.ts","../../nsid/src/index.ts","../../lexicon/src/types.ts","../../../node_modules/uri-js/dist/es5/uri.all.d.ts","../../../node_modules/ajv/dist/compile/codegen/code.d.ts","../../../node_modules/ajv/dist/compile/codegen/scope.d.ts","../../../node_modules/ajv/dist/compile/codegen/index.d.ts","../../../node_modules/ajv/dist/compile/rules.d.ts","../../../node_modules/ajv/dist/compile/util.d.ts","../../../node_modules/ajv/dist/compile/validate/subschema.d.ts","../../../node_modules/ajv/dist/compile/errors.d.ts","../../../node_modules/ajv/dist/compile/validate/index.d.ts","../../../node_modules/ajv/dist/compile/validate/datatype.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/additionalitems.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/propertynames.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/additionalproperties.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/anyof.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/oneof.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/limitnumber.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/multipleof.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/uniqueitems.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../../node_modules/ajv/dist/vocabularies/format/format.d.ts","../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedproperties.d.ts","../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluateditems.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/dependentrequired.d.ts","../../../node_modules/ajv/dist/vocabularies/discriminator/types.d.ts","../../../node_modules/ajv/dist/vocabularies/discriminator/index.d.ts","../../../node_modules/ajv/dist/vocabularies/errors.d.ts","../../../node_modules/ajv/dist/types/json-schema.d.ts","../../../node_modules/ajv/dist/types/jtd-schema.d.ts","../../../node_modules/ajv/dist/runtime/validation_error.d.ts","../../../node_modules/ajv/dist/compile/ref_error.d.ts","../../../node_modules/ajv/dist/core.d.ts","../../../node_modules/ajv/dist/compile/resolve.d.ts","../../../node_modules/ajv/dist/compile/index.d.ts","../../../node_modules/ajv/dist/types/index.d.ts","../../../node_modules/ajv/dist/ajv.d.ts","../../../node_modules/ajv-formats/dist/formats.d.ts","../../../node_modules/ajv-formats/dist/limit.d.ts","../../../node_modules/ajv-formats/dist/index.d.ts","../../lexicon/src/record/schema.ts","../../lexicon/src/record/util.ts","../../lexicon/src/record/validation.ts","../../lexicon/src/record/validator.ts","../../lexicon/src/record/schemas.ts","../../lexicon/src/record/index.ts","../../lexicon/src/index.ts","../../xrpc/src/util.ts","../../xrpc/src/client.ts","../../xrpc/src/index.ts","../src/client/schemas.ts","../src/client/types/com/atproto/account/create.ts","../src/client/types/com/atproto/account/createinvitecode.ts","../src/client/types/com/atproto/account/delete.ts","../src/client/types/com/atproto/account/get.ts","../src/client/types/com/atproto/account/requestpasswordreset.ts","../src/client/types/com/atproto/account/resetpassword.ts","../src/client/types/com/atproto/handle/resolve.ts","../src/client/types/com/atproto/repo/batchwrite.ts","../src/client/types/com/atproto/repo/createrecord.ts","../src/client/types/com/atproto/repo/deleterecord.ts","../src/client/types/com/atproto/repo/describe.ts","../src/client/types/com/atproto/repo/getrecord.ts","../src/client/types/com/atproto/repo/listrecords.ts","../src/client/types/com/atproto/repo/putrecord.ts","../src/client/types/com/atproto/server/getaccountsconfig.ts","../src/client/types/com/atproto/session/create.ts","../src/client/types/com/atproto/session/delete.ts","../src/client/types/com/atproto/session/get.ts","../src/client/types/com/atproto/session/refresh.ts","../src/client/types/com/atproto/sync/getrepo.ts","../src/client/types/com/atproto/sync/getroot.ts","../src/client/types/com/atproto/sync/updaterepo.ts","../src/client/types/app/bsky/actor/createscene.ts","../src/client/types/app/bsky/actor/getprofile.ts","../src/client/types/app/bsky/actor/getsuggestions.ts","../src/client/types/app/bsky/actor/profile.ts","../src/client/types/app/bsky/actor/search.ts","../src/client/types/app/bsky/actor/searchtypeahead.ts","../src/client/types/app/bsky/actor/updateprofile.ts","../src/client/types/app/bsky/feed/getauthorfeed.ts","../src/client/types/app/bsky/feed/getpostthread.ts","../src/client/types/app/bsky/feed/getrepostedby.ts","../src/client/types/app/bsky/feed/gettimeline.ts","../src/client/types/app/bsky/feed/getvotes.ts","../src/client/types/app/bsky/feed/mediaembed.ts","../src/client/types/app/bsky/feed/post.ts","../src/client/types/app/bsky/feed/repost.ts","../src/client/types/app/bsky/feed/setvote.ts","../src/client/types/app/bsky/feed/trend.ts","../src/client/types/app/bsky/feed/vote.ts","../src/client/types/app/bsky/graph/assertion.ts","../src/client/types/app/bsky/graph/confirmation.ts","../src/client/types/app/bsky/graph/follow.ts","../src/client/types/app/bsky/graph/getassertions.ts","../src/client/types/app/bsky/graph/getfollowers.ts","../src/client/types/app/bsky/graph/getfollows.ts","../src/client/types/app/bsky/graph/getmembers.ts","../src/client/types/app/bsky/graph/getmemberships.ts","../src/client/types/app/bsky/notification/getcount.ts","../src/client/types/app/bsky/notification/list.ts","../src/client/types/app/bsky/notification/updateseen.ts","../src/client/types/app/bsky/system/declaration.ts","../src/client/index.ts","../../../node_modules/typed-emitter/index.d.ts","../src/session.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostic_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/util/types.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/ts3.6/base.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/base.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/bn.js/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/cors/index.d.ts","../../../node_modules/@types/elliptic/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/mime/mime.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/glob/node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/glob/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../../node_modules/@types/nodemailer/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/pg-types/index.d.ts","../../../node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/@types/pg/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb09ec0a64fc17dbbc4a228b3b18aa5f01db3440a6b0cbb02354df58674d584","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"9afae14803f3b7343ed6d193173008715c1fa3421a353a818c805244ed737a84","bb98c05ae5cb9bd7cb7ad76fe517251a661787a6f24337b842f47faf393f79c7","a93bf95f7009c90e7d1edb092560d4052e3ebbe9b9ad2d796bcd95dc4306825c","8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","c2cb3c8ff388781258ea9ddbcd8a947f751bddd6886e1d3b3ea09ddaa895df80","f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","014b34d4c2ef27191fdf3feabb6557ec92127f813910725b6e79ed9a49e466b6","72efc3e8cee3cb13144cb63bb8aacf28f918439a2ff222de89e0e5d7ba9c7170","b61efb129c7011068cb4ccbbd86d5741ac82653476b09f46d3d06dd99b5b687e","2b7961486503fa279a4f1a52928d8c31fc6558c335b750878721467210552dd7","d1f62988c7e8e8650f7ed39520a766648155abbf75dd89f60e24f069433301d4","5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","156b9be8718e5157c84f4ca2163a48f9a8334e4477b945694c882ab89fd3382d","6acd34fce3c170380832d5bd6fb7b9fe77ea637244f7dd098cfb1a728fb430f1","d89adb0c1cf2ba75e4c7533ed81e7638c8e507d4cd0b3f53fed24b5c0e6e2b7e","9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","44a8d350600656882fd7462774e32e8d13788313ba2e36d2e8d5437ac91b98df","60bb0e47502bf8716d1230288b4e6387c1d34cded12752ab5338108e2e662e67","b8870b5155d11a273c75718a4f19026da49f91c548703858cd3400d06c3bd3b8","b3ae4ded82f27cabba780b9af9647f6e08c9a4cabe8fbb7a0cca69c7add9ef4b","8d26ae32e5c9c080e44aee4a67e5ef02b5fda0604e6fecbb7b753c537e5282d9","05c4e792dae38912ba333725cdf8c42d242337d006c0d887f4ce5a7787871a95","cd44995ee13d5d23df17a10213fed7b483fabfd5ea08f267ab52c07ce0b6b4da","58ce1486f851942bd2d3056b399079bc9cb978ec933fe9833ea417e33eab676e","1a23b521db8d7ec9e2b96c6fbd4c7e96d12f408b1e03661b3b9f7da7291103e6","d3d0d11d30c9878ada3356b9c36a2754b8c7b6204a41c86bfb1488c08ce263b0","a6493f1f479637ed89a3ebec03f6dc117e3b1851d7e938ac4c8501396b8639a8","ae0951e44973e928fe2e999b11960493835d094b16adac0b085a79cff181bcb9","9d00e3a59eff68fa8c40e89953083eeaad1c5b2580ed7da2304424b249ecb237","1609ad4d488c356ee91eba7d7aa87cc6fb59bc8ac05c1a8f08665285ba3b71ad","8add088f72326098d68d622ddb024c00ae56a912383efe96b03f0481db88f7c9","dd17fe6332567b8f13e33dd3ff8926553cdcea2ad32d4350ce0063a2addaa764","4091d56a4622480549350b8811ec64c7826cd41a70ce5d9c1cc20384bb144049","353c0125b9e50c2a71e18394d46be5ccb37161cc0f0e7c69216aa6932c8cdafb","9c5d5f167e86b6ddf7142559a17d13fd39c34e868ae947c40381db866eed6609","4430dea494b0ee77bf823d9a7c4850a539e1060d5d865316bb23fb393e4f01d7","aae698ceead4edad0695b9ea87e43f274e698bdb302c8cb5fd2cab4dc496ccf0","51631e9a0c041e12479ab01f5801d8a237327d19e9ee37d5f1f66be912631425","c9d5d8adb1455f49182751ce885745dcc5f9697e9c260388bc3ae9d1860d5d10","f64289e3fa8d5719eaf5ba1bb02dd32dbbf7c603dda75c16770a6bc6e9c6b6d9","b1aa0e2e3511a8d10990f35866405c64c9e576258ef99eeb9ebafed980fd7506","2d255a5287f2fb5295688cb25bd18e1cd59866179f795f3f1fd6b71b7f0edf8f","43c1dbb78d5277a5fdd8fddce8b257f84ffa2b4253f58b95c04a310710d19e97","6c669d7e080344c1574aa276a89e57c3b9f0e97fab96a09427e7dfb19ca261bf","b71ac126853867d8e64c910f47d46d05c5ea797987d2604f63d401507dc43b6d","9a37238558d28b7ee06d08599e92eab30b90704541cc85e6448009d6d55fffa9","120b14d66a061910309ff97e7b06b5c6c09444218178b80b687a92af4d22d5dc","3de958065e3a44cbe0bfa667813bc59c63e63c9ce522af8dc1b64714910fa9ba","66e655f7c43558bae6703242cbd6c0551a94d0a97204bd4c4bbf7e77f24d1f85","72f7b32e023814078046c036ed4b7ad92414be0aebb63e805c682e14103ae38a","a89d8e67966d085ff971c9900cfa1abdd9732bab66d9c1914ecc15befdf8623d","7dfd0308261bb91b058eb91802690fe3f09192b263e070a19df4d629df29e265","608eb9d411ac76e93a10e05f8aae92b3a5cefc87594219b737df7c8737ba2bd7","cde493e09daad4bb29922fe633f760be9f0e8e2f39cdca999cce3b8690b5e13a","3d7f9eb12aface876f7b535cc89dcd416daf77f0b3573333f16ec0a70bcf902a","93ba4ac36f570c70a12d588e21c10dda9f351fad3e77d416952acddb27bff01d","8750f9dc1e277ffff7446c95571bae61aca0984e8f99e40fc1e8cb7161ae0642","66408d81ba8962282b1a55da34c6bd767105141f54d0ba14dca330efe0c8f552","7481b9d93ca44eb1f689e0b939545ff00dead7bdb9daba401dfb74292d83f831","821e64ddbdfa10fac5f0aed1c1d4e1f275840400caa96357ddfd15d02e5afba1","18992725cbd51b0846132ec46237bc7de4da1db440deb66a6242e2de8715dcfb","44f29187cfbc7aa4a6109204c8e5186509abc3b78874a2ee1498c51ab50f0f62","19ab78c1376c16e18c5b87dfa750813c935f0c4ce1d6ef88058ec38f9cf5ef08","c0f25c51a92ee4f072fe67057ec72ee72be2276c399a7d340ae944288a092fb6","3fc561fc6dd4088e53223a9bba7bebcf90246b2b21e54237dcce9e617c04d70f","01c8a2c0aa144ee6505d55074a1b9e6813f7b17a5d6fa82d1d915e6656b7299a","68d9a2010c776483645395ab9aa68d0546b9dcc79c37a9ebee4b6b5337c3582b","4d9a72ac7a6f2d3235ff8540ec294718801334df5b75aead03ebb52d3dc6a7ae","268018220f99e806d122d436ca95f86ae618eb75a9b646dc83141f11e35012a9","931b618b5058642415cd17e548b22e60795458fbd16d0a3eccab1d91c2ae8a80","13a99af21126377cc104fb775347be9278017935b89303890645648dcaf50cca","c27f493f12899bbba8390c628a48048b513c685102723232ede77c8701c115a7","dc8bd2d3fdede21907b93d1b962354779cdae08f83205f4507b639f0f69a29a2",{"version":"032e0a68bbb752c4b616a99053183723270c83232ca4f1ab688dc055cd6dc5bb","signature":"b7a71068726e7990b6ae91493834386b210f24773828a278e250b3f0ef9a4230"},{"version":"b79c472eb7907f24391f0ff57381e5e59f183bc229fc3dde74ad3259e8a43f49","signature":"f6d1da0c3eac8abacd2cbc4b13c20301939c0833030730272a7a7167b5fa8840"},{"version":"5abd712355b573ad1ffb76dff84e9ca25bbf0d99f8d08d9b2e3d49e240dc4268","signature":"4ab9da28d3de01deedf4c261fee8039b4b680079941d87fe4cf7d33117736e46"},{"version":"50e95f9d12fe8e17eec63b8a554172d359cf1fd81cf03978c96d53db46bdb35a","signature":"7e6dacdb09d56e0ccf69a1af3b4f4413ac044fbf3ab54258afc181ad177d1abe"},{"version":"81b8d8b9e2b1ef3036e0c43d4f9c3b1a590cdf4cd697b13006092c191a0c85ca","signature":"0cea6dd85fa33a467793b281ba1a70d02b5d27f968d5589c64d01845e0c123c0"},{"version":"eefd4f5c8123c786fbc89732aa30770eae99e8dbf1c4d3c3f01a8a1f18803eac","signature":"42249b647d343ef5dd579073f3bba0e1dca7c2e40e1d51e3c999fbae61a20220"},{"version":"b2ba179c4f14e3da5831e7311d010fb65c0602b0c6ec882d8552f0559fc7ec30","signature":"09f62d438f707eb5a2f8807c06127c497a0b779bf4954df50d0f59ff9da687c0"},{"version":"c73ec46a143f0110516093e040eea000eee0a79e3bc5c25f013fa5a52dc3888b","signature":"3a86b150fea5b41c6f44c1743aa63244a7705ccf1afdcab902f7558164d0f704"},{"version":"a69019b0a76e2f4d8d0a682231d427c005b6b5f6df031ccc094e8971f0312900","signature":"3a3cb2000ebb020c6b32147a8d250911b140dae437539a3dc251614039eea269"},{"version":"20568d1bf5f884bf9541644f2de501449e83d49b2969dcc9414388580dfa92fa","signature":"a88c0f70184f4ca5379ea9cc024192dbda3ced7b1011f9af7f266fcd3846e782"},{"version":"327226455267a368c221ab4b9bb557dc73892f58fc0d7a4521c238fdc8e443c9","signature":"f7f1a876f36691dc4807c39efcb0da08f01c5ef628259630f55585e432468ff8"},{"version":"14b11ed366c14ca1eae9393191574f4914245efe62321a842385bcfd21b452a2","signature":"5e04307a1d7c420aacd54373787d0d0c127393b3deead3759fae756ecf84e779"},{"version":"d1d4c5b5b103016d4baa33fb5800988559367dc57332398cc5fadab331fc2ad7","signature":"42ecf1fc8f0d0c59a7747acbf897db15ad1f4e75c3a4abb6bfdbe428e1819463"},{"version":"88010f88ea81e4a05b4fbcbecef58e2cbc24ae207001733c7540aeb8f5286f64","signature":"70493669bccf8d21cc5fc3b97d19f359cf184ffceb79a9870441ec7a4a0427c2"},{"version":"ad0ece2c9a80e0d738eab21c1baa8c6738053b8993e56e11f3383be1cd43f1c7","signature":"43ae376c1b529717ae6d11f86e6f46b2cfe214039ea12c1e22c656c36dc8e6af"},{"version":"7a673c77fe0ac75df51eca6826532993f1067656666b372a07617eefdc7ab529","signature":"b36519eee8c2a70b4fe0ca16fb59804d6525c9e33d3d89d1e6252404fd527de3"},{"version":"075fd0c5d7abcc9117d7fbff3a58c3d9f6977238190114d743957f61f50cf9d7","signature":"510b1c5b884d83f23add599ceedc84f4da7fe24d68b5832d83520d96fef4e7dd"},{"version":"b2ad99dad84bf265ace5d69c9f419fc03f4d184f7460077d8cfc2db772b38916","signature":"44c43360cbdd9e4ccdc046e3bcaee1a5d6a43989d26fc7e6351f138227f18ba9"},{"version":"27266928f23cad4312753ba2f413948dc4e1b214f357931c81aeb99d05f8c908","signature":"2cb450a7ae32d77b2a45c680f4e21558b2af05b04e1d6a720f3bc0773a1221fa"},{"version":"c2e8f53c059301cb5d83b60d3e9e23bc3b14cfa1f5ef3aefecf522931ab23679","signature":"3bcfa904f5c88da7bbf67d995c2f9b694fea787498ba637ef18eff4c784b112f"},{"version":"d9525a0b715c67ab9fa981a1f4a896e3138a4f986d83961599de99d5c151e329","signature":"6d91bcd052d66fe405a659005bd0ee858cfddd738e9efb5ff473274b51f96857"},{"version":"fcd957015237bf89a9be94830eb7c20076f05a4e098785c1d3f4aa053f083b95","signature":"ad486dfb188b38e1438df92768321062f13bf65ec79c59cb78dd880d288dea9e"},{"version":"9c6129cf099cdaeb93010747c0bc4bd419dde38159854e20cfb028bea7b96fef","signature":"078a4805cc7c5fb074af2ef60efe4764902e837b62103a70849650e90ce212a2"},{"version":"6693cafd2c77c806b36da4e0591d79d651a7be7d0101a7caa4e8e5e6b776e247","signature":"2eff9702bd5ac9efbb41cefbcd58ed5fb4d17953c630d0f02ac892dfa227ffe1"},{"version":"d38944b65e73a16da6dfb7b0347133a7046fb4fae4836e91897a8057d7580f67","signature":"906a910a64f0b611f30cd91b4d70dfd1ebd2de167b0e992d2dd40cb8d66a39f2"},{"version":"7a4966405b9d9d49863d3f61dc4e774513fa280f064194e9bdbbe771b3abcc13","signature":"93e350327bf9c8b267c43f117527f6a22d913bd854485265fd164ce53b23cff3"},{"version":"c09dde9afd115a446b25f3e212758a2aebd0a950012ce592a549700d05f71acf","signature":"5b4755ce01281771d7d3b4e0d4f6f502e043d7fd4909bc52993f40e609b82985"},{"version":"0618a3a3d8f23b84071bed83ecb225f9f66395097ce1d5fc7006f9c7e38afba8","signature":"9a899517d76c77e14e98f4467cbd629196b8f174153dc04cf75b9408d6cfd836"},{"version":"b2d0b975cf74717fae807b92ef4e15d1d7b517885d1848c9ec7e92fe6162e535","signature":"ef58745f3ff19b850a0495f783f6178a18e9b78c8b70bc90b1882bd6bda0fba7"},{"version":"c0f20335e1e957a762e59a204859b9f1122559d4b78512bc93bf46962ef3be98","signature":"aabfeb2d58b0aefafde05f04ef5014d53bbd14b29332f1e8d5a1a0aeb09f96da"},{"version":"c3bb8bea07f663916ea5fcbb3760f4e2b271440ace7b000ebcb4e68a79931462","signature":"af55aeace4b153210335963d5166f7d9e59d00f803dfb353863e731b72be7636"},{"version":"fd9878dd48050839f7414e8c24f5f6aef08ca784b326f513e7d932aaedc6515d","signature":"b911f90c3617186225b0dbbe608a4e8a9495b7775ddce629923f8c49ed5ca594"},{"version":"2f319f7c5dd6cd5ae9b57c987409ec1cdab72e2375abe87bae3944a6b0cc57a4","signature":"7a7272bc96c81b978953c7692a240e928a08b312ac26723faa2176122dc596a9"},{"version":"9427d7c9e5f605996dd970c1d5ca7faa2eb626b2ad1bc97827b4802f714b0adc","signature":"431d1adfec7e1172aa504e1f02a9ef4599fdebce52f8626efbabde422efdbfab"},{"version":"9159840d34bd3d31157ef393e46624aabcfb20d1a294ef46fb2fbb997c023ba4","signature":"4cda1d0ace41695ffbb7271325c0b6905da6aa06890f67ae55c7ba0d0f2dc8e9"},{"version":"c3c829aae891ac7ee988d0733a06e8d6b130f45ae4a3973892d93f6b97825699","signature":"22a699c4613866244d4feb310a3ee112fe1f171604ace3b1affa487e2de3d9b9"},{"version":"6fa3d27c021550becf56a55b495c5f034e61c4310f12be0ec7461ea96e668236","signature":"9a6d89de502511aab84e6d94f4e2e3c096622f2cdbc00aa50f53002a56a453ef"},{"version":"e0ee75d1f0cb5204e8f9dfeb7f1c162df90498d37888876b1cd50d28b432545b","signature":"7670420ebb619f5549e646f47086bb60ef4062f37e873a5238793650f39723ba"},{"version":"4555e8d8e773b5fe6565039eff7052d779334b17c05b88386a134b2e61ef9c70","signature":"84d598a3dbed6a74096e66b6fb5ce4e7616f1c9f6beca8b8108bcac914565be0"},{"version":"e0ee75d1f0cb5204e8f9dfeb7f1c162df90498d37888876b1cd50d28b432545b","signature":"7670420ebb619f5549e646f47086bb60ef4062f37e873a5238793650f39723ba"},{"version":"e2437530086aa214d4b3f38ed6da7f05b1d3dc1ca7086243aa40604324e1db3d","signature":"9aab3836c6a48eec5d9ff756b0d184c783e7298a65719f4c9bc03244d1ba266e"},{"version":"5d27f2c8dd6e25047a21dcb929e97bbcd8b0457ba5d6b653a8dce338bb322d58","signature":"e3271652a5f56047b2a9e7618c83346c9b98e953a4a37e70490e05a2e1a18a25"},{"version":"c15b8a0813758152b5e5109f122bc300072703c9f590c0d23f736a4b6bf52ea0","signature":"efa16ed6c573e2d2793939bc587a4e3dbd024116f3d74a6b06a5e3b5639883f1"},{"version":"9126a581dccf0c6c06186f53e305c5d17106cccd7c9fdacfc3c124f3c324d041","signature":"8eec420d090293a78898ac24ef0f5607860e8a14480844799c5b6e0f5f02a6dc"},{"version":"fa8891e267e2fe1f97aef8e5bef40aa65eebf3f57dcc6b7822bc1faf1dde3b7e","signature":"4757e3a1d4f8bc96bb233c9caeb23c757353d56e3546d49d7f9fd3be023bcfc7"},{"version":"59261f08e94e430f9dbee1287f36c4293d30574454a7458cbe083f13f0f24690","signature":"74111ab12d504b95524b26965ed1f7faeff1dcaa014cfd1099c186c9b12491d1"},{"version":"cfbf89b7ee72920b52e8e6fe328ded6b49889cc4df4ab0c8f48f33c3bc2c8c55","signature":"7a5fb4ebc7433206b3fbd6bbb9af5b2915f8cf576d76138c587e14e7b74a32db"},{"version":"dd2603a1bfda0833f24f7e5cb75025fe409b710c65b9911ffe9be41f88db5475","signature":"d2769cadb907f74ab9cdb93a9d08672050989309f3f85ff3b2ab7aeca629aab4"},{"version":"c88c8a7bba50c17e7a48fd10430895e21244c682f559fc3dd3bc011536e482cd","signature":"9d535d1543c10a8fe61376fe859becb5acda7c42fbf8a2c8a58a8dfdb4843658"},{"version":"a11ada4ddb5747bafcb059ef34d0a025c1739a13330583635ea68fc4fe58ea90","signature":"a69bc1b06a11288177a9819e920ce332242546af0ed69e29c0c4907fa044fb71"},{"version":"a659eb440b334c12b0996b3c1e84144325a2096417d15c7ddd69d059fde4f10d","signature":"43016a863d3c9ab8df724de028e809dd7b267e377544dfa1854ef7b03188dc8c"},{"version":"34dd925e9e7bd4f5c2990d7589ac066560e7668c86ccf495c243e88bff6dfab2","signature":"0ba967758e6b03447d645dec5fa01f8454db91acb43bc28df27182692837e315"},{"version":"563a4144f1f98a8f6ec9956da80b2403f3e8cd8b2672fa5ea3653a53f14d1131","signature":"d6e8f417ab9a4b6aec8a5a3ced95259ef5133e4601c508a51308eaaac479b6ca"},{"version":"09fd1d8d566feea53b234465f6110e973573862293f97e21087baca3e042dc54","signature":"93d6059d11c81768a8a6d03f79ac64bf1326c7cc170d599843caa2fcdda8de89"},"6c27d4b5ba01295ef334456d9af4366aca789f228eee70fcb874b903a59b0e5b",{"version":"d2917c1370f3d1859c884ba3726d63c14fa3086a0c8671d311b08810e557dd22","signature":"18f168653a953e3bf0ed315e79413969de4c6fcff7add51c8b2005eda2a07cb2"},{"version":"a0f41c123f2d733f503fa755bb2d029aa461364ba103b87f27685ff447835d34","signature":"914fc0941912b62e2f6a03a59ab61b2eae9d4c5a9d5f2728ad47a5b5021b5d6f"},"c561efdf5ba0b62619745d4761fe2d9756f23db972e039367d15922fed67fd2f","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",{"version":"d1c92b66c4105659fcad4eb76a1481f7311033e117d0678a1ec545e8ddb8d4c6","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","dee93c07b4df5e26010dc9ec4cdf4d6e4076bb4474d2a8371529217c8b2740a4","ed40f2f184db052dc8df62d1f199823c8bbccc487c0a2a7c54eeea0badcf4378","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"c8155caf28fc7b0a564156a5df28ad8a844a3bd32d331d148d8f3ce88025c870","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","dfc747ab8dd5f623055a4c26fd35e8cceca869fd3f1cf09701c941ca3679665a","c9f5f2920ff61d7158417b8440d5181ddc34a3dfef811a5677dd8a9fb91471e9","5cc0a492da3602510b8f5ed1852b1e0390002780d8758fbc8c0cd023ca7085f8","ec7dafafe751a5121f8f1c80201ebe7e7238c47e6329280a73c4d1ca4bb7fa28","64debeb10e4b7ae4ec9e89bfb4e04c6101ab98c3cc806d14e5488607cfec2753",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"a5782d6cea81fe43d2db7ed41e789458c933ab3ab60602f7b5b14c4da3370496","affectsGlobalScope":true},"f258ba66915f0196ec344bc53afe1888240bbcc855ebd151b6cc072275533319","6194335ee3353f7226ba31f31d6301d0c6be87228419c0a08976ccd9d4f1213e","3ac12a54cfaa84683506db8d4cf779135a271d9f0ec18930cf53e61fbeea0c5d","cf3d3b087d1a8a3355eec47d206162c75e912315b9b5c1cd49fda93e948fb80a","36f316c066c4a72dd6f19fec49a074f935744fc9ccbe75c87ebc07fb2feb9062","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","ec70fd6f8a9a83f850dab2960a6789e93d5b034b354a16814cad5daabf62a360","e2236264a811ed1d09a2487a433e8f5216ae62378cf233954ae220cf886f6717","3ec1e108d587a5661ec790db607f482605ba9f3830e118ce578e3ffa3c42e22b","100b3bb9d39d2b1b5340f1bf45a52e94ef1692b45232b4ba00fac5c3cc56d331",{"version":"04fe7e7d8008887943260af1fde2bfd4877e0dc57bf634e0f0b2f3d1794dfd11","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","2597718d91e306949d89e285bf34c44192014ef541c3bd7cbb825c022749e974","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","ac4801ebc2355ba32329070123b1cd15891bf71b41dcaf9e75b4744832126a59","fd2298fba0640e7295e7bd545e2dfbfcccbb00c27019e501c87965a02bbdebf6","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","71ddd49185b68f27bfac127ef5d22cb2672c278e53e5370d9020ef50ca9c377d","b1ea7a6eaa7608e0e0529aebd323b526a79c6c05a4e519ae5c779675004dcdf1","9fcb033a6208485d8f3fadde31eb5cbcaf99149cff3e40c0dc53ebc6d0dff4e9","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","f4149f1aa299474c7040a35fe8f8ac2ad078cc1b190415adc1fff3ed52d490ea","3730099ed008776216268a97771de31753ef71e0a7d0ec650f588cba2a06ce44","8d649dbc429d7139a1d9a14ea2bf8af1dc089e0a879447539587463d4b6c248c","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","e361aecf17fc4034b4c122a1564471cdcd22ef3a51407803cb5a5fc020c04d02","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"fc0ae4a8ad3c762b96f9d2c3700cb879a373458cb0bf3175478e3b4f85f7ef2f","fabbec378e1ddd86fcf2662e716c2b8318acedb664ee3a4cba6f9e8ee8269cf1","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","efd55e8ca79171bf26c0d0e30221cb8ee1f5a31dd0c791ec4b2e886f42bab124","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612","b8a427b9fe88504a6fb092e21adfe272d144394a2ced7f9e4adc3de7efa6e216","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true},"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","763e521cf114b80e0dd0e21ca49b9f8ae62e8999555a5e7bade8ce36b33001c2","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","3e6bbb0883148627ca0854a9f62d820aaf1a0f1842f5568176721fef156b8f23","ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","f72f8428f3c1caa22e9c247d046603b85b442c0dae7b77a7a0bc092c18867cb7",{"version":"195f63105abc03e72b6a176e3e34dfb5ac932b55db378fdc7874b1617e24b465","affectsGlobalScope":true},"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6702a1cd8818cb22ee95c85dcf2c31c117bde892e1afd2bc254bd720f4c6263c","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","7a79ca84e4370ed2e1afaa99ff7d25194901916b7672e977d16f77af3b71342f","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","92ad68795c32309fb43576cacb38bd2677deeed38f5730dcd4a8c5e65463ae15","4b16417aab5a4b276fd4a7db95120a8c7b4d49a6d68ddfe075e9f46dcbf22f00","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","f3d84d6f83cf131e4db335dc8100898adbeb01dd4cf4e2fe695ab220eac98be4","6521aaade4e1d23cbc4b665083b004aeaca23f3347ba2422f88d1828968a0056","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","e9709ed827c40789c669736fc78e2ab603605e8e81325d1e6d7a5eb451810dd0","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","6fc76efbb61d3336833ef44ff3f37552667f26c2a73b368f3b4b259f19f2c234","479496e5bb48f2f5e981ef646665bc09fd9ab080e86e9ea882ca4369411604af","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","93c4fc5b5237c09bc9ed65cb8f0dc1d89034406ab40500b89701341994897142","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":1,"module":1,"noImplicitAny":false,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictPropertyInitialization":false,"target":7},"fileIdsList":[[188],[266],[188,189,190,191,192],[188,190],[245],[211,245,247],[211,245],[211],[246],[208,211,245,251,252],[248,252,253,256],[208,209,245,258],[209,245],[261],[262],[268,271],[275,277,278,279,280,281,282,283,284,285,286,287],[275,276,278,279,280,281,282,283,284,285,286,287],[276,277,278,279,280,281,282,283,284,285,286,287],[275,276,277,279,280,281,282,283,284,285,286,287],[275,276,277,278,280,281,282,283,284,285,286,287],[275,276,277,278,279,281,282,283,284,285,286,287],[275,276,277,278,279,280,282,283,284,285,286,287],[275,276,277,278,279,280,281,283,284,285,286,287],[275,276,277,278,279,280,281,282,284,285,286,287],[275,276,277,278,279,280,281,282,283,285,286,287],[275,276,277,278,279,280,281,282,283,284,286,287],[275,276,277,278,279,280,281,282,283,284,285,287],[275,276,277,278,279,280,281,282,283,284,285,286],[254],[255],[243],[242,243],[197,202],[208,209,216,225],[198,208,216],[234],[202,209,217],[225,230],[205,208,216],[206],[205],[208],[208,210,225,233],[208,209,225],[216,225,233],[208,209,211,216,225,230,233],[211,225,230,233],[244],[233],[205,208,225],[218],[196],[232],[223,234,237],[208,226],[225],[228],[202,216],[194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241],[216],[222],[235],[197,202,208,210,219,225,233,237],[245,291,293,297,298,299,300,301,302],[225,245],[208,245,291,293,294,296,303],[208,216,225,233,245,290,291,292,294,295,296,303],[225,245,293,294],[225,245,293,295],[245,291,293,294,296,303],[225,245,295],[208,216,225,230,245,292,294,296],[208,245,291,293,294,295,296,303],[208,225,245,291,292,293,294,295,296,303],[208,225,245,291,293,294,296,303],[211,225,245,296],[208,225,230,245,306,307,310,311],[211,245,255],[314],[117],[117,118,119],[76,77,81,108,109,113,115,116],[74,75],[74],[76,116],[76,77,113,114,116],[116],[73,116,117],[76,77,115,116],[76,77,79,80,115,116],[76,77,78,115,116],[76,77,81,108,109,110,111,112,115,116],[73,76,77,81,113,115],[81,116],[83,84,85,86,87,88,89,90,91,92,116],[106,116],[82,93,101,102,103,104,105,107],[86,116],[94,95,96,97,98,99,100,116],[264,270],[268],[265,269],[245,307,308,309],[225,245,307],[267],[68],[59,60],[57,58,59,61,62,66],[58,59],[67],[59],[57,58,59,62,63,64,65],[57,58,68],[130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183],[127],[130],[184,186],[130,147,150,184,185,208],[72,126],[121,123,124,125],[72,117,120],[72,121,124],[117,121],[117,120,121,122,123,125],[69,71],[70,127,128],[70,129],[69],[70,127],[130,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183],[130,184,185]],"referencedMap":[[190,1],[267,2],[193,3],[189,1],[191,4],[192,1],[246,5],[248,6],[247,7],[249,8],[250,9],[253,10],[257,11],[259,12],[260,13],[262,14],[263,15],[272,16],[274,5],[276,17],[277,18],[275,19],[278,20],[279,21],[280,22],[281,23],[282,24],[283,25],[284,26],[285,27],[286,28],[287,29],[255,30],[254,31],[194,32],[244,33],[197,34],[198,35],[199,36],[200,37],[201,38],[202,39],[203,40],[205,41],[206,42],[207,43],[208,43],[209,44],[210,45],[211,46],[212,47],[213,48],[245,49],[214,43],[215,50],[216,51],[218,52],[219,53],[220,54],[223,43],[224,55],[225,56],[226,57],[228,43],[229,58],[230,59],[242,60],[232,61],[233,62],[234,63],[236,57],[238,64],[239,57],[303,65],[290,66],[297,67],[293,68],[291,69],[294,70],[298,71],[299,67],[296,72],[295,73],[300,74],[301,75],[302,76],[292,77],[311,78],[256,79],[315,80],[118,81],[120,82],[119,81],[117,83],[76,84],[75,85],[80,86],[115,87],[112,88],[114,89],[77,88],[78,90],[82,90],[81,91],[79,92],[113,93],[111,88],[116,94],[83,95],[88,88],[90,88],[85,88],[86,95],[92,88],[93,96],[84,88],[89,88],[91,88],[87,88],[107,97],[106,88],[108,98],[102,88],[104,88],[103,88],[99,88],[105,99],[100,88],[101,100],[94,88],[95,88],[96,88],[97,88],[98,88],[271,101],[269,102],[270,103],[310,104],[307,5],[309,105],[308,5],[268,106],[69,107],[61,108],[67,109],[62,110],[65,107],[68,111],[60,112],[66,113],[59,114],[184,115],[131,116],[154,117],[155,117],[156,117],[158,117],[159,117],[160,117],[161,117],[162,117],[163,117],[164,117],[165,117],[169,117],[175,117],[176,117],[177,117],[178,117],[179,117],[180,117],[181,117],[182,117],[132,117],[133,117],[134,117],[135,117],[136,117],[137,117],[138,117],[139,117],[140,117],[141,117],[142,117],[143,117],[144,117],[145,117],[146,117],[147,117],[148,117],[149,117],[150,117],[151,117],[152,117],[153,117],[187,118],[186,119],[127,120],[126,121],[121,122],[125,123],[123,124],[124,125],[72,126],[129,127],[130,128],[70,129],[128,130]],"exportedModulesMap":[[190,1],[267,2],[193,3],[189,1],[191,4],[192,1],[246,5],[248,6],[247,7],[249,8],[250,9],[253,10],[257,11],[259,12],[260,13],[262,14],[263,15],[272,16],[274,5],[276,17],[277,18],[275,19],[278,20],[279,21],[280,22],[281,23],[282,24],[283,25],[284,26],[285,27],[286,28],[287,29],[255,30],[254,31],[194,32],[244,33],[197,34],[198,35],[199,36],[200,37],[201,38],[202,39],[203,40],[205,41],[206,42],[207,43],[208,43],[209,44],[210,45],[211,46],[212,47],[213,48],[245,49],[214,43],[215,50],[216,51],[218,52],[219,53],[220,54],[223,43],[224,55],[225,56],[226,57],[228,43],[229,58],[230,59],[242,60],[232,61],[233,62],[234,63],[236,57],[238,64],[239,57],[303,65],[290,66],[297,67],[293,68],[291,69],[294,70],[298,71],[299,67],[296,72],[295,73],[300,74],[301,75],[302,76],[292,77],[311,78],[256,79],[315,80],[118,81],[120,82],[119,81],[117,83],[76,84],[75,85],[80,86],[115,87],[112,88],[114,89],[77,88],[78,90],[82,90],[81,91],[79,92],[113,93],[111,88],[116,94],[83,95],[88,88],[90,88],[85,88],[86,95],[92,88],[93,96],[84,88],[89,88],[91,88],[87,88],[107,97],[106,88],[108,98],[102,88],[104,88],[103,88],[99,88],[105,99],[100,88],[101,100],[94,88],[95,88],[96,88],[97,88],[98,88],[271,101],[269,102],[270,103],[310,104],[307,5],[309,105],[308,5],[268,106],[69,107],[61,108],[67,109],[62,110],[65,107],[68,111],[60,112],[66,113],[59,114],[184,131],[131,116],[154,117],[155,117],[156,117],[158,117],[159,117],[160,117],[161,117],[162,117],[163,117],[164,117],[165,117],[169,117],[175,117],[176,117],[177,117],[178,117],[179,117],[180,117],[181,117],[182,117],[132,117],[133,117],[134,117],[135,117],[136,117],[137,117],[138,117],[139,117],[140,117],[141,117],[142,117],[143,117],[144,117],[145,117],[146,117],[147,117],[148,117],[149,117],[150,117],[151,117],[152,117],[153,117],[187,118],[186,132],[127,120],[126,121],[121,122],[125,123],[123,124],[124,125],[72,126],[129,127],[130,128],[70,129],[128,130]],"semanticDiagnosticsPerFile":[190,188,264,267,266,193,189,191,192,246,248,247,249,250,253,257,259,258,260,261,262,263,272,273,274,276,277,275,278,279,280,281,282,283,284,285,286,287,255,254,288,289,243,194,196,244,197,198,199,200,201,202,203,204,205,206,207,208,209,210,195,240,211,212,213,245,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,242,232,233,234,235,236,237,241,238,239,303,290,297,293,291,294,298,299,296,295,300,301,302,292,304,305,311,312,252,251,256,313,314,315,118,120,119,117,74,76,75,80,115,112,114,77,78,82,81,79,113,111,116,109,110,83,88,90,85,86,92,93,84,89,91,87,107,106,108,102,104,103,99,105,100,101,94,95,96,97,98,265,271,269,270,310,307,309,308,306,268,185,11,12,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,13,73,69,61,67,63,64,62,65,57,58,68,60,66,59,184,131,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,187,186,127,126,121,125,122,123,124,72,71,129,130,70,128],"latestChangedDtsFile":"./src/client/types/app/bsky/feed/getPostThread.d.ts"},"version":"4.8.4"}
\ No newline at end of file
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/zod/lib/helpers/typealiases.d.ts","../../../node_modules/zod/lib/helpers/util.d.ts","../../../node_modules/zod/lib/zoderror.d.ts","../../../node_modules/zod/lib/locales/en.d.ts","../../../node_modules/zod/lib/errors.d.ts","../../../node_modules/zod/lib/helpers/parseutil.d.ts","../../../node_modules/zod/lib/helpers/enumutil.d.ts","../../../node_modules/zod/lib/helpers/errorutil.d.ts","../../../node_modules/zod/lib/helpers/partialutil.d.ts","../../../node_modules/zod/lib/types.d.ts","../../../node_modules/zod/lib/external.d.ts","../../../node_modules/zod/lib/index.d.ts","../../../node_modules/zod/index.d.ts","../../xrpc/src/types.ts","../../nsid/src/index.ts","../../lexicon/src/types.ts","../../lexicon/src/validators/primitives.ts","../../lexicon/src/validators/blob.ts","../../lexicon/src/validators/complex.ts","../../lexicon/src/util.ts","../../lexicon/src/validators/xrpc.ts","../../lexicon/src/validation.ts","../../lexicon/src/lexicons.ts","../../lexicon/src/index.ts","../../xrpc/src/util.ts","../../xrpc/src/client.ts","../../xrpc/src/index.ts","../src/client/lexicons.ts","../src/client/types/com/atproto/account/create.ts","../src/client/types/com/atproto/account/createinvitecode.ts","../src/client/types/com/atproto/account/delete.ts","../src/client/types/com/atproto/account/get.ts","../src/client/types/com/atproto/account/requestpasswordreset.ts","../src/client/types/com/atproto/account/resetpassword.ts","../src/client/types/com/atproto/handle/resolve.ts","../src/client/types/com/atproto/repo/batchwrite.ts","../src/client/types/com/atproto/repo/createrecord.ts","../src/client/types/com/atproto/repo/deleterecord.ts","../src/client/types/com/atproto/repo/describe.ts","../src/client/types/com/atproto/repo/getrecord.ts","../src/client/types/com/atproto/repo/listrecords.ts","../src/client/types/com/atproto/repo/putrecord.ts","../src/client/types/com/atproto/repo/strongref.ts","../src/client/types/com/atproto/server/getaccountsconfig.ts","../src/client/types/com/atproto/session/create.ts","../src/client/types/com/atproto/session/delete.ts","../src/client/types/com/atproto/session/get.ts","../src/client/types/com/atproto/session/refresh.ts","../src/client/types/com/atproto/sync/getrepo.ts","../src/client/types/com/atproto/sync/getroot.ts","../src/client/types/com/atproto/sync/updaterepo.ts","../src/client/types/app/bsky/system/declref.ts","../src/client/types/app/bsky/actor/createscene.ts","../src/client/types/app/bsky/actor/getprofile.ts","../src/client/types/app/bsky/actor/getsuggestions.ts","../src/client/types/app/bsky/actor/profile.ts","../src/client/types/app/bsky/actor/ref.ts","../src/client/types/app/bsky/actor/search.ts","../src/client/types/app/bsky/actor/searchtypeahead.ts","../src/client/types/app/bsky/actor/updateprofile.ts","../src/client/types/app/bsky/feed/embed.ts","../src/client/types/app/bsky/feed/getauthorfeed.ts","../src/client/types/app/bsky/feed/getpostthread.ts","../src/client/types/app/bsky/feed/getrepostedby.ts","../src/client/types/app/bsky/feed/gettimeline.ts","../src/client/types/app/bsky/feed/getvotes.ts","../src/client/types/app/bsky/feed/post.ts","../src/client/types/app/bsky/feed/repost.ts","../src/client/types/app/bsky/feed/setvote.ts","../src/client/types/app/bsky/feed/trend.ts","../src/client/types/app/bsky/feed/vote.ts","../src/client/types/app/bsky/graph/assertcreator.ts","../src/client/types/app/bsky/graph/assertmember.ts","../src/client/types/app/bsky/graph/assertion.ts","../src/client/types/app/bsky/graph/confirmation.ts","../src/client/types/app/bsky/graph/follow.ts","../src/client/types/app/bsky/graph/getassertions.ts","../src/client/types/app/bsky/graph/getfollowers.ts","../src/client/types/app/bsky/graph/getfollows.ts","../src/client/types/app/bsky/graph/getmembers.ts","../src/client/types/app/bsky/graph/getmemberships.ts","../src/client/types/app/bsky/notification/getcount.ts","../src/client/types/app/bsky/notification/list.ts","../src/client/types/app/bsky/notification/updateseen.ts","../src/client/types/app/bsky/system/actorscene.ts","../src/client/types/app/bsky/system/actoruser.ts","../src/client/types/app/bsky/system/declaration.ts","../src/client/index.ts","../../../node_modules/typed-emitter/index.d.ts","../src/session.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostic_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/util/types.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/ts3.6/base.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/base.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/bn.js/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/cors/index.d.ts","../../../node_modules/@types/elliptic/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/mime/mime.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/http-errors/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../../node_modules/@types/nodemailer/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/pg-types/index.d.ts","../../../node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/@types/pg/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb09ec0a64fc17dbbc4a228b3b18aa5f01db3440a6b0cbb02354df58674d584","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"9afae14803f3b7343ed6d193173008715c1fa3421a353a818c805244ed737a84","bb98c05ae5cb9bd7cb7ad76fe517251a661787a6f24337b842f47faf393f79c7","a93bf95f7009c90e7d1edb092560d4052e3ebbe9b9ad2d796bcd95dc4306825c","8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","c2cb3c8ff388781258ea9ddbcd8a947f751bddd6886e1d3b3ea09ddaa895df80","f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","014b34d4c2ef27191fdf3feabb6557ec92127f813910725b6e79ed9a49e466b6","72efc3e8cee3cb13144cb63bb8aacf28f918439a2ff222de89e0e5d7ba9c7170","b61efb129c7011068cb4ccbbd86d5741ac82653476b09f46d3d06dd99b5b687e","2b7961486503fa279a4f1a52928d8c31fc6558c335b750878721467210552dd7","d1f62988c7e8e8650f7ed39520a766648155abbf75dd89f60e24f069433301d4","5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","156b9be8718e5157c84f4ca2163a48f9a8334e4477b945694c882ab89fd3382d","14e6f51486f4234e46f1b2c09c852989754de877fda7b2afdd709627e24b9882","207dbf55dfe32ef1298e5945f196911bb7fb75a2ebd15e3606c65535ad8f474d","3d20a183069527c92a7d6cb79ca521fa4f8cc9d36b56cb269db4088c220d0ac9","4c8aa3b64e4973c8d22231943bc8ebbecdc3c2d8c6aaac829151c3dbc0bfc7c8","4f5e1e2785adc88653b1888a315532329a4b615a09a422c2bc1cb2f49df33740","906dd0e8fa586117f9ed4dd86573c68b1a1080adc63221429f8b29975d357714","2861e0a8090f7ebd61dd1fa9970b04a5a2afe911ab4baca19cdc21a8e6ed9b28","0966a4236c1616d428cf4615cffb6fcd8bc16c0f4852a8146610ec3cb48af913","8859c7be12542da46ae05d00f5e9eccd8aba56ad687852b3565bf40e94a5924e","b4e1ab9692322413a0095065c5a5e8a4f433e2b082d02635b82fae7e17a8fc6a","eb978dd055b9ce273d159e691fd0e5245724e93fe1bf6f6a7ac52b2a2c5afcde","c951a82134ce7545a7469d0b34c7cf61a968a2fd180c7b0761e09ffddc769996","dc8bd2d3fdede21907b93d1b962354779cdae08f83205f4507b639f0f69a29a2",{"version":"321fd978cc308c15c7a31130e624bb25ede0df5fe59200fc927facc075a84a4b","signature":"93a0d2e53b01bb5bf7346eedeb4b2c45db15293e87372bf40679daa108e3e4a0"},{"version":"38e89ed53adbb64433e74157c093654332b19aa74220b4a8f2c04b29d9b0bdd5","signature":"6d2bba1860095de82f4f2bd67ceb6c0eb2d8ec739581a30c3009b956d1037901"},{"version":"e0b3ad55cffaa95991cce4e3bc78384e7733e2477b217d2cd24da31e87291f8a","signature":"f160348d30169b0c2499990fe76d8e15cfbb6e8463be2b1869c53d133b936dfc"},{"version":"363b51b18cfdf213b990a45ffe6225793cd370ed38b54b42ba057f37cd8c4c34","signature":"5d999925e847ad23c8657074fda9a5559113c4156c89e668322505a243907449"},{"version":"b29740c6188e84ebd81cc27caa59b19fbfef6983f9cdcb14c7796eb8d57d8908","signature":"5abb501b865b7f33f9846da9aadef7b964a35bcf68276524e249096c23460b43"},{"version":"fd5349347ac67bffb31bec34ea44364bd0ffb1780e2728de74b216178daafb34","signature":"eedbd1cfb0884d3b46a133fe9243c1b9d0c4037b96fed382c749a0dd415098d8"},{"version":"ede18a50b3ce627b4d31dccb014ef4ddb8d0293ec29d74cfd00273b51682a1ee","signature":"954595352af7c28235d5ead40be59503033fdb672a062865a5421a448c031154"},{"version":"a883472081fb34e9f38b67c5cb1c284c86da101b263fa480886be177b2340d53","signature":"fe06006d74387cf01b9686789ef46b8c3ddefbac667fa8c1999a55da295c0873"},{"version":"014b809041f801ef09e11460852ddb8e60daa804549f9ce62863cfe3223dced7","signature":"b96c5dcf2c7dc76fe56927605f29eeb09b08fb36b7c983c130a13d933ae83247"},{"version":"a17e7bb60c8a7763103e26dd51ec843aacee5e9d0d7b43d7e66e2cc2e47a0421","signature":"ba3c01853dde109bd23af1426806cffe120dad5e728f7db115342e78bf02d805"},{"version":"537944d7ee8932a8686eec85604841faa82fed688f145bac775f968824464f97","signature":"030488d5760d79dfc46d733b07c6fdfbc773bfc9c5290cf8bd1fcd9b9ef20c7a"},{"version":"bc46ec4bc7954727837ad4aebc6500bd15b6ba5ecfa68ddc989b779f36e0a3b5","signature":"c2449b4b23ca7fffd902e7e0dbc6fd1e493fc622e34e73e9b7f64bb8195bf4bd"},{"version":"8fef4039a121e04b88f69cb30287ee57d8acad5dd2571e13dc3b9de61cbcbc26","signature":"4b0a859871faf72ea6f481019c0384a2a1b3d1caf4462779f2b12556d76a550a"},{"version":"1eb0698de47ff6530a18610f2030c22743fc7d7f4299ce1189abe25f13606926","signature":"5b55701ecc7431d1af6729f10fe493ef5eb38ede59e5d82dd7cabdc50a083a9c"},{"version":"3e98c53fb0813dd664ab24754f8ea50b67bf027caf78d9bbe76a66f9e47e6d37","signature":"e16edd7b5e640457f4959a47b837833089df0baa2b0d91b6f604b3eda7145b4f"},{"version":"b4376fb73ecd3ad0449eb55bbaf44a58115edf5664c5c4f53fa830c211dc022d","signature":"b90ee86a7b55f699519c13b7e50d7b3cce5756bf62b3da0b0a9238ed83b93d04"},{"version":"e7cf20ea84b54af49e025925fe485f9419d97dcfccb7ece55d89860660dc54cc","signature":"9e9f9b5ad0922a7f172eaa2e0444d5298670e80e6b092bdd1f7a4d9abe12391a"},{"version":"a14722fb5c2adb2c338d7155c5e70bd3290bc3935a740ce1b291700915559be5","signature":"24dcb20e81830d1e14dcbfb4f54097a6201ac850e5e3d32ad98f8ec2e366acad"},{"version":"363b51b18cfdf213b990a45ffe6225793cd370ed38b54b42ba057f37cd8c4c34","signature":"5d999925e847ad23c8657074fda9a5559113c4156c89e668322505a243907449"},{"version":"81d363282ea148ae7b5b68bb0f7bc10f56f8c043c74ae1538b19f831816670b1","signature":"afda0409fddfcda8a53326dc8c5c79c4ff26218402529a4858f6141a31303960"},{"version":"fc25931907a5b86b4a58c9c8dcd1bf0e40afb8cda0a3da07389ea04462398766","signature":"ac5c1191c3d4470d58db7c0ed081b2f638f6b7cc91df7b670ff3317987e4326f"},{"version":"676d32222d79f25153430eca53541ff6ab411f36b2b46e3ce26d6d642e8aaa8f","signature":"9dea0e20ae109cffb6ed9c1f6c80f27731d59075092ee73e390a08402bc575c1"},{"version":"e7cf7858020dd7939dbc9351690a5c9dbcf0f7e455a576ae0fe94bc9f2e45c73","signature":"d2fb24212524dceaae883198dab7e0c31ddf30ea61ca0d326b7c87df6e12b51f"},{"version":"321dda8e00109f534c0336c94eefc2dafc4b78e12c5c09b4c8e1dfc430dc3233","signature":"04942cf19474c37c7b3300e4a916889fe64de4ecf14673000eab7f0980025e93"},{"version":"e485a6d2b76553f36a4012b9a6d965dd9a957f07daa5ccd7fc86adabc6224c38","signature":"3043f46820ae3d97134378e2cbbea4795b8b8af9faf1d93c6e3863de25604760"},{"version":"1e661c5647265cf361ca057dd9bcc749bf9e7580b1b7925972e2bd7f78ef0484","signature":"22a8f90c30ac847439de1e1bf7a7d082838ca007f19f3f64c70f3e3050c41818"},{"version":"539bede826e082fe0b2b0f3af38f28acc3851dfb0da035340dc89f7fc7c4bdda","signature":"4d52e8a6560adbcec8f8e1f91e41a8b3424af42edb3cc17c7dd354ae9c755f18"},{"version":"cd8d15b549ca40e351a7a84e9c3460dc57ca9071bec86cfb5bc2cb6848a19fee","signature":"4df32eca5064660d44729afa9083198907abe3468ddad1cb3cbae42c7a143932"},{"version":"5a34ffe72d02128994c138ddff2a1c12c3ce97659543d4ef5c0d14e61c556966","signature":"5b4755ce01281771d7d3b4e0d4f6f502e043d7fd4909bc52993f40e609b82985"},{"version":"ecd3f1dacdcc5285197ade8214f1647fcd3a588f951b804562ef296f5a125219","signature":"532db9f47714195bcdc07bd83dbb3984029d01b81c71c8197afdb1c65d950379"},{"version":"0a5cbe9b34c3e18f268ec4fabc392f5540d09612bc43af622b5b6fea625eba87","signature":"6da14784507ed211965503aa42beebcb7c5344459a46410ef349ff6445c7d1f5"},{"version":"57fa19c2ee4e8bb5c8d61179054679337add7446fa382775f0c0f6b5f9466c55","signature":"1933981f820aa68cf37c9438ee1105afdf516b7628b20185ba6631f53ef950d4"},{"version":"7d2f09fbab0c6d50f3cd3dea40d2614cc500f7502bb093979bbf01d1ab32367a","signature":"2793eaac5a446fe7e75cba42d3dbc61ba71621d29377125e87ce392634312def"},{"version":"65ff38c0225936236529649fd85e792ce73b0840611e3107a195e50f11bceb31","signature":"035dc4f914fb319f20524a0b8b2d65f3375edefaf5d32b06264fac11b0c1be96"},{"version":"eb9f771060dc57f7b83d808b516e4f119d49bfee92945c86b07f1203ce3f6f30","signature":"e114241c6ca163b680755072af82415c3a5ca6151508d526b35982f54f682e0e"},{"version":"965aaf6b8fdf87532162919d2053af41dca88c4c3126520ef6a01c911bf6a8db","signature":"56f607c3cfc2130aa6fe2e04664a151967443a08733ccf65945a4850e8838e1b"},{"version":"6fdbbbb191472affd0369697b71c50f598f25f5058b2d3fc2de887345e9f8ac1","signature":"754ba43e9b3207f033bb60760ff00b4c00b60deb2352c1572a74516959035159"},{"version":"02e19048213c2862e0bc9e4ded0c28183469f2cbaa99bba6f805849df7a78f01","signature":"93ea9d8e1aa729375e036654645c56d8fb7ebab85e2ee092798285cc0d57324a"},{"version":"2f133be0f7197273001fdcb24563b2951ef9b1694a9b7489013f7af9f47c38b5","signature":"4145d8b6a1abd1fd7dbf3ad2fcc70120e555cf029c4fa6d8477e30753aae7266"},{"version":"7298a3a86d55be49cfa46758863e5a9a4eae6e99051079ed852fdf0fc57b2042","signature":"2952e9d2025b53e20f737cd4cfed1f4ae9367ea56bccaa30335c5dcdb60b070b"},{"version":"2e762ce2704dabbed305b7182da56c419dba3bd8a65f0f52d8a25b99d3673137","signature":"af9da8a546b60b31496ed251ae53cc72bc3d41f7b47694393dfa65a51280f908"},{"version":"e69c0b65fdfcc284bddc62aa4b514f21c574cc903f52b93bc9a36b23d8d86228","signature":"498f51f807f57d06b29b47c30ed131aa8dc67cdc6d3efd5fae63cc93b591c444"},{"version":"2e762ce2704dabbed305b7182da56c419dba3bd8a65f0f52d8a25b99d3673137","signature":"af9da8a546b60b31496ed251ae53cc72bc3d41f7b47694393dfa65a51280f908"},{"version":"411020f596b80e58fe37f7b627c1332a97741ba57420a3109f538f8a05ca4ca8","signature":"855d6732b5d77e501a6367ff9726b6fc02e5a36ec31181dd8ae165567a7a38b4"},{"version":"efff7ade1541a8a2eb0ba4ef4e37e41a26e0c984f1b01cd14983dff11f6da5b5","signature":"2c20cc7238cbd19319210cf5855138d104e9e3ba267c3d20aeaf279a9af47c42"},{"version":"81ad8984e9880613c4e057d65176597acd7e4ff0610f6b44d20d1ab97b53e1d1","signature":"3013de7e95be2b01e5f8d187e8de22c5313a47030eb26d17897153b1101405a5"},{"version":"c939aed41531096d26a08cf3cca5ecf3c05c24b030af84e1cb1ba0307c119ce9","signature":"43b644698d12b39f153baa6ad3a180e44ba7c54269fab60b52bd549fddc15476"},{"version":"ad21ca8687e59e302bd87273c4b9d0e180cfe18499e2f6b9421725764549d960","signature":"a22e4cd16c8f73a978225092138442f1879da5672da984ea40ce35f0e06a427e"},{"version":"4e81e21175876dd5159ac6d43f4ca7b457f11170decf2dc539efacb2fad0d72a","signature":"6e557f2433a75d20ba296fccaecd20796e7a66ce88ac4620c587ba909ac2eb1f"},{"version":"67355ca6d610f664bdb24743b9cc6d35547ed1e7c2adbe53f46a1a1e2238505b","signature":"bedf23c1c94c3a4bfdb5249f78d29242762285f4adfddbbcda52f098b4d025cf"},{"version":"24daa2ce859ff2f3690ad6c201fcaadb9bf12108633f596e601eb0f9c95f938e","signature":"949dc13b47199a09ad4a21aaa7e293b3212864bc788f255345a09eb23d40118c"},{"version":"88585e1d70cd4f0fac0f0bf3108c7fa33eb0ed482debd437bc13d751b2cbf902","signature":"cf9023853abdc876cdbe234c35bee87f8fcfe1975af839c77f987676a5070c14"},{"version":"02f008f69fdef4a2b1eff41907acb6dffadaf2e3707f2fc1839d83177cd0757c","signature":"adeb007dd90e76a73f4b070139a964cdb3159560e6f359c53791ec8dfff73b5e"},{"version":"2e868b4f7b6ff80207152a12025136a1b654144af15097c26fd261eb940f805c","signature":"7cdaa38ab075300328647b62916089b9380c010e04d20b9d66671d99564dd286"},{"version":"ac67ccaa9e21896d07dba6e76075a6e56e5a773b6b0241231daaccf029132aad","signature":"209e9e58dd4eb70a91262c65d4be7b544d825fafbcdc9dd3dbadb4cae334c82c"},{"version":"38d77c1e4d11780dbc03ff0b6b3fab908fd94747cdd70a93c8cf16a8e823554c","signature":"5035b339f67ec94577421c650110c612b192e40ab6e3c7c24cfdd5e0d7695f72"},{"version":"421b1a5f751b0135df9e0ae4f8fbadda26b0a28bbd02e402669844959b49f132","signature":"5fb0f9a1e35016120a2bfb2735b12de00912f399949e8e8f8813d2faecd98a0f"},{"version":"115d9bfdd156fa6b2d9affe5cd8feb81344b9aa19481a3f5bde1b8008a114299","signature":"719eaa179d953b043795fd6fc3e97cc51bda454e8bad55fcb31e58a1ba03ae10"},{"version":"3226a1b3524f1c07d8379f9d9b445943f36131e5fbde8d777b7cb2cef3f56a82","signature":"0df8815fca8b165f461723833493def462844cf11722ef1cced82e52b3b8d881"},{"version":"8d41619dda215df9b5cb439c19f7e7d810f0fb2712ba43f3c11ba175b80311f0","signature":"1892494c78bbe8c8c4bb08d7eb71e945c8a6a740a7790da48d0c2d4123713750"},{"version":"7c65f395fcab9a65b7421e63f45f4659a5ff6467ca4911316347c828d6a236f5","signature":"e1c582bd13960972094f8de98f05c466064dd3c8f4635633d807bb66045ce1a8"},"6c27d4b5ba01295ef334456d9af4366aca789f228eee70fcb874b903a59b0e5b",{"version":"d2917c1370f3d1859c884ba3726d63c14fa3086a0c8671d311b08810e557dd22","signature":"18f168653a953e3bf0ed315e79413969de4c6fcff7add51c8b2005eda2a07cb2"},{"version":"a0f41c123f2d733f503fa755bb2d029aa461364ba103b87f27685ff447835d34","signature":"914fc0941912b62e2f6a03a59ab61b2eae9d4c5a9d5f2728ad47a5b5021b5d6f"},"c561efdf5ba0b62619745d4761fe2d9756f23db972e039367d15922fed67fd2f","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",{"version":"d1c92b66c4105659fcad4eb76a1481f7311033e117d0678a1ec545e8ddb8d4c6","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","dee93c07b4df5e26010dc9ec4cdf4d6e4076bb4474d2a8371529217c8b2740a4","ed40f2f184db052dc8df62d1f199823c8bbccc487c0a2a7c54eeea0badcf4378","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"c8155caf28fc7b0a564156a5df28ad8a844a3bd32d331d148d8f3ce88025c870","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","dfc747ab8dd5f623055a4c26fd35e8cceca869fd3f1cf09701c941ca3679665a","c9f5f2920ff61d7158417b8440d5181ddc34a3dfef811a5677dd8a9fb91471e9","5cc0a492da3602510b8f5ed1852b1e0390002780d8758fbc8c0cd023ca7085f8","ec7dafafe751a5121f8f1c80201ebe7e7238c47e6329280a73c4d1ca4bb7fa28","64debeb10e4b7ae4ec9e89bfb4e04c6101ab98c3cc806d14e5488607cfec2753",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"a5782d6cea81fe43d2db7ed41e789458c933ab3ab60602f7b5b14c4da3370496","affectsGlobalScope":true},"f258ba66915f0196ec344bc53afe1888240bbcc855ebd151b6cc072275533319","6194335ee3353f7226ba31f31d6301d0c6be87228419c0a08976ccd9d4f1213e","3ac12a54cfaa84683506db8d4cf779135a271d9f0ec18930cf53e61fbeea0c5d","cf3d3b087d1a8a3355eec47d206162c75e912315b9b5c1cd49fda93e948fb80a","36f316c066c4a72dd6f19fec49a074f935744fc9ccbe75c87ebc07fb2feb9062","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","ec70fd6f8a9a83f850dab2960a6789e93d5b034b354a16814cad5daabf62a360","e2236264a811ed1d09a2487a433e8f5216ae62378cf233954ae220cf886f6717","3ec1e108d587a5661ec790db607f482605ba9f3830e118ce578e3ffa3c42e22b","100b3bb9d39d2b1b5340f1bf45a52e94ef1692b45232b4ba00fac5c3cc56d331",{"version":"04fe7e7d8008887943260af1fde2bfd4877e0dc57bf634e0f0b2f3d1794dfd11","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","2597718d91e306949d89e285bf34c44192014ef541c3bd7cbb825c022749e974","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","ac4801ebc2355ba32329070123b1cd15891bf71b41dcaf9e75b4744832126a59","fd2298fba0640e7295e7bd545e2dfbfcccbb00c27019e501c87965a02bbdebf6","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","71ddd49185b68f27bfac127ef5d22cb2672c278e53e5370d9020ef50ca9c377d","b1ea7a6eaa7608e0e0529aebd323b526a79c6c05a4e519ae5c779675004dcdf1","9fcb033a6208485d8f3fadde31eb5cbcaf99149cff3e40c0dc53ebc6d0dff4e9","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","f4149f1aa299474c7040a35fe8f8ac2ad078cc1b190415adc1fff3ed52d490ea","3730099ed008776216268a97771de31753ef71e0a7d0ec650f588cba2a06ce44","8d649dbc429d7139a1d9a14ea2bf8af1dc089e0a879447539587463d4b6c248c","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","e361aecf17fc4034b4c122a1564471cdcd22ef3a51407803cb5a5fc020c04d02","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"fc0ae4a8ad3c762b96f9d2c3700cb879a373458cb0bf3175478e3b4f85f7ef2f","fabbec378e1ddd86fcf2662e716c2b8318acedb664ee3a4cba6f9e8ee8269cf1","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","efd55e8ca79171bf26c0d0e30221cb8ee1f5a31dd0c791ec4b2e886f42bab124","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612","b8a427b9fe88504a6fb092e21adfe272d144394a2ced7f9e4adc3de7efa6e216","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true},"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","f463d61cf39c3a6a5f96cdf7adfdb72a0b1d663f7b5d5b6dd042adba835430c2","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","763e521cf114b80e0dd0e21ca49b9f8ae62e8999555a5e7bade8ce36b33001c2","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","3e6bbb0883148627ca0854a9f62d820aaf1a0f1842f5568176721fef156b8f23","ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","f72f8428f3c1caa22e9c247d046603b85b442c0dae7b77a7a0bc092c18867cb7",{"version":"195f63105abc03e72b6a176e3e34dfb5ac932b55db378fdc7874b1617e24b465","affectsGlobalScope":true},"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","92ad68795c32309fb43576cacb38bd2677deeed38f5730dcd4a8c5e65463ae15","4b16417aab5a4b276fd4a7db95120a8c7b4d49a6d68ddfe075e9f46dcbf22f00","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","f3d84d6f83cf131e4db335dc8100898adbeb01dd4cf4e2fe695ab220eac98be4","6521aaade4e1d23cbc4b665083b004aeaca23f3347ba2422f88d1828968a0056","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","e9709ed827c40789c669736fc78e2ab603605e8e81325d1e6d7a5eb451810dd0","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","6fc76efbb61d3336833ef44ff3f37552667f26c2a73b368f3b4b259f19f2c234","479496e5bb48f2f5e981ef646665bc09fd9ab080e86e9ea882ca4369411604af","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","93c4fc5b5237c09bc9ed65cb8f0dc1d89034406ab40500b89701341994897142","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":1,"module":1,"noImplicitAny":false,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictPropertyInitialization":false,"target":7},"fileIdsList":[[148],[225],[148,149,150,151,152],[148,150],[205],[171,205,207],[171,205],[171],[206],[168,171,205,211,212],[208,212,213,216],[169,205],[220],[221],[227,230],[214],[215],[203],[202,203],[157,162],[168,169,176,185],[158,168,176],[194],[162,169,177],[185,190],[165,168,176],[166],[165],[168],[168,170,185,193],[168,169,185],[176,185,193],[168,169,171,176,185,190,193],[171,185,190,193],[204],[193],[165,168,185],[178],[156],[192],[183,194,197],[168,186],[185],[188],[162,176],[154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],[176],[182],[195],[157,162,168,170,179,185,193,197],[205,237,239,243,244,245,246,247,248],[185,205],[168,205,237,239,240,242,249],[168,176,185,193,205,236,237,238,240,241,242,249],[185,205,239,240],[185,205,239,241],[205,237,239,240,242,249],[185,205,241],[168,176,185,190,205,238,240,242],[168,205,237,239,240,241,242,249],[168,185,205,237,238,239,240,241,242,249],[168,185,205,237,239,240,242,249],[171,185,205,242],[168,185,190,205,252,253,256,257],[171,205,215],[260],[223,229],[227],[224,228],[205,253,254,255],[185,205,253],[226],[68],[59,60],[57,58,59,61,62,66],[58,59],[67],[59],[57,58,59,62,63,64,65],[57,58,68],[83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143],[80],[83,108],[108],[83],[113],[83,113,117],[83,113],[99],[83,99],[99,113],[83,108,113],[144,146],[83,101,104,144,145,168],[72,79],[69,72,76,78],[69,71],[72,75,79],[72,75,76,77,79],[72,73,74,76,79],[72,73,79],[70,80,81],[70,82],[69],[70,80],[83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143],[83,144,145],[69,72,76,78,194],[69,71,194],[72,75,79,194],[72,75,76,77,79,194],[72,73,74,76,79,194],[70,80,194]],"referencedMap":[[150,1],[226,2],[153,3],[149,1],[151,4],[152,1],[206,5],[208,6],[207,7],[209,8],[210,9],[213,10],[217,11],[218,12],[221,13],[222,14],[231,15],[233,5],[215,16],[214,17],[154,18],[204,19],[157,20],[158,21],[159,22],[160,23],[161,24],[162,25],[163,26],[165,27],[166,28],[167,29],[168,29],[169,30],[170,31],[171,32],[172,33],[173,34],[205,35],[174,29],[175,36],[176,37],[178,38],[179,39],[180,40],[183,29],[184,41],[185,42],[186,43],[188,29],[189,44],[190,45],[202,46],[192,47],[193,48],[194,49],[196,43],[198,50],[199,43],[249,51],[236,52],[243,53],[239,54],[237,55],[240,56],[244,57],[245,53],[242,58],[241,59],[246,60],[247,61],[248,62],[238,63],[257,64],[216,65],[261,66],[230,67],[228,68],[229,69],[256,70],[253,5],[255,71],[254,5],[227,72],[69,73],[61,74],[67,75],[62,76],[65,73],[68,77],[60,78],[66,79],[59,80],[144,81],[84,82],[109,83],[110,83],[111,83],[113,84],[114,83],[115,83],[116,85],[117,86],[118,87],[119,87],[120,83],[121,87],[122,88],[123,89],[124,89],[125,90],[126,89],[127,89],[130,86],[131,91],[132,86],[133,88],[134,83],[135,92],[136,92],[137,92],[138,85],[139,88],[140,85],[85,85],[86,85],[87,85],[88,85],[89,85],[90,85],[91,85],[92,85],[93,85],[94,85],[95,85],[96,85],[97,85],[98,85],[100,85],[101,85],[102,85],[103,85],[104,85],[105,85],[106,85],[107,85],[147,93],[146,94],[80,95],[79,96],[72,97],[76,98],[78,99],[74,95],[75,100],[73,95],[77,101],[82,102],[83,103],[70,104],[81,105]],"exportedModulesMap":[[150,1],[226,2],[153,3],[149,1],[151,4],[152,1],[206,5],[208,6],[207,7],[209,8],[210,9],[213,10],[217,11],[218,12],[221,13],[222,14],[231,15],[233,5],[215,16],[214,17],[154,18],[204,19],[157,20],[158,21],[159,22],[160,23],[161,24],[162,25],[163,26],[165,27],[166,28],[167,29],[168,29],[169,30],[170,31],[171,32],[172,33],[173,34],[205,35],[174,29],[175,36],[176,37],[178,38],[179,39],[180,40],[183,29],[184,41],[185,42],[186,43],[188,29],[189,44],[190,45],[202,46],[192,47],[193,48],[194,49],[196,43],[198,50],[199,43],[249,51],[236,52],[243,53],[239,54],[237,55],[240,56],[244,57],[245,53],[242,58],[241,59],[246,60],[247,61],[248,62],[238,63],[257,64],[216,65],[261,66],[230,67],[228,68],[229,69],[256,70],[253,5],[255,71],[254,5],[227,72],[69,73],[61,74],[67,75],[62,76],[65,73],[68,77],[60,78],[66,79],[59,80],[144,106],[84,82],[109,83],[110,83],[111,83],[113,84],[114,83],[115,83],[116,85],[117,86],[118,87],[119,87],[120,83],[121,87],[122,88],[123,89],[124,89],[125,90],[126,89],[127,89],[130,86],[131,91],[132,86],[133,88],[134,83],[135,92],[136,92],[137,92],[138,85],[139,88],[140,85],[85,85],[86,85],[87,85],[88,85],[89,85],[90,85],[91,85],[92,85],[93,85],[94,85],[95,85],[96,85],[97,85],[98,85],[100,85],[101,85],[102,85],[103,85],[104,85],[105,85],[106,85],[107,85],[147,93],[146,107],[80,95],[79,108],[72,109],[76,110],[78,111],[74,95],[75,112],[73,95],[77,101],[82,102],[83,103],[70,104],[81,113]],"semanticDiagnosticsPerFile":[150,148,223,226,225,153,149,151,152,206,208,207,209,210,213,217,218,219,220,221,222,231,232,233,215,214,234,235,203,154,156,204,157,158,159,160,161,162,163,164,165,166,167,168,169,170,155,200,171,172,173,205,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,202,192,193,194,195,196,197,201,198,199,249,236,243,239,237,240,244,245,242,241,246,247,248,238,250,251,257,258,212,211,216,259,260,261,224,230,228,229,256,253,255,254,252,227,145,11,12,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,13,69,61,67,63,64,62,65,57,58,68,60,66,59,144,84,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,130,129,131,132,133,134,135,136,137,138,139,140,141,142,143,108,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,147,146,80,79,72,76,78,74,75,73,77,71,82,83,70,81],"latestChangedDtsFile":"./src/client/types/com/atproto/server/getAccountsConfig.d.ts"},"version":"4.8.4"}
\ No newline at end of file