@opentiny/next-sdk 0.1.15-beta.1 → 0.1.15

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.
Files changed (40) hide show
  1. package/agent/AgentModelProvider.ts +1 -490
  2. package/agent/type.ts +2 -8
  3. package/dist/WebMcpClient.d.ts +26 -165
  4. package/dist/WebMcpServer.d.ts +147 -36
  5. package/dist/agent/AgentModelProvider.d.ts +1 -35
  6. package/dist/agent/type.d.ts +2 -8
  7. package/dist/index.es.dev.js +11175 -14893
  8. package/dist/index.es.js +18206 -20985
  9. package/dist/index.js +320 -2411
  10. package/dist/index.umd.dev.js +11200 -14918
  11. package/dist/index.umd.js +71 -111
  12. package/dist/{mcpsdk@1.24.3.dev.js → mcpsdk@1.23.0.dev.js} +6652 -8271
  13. package/dist/{mcpsdk@1.24.3.es.dev.js → mcpsdk@1.23.0.es.dev.js} +6641 -8260
  14. package/dist/mcpsdk@1.23.0.es.js +15584 -0
  15. package/dist/mcpsdk@1.23.0.js +43 -0
  16. package/dist/transport/ExtensionPageServerTransport.d.ts +2 -1
  17. package/dist/webagent.dev.js +19914 -23355
  18. package/dist/webagent.es.dev.js +19889 -23330
  19. package/dist/webagent.es.js +15583 -18140
  20. package/dist/webagent.js +65 -105
  21. package/dist/webmcp-full.dev.js +7263 -8880
  22. package/dist/webmcp-full.es.dev.js +7261 -8878
  23. package/dist/webmcp-full.es.js +9267 -10421
  24. package/dist/webmcp-full.js +32 -32
  25. package/dist/webmcp.dev.js +22 -14
  26. package/dist/webmcp.es.dev.js +20 -12
  27. package/dist/webmcp.es.js +179 -172
  28. package/dist/webmcp.js +1 -1
  29. package/dist/zod@3.25.76.dev.js +32 -30
  30. package/dist/zod@3.25.76.es.dev.js +30 -28
  31. package/dist/zod@3.25.76.es.js +145 -143
  32. package/dist/zod@3.25.76.js +1 -1
  33. package/package.json +8 -9
  34. package/transport/ExtensionPageServerTransport.ts +4 -2
  35. package/agent/utils/generateReActPrompt.ts +0 -55
  36. package/agent/utils/parseReActAction.ts +0 -34
  37. package/dist/agent/utils/generateReActPrompt.d.ts +0 -9
  38. package/dist/agent/utils/parseReActAction.d.ts +0 -14
  39. package/dist/mcpsdk@1.24.3.es.js +0 -16781
  40. package/dist/mcpsdk@1.24.3.js +0 -43
@@ -283,7 +283,7 @@ class k {
283
283
  const s = [];
284
284
  for (const n of t) {
285
285
  if (n.status === "aborted")
286
- return p;
286
+ return m;
287
287
  n.status === "dirty" && e.dirty(), s.push(n.value);
288
288
  }
289
289
  return { status: e.value, value: s };
@@ -304,18 +304,18 @@ class k {
304
304
  for (const n of t) {
305
305
  const { key: a, value: i } = n;
306
306
  if (a.status === "aborted" || i.status === "aborted")
307
- return p;
307
+ return m;
308
308
  a.status === "dirty" && e.dirty(), i.status === "dirty" && e.dirty(), a.value !== "__proto__" && (typeof i.value < "u" || n.alwaysSet) && (s[a.value] = i.value);
309
309
  }
310
310
  return { status: e.value, value: s };
311
311
  }
312
312
  }
