@vscode/markdown-editor 0.0.2-22 → 0.0.2-24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -118,7 +118,7 @@ function tr(e) {
118
118
  }
119
119
  const Jt = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
120
120
  };
121
- function ae(e) {
121
+ function ue(e) {
122
122
  return typeof e == "object" && e !== null && !Array.isArray(e);
123
123
  }
124
124
  const nr = /* @__PURE__ */ Ne(() => {
@@ -131,17 +131,17 @@ const nr = /* @__PURE__ */ Ne(() => {
131
131
  return !1;
132
132
  }
133
133
  });
134
- function ue(e) {
135
- if (ae(e) === !1)
134
+ function de(e) {
135
+ if (ue(e) === !1)
136
136
  return !1;
137
137
  const t = e.constructor;
138
138
  if (t === void 0 || typeof t != "function")
139
139
  return !0;
140
140
  const n = t.prototype;
141
- return !(ae(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
141
+ return !(ue(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
142
142
  }
143
143
  function Lt(e) {
144
- return ue(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
144
+ return de(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
145
145
  }
146
146
  const rr = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
147
147
  function ie(e) {
@@ -211,7 +211,7 @@ function cr(e, t) {
211
211
  return V(e, s);
212
212
  }
213
213
  function ar(e, t) {
214
- if (!ue(t))
214
+ if (!de(t))
215
215
  throw new Error("Invalid input to extend: expected a plain object");
216
216
  const n = e._zod.def.checks;
217
217
  if (n && n.length > 0) {
@@ -229,7 +229,7 @@ function ar(e, t) {
229
229
  return V(e, o);
230
230
  }
231
231
  function ur(e, t) {
232
- if (!ue(t))
232
+ if (!de(t))
233
233
  throw new Error("Invalid input to safeExtend: expected a plain object");
234
234
  const n = W(e._zod.def, {
235
235
  get shape() {
@@ -328,17 +328,17 @@ function Vt(e, t) {
328
328
  return (r = n).path ?? (r.path = []), n.path.unshift(e), n;
329
329
  });
330
330
  }
331
- function pe(e) {
331
+ function me(e) {
332
332
  return typeof e == "string" ? e : e?.message;
333
333
  }
334
334
  function Y(e, t, n) {
335
- const r = e.message ? e.message : pe(e.inst?._zod.def?.error?.(e)) ?? pe(t?.error?.(e)) ?? pe(n.customError?.(e)) ?? pe(n.localeError?.(e)) ?? "Invalid input", { inst: o, continue: s, input: i, ...c } = e;
335
+ const r = e.message ? e.message : me(e.inst?._zod.def?.error?.(e)) ?? me(t?.error?.(e)) ?? me(n.customError?.(e)) ?? me(n.localeError?.(e)) ?? "Invalid input", { inst: o, continue: s, input: i, ...c } = e;
336
336
  return c.path ?? (c.path = []), c.message = r, t?.reportInput && (c.input = i), c;
337
337
  }
338
338
  function tt(e) {
339
339
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
340
340
  }
341
- function de(...e) {
341
+ function le(...e) {
342
342
  const [t, n, r] = e;
343
343
  return typeof t == "string" ? {
344
344
  message: t,
@@ -1201,7 +1201,7 @@ const an = /* @__PURE__ */ d("$ZodObject", (e, t) => {
1201
1201
  }
1202
1202
  return a;
1203
1203
  });
1204
- const o = ae, s = t.catchall;
1204
+ const o = ue, s = t.catchall;
1205
1205
  let i;
1206
1206
  e._zod.parse = (c, a) => {
1207
1207
  i ?? (i = r.value);
@@ -1302,7 +1302,7 @@ const an = /* @__PURE__ */ d("$ZodObject", (e, t) => {
1302
1302
  return (g, w) => A(f, g, w);
1303
1303
  };
1304
1304
  let s;
1305
- const i = ae, c = !Xe.jitless, u = c && nr.value, l = t.catchall;
1305
+ const i = ue, c = !Xe.jitless, u = c && nr.value, l = t.catchall;
1306
1306
  let h;
1307
1307
  e._zod.parse = (f, p) => {
1308
1308
  h ?? (h = r.value);
@@ -1391,7 +1391,7 @@ const rt = /* @__PURE__ */ d("$ZodUnion", (e, t) => {
1391
1391
  });
1392
1392
  e._zod.parse = (o, s) => {
1393
1393
  const i = o.value;
1394
- if (!ae(i))
1394
+ if (!ue(i))
1395
1395
  return o.issues.push({
1396
1396
  code: "invalid_type",
1397
1397
  expected: "object",
@@ -1421,7 +1421,7 @@ function qe(e, t) {
1421
1421
  return { valid: !0, data: e };
1422
1422
  if (e instanceof Date && t instanceof Date && +e == +t)
1423
1423
  return { valid: !0, data: e };
1424
- if (ue(e) && ue(t)) {
1424
+ if (de(e) && de(t)) {
1425
1425
  const n = Object.keys(t), r = Object.keys(e).filter((s) => n.indexOf(s) !== -1), o = { ...e, ...t };
1426
1426
  for (const s of r) {
1427
1427
  const i = qe(e[s], t[s]);
@@ -1588,13 +1588,13 @@ const Yo = /* @__PURE__ */ d("$ZodCatch", (e, t) => {
1588
1588
  S.init(e, t), y(e._zod, "values", () => t.in._zod.values), y(e._zod, "optin", () => t.in._zod.optin), y(e._zod, "optout", () => t.out._zod.optout), y(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (n, r) => {
1589
1589
  if (r.direction === "backward") {
1590
1590
  const s = t.out._zod.run(n, r);
1591
- return s instanceof Promise ? s.then((i) => me(i, t.in, r)) : me(s, t.in, r);
1591
+ return s instanceof Promise ? s.then((i) => _e(i, t.in, r)) : _e(s, t.in, r);
1592
1592
  }
1593
1593
  const o = t.in._zod.run(n, r);
1594
- return o instanceof Promise ? o.then((s) => me(s, t.out, r)) : me(o, t.out, r);
1594
+ return o instanceof Promise ? o.then((s) => _e(s, t.out, r)) : _e(o, t.out, r);
1595
1595
  };
1596
1596
  });
1597
- function me(e, t, n) {
1597
+ function _e(e, t, n) {
1598
1598
  return e.issues.length ? (e.aborted = !0, e) : t._zod.run({ value: e.value, issues: e.issues, fallback: e.fallback }, n);
1599
1599
  }
1600
1600
  const Qo = /* @__PURE__ */ d("$ZodReadonly", (e, t) => {
@@ -1628,7 +1628,7 @@ function yt(e, t, n, r) {
1628
1628
  continue: !r._zod.def.abort
1629
1629
  // params: inst._zod.def.params,
1630
1630
  };
1631
- r._zod.def.params && (o.params = r._zod.def.params), t.issues.push(de(o));
1631
+ r._zod.def.params && (o.params = r._zod.def.params), t.issues.push(le(o));
1632
1632
  }
1633
1633
  }
1634
1634
  var wt;
@@ -1665,7 +1665,7 @@ function ni() {
1665
1665
  return new ti();
1666
1666
  }
1667
1667
  (wt = globalThis).__zod_globalRegistry ?? (wt.__zod_globalRegistry = ni());
1668
- const ce = globalThis.__zod_globalRegistry;
1668
+ const ae = globalThis.__zod_globalRegistry;
1669
1669
  // @__NO_SIDE_EFFECTS__
1670
1670
  function dn(e, t) {
1671
1671
  return new e({
@@ -2160,10 +2160,10 @@ function Vi(e, t, n) {
2160
2160
  function qi(e, t) {
2161
2161
  const n = /* @__PURE__ */ Hi((r) => (r.addIssue = (o) => {
2162
2162
  if (typeof o == "string")
2163
- r.issues.push(de(o, r.value, n._zod.def));
2163
+ r.issues.push(le(o, r.value, n._zod.def));
2164
2164
  else {
2165
2165
  const s = o;
2166
- s.fatal && (s.continue = !1), s.code ?? (s.code = "custom"), s.input ?? (s.input = r.value), s.inst ?? (s.inst = n), s.continue ?? (s.continue = !n._zod.def.abort), r.issues.push(de(s));
2166
+ s.fatal && (s.continue = !1), s.code ?? (s.code = "custom"), s.input ?? (s.input = r.value), s.inst ?? (s.inst = n), s.continue ?? (s.continue = !n._zod.def.abort), r.issues.push(le(s));
2167
2167
  }
2168
2168
  }, e(r.value, r)), t);
2169
2169
  return n;
@@ -2180,7 +2180,7 @@ function Ee(e) {
2180
2180
  let t = e?.target ?? "draft-2020-12";
2181
2181
  return t === "draft-4" && (t = "draft-04"), t === "draft-7" && (t = "draft-07"), {
2182
2182
  processors: e.processors ?? {},
2183
- metadataRegistry: e?.metadata ?? ce,
2183
+ metadataRegistry: e?.metadata ?? ae,
2184
2184
  target: t,
2185
2185
  unrepresentable: e?.unrepresentable ?? "throw",
2186
2186
  override: e?.override ?? (() => {
@@ -2958,10 +2958,10 @@ function T(e, t, n, r) {
2958
2958
  const o = {};
2959
2959
  return new Dn(e, t ?? /* @__PURE__ */ Et(), /* @__PURE__ */ Et(), o);
2960
2960
  }
2961
- function le(e, t = {}) {
2961
+ function fe(e, t = {}) {
2962
2962
  return new Fn(e, t);
2963
2963
  }
2964
- function _e(e) {
2964
+ function ce(e) {
2965
2965
  const t = e._zod?.def?.type;
2966
2966
  return t === "void" || t === "undefined" ? !0 : be(hs(e));
2967
2967
  }
@@ -3137,8 +3137,8 @@ var Cs = class {
3137
3137
  } : this._buildSchema(this.schemaHash)), this._schemaCache;
3138
3138
  }
3139
3139
  _buildSchema(e) {
3140
- const t = [];
3141
- for (const [r, o] of Object.entries(this.members)) t.push(Rs(r, o));
3140
+ const t = {};
3141
+ for (const [r, o] of Object.entries(this.members)) t[r] = Rs(o);
3142
3142
  const n = {
3143
3143
  id: this.info.id,
3144
3144
  hash: e,
@@ -3147,37 +3147,17 @@ var Cs = class {
3147
3147
  return this.info.description !== void 0 && (n.description = this.info.description), this.info.comment !== void 0 && (n.comment = this.info.comment), n;
3148
3148
  }
3149
3149
  };
3150
- function Rs(e, t) {
3151
- const n = {
3152
- name: "params",
3153
- schema: _e(t.paramsSchema),
3154
- required: !0
3155
- }, r = t.docs;
3156
- if (t.kind === "request") {
3157
- const s = {
3158
- name: e,
3159
- params: [n],
3160
- result: {
3161
- name: "result",
3162
- schema: _e(t.resultSchema),
3163
- required: !0
3164
- }
3150
+ function Rs(e) {
3151
+ const t = e.docs;
3152
+ if (e.kind === "request") {
3153
+ const r = {
3154
+ params: ce(e.paramsSchema),
3155
+ result: ce(e.resultSchema)
3165
3156
  };
3166
- return t.clientStreamSchema !== void 0 && (s.clientStream = {
3167
- name: "clientStream",
3168
- schema: _e(t.clientStreamSchema),
3169
- required: !0
3170
- }), t.serverStreamSchema !== void 0 && (s.serverStream = {
3171
- name: "serverStream",
3172
- schema: _e(t.serverStreamSchema),
3173
- required: !0
3174
- }), r.description !== void 0 && (s.description = r.description), r.comment !== void 0 && (s.comment = r.comment), r.annotations !== void 0 && (s.annotations = r.annotations), s;
3157
+ return e.clientStreamSchema !== void 0 && (r.clientStream = ce(e.clientStreamSchema)), e.serverStreamSchema !== void 0 && (r.serverStream = ce(e.serverStreamSchema)), t.description !== void 0 && (r.description = t.description), t.comment !== void 0 && (r.comment = t.comment), t.annotations !== void 0 && (r.annotations = t.annotations), r;
3175
3158
  }
3176
- const o = {
3177
- name: e,
3178
- params: [n]
3179
- };
3180
- return r.description !== void 0 && (o.description = r.description), r.comment !== void 0 && (o.comment = r.comment), r.annotations !== void 0 && (o.annotations = r.annotations), o;
3159
+ const n = { params: ce(e.paramsSchema) };
3160
+ return t.description !== void 0 && (n.description = t.description), t.comment !== void 0 && (n.comment = t.comment), t.annotations !== void 0 && (n.annotations = t.annotations), n;
3181
3161
  }
3182
3162
  function q(e, t) {
3183
3163
  return new Cs(e, t);
@@ -3305,7 +3285,7 @@ const Ms = q({
3305
3285
  }, Fs = q({
3306
3286
  id: "$stream",
3307
3287
  description: "Reserved sub-protocol for in-flight stream messages correlated to a request by `requestId`."
3308
- }, { send: le(/* @__PURE__ */ v({
3288
+ }, { send: fe(/* @__PURE__ */ v({
3309
3289
  /**
3310
3290
  * Id of the in-flight request the message belongs to.
3311
3291
  * The hub rewrites this across the forwarding boundary
@@ -3364,9 +3344,13 @@ function Js(e) {
3364
3344
  function Ls(e) {
3365
3345
  return typeof e.method != "string";
3366
3346
  }
3367
- new TextEncoder();
3368
3347
  function Vs(e) {
3369
3348
  const t = e.split("::");
3349
+ if (t.length === 3 && t[0].length === 0 && t[1].length > 0 && t[2].length > 0) return {
3350
+ kind: "interface",
3351
+ interfaceId: t[1],
3352
+ member: t[2]
3353
+ };
3370
3354
  if (!t.some((n) => n.length === 0)) {
3371
3355
  if (t.length === 1) return {
3372
3356
  kind: "bare",
@@ -4124,7 +4108,7 @@ const cc = (e, t) => {
4124
4108
  }, D = /* @__PURE__ */ d("ZodError", cc, {
4125
4109
  Parent: Error
4126
4110
  }), ac = /* @__PURE__ */ Re(D), uc = /* @__PURE__ */ xe(D), dc = /* @__PURE__ */ je(D), lc = /* @__PURE__ */ Ae(D), fc = /* @__PURE__ */ vr(D), hc = /* @__PURE__ */ yr(D), pc = /* @__PURE__ */ wr(D), mc = /* @__PURE__ */ br(D), _c = /* @__PURE__ */ zr(D), gc = /* @__PURE__ */ kr(D), vc = /* @__PURE__ */ Sr(D), yc = /* @__PURE__ */ $r(D), Tt = /* @__PURE__ */ new WeakMap();
4127
- function he(e, t, n) {
4111
+ function pe(e, t, n) {
4128
4112
  const r = Object.getPrototypeOf(e);
4129
4113
  let o = Tt.get(r);
4130
4114
  if (o || (o = /* @__PURE__ */ new Set(), Tt.set(r, o)), !o.has(t)) {
@@ -4160,7 +4144,7 @@ const O = /* @__PURE__ */ d("ZodType", (e, t) => (S.init(e, t), Object.assign(e[
4160
4144
  input: Oe(e, "input"),
4161
4145
  output: Oe(e, "output")
4162
4146
  }
4163
- }), e.toJSONSchema = Wi(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (n, r) => ac(e, n, r, { callee: e.parse }), e.safeParse = (n, r) => dc(e, n, r), e.parseAsync = async (n, r) => uc(e, n, r, { callee: e.parseAsync }), e.safeParseAsync = async (n, r) => lc(e, n, r), e.spa = e.safeParseAsync, e.encode = (n, r) => fc(e, n, r), e.decode = (n, r) => hc(e, n, r), e.encodeAsync = async (n, r) => pc(e, n, r), e.decodeAsync = async (n, r) => mc(e, n, r), e.safeEncode = (n, r) => _c(e, n, r), e.safeDecode = (n, r) => gc(e, n, r), e.safeEncodeAsync = async (n, r) => vc(e, n, r), e.safeDecodeAsync = async (n, r) => yc(e, n, r), he(e, "ZodType", {
4147
+ }), e.toJSONSchema = Wi(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (n, r) => ac(e, n, r, { callee: e.parse }), e.safeParse = (n, r) => dc(e, n, r), e.parseAsync = async (n, r) => uc(e, n, r, { callee: e.parseAsync }), e.safeParseAsync = async (n, r) => lc(e, n, r), e.spa = e.safeParseAsync, e.encode = (n, r) => fc(e, n, r), e.decode = (n, r) => hc(e, n, r), e.encodeAsync = async (n, r) => pc(e, n, r), e.decodeAsync = async (n, r) => mc(e, n, r), e.safeEncode = (n, r) => _c(e, n, r), e.safeDecode = (n, r) => gc(e, n, r), e.safeEncodeAsync = async (n, r) => vc(e, n, r), e.safeDecodeAsync = async (n, r) => yc(e, n, r), pe(e, "ZodType", {
4164
4148
  check(...n) {
4165
4149
  const r = this.def;
4166
4150
  return this.clone(W(r, {
@@ -4235,13 +4219,13 @@ const O = /* @__PURE__ */ d("ZodType", (e, t) => (S.init(e, t), Object.assign(e[
4235
4219
  },
4236
4220
  describe(n) {
4237
4221
  const r = this.clone();
4238
- return ce.add(r, { description: n }), r;
4222
+ return ae.add(r, { description: n }), r;
4239
4223
  },
4240
4224
  meta(...n) {
4241
4225
  if (n.length === 0)
4242
- return ce.get(this);
4226
+ return ae.get(this);
4243
4227
  const r = this.clone();
4244
- return ce.add(r, n[0]), r;
4228
+ return ae.add(r, n[0]), r;
4245
4229
  },
4246
4230
  isOptional() {
4247
4231
  return this.safeParse(void 0).success;
@@ -4254,13 +4238,13 @@ const O = /* @__PURE__ */ d("ZodType", (e, t) => (S.init(e, t), Object.assign(e[
4254
4238
  }
4255
4239
  }), Object.defineProperty(e, "description", {
4256
4240
  get() {
4257
- return ce.get(e)?.description;
4241
+ return ae.get(e)?.description;
4258
4242
  },
4259
4243
  configurable: !0
4260
4244
  }), e)), qn = /* @__PURE__ */ d("_ZodString", (e, t) => {
4261
4245
  Me.init(e, t), O.init(e, t), e._zod.processJSONSchema = (r, o, s) => gn(e, r, o);
4262
4246
  const n = e._zod.bag;
4263
- e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, he(e, "_ZodString", {
4247
+ e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, pe(e, "_ZodString", {
4264
4248
  regex(...r) {
4265
4249
  return this.check(/* @__PURE__ */ Ni(...r));
4266
4250
  },
@@ -4310,7 +4294,7 @@ const O = /* @__PURE__ */ d("ZodType", (e, t) => (S.init(e, t), Object.assign(e[
4310
4294
  }), wc = /* @__PURE__ */ d("ZodString", (e, t) => {
4311
4295
  Me.init(e, t), qn.init(e, t), e.email = (n) => e.check(/* @__PURE__ */ ri(bc, n)), e.url = (n) => e.check(/* @__PURE__ */ ai(zc, n)), e.jwt = (n) => e.check(/* @__PURE__ */ ki(Ac, n)), e.emoji = (n) => e.check(/* @__PURE__ */ ui(kc, n)), e.guid = (n) => e.check(/* @__PURE__ */ bt(Nt, n)), e.uuid = (n) => e.check(/* @__PURE__ */ oi(ve, n)), e.uuidv4 = (n) => e.check(/* @__PURE__ */ ii(ve, n)), e.uuidv6 = (n) => e.check(/* @__PURE__ */ si(ve, n)), e.uuidv7 = (n) => e.check(/* @__PURE__ */ ci(ve, n)), e.nanoid = (n) => e.check(/* @__PURE__ */ di(Sc, n)), e.guid = (n) => e.check(/* @__PURE__ */ bt(Nt, n)), e.cuid = (n) => e.check(/* @__PURE__ */ li($c, n)), e.cuid2 = (n) => e.check(/* @__PURE__ */ fi(Ec, n)), e.ulid = (n) => e.check(/* @__PURE__ */ hi(Zc, n)), e.base64 = (n) => e.check(/* @__PURE__ */ wi(Rc, n)), e.base64url = (n) => e.check(/* @__PURE__ */ bi(xc, n)), e.xid = (n) => e.check(/* @__PURE__ */ pi(Ic, n)), e.ksuid = (n) => e.check(/* @__PURE__ */ mi(Oc, n)), e.ipv4 = (n) => e.check(/* @__PURE__ */ _i(Pc, n)), e.ipv6 = (n) => e.check(/* @__PURE__ */ gi(Tc, n)), e.cidrv4 = (n) => e.check(/* @__PURE__ */ vi(Nc, n)), e.cidrv6 = (n) => e.check(/* @__PURE__ */ yi(Cc, n)), e.e164 = (n) => e.check(/* @__PURE__ */ zi(jc, n)), e.datetime = (n) => e.check(ec(n)), e.date = (n) => e.check(nc(n)), e.time = (n) => e.check(oc(n)), e.duration = (n) => e.check(sc(n));
4312
4296
  });
4313
- function fe(e) {
4297
+ function he(e) {
4314
4298
  return /* @__PURE__ */ dn(wc, e);
4315
4299
  }
4316
4300
  const Z = /* @__PURE__ */ d("ZodStringFormat", (e, t) => {
@@ -4354,7 +4338,7 @@ const Z = /* @__PURE__ */ d("ZodStringFormat", (e, t) => {
4354
4338
  }), Ac = /* @__PURE__ */ d("ZodJWT", (e, t) => {
4355
4339
  Do.init(e, t), Z.init(e, t);
4356
4340
  }), Hn = /* @__PURE__ */ d("ZodNumber", (e, t) => {
4357
- nt.init(e, t), O.init(e, t), e._zod.processJSONSchema = (r, o, s) => vn(e, r, o), he(e, "ZodNumber", {
4341
+ nt.init(e, t), O.init(e, t), e._zod.processJSONSchema = (r, o, s) => vn(e, r, o), pe(e, "ZodNumber", {
4358
4342
  gt(r, o) {
4359
4343
  return this.check(/* @__PURE__ */ He(r, o));
4360
4344
  },
@@ -4432,7 +4416,7 @@ function Jc(e) {
4432
4416
  return /* @__PURE__ */ Ii(Uc, e);
4433
4417
  }
4434
4418
  const Lc = /* @__PURE__ */ d("ZodArray", (e, t) => {
4435
- on.init(e, t), O.init(e, t), e._zod.processJSONSchema = (n, r, o) => En(e, n, r, o), e.element = t.element, he(e, "ZodArray", {
4419
+ on.init(e, t), O.init(e, t), e._zod.processJSONSchema = (n, r, o) => En(e, n, r, o), e.element = t.element, pe(e, "ZodArray", {
4436
4420
  min(n, r) {
4437
4421
  return this.check(/* @__PURE__ */ $e(n, r));
4438
4422
  },
@@ -4454,7 +4438,7 @@ function oe(e, t) {
4454
4438
  return /* @__PURE__ */ Li(Lc, e, t);
4455
4439
  }
4456
4440
  const Vc = /* @__PURE__ */ d("ZodObject", (e, t) => {
4457
- Uo.init(e, t), O.init(e, t), e._zod.processJSONSchema = (n, r, o) => Zn(e, n, r, o), y(e, "shape", () => t.shape), he(e, "ZodObject", {
4441
+ Uo.init(e, t), O.init(e, t), e._zod.processJSONSchema = (n, r, o) => Zn(e, n, r, o), y(e, "shape", () => t.shape), pe(e, "ZodObject", {
4458
4442
  keyof() {
4459
4443
  return ct(Object.keys(this._zod.def.shape));
4460
4444
  },
@@ -4596,10 +4580,10 @@ const Yc = /* @__PURE__ */ d("ZodTransform", (e, t) => {
4596
4580
  throw new Ft(e.constructor.name);
4597
4581
  n.addIssue = (s) => {
4598
4582
  if (typeof s == "string")
4599
- n.issues.push(de(s, n.value, t));
4583
+ n.issues.push(le(s, n.value, t));
4600
4584
  else {
4601
4585
  const i = s;
4602
- i.fatal && (i.continue = !1), i.code ?? (i.code = "custom"), i.input ?? (i.input = n.value), i.inst ?? (i.inst = e), n.issues.push(de(i));
4586
+ i.fatal && (i.continue = !1), i.code ?? (i.code = "custom"), i.input ?? (i.input = n.value), i.inst ?? (i.inst = e), n.issues.push(le(i));
4603
4587
  }
4604
4588
  };
4605
4589
  const o = t.transform(n.value, n);
@@ -4722,16 +4706,16 @@ const ke = Ge(), ma = P({
4722
4706
  }), ga = P({
4723
4707
  offset: L().int().nonnegative(),
4724
4708
  length: L().int().nonnegative(),
4725
- newText: fe()
4709
+ newText: he()
4726
4710
  }), Gn = Wc("kind", [
4727
4711
  P({
4728
4712
  kind: Te("replace"),
4729
- path: oe(fe()),
4713
+ path: oe(he()),
4730
4714
  newValue: ke
4731
4715
  }),
4732
4716
  P({
4733
4717
  kind: Te("stringEdits"),
4734
- path: oe(fe()),
4718
+ path: oe(he()),
4735
4719
  stringEdits: oe(ga)
4736
4720
  })
4737
4721
  ]), va = q(
@@ -4751,7 +4735,7 @@ const ke = Ge(), ma = P({
4751
4735
  capabilities: _a.optional()
4752
4736
  })
4753
4737
  ),
4754
- applyContentEdit: le(
4738
+ applyContentEdit: fe(
4755
4739
  P({
4756
4740
  edits: oe(Gn),
4757
4741
  clientRevision: L().int().nonnegative(),
@@ -4763,7 +4747,7 @@ const ke = Ge(), ma = P({
4763
4747
  * that reserves block space (e.g. an iframe with no intrinsic height)
4764
4748
  * uses this to size the frame once the guest has measured itself.
4765
4749
  */
4766
- reportSize: le(
4750
+ reportSize: fe(
4767
4751
  P({
4768
4752
  height: L().nonnegative()
4769
4753
  })
@@ -4775,7 +4759,7 @@ const ke = Ge(), ma = P({
4775
4759
  description: "Methods the editor exposes to the host (web-editor/0.12)."
4776
4760
  },
4777
4761
  {
4778
- update: le(
4762
+ update: fe(
4779
4763
  P({
4780
4764
  content: ke.optional(),
4781
4765
  options: ke.optional(),
@@ -4785,7 +4769,7 @@ const ke = Ge(), ma = P({
4785
4769
  force: j().optional()
4786
4770
  })
4787
4771
  ),
4788
- applyContentEdits: le(
4772
+ applyContentEdits: fe(
4789
4773
  P({
4790
4774
  edits: oe(Gn),
4791
4775
  serverRevision: L().int().nonnegative(),
@@ -4826,7 +4810,7 @@ q(
4826
4810
  * this is done via {@link configureEditorAssociation} (host-rendered).
4827
4811
  */
4828
4812
  getEditorRegistration: T(
4829
- P({ extension: fe() }),
4813
+ P({ extension: he() }),
4830
4814
  P({
4831
4815
  global: ye,
4832
4816
  workspace: ye,
@@ -4848,7 +4832,7 @@ q(
4848
4832
  */
4849
4833
  configureEditorAssociation: T(
4850
4834
  P({
4851
- extension: fe(),
4835
+ extension: he(),
4852
4836
  dismissable: j().optional()
4853
4837
  }),
4854
4838
  P({