313
- const p = Object.freeze({
313
+ const m = Object.freeze({
314
314
  status: "aborted"
315
315
  }), B = (r) => ({ status: "dirty", value: r }), b = (r) => ({ status: "valid", value: r }), ge = (r) => r.status === "aborted", ve = (r) => r.status === "dirty", z = (r) => r.status === "valid", Y = (r) => typeof Promise < "u" && r instanceof Promise;
316
316
  var h;
317
317
  (function(r) {
318
- r.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, r.toString = (e) => typeof e == "string" ? e : e?.message;
318
+ r.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, r.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
319
319
  })(h || (h = {}));
320
320
  class N {
321
321
  constructor(e, t, s, n) {
@@ -401,10 +401,10 @@ class _ {
401
401
  const s = {
402
402
  common: {
403
403
  issues: [],
404
- async: t?.async ?? !1,
405
- contextualErrorMap: t?.errorMap
404
+ async: (t == null ? void 0 : t.async) ?? !1,
405
+ contextualErrorMap: t == null ? void 0 : t.errorMap
406
406
  },
407
- path: t?.path || [],
407
+ path: (t == null ? void 0 : t.path) || [],
408
408
  schemaErrorMap: this._def.errorMap,
409
409
  parent: null,
410
410
  data: e,
@@ -413,6 +413,7 @@ class _ {
413
413
  return we(s, n);
414
414
  }
415
415
  "~validate"(e) {
416
+ var s, n;
416
417
  const t = {
417
418
  common: {
418
419
  issues: [],
@@ -426,20 +427,20 @@ class _ {
426
427
  };
427
428
  if (!this["~standard"].async)
428
429
  try {
429
- const s = this._parseSync({ data: e, path: [], parent: t });
430
- return z(s) ? {
431
- value: s.value
430
+ const a = this._parseSync({ data: e, path: [], parent: t });
431
+ return z(a) ? {
432
+ value: a.value
432
433
  } : {
433
434
  issues: t.common.issues
434
435
  };
435
- } catch (s) {
436
- s?.message?.toLowerCase()?.includes("encountered") && (this["~standard"].async = !0), t.common = {
436
+ } catch (a) {
437
+ (n = (s = a == null ? void 0 : a.message) == null ? void 0 : s.toLowerCase()) != null && n.includes("encountered") && (this["~standard"].async = !0), t.common = {
437
438
  issues: [],
438
439
  async: !0
439
440
  };
440
441
  }
441
- return this._parseAsync({ data: e, path: [], parent: t }).then((s) => z(s) ? {
442
- value: s.value
442
+ return this._parseAsync({ data: e, path: [], parent: t }).then((a) => z(a) ? {
443
+ value: a.value
443
444
  } : {
444
445
  issues: t.common.issues
445
446
  });
@@ -454,10 +455,10 @@ class _ {
454
455
  const s = {
455
456
  common: {
456
457
  issues: [],
457
- contextualErrorMap: t?.errorMap,
458
+ contextualErrorMap: t == null ? void 0 : t.errorMap,
458
459
  async: !0
459
460
  },
460
- path: t?.path || [],
461
+ path: (t == null ? void 0 : t.path) || [],
461
462
  schemaErrorMap: this._def.errorMap,
462
463
  parent: null,
463
464
  data: e,
@@ -481,7 +482,7 @@ class _ {
481
482
  _refinement(e) {
482
483
  return new O({
483
484
  schema: this,
484
- typeName: m.ZodEffects,
485
+ typeName: p.ZodEffects,
485
486
  effect: { type: "refinement", refinement: e }
486
487
  });
487
488
  }
@@ -520,7 +521,7 @@ class _ {
520
521
  return new O({
521
522
  ...y(this._def),
522
523
  schema: this,
523
- typeName: m.ZodEffects,
524
+ typeName: p.ZodEffects,
524
525
  effect: { type: "transform", transform: e }
525
526
  });
526
527
  }
@@ -530,12 +531,12 @@ class _ {
530
531
  ...y(this._def),
531
532
  innerType: this,
532
533
  defaultValue: t,
533
- typeName: m.ZodDefault
534
+ typeName: p.ZodDefault
534
535
  });
535
536
  }
536
537
  brand() {
537
538
  return new ke({
538
- typeName: m.ZodBranded,
539
+ typeName: p.ZodBranded,
539
540
  type: this,
540
541
  ...y(this._def)
541
542
  });
@@ -546,7 +547,7 @@ class _ {
546
547
  ...y(this._def),
547
548
  innerType: this,
548
549
  catchValue: t,
549
- typeName: m.ZodCatch
550
+ typeName: p.ZodCatch
550
551
  });
551
552
  }
552
553
  describe(e) {
@@ -597,7 +598,7 @@ function rt(r, e) {
597
598
  if (!t)
598
599
  return !1;
599
600
  const s = t.replace(/-/g, "+").replace(/_/g, "/").padEnd(t.length + (4 - t.length % 4) % 4, "="), n = JSON.parse(atob(s));
600
- return !(typeof n != "object" || n === null || "typ" in n && n?.typ !== "JWT" || !n.alg || e && n.alg !== e);
601
+ return !(typeof n != "object" || n === null || "typ" in n && (n == null ? void 0 : n.typ) !== "JWT" || !n.alg || e && n.alg !== e);
601
602
  } catch {
602
603
  return !1;
603
604
  }
@@ -613,7 +614,7 @@ class C extends _ {
613
614
  code: c.invalid_type,
614
615
  expected: u.string,
615
616
  received: a.parsedType
616
- }), p;
617
+ }), m;
617
618
  }
618
619
  const s = new k();
619
620
  let n;
@@ -824,10 +825,10 @@ class C extends _ {
824
825
  message: e
825
826
  }) : this._addCheck({
826
827
  kind: "datetime",
827
- precision: typeof e?.precision > "u" ? null : e?.precision,
828
- offset: e?.offset ?? !1,
829
- local: e?.local ?? !1,
830
- ...h.errToObj(e?.message)
828
+ precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
829
+ offset: (e == null ? void 0 : e.offset) ?? !1,
830
+ local: (e == null ? void 0 : e.local) ?? !1,
831
+ ...h.errToObj(e == null ? void 0 : e.message)
831
832
  });
832
833
  }
833
834
  date(e) {
@@ -840,8 +841,8 @@ class C extends _ {
840
841
  message: e
841
842
  }) : this._addCheck({
842
843
  kind: "time",
843
- precision: typeof e?.precision > "u" ? null : e?.precision,
844
- ...h.errToObj(e?.message)
844
+ precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
845
+ ...h.errToObj(e == null ? void 0 : e.message)
845
846
  });
846
847
  }
847
848
  duration(e) {
@@ -858,8 +859,8 @@ class C extends _ {
858
859
  return this._addCheck({
859
860
  kind: "includes",
860
861
  value: e,
861
- position: t?.position,
862
- ...h.errToObj(t?.message)
862
+ position: t == null ? void 0 : t.position,
863
+ ...h.errToObj(t == null ? void 0 : t.message)
863
864
  });
864
865
  }
865
866
  startsWith(e, t) {
@@ -984,8 +985,8 @@ class C extends _ {
984
985
  }
985
986
  C.create = (r) => new C({
986
987
  checks: [],
987
- typeName: m.ZodString,
988
- coerce: r?.coerce ?? !1,
988
+ typeName: p.ZodString,
989
+ coerce: (r == null ? void 0 : r.coerce) ?? !1,
989
990
  ...y(r)
990
991
  });
991
992
  function nt(r, e) {
@@ -1003,7 +1004,7 @@ class I extends _ {
1003
1004
  code: c.invalid_type,
1004
1005
  expected: u.number,
1005
1006
  received: a.parsedType
1006
- }), p;
1007
+ }), m;
1007
1008
  }
1008
1009
  let s;
1009
1010
  const n = new k();
@@ -1160,8 +1161,8 @@ class I extends _ {
1160
1161
  }
1161
1162
  I.create = (r) => new I({
1162
1163
  checks: [],
1163
- typeName: m.ZodNumber,
1164
- coerce: r?.coerce || !1,
1164
+ typeName: p.ZodNumber,
1165
+ coerce: (r == null ? void 0 : r.coerce) || !1,
1165
1166
  ...y(r)
1166
1167
  });
1167
1168
  class $ extends _ {
@@ -1205,7 +1206,7 @@ class $ extends _ {
1205
1206
  code: c.invalid_type,
1206
1207
  expected: u.bigint,
1207
1208
  received: t.parsedType
1208
- }), p;
1209
+ }), m;
1209
1210
  }
1210
1211
  gte(e, t) {
1211
1212
  return this.setLimit("min", e, !0, h.toString(t));
@@ -1293,8 +1294,8 @@ class $ extends _ {
1293
1294
  }
1294
1295
  $.create = (r) => new $({
1295
1296
  checks: [],
1296
- typeName: m.ZodBigInt,
1297
- coerce: r?.coerce ?? !1,
1297
+ typeName: p.ZodBigInt,
1298
+ coerce: (r == null ? void 0 : r.coerce) ?? !1,
1298
1299
  ...y(r)
1299
1300
  });
1300
1301
  class H extends _ {
@@ -1305,14 +1306,14 @@ class H extends _ {
1305
1306
  code: c.invalid_type,
1306
1307
  expected: u.boolean,
1307
1308
  received: s.parsedType
1308
- }), p;
1309
+ }), m;
1309
1310
  }
1310
1311
  return b(e.data);
1311
1312
  }
1312
1313
  }
1313
1314
  H.create = (r) => new H({
1314
- typeName: m.ZodBoolean,
1315
- coerce: r?.coerce || !1,
1315
+ typeName: p.ZodBoolean,
1316
+ coerce: (r == null ? void 0 : r.coerce) || !1,
1316
1317
  ...y(r)
1317
1318
  });
1318
1319
  class L extends _ {
@@ -1323,13 +1324,13 @@ class L extends _ {
1323
1324
  code: c.invalid_type,
1324
1325
  expected: u.date,
1325
1326
  received: a.parsedType
1326
- }), p;
1327
+ }), m;
1327
1328
  }
1328
1329
  if (Number.isNaN(e.data.getTime())) {
1329
1330
  const a = this._getOrReturnCtx(e);
1330
1331
  return d(a, {
1331
1332
  code: c.invalid_date
1332
- }), p;
1333
+ }), m;
1333
1334
  }
1334
1335
  const s = new k();
1335
1336
  let n;
@@ -1389,8 +1390,8 @@ class L extends _ {
1389
1390
  }
1390
1391
  L.create = (r) => new L({
1391
1392
  checks: [],
1392
- coerce: r?.coerce || !1,
1393
- typeName: m.ZodDate,
1393
+ coerce: (r == null ? void 0 : r.coerce) || !1,
1394
+ typeName: p.ZodDate,
1394
1395
  ...y(r)
1395
1396
  });
1396
1397
  class ue extends _ {
@@ -1401,13 +1402,13 @@ class ue extends _ {
1401
1402
  code: c.invalid_type,
1402
1403
  expected: u.symbol,
1403
1404
  received: s.parsedType
1404
- }), p;
1405
+ }), m;
1405
1406
  }
1406
1407
  return b(e.data);
1407
1408
  }
1408
1409
  }
1409
1410
  ue.create = (r) => new ue({
1410
- typeName: m.ZodSymbol,
1411
+ typeName: p.ZodSymbol,
1411
1412
  ...y(r)
1412
1413
  });
1413
1414
  class G extends _ {
@@ -1418,13 +1419,13 @@ class G extends _ {
1418
1419
  code: c.invalid_type,
1419
1420
  expected: u.undefined,
1420
1421
  received: s.parsedType
1421
- }), p;
1422
+ }), m;
1422
1423
  }
1423
1424
  return b(e.data);
1424
1425
  }
1425
1426
  }
1426
1427
  G.create = (r) => new G({
1427
- typeName: m.ZodUndefined,
1428
+ typeName: p.ZodUndefined,
1428
1429
  ...y(r)
1429
1430
  });
1430
1431
  class Q extends _ {
@@ -1435,13 +1436,13 @@ class Q extends _ {
1435
1436
  code: c.invalid_type,
1436
1437
  expected: u.null,
1437
1438
  received: s.parsedType
1438
- }), p;
1439
+ }), m;
1439
1440
  }
1440
1441
  return b(e.data);
1441
1442
  }
1442
1443
  }
1443
1444
  Q.create = (r) => new Q({
1444
- typeName: m.ZodNull,
1445
+ typeName: p.ZodNull,
1445
1446
  ...y(r)
1446
1447
  });
1447
1448
  class q extends _ {
@@ -1453,7 +1454,7 @@ class q extends _ {
1453
1454
  }
1454
1455
  }
1455
1456
  q.create = (r) => new q({
1456
- typeName: m.ZodAny,
1457
+ typeName: p.ZodAny,
1457
1458
  ...y(r)
1458
1459
  });
1459
1460
  class P extends _ {
@@ -1465,7 +1466,7 @@ class P extends _ {
1465
1466
  }
1466
1467
  }
1467
1468
  P.create = (r) => new P({
1468
- typeName: m.ZodUnknown,
1469
+ typeName: p.ZodUnknown,
1469
1470
  ...y(r)
1470
1471
  });
1471
1472
  class E extends _ {
@@ -1475,11 +1476,11 @@ class E extends _ {
1475
1476
  code: c.invalid_type,
1476
1477
  expected: u.never,
1477
1478
  received: t.parsedType
1478
- }), p;
1479
+ }), m;
1479
1480
  }
1480
1481
  }
1481
1482
  E.create = (r) => new E({
1482
- typeName: m.ZodNever,
1483
+ typeName: p.ZodNever,
1483
1484
  ...y(r)
1484
1485
  });
1485
1486
  class le extends _ {
@@ -1490,13 +1491,13 @@ class le extends _ {
1490
1491
  code: c.invalid_type,
1491
1492
  expected: u.void,
1492
1493
  received: s.parsedType
1493
- }), p;
1494
+ }), m;
1494
1495
  }
1495
1496
  return b(e.data);
1496
1497
  }
1497
1498
  }
1498
1499
  le.create = (r) => new le({
1499
- typeName: m.ZodVoid,
1500
+ typeName: p.ZodVoid,
1500
1501
  ...y(r)
1501
1502
  });
1502
1503
  class S extends _ {
@@ -1507,7 +1508,7 @@ class S extends _ {
1507
1508
  code: c.invalid_type,
1508
1509
  expected: u.array,
1509
1510
  received: t.parsedType
1510
- }), p;
1511
+ }), m;
1511
1512
  if (n.exactLength !== null) {
1512
1513
  const i = t.data.length > n.exactLength.value, o = t.data.length < n.exactLength.value;
1513
1514
  (i || o) && (d(t, {
@@ -1569,7 +1570,7 @@ S.create = (r, e) => new S({
1569
1570
  minLength: null,
1570
1571
  maxLength: null,
1571
1572
  exactLength: null,
1572
- typeName: m.ZodArray,
1573
+ typeName: p.ZodArray,
1573
1574
  ...y(e)
1574
1575
  });
1575
1576
  function U(r) {
@@ -1605,7 +1606,7 @@ class x extends _ {
1605
1606
  code: c.invalid_type,
1606
1607
  expected: u.object,
1607
1608
  received: l.parsedType
1608
- }), p;
1609
+ }), m;
1609
1610
  }
1610
1611
  const { status: s, ctx: n } = this._processInputParams(e), { shape: a, keys: i } = this._getCached(), o = [];
1611
1612
  if (!(this._def.catchall instanceof E && this._def.unknownKeys === "strip"))
@@ -1670,7 +1671,8 @@ class x extends _ {
1670
1671
  unknownKeys: "strict",
1671
1672
  ...e !== void 0 ? {
1672
1673
  errorMap: (t, s) => {
1673
- const n = this._def.errorMap?.(t, s).message ?? s.defaultError;
1674
+ var a, i;
1675
+ const n = ((i = (a = this._def).errorMap) == null ? void 0 : i.call(a, t, s).message) ?? s.defaultError;
1674
1676
  return t.code === "unrecognized_keys" ? {
1675
1677
  message: h.errToObj(e).message ?? n
1676
1678
  } : {
@@ -1731,7 +1733,7 @@ class x extends _ {
1731
1733
  ...this._def.shape(),
1732
1734
  ...e._def.shape()
1733
1735
  }),
1734
- typeName: m.ZodObject
1736
+ typeName: p.ZodObject
1735
1737
  });
1736
1738
  }
1737
1739
  // merge<
@@ -1858,21 +1860,21 @@ x.create = (r, e) => new x({
1858
1860
  shape: () => r,
1859
1861
  unknownKeys: "strip",
1860
1862
  catchall: E.create(),
1861
- typeName: m.ZodObject,
1863
+ typeName: p.ZodObject,
1862
1864
  ...y(e)
1863
1865
  });
1864
1866
  x.strictCreate = (r, e) => new x({
1865
1867
  shape: () => r,
1866
1868
  unknownKeys: "strict",
1867
1869
  catchall: E.create(),
1868
- typeName: m.ZodObject,
1870
+ typeName: p.ZodObject,
1869
1871
  ...y(e)
1870
1872
  });
1871
1873
  x.lazycreate = (r, e) => new x({
1872
1874
  shape: r,
1873
1875
  unknownKeys: "strip",
1874
1876
  catchall: E.create(),
1875
- typeName: m.ZodObject,
1877
+ typeName: p.ZodObject,
1876
1878
  ...y(e)
1877
1879
  });
1878
1880
  class X extends _ {
@@ -1889,7 +1891,7 @@ class X extends _ {
1889
1891
  return d(t, {
1890
1892
  code: c.invalid_union,
1891
1893
  unionErrors: i
1892
- }), p;
1894
+ }), m;
1893
1895
  }
1894
1896
  if (t.common.async)
1895
1897
  return Promise.all(s.map(async (a) => {
@@ -1936,7 +1938,7 @@ class X extends _ {
1936
1938
  return d(t, {
1937
1939
  code: c.invalid_union,
1938
1940
  unionErrors: o
1939
- }), p;
1941
+ }), m;
1940
1942
  }
1941
1943
  }
1942
1944
  get options() {
@@ -1945,11 +1947,11 @@ class X extends _ {
1945
1947
  }
1946
1948
  X.create = (r, e) => new X({
1947
1949
  options: r,
1948
- typeName: m.ZodUnion,
1950
+ typeName: p.ZodUnion,
1949
1951
  ...y(e)
1950
1952
  });
1951
1953
  const R = (r) => r instanceof te ? R(r.schema) : r instanceof O ? R(r.innerType()) : r instanceof re ? [r.value] : r instanceof M ? r.options : r instanceof se ? v.objectValues(r.enum) : r instanceof ne ? R(r._def.innerType) : r instanceof G ? [void 0] : r instanceof Q ? [null] : r instanceof A ? [void 0, ...R(r.unwrap())] : r instanceof V ? [null, ...R(r.unwrap())] : r instanceof ke || r instanceof ie ? R(r.unwrap()) : r instanceof ae ? R(r._def.innerType) : [];
1952
- class pe extends _ {
1954
+ class me extends _ {
1953
1955
  _parse(e) {
1954
1956
  const { ctx: t } = this._processInputParams(e);
1955
1957
  if (t.parsedType !== u.object)
@@ -1957,7 +1959,7 @@ class pe extends _ {
1957
1959
  code: c.invalid_type,
1958
1960
  expected: u.object,
1959
1961
  received: t.parsedType
1960
- }), p;
1962
+ }), m;
1961
1963
  const s = this.discriminator, n = t.data[s], a = this.optionsMap.get(n);
1962
1964
  return a ? t.common.async ? a._parseAsync({
1963
1965
  data: t.data,
@@ -1971,7 +1973,7 @@ class pe extends _ {
1971
1973
  code: c.invalid_union_discriminator,
1972
1974
  options: Array.from(this.optionsMap.keys()),
1973
1975
  path: [s]
1974
- }), p);
1976
+ }), m);
1975
1977
  }
1976
1978
  get discriminator() {
1977
1979
  return this._def.discriminator;
@@ -2002,8 +2004,8 @@ class pe extends _ {
2002
2004
  n.set(o, a);
2003
2005
  }
2004
2006
  }
2005
- return new pe({
2006
- typeName: m.ZodDiscriminatedUnion,
2007
+ return new me({
2008
+ typeName: p.ZodDiscriminatedUnion,
2007
2009
  discriminator: e,
2008
2010
  options: t,
2009
2011
  optionsMap: n,
@@ -2041,11 +2043,11 @@ class K extends _ {
2041
2043
  _parse(e) {
2042
2044
  const { status: t, ctx: s } = this._processInputParams(e), n = (a, i) => {
2043
2045
  if (ge(a) || ge(i))
2044
- return p;
2046
+ return m;
2045
2047
  const o = xe(a.value, i.value);
2046
2048
  return o.valid ? ((ve(a) || ve(i)) && t.dirty(), { status: t.value, value: o.data }) : (d(s, {
2047
2049
  code: c.invalid_intersection_types
2048
- }), p);
2050
+ }), m);
2049
2051
  };
2050
2052
  return s.common.async ? Promise.all([
2051
2053
  this._def.left._parseAsync({
@@ -2072,7 +2074,7 @@ class K extends _ {
2072
2074
  K.create = (r, e, t) => new K({
2073
2075
  left: r,
2074
2076
  right: e,
2075
- typeName: m.ZodIntersection,
2077
+ typeName: p.ZodIntersection,
2076
2078
  ...y(t)
2077
2079
  });
2078
2080
  class Z extends _ {
@@ -2083,7 +2085,7 @@ class Z extends _ {
2083
2085
  code: c.invalid_type,
2084
2086
  expected: u.array,
2085
2087
  received: s.parsedType
2086
- }), p;
2088
+ }), m;
2087
2089
  if (s.data.length < this._def.items.length)
2088
2090
  return d(s, {
2089
2091
  code: c.too_small,
@@ -2091,7 +2093,7 @@ class Z extends _ {
2091
2093
  inclusive: !0,
2092
2094
  exact: !1,
2093
2095
  type: "array"
2094
- }), p;
2096
+ }), m;
2095
2097
  !this._def.rest && s.data.length > this._def.items.length && (d(s, {
2096
2098
  code: c.too_big,
2097
2099
  maximum: this._def.items.length,
@@ -2120,7 +2122,7 @@ Z.create = (r, e) => {
2120
2122
  throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
2121
2123
  return new Z({
2122
2124
  items: r,
2123
- typeName: m.ZodTuple,
2125
+ typeName: p.ZodTuple,
2124
2126
  rest: null,
2125
2127
  ...y(e)
2126
2128
  });
@@ -2139,7 +2141,7 @@ class ee extends _ {
2139
2141
  code: c.invalid_type,
2140
2142
  expected: u.object,
2141
2143
  received: s.parsedType
2142
- }), p;
2144
+ }), m;
2143
2145
  const n = [], a = this._def.keyType, i = this._def.valueType;
2144
2146
  for (const o in s.data)
2145
2147
  n.push({
@@ -2156,12 +2158,12 @@ class ee extends _ {
2156
2158
  return t instanceof _ ? new ee({
2157
2159
  keyType: e,
2158
2160
  valueType: t,
2159
- typeName: m.ZodRecord,
2161
+ typeName: p.ZodRecord,
2160
2162
  ...y(s)
2161
2163
  }) : new ee({
2162
2164
  keyType: C.create(),
2163
2165
  valueType: e,
2164
- typeName: m.ZodRecord,
2166
+ typeName: p.ZodRecord,
2165
2167
  ...y(t)
2166
2168
  });
2167
2169
  }
@@ -2180,7 +2182,7 @@ class fe extends _ {
2180
2182
  code: c.invalid_type,
2181
2183
  expected: u.map,
2182
2184
  received: s.parsedType
2183
- }), p;
2185
+ }), m;
2184
2186
  const n = this._def.keyType, a = this._def.valueType, i = [...s.data.entries()].map(([o, f], l) => ({
2185
2187
  key: n._parse(new N(s, o, s.path, [l, "key"])),
2186
2188
  value: a._parse(new N(s, f, s.path, [l, "value"]))
@@ -2191,7 +2193,7 @@ class fe extends _ {
2191
2193
  for (const f of i) {
2192
2194
  const l = await f.key, g = await f.value;
2193
2195
  if (l.status === "aborted" || g.status === "aborted")
2194
- return p;
2196
+ return m;
2195
2197
  (l.status === "dirty" || g.status === "dirty") && t.dirty(), o.set(l.value, g.value);
2196
2198
  }
2197
2199
  return { status: t.value, value: o };
@@ -2201,7 +2203,7 @@ class fe extends _ {
2201
2203
  for (const f of i) {
2202
2204
  const l = f.key, g = f.value;
2203
2205
  if (l.status === "aborted" || g.status === "aborted")
2204
- return p;
2206
+ return m;
2205
2207
  (l.status === "dirty" || g.status === "dirty") && t.dirty(), o.set(l.value, g.value);
2206
2208
  }
2207
2209
  return { status: t.value, value: o };
@@ -2211,7 +2213,7 @@ class fe extends _ {
2211
2213
  fe.create = (r, e, t) => new fe({
2212
2214
  valueType: e,
2213
2215
  keyType: r,
2214
- typeName: m.ZodMap,
2216
+ typeName: p.ZodMap,
2215
2217
  ...y(t)
2216
2218
  });
2217
2219
  class D extends _ {
@@ -2222,7 +2224,7 @@ class D extends _ {
2222
2224
  code: c.invalid_type,
2223
2225
  expected: u.set,
2224
2226
  received: s.parsedType
2225
- }), p;
2227
+ }), m;
2226
2228
  const n = this._def;
2227
2229
  n.minSize !== null && s.data.size < n.minSize.value && (d(s, {
2228
2230
  code: c.too_small,
@@ -2244,7 +2246,7 @@ class D extends _ {
2244
2246
  const l = /* @__PURE__ */ new Set();
2245
2247
  for (const g of f) {
2246
2248
  if (g.status === "aborted")
2247
- return p;
2249
+ return m;
2248
2250
  g.status === "dirty" && t.dirty(), l.add(g.value);
2249
2251
  }
2250
2252
  return { status: t.value, value: l };
@@ -2275,7 +2277,7 @@ D.create = (r, e) => new D({
2275
2277
  valueType: r,
2276
2278
  minSize: null,
2277
2279
  maxSize: null,
2278
- typeName: m.ZodSet,
2280
+ typeName: p.ZodSet,
2279
2281
  ...y(e)
2280
2282
  });
2281
2283
  class F extends _ {
@@ -2289,7 +2291,7 @@ class F extends _ {
2289
2291
  code: c.invalid_type,
2290
2292
  expected: u.function,
2291
2293
  received: t.parsedType
2292
- }), p;
2294
+ }), m;
2293
2295
  function s(o, f) {
2294
2296
  return de({
2295
2297
  data: o,
@@ -2316,11 +2318,11 @@ class F extends _ {
2316
2318
  if (this._def.returns instanceof J) {
2317
2319
  const o = this;
2318
2320
  return b(async function(...f) {
2319
- const l = new w([]), g = await o._def.args.parseAsync(f, a).catch((me) => {
2320
- throw l.addIssue(s(f, me)), l;
2321
+ const l = new w([]), g = await o._def.args.parseAsync(f, a).catch((pe) => {
2322
+ throw l.addIssue(s(f, pe)), l;
2321
2323
  }), T = await Reflect.apply(i, this, g);
2322
- return await o._def.returns._def.type.parseAsync(T, a).catch((me) => {
2323
- throw l.addIssue(n(T, me)), l;
2324
+ return await o._def.returns._def.type.parseAsync(T, a).catch((pe) => {
2325
+ throw l.addIssue(n(T, pe)), l;
2324
2326
  });
2325
2327
  });
2326
2328
  } else {
@@ -2364,7 +2366,7 @@ class F extends _ {
2364
2366
  return new F({
2365
2367
  args: e || Z.create([]).rest(P.create()),
2366
2368
  returns: t || P.create(),
2367
- typeName: m.ZodFunction,
2369
+ typeName: p.ZodFunction,
2368
2370
  ...y(s)
2369
2371
  });
2370
2372
  }
@@ -2380,7 +2382,7 @@ class te extends _ {
2380
2382
  }
2381
2383
  te.create = (r, e) => new te({
2382
2384
  getter: r,
2383
- typeName: m.ZodLazy,
2385
+ typeName: p.ZodLazy,
2384
2386
  ...y(e)
2385
2387
  });
2386
2388
  class re extends _ {
@@ -2391,7 +2393,7 @@ class re extends _ {
2391
2393
  received: t.data,
2392
2394
  code: c.invalid_literal,
2393
2395
  expected: this._def.value
2394
- }), p;
2396
+ }), m;
2395
2397
  }
2396
2398
  return { status: "valid", value: e.data };
2397
2399
  }
@@ -2401,13 +2403,13 @@ class re extends _ {
2401
2403
  }
2402
2404
  re.create = (r, e) => new re({
2403
2405
  value: r,
2404
- typeName: m.ZodLiteral,
2406
+ typeName: p.ZodLiteral,
2405
2407
  ...y(e)
2406
2408
  });
2407
2409
  function Ze(r, e) {
2408
2410
  return new M({
2409
2411
  values: r,
2410
- typeName: m.ZodEnum,
2412
+ typeName: p.ZodEnum,
2411
2413
  ...y(e)
2412
2414
  });
2413
2415
  }
@@ -2419,7 +2421,7 @@ class M extends _ {
2419
2421
  expected: v.joinValues(s),
2420
2422
  received: t.parsedType,
2421
2423
  code: c.invalid_type
2422
- }), p;
2424
+ }), m;
2423
2425
  }
2424
2426
  if (this._cache || (this._cache = new Set(this._def.values)), !this._cache.has(e.data)) {
2425
2427
  const t = this._getOrReturnCtx(e), s = this._def.values;
@@ -2427,7 +2429,7 @@ class M extends _ {
2427
2429
  received: t.data,
2428
2430
  code: c.invalid_enum_value,
2429
2431
  options: s
2430
- }), p;
2432
+ }), m;
2431
2433
  }
2432
2434
  return b(e.data);
2433
2435
  }
@@ -2475,7 +2477,7 @@ class se extends _ {
2475
2477
  expected: v.joinValues(n),
2476
2478
  received: s.parsedType,
2477
2479
  code: c.invalid_type
2478
- }), p;
2480
+ }), m;
2479
2481
  }
2480
2482
  if (this._cache || (this._cache = new Set(v.getValidEnumValues(this._def.values))), !this._cache.has(e.data)) {
2481
2483
  const n = v.objectValues(t);
@@ -2483,7 +2485,7 @@ class se extends _ {
2483
2485
  received: s.data,
2484
2486
  code: c.invalid_enum_value,
2485
2487
  options: n
2486
- }), p;
2488
+ }), m;
2487
2489
  }
2488
2490
  return b(e.data);
2489
2491
  }
@@ -2493,7 +2495,7 @@ class se extends _ {
2493
2495
  }
2494
2496
  se.create = (r, e) => new se({
2495
2497
  values: r,
2496
- typeName: m.ZodNativeEnum,
2498
+ typeName: p.ZodNativeEnum,
2497
2499
  ...y(e)
2498
2500
  });
2499
2501
  class J extends _ {
@@ -2507,7 +2509,7 @@ class J extends _ {
2507
2509
  code: c.invalid_type,
2508
2510
  expected: u.promise,
2509
2511
  received: t.parsedType
2510
- }), p;
2512
+ }), m;
2511
2513
  const s = t.parsedType === u.promise ? t.data : Promise.resolve(t.data);
2512
2514
  return b(s.then((n) => this._def.type.parseAsync(n, {
2513
2515
  path: t.path,
@@ -2517,7 +2519,7 @@ class J extends _ {
2517
2519
  }
2518
2520
  J.create = (r, e) => new J({
2519
2521
  type: r,
2520
- typeName: m.ZodPromise,
2522
+ typeName: p.ZodPromise,
2521
2523
  ...y(e)
2522
2524
  });
2523
2525
  class O extends _ {
@@ -2525,7 +2527,7 @@ class O extends _ {
2525
2527
  return this._def.schema;
2526
2528
  }
2527
2529
  sourceType() {
2528
- return this._def.schema._def.typeName === m.ZodEffects ? this._def.schema.sourceType() : this._def.schema;
2530
+ return this._def.schema._def.typeName === p.ZodEffects ? this._def.schema.sourceType() : this._def.schema;
2529
2531
  }
2530
2532
  _parse(e) {
2531
2533
  const { status: t, ctx: s } = this._processInputParams(e), n = this._def.effect || null, a = {
@@ -2541,23 +2543,23 @@ class O extends _ {
2541
2543
  if (s.common.async)
2542
2544
  return Promise.resolve(i).then(async (o) => {
2543
2545
  if (t.value === "aborted")
2544
- return p;
2546
+ return m;
2545
2547
  const f = await this._def.schema._parseAsync({
2546
2548
  data: o,
2547
2549
  path: s.path,
2548
2550
  parent: s
2549
2551
  });
2550
- return f.status === "aborted" ? p : f.status === "dirty" || t.value === "dirty" ? B(f.value) : f;
2552
+ return f.status === "aborted" ? m : f.status === "dirty" || t.value === "dirty" ? B(f.value) : f;
2551
2553
  });
2552
2554
  {
2553
2555
  if (t.value === "aborted")
2554
- return p;
2556
+ return m;
2555
2557
  const o = this._def.schema._parseSync({
2556
2558
  data: i,
2557
2559
  path: s.path,
2558
2560
  parent: s
2559
2561
  });
2560
- return o.status === "aborted" ? p : o.status === "dirty" || t.value === "dirty" ? B(o.value) : o;
2562
+ return o.status === "aborted" ? m : o.status === "dirty" || t.value === "dirty" ? B(o.value) : o;
2561
2563
  }
2562
2564
  }
2563
2565
  if (n.type === "refinement") {
@@ -2575,9 +2577,9 @@ class O extends _ {
2575
2577
  path: s.path,
2576
2578
  parent: s
2577
2579
  });
2578
- return o.status === "aborted" ? p : (o.status === "dirty" && t.dirty(), i(o.value), { status: t.value, value: o.value });
2580
+ return o.status === "aborted" ? m : (o.status === "dirty" && t.dirty(), i(o.value), { status: t.value, value: o.value });
2579
2581
  } else
2580
- return this._def.schema._parseAsync({ data: s.data, path: s.path, parent: s }).then((o) => o.status === "aborted" ? p : (o.status === "dirty" && t.dirty(), i(o.value).then(() => ({ status: t.value, value: o.value }))));
2582
+ return this._def.schema._parseAsync({ data: s.data, path: s.path, parent: s }).then((o) => o.status === "aborted" ? m : (o.status === "dirty" && t.dirty(), i(o.value).then(() => ({ status: t.value, value: o.value }))));
2581
2583
  }
2582
2584
  if (n.type === "transform")
2583
2585
  if (s.common.async === !1) {
@@ -2587,7 +2589,7 @@ class O extends _ {
2587
2589
  parent: s
2588
2590
  });
2589
2591
  if (!z(i))
2590
- return p;
2592
+ return m;
2591
2593
  const o = n.transform(i.value, a);
2592
2594
  if (o instanceof Promise)
2593
2595
  throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
@@ -2596,20 +2598,20 @@ class O extends _ {
2596
2598
  return this._def.schema._parseAsync({ data: s.data, path: s.path, parent: s }).then((i) => z(i) ? Promise.resolve(n.transform(i.value, a)).then((o) => ({
2597
2599
  status: t.value,
2598
2600
  value: o
2599
- })) : p);
2601
+ })) : m);
2600
2602
  v.assertNever(n);
2601
2603
  }
2602
2604
  }
2603
2605
  O.create = (r, e, t) => new O({
2604
2606
  schema: r,
2605
- typeName: m.ZodEffects,
2607
+ typeName: p.ZodEffects,
2606
2608
  effect: e,
2607
2609
  ...y(t)
2608
2610
  });
2609
2611
  O.createWithPreprocess = (r, e, t) => new O({
2610
2612
  schema: e,
2611
2613
  effect: { type: "preprocess", transform: r },
2612
- typeName: m.ZodEffects,
2614
+ typeName: p.ZodEffects,
2613
2615
  ...y(t)
2614
2616
  });
2615
2617
  class A extends _ {
@@ -2622,7 +2624,7 @@ class A extends _ {
2622
2624
  }
2623
2625
  A.create = (r, e) => new A({
2624
2626
  innerType: r,
2625
- typeName: m.ZodOptional,
2627
+ typeName: p.ZodOptional,
2626
2628
  ...y(e)
2627
2629
  });
2628
2630
  class V extends _ {
@@ -2635,7 +2637,7 @@ class V extends _ {
2635
2637
  }
2636
2638
  V.create = (r, e) => new V({
2637
2639
  innerType: r,
2638
- typeName: m.ZodNullable,
2640
+ typeName: p.ZodNullable,
2639
2641
  ...y(e)
2640
2642
  });
2641
2643
  class ne extends _ {
@@ -2654,7 +2656,7 @@ class ne extends _ {
2654
2656
  }
2655
2657
  ne.create = (r, e) => new ne({
2656
2658
  innerType: r,
2657
- typeName: m.ZodDefault,
2659
+ typeName: p.ZodDefault,
2658
2660
  defaultValue: typeof e.default == "function" ? e.default : () => e.default,
2659
2661
  ...y(e)
2660
2662
  });
@@ -2697,7 +2699,7 @@ class ae extends _ {
2697
2699
  }
2698
2700
  ae.create = (r, e) => new ae({
2699
2701
  innerType: r,
2700
- typeName: m.ZodCatch,
2702
+ typeName: p.ZodCatch,
2701
2703
  catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
2702
2704
  ...y(e)
2703
2705
  });
@@ -2709,13 +2711,13 @@ class he extends _ {
2709
2711
  code: c.invalid_type,
2710
2712
  expected: u.nan,
2711
2713
  received: s.parsedType
2712
- }), p;
2714
+ }), m;
2713
2715
  }
2714
2716
  return { status: "valid", value: e.data };
2715
2717
  }
2716
2718
  }
2717
2719
  he.create = (r) => new he({
2718
- typeName: m.ZodNaN,
2720
+ typeName: p.ZodNaN,
2719
2721
  ...y(r)
2720
2722
  });
2721
2723
  const at = Symbol("zod_brand");
@@ -2742,7 +2744,7 @@ class oe extends _ {
2742
2744
  path: s.path,
2743
2745
  parent: s
2744
2746
  });
2745
- return a.status === "aborted" ? p : a.status === "dirty" ? (t.dirty(), B(a.value)) : this._def.out._parseAsync({
2747
+ return a.status === "aborted" ? m : a.status === "dirty" ? (t.dirty(), B(a.value)) : this._def.out._parseAsync({
2746
2748
  data: a.value,
2747
2749
  path: s.path,
2748
2750
  parent: s
@@ -2754,7 +2756,7 @@ class oe extends _ {
2754
2756
  path: s.path,
2755
2757
  parent: s
2756
2758
  });
2757
- return n.status === "aborted" ? p : n.status === "dirty" ? (t.dirty(), {
2759
+ return n.status === "aborted" ? m : n.status === "dirty" ? (t.dirty(), {
2758
2760
  status: "dirty",
2759
2761
  value: n.value
2760
2762
  }) : this._def.out._parseSync({
@@ -2768,7 +2770,7 @@ class oe extends _ {
2768
2770
  return new oe({
2769
2771
  in: e,
2770
2772
  out: t,
2771
- typeName: m.ZodPipeline
2773
+ typeName: p.ZodPipeline
2772
2774
  });
2773
2775
  }
2774
2776
  }
@@ -2783,7 +2785,7 @@ class ie extends _ {
2783
2785
  }
2784
2786
  ie.create = (r, e) => new ie({
2785
2787
  innerType: r,
2786
- typeName: m.ZodReadonly,
2788
+ typeName: p.ZodReadonly,
2787
2789
  ...y(e)
2788
2790
  });
2789
2791
  function Te(r, e) {
@@ -2809,27 +2811,27 @@ function Re(r, e = {}, t) {
2809
2811
  const it = {
2810
2812
  object: x.lazycreate
2811
2813
  };
2812
- var m;
2814
+ var p;
2813
2815
  (function(r) {
2814
2816
  r.ZodString = "ZodString", r.ZodNumber = "ZodNumber", r.ZodNaN = "ZodNaN", r.ZodBigInt = "ZodBigInt", r.ZodBoolean = "ZodBoolean", r.ZodDate = "ZodDate", r.ZodSymbol = "ZodSymbol", r.ZodUndefined = "ZodUndefined", r.ZodNull = "ZodNull", r.ZodAny = "ZodAny", r.ZodUnknown = "ZodUnknown", r.ZodNever = "ZodNever", r.ZodVoid = "ZodVoid", r.ZodArray = "ZodArray", r.ZodObject = "ZodObject", r.ZodUnion = "ZodUnion", r.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", r.ZodIntersection = "ZodIntersection", r.ZodTuple = "ZodTuple", r.ZodRecord = "ZodRecord", r.ZodMap = "ZodMap", r.ZodSet = "ZodSet", r.ZodFunction = "ZodFunction", r.ZodLazy = "ZodLazy", r.ZodLiteral = "ZodLiteral", r.ZodEnum = "ZodEnum", r.ZodEffects = "ZodEffects", r.ZodNativeEnum = "ZodNativeEnum", r.ZodOptional = "ZodOptional", r.ZodNullable = "ZodNullable", r.ZodDefault = "ZodDefault", r.ZodCatch = "ZodCatch", r.ZodPromise = "ZodPromise", r.ZodBranded = "ZodBranded", r.ZodPipeline = "ZodPipeline", r.ZodReadonly = "ZodReadonly";
2815
- })(m || (m = {}));
2817
+ })(p || (p = {}));
2816
2818
  const ot = (r, e = {
2817
2819
  message: `Input not instance of ${r.name}`
2818
- }) => Re((t) => t instanceof r, e), je = C.create, Ee = I.create, ct = he.create, dt = $.create, Ie = H.create, ut = L.create, lt = ue.create, ft = G.create, ht = Q.create, pt = q.create, mt = P.create, yt = E.create, _t = le.create, gt = S.create, vt = x.create, xt = x.strictCreate, kt = X.create, bt = pe.create, wt = K.create, Tt = Z.create, Ct = ee.create, St = fe.create, Ot = D.create, At = F.create, Nt = te.create, Zt = re.create, Rt = M.create, jt = se.create, Et = J.create, Ce = O.create, It = A.create, $t = V.create, Mt = O.createWithPreprocess, Vt = oe.create, Pt = () => je().optional(), zt = () => Ee().optional(), Lt = () => Ie().optional(), Dt = {
2819
- string: ((r) => C.create({ ...r, coerce: !0 })),
2820
- number: ((r) => I.create({ ...r, coerce: !0 })),
2821
- boolean: ((r) => H.create({
2820
+ }) => Re((t) => t instanceof r, e), je = C.create, Ee = I.create, ct = he.create, dt = $.create, Ie = H.create, ut = L.create, lt = ue.create, ft = G.create, ht = Q.create, mt = q.create, pt = P.create, yt = E.create, _t = le.create, gt = S.create, vt = x.create, xt = x.strictCreate, kt = X.create, bt = me.create, wt = K.create, Tt = Z.create, Ct = ee.create, St = fe.create, Ot = D.create, At = F.create, Nt = te.create, Zt = re.create, Rt = M.create, jt = se.create, Et = J.create, Ce = O.create, It = A.create, $t = V.create, Mt = O.createWithPreprocess, Vt = oe.create, Pt = () => je().optional(), zt = () => Ee().optional(), Lt = () => Ie().optional(), Dt = {
2821
+ string: (r) => C.create({ ...r, coerce: !0 }),
2822
+ number: (r) => I.create({ ...r, coerce: !0 }),
2823
+ boolean: (r) => H.create({
2822
2824
  ...r,
2823
2825
  coerce: !0
2824
- })),
2825
- bigint: ((r) => $.create({ ...r, coerce: !0 })),
2826
- date: ((r) => L.create({ ...r, coerce: !0 }))
2827
- }, Ut = p, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2826
+ }),
2827
+ bigint: (r) => $.create({ ...r, coerce: !0 }),
2828
+ date: (r) => L.create({ ...r, coerce: !0 })
2829
+ }, Ut = m, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2828
2830
  __proto__: null,
2829
2831
  BRAND: at,
2830
2832
  DIRTY: B,
2831
2833
  EMPTY_PATH: Ve,
2832
- INVALID: p,
2834
+ INVALID: m,
2833
2835
  NEVER: Ut,
2834
2836
  OK: b,
2835
2837
  ParseStatus: k,
@@ -2842,12 +2844,12 @@ const ot = (r, e = {
2842
2844
  ZodCatch: ae,
2843
2845
  ZodDate: L,
2844
2846
  ZodDefault: ne,
2845
- ZodDiscriminatedUnion: pe,
2847
+ ZodDiscriminatedUnion: me,
2846
2848
  ZodEffects: O,
2847
2849
  ZodEnum: M,
2848
2850
  ZodError: w,
2849
2851
  get ZodFirstPartyTypeKind() {
2850
- return m;
2852
+ return p;
2851
2853
  },
2852
2854
  ZodFunction: F,
2853
2855
  ZodIntersection: K,
@@ -2880,7 +2882,7 @@ const ot = (r, e = {
2880
2882
  ZodUnknown: P,
2881
2883
  ZodVoid: le,
2882
2884
  addIssueToContext: d,
2883
- any: pt,
2885
+ any: mt,
2884
2886
  array: gt,
2885
2887
  bigint: dt,
2886
2888
  boolean: Ie,
@@ -2934,7 +2936,7 @@ const ot = (r, e = {
2934
2936
  tuple: Tt,
2935
2937
  undefined: ft,
2936
2938
  union: kt,
2937
- unknown: mt,
2939
+ unknown: pt,
2938
2940
  get util() {
2939
2941
  return v;
2940
2942
  },