@agentcash/discovery 1.6.4 → 1.7.0

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.
package/dist/schemas.cjs CHANGED
@@ -25,13 +25,11 @@ __export(schemas_exports3, {
25
25
  OpenApiOperationSchema: () => OpenApiOperationSchema,
26
26
  OpenApiPathItemSchema: () => OpenApiPathItemSchema,
27
27
  OpenApiPaymentInfoSchema: () => OpenApiPaymentInfoSchema,
28
- StructuredPaymentInfoSchema: () => StructuredPaymentInfoSchema,
29
- WellKnownDocSchema: () => WellKnownDocSchema,
30
- WellKnownParsedSchema: () => WellKnownParsedSchema
28
+ StructuredPaymentInfoSchema: () => StructuredPaymentInfoSchema
31
29
  });
32
30
  module.exports = __toCommonJS(schemas_exports3);
33
31
 
34
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/external.js
32
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
35
33
  var external_exports = {};
36
34
  __export(external_exports, {
37
35
  $brand: () => $brand,
@@ -93,6 +91,7 @@ __export(external_exports, {
93
91
  ZodOptional: () => ZodOptional,
94
92
  ZodPipe: () => ZodPipe,
95
93
  ZodPrefault: () => ZodPrefault,
94
+ ZodPreprocess: () => ZodPreprocess,
96
95
  ZodPromise: () => ZodPromise,
97
96
  ZodReadonly: () => ZodReadonly,
98
97
  ZodRealError: () => ZodRealError,
@@ -171,6 +170,7 @@ __export(external_exports, {
171
170
  int32: () => int32,
172
171
  int64: () => int64,
173
172
  intersection: () => intersection,
173
+ invertCodec: () => invertCodec,
174
174
  ipv4: () => ipv42,
175
175
  ipv6: () => ipv62,
176
176
  iso: () => iso_exports,
@@ -272,7 +272,7 @@ __export(external_exports, {
272
272
  xor: () => xor
273
273
  });
274
274
 
275
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/index.js
275
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/index.js
276
276
  var core_exports2 = {};
277
277
  __export(core_exports2, {
278
278
  $ZodAny: () => $ZodAny,
@@ -352,6 +352,7 @@ __export(core_exports2, {
352
352
  $ZodOptional: () => $ZodOptional,
353
353
  $ZodPipe: () => $ZodPipe,
354
354
  $ZodPrefault: () => $ZodPrefault,
355
+ $ZodPreprocess: () => $ZodPreprocess,
355
356
  $ZodPromise: () => $ZodPromise,
356
357
  $ZodReadonly: () => $ZodReadonly,
357
358
  $ZodRealError: () => $ZodRealError,
@@ -550,8 +551,9 @@ __export(core_exports2, {
550
551
  version: () => version
551
552
  });
552
553
 
553
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.js
554
- var NEVER = Object.freeze({
554
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
555
+ var _a;
556
+ var NEVER = /* @__PURE__ */ Object.freeze({
555
557
  status: "aborted"
556
558
  });
557
559
  // @__NO_SIDE_EFFECTS__
@@ -586,10 +588,10 @@ function $constructor(name, initializer3, params) {
586
588
  }
587
589
  Object.defineProperty(Definition, "name", { value: name });
588
590
  function _(def) {
589
- var _a2;
591
+ var _a3;
590
592
  const inst = params?.Parent ? new Definition() : this;
591
593
  init(inst, def);
592
- (_a2 = inst._zod).deferred ?? (_a2.deferred = []);
594
+ (_a3 = inst._zod).deferred ?? (_a3.deferred = []);
593
595
  for (const fn of inst._zod.deferred) {
594
596
  fn();
595
597
  }
@@ -618,14 +620,15 @@ var $ZodEncodeError = class extends Error {
618
620
  this.name = "ZodEncodeError";
619
621
  }
620
622
  };
621
- var globalConfig = {};
623
+ (_a = globalThis).__zod_globalConfig ?? (_a.__zod_globalConfig = {});
624
+ var globalConfig = globalThis.__zod_globalConfig;
622
625
  function config(newConfig) {
623
626
  if (newConfig)
624
627
  Object.assign(globalConfig, newConfig);
625
628
  return globalConfig;
626
629
  }
627
630
 
628
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js
631
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
629
632
  var util_exports = {};
630
633
  __export(util_exports, {
631
634
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -651,6 +654,7 @@ __export(util_exports, {
651
654
  defineLazy: () => defineLazy,
652
655
  esc: () => esc,
653
656
  escapeRegex: () => escapeRegex,
657
+ explicitlyAborted: () => explicitlyAborted,
654
658
  extend: () => extend,
655
659
  finalizeIssue: () => finalizeIssue,
656
660
  floatSafeRemainder: () => floatSafeRemainder,
@@ -739,19 +743,12 @@ function cleanRegex(source) {
739
743
  return source.slice(start, end);
740
744
  }
741
745
  function floatSafeRemainder(val, step) {
742
- const valDecCount = (val.toString().split(".")[1] || "").length;
743
- const stepString = step.toString();
744
- let stepDecCount = (stepString.split(".")[1] || "").length;
745
- if (stepDecCount === 0 && /\d?e-\d?/.test(stepString)) {
746
- const match = stepString.match(/\d?e-(\d?)/);
747
- if (match?.[1]) {
748
- stepDecCount = Number.parseInt(match[1]);
749
- }
750
- }
751
- const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
752
- const valInt = Number.parseInt(val.toFixed(decCount).replace(".", ""));
753
- const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
754
- return valInt % stepInt / 10 ** decCount;
746
+ const ratio = val / step;
747
+ const roundedRatio = Math.round(ratio);
748
+ const tolerance = Number.EPSILON * Math.max(Math.abs(ratio), 1);
749
+ if (Math.abs(ratio - roundedRatio) < tolerance)
750
+ return 0;
751
+ return ratio - roundedRatio;
755
752
  }
756
753
  var EVALUATING = /* @__PURE__ */ Symbol("evaluating");
757
754
  function defineLazy(object2, key, getter) {
@@ -833,7 +830,10 @@ var captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace :
833
830
  function isObject(data) {
834
831
  return typeof data === "object" && data !== null && !Array.isArray(data);
835
832
  }
836
- var allowsEval = cached(() => {
833
+ var allowsEval = /* @__PURE__ */ cached(() => {
834
+ if (globalConfig.jitless) {
835
+ return false;
836
+ }
837
837
  if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) {
838
838
  return false;
839
839
  }
@@ -866,6 +866,10 @@ function shallowClone(o) {
866
866
  return { ...o };
867
867
  if (Array.isArray(o))
868
868
  return [...o];
869
+ if (o instanceof Map)
870
+ return new Map(o);
871
+ if (o instanceof Set)
872
+ return new Set(o);
869
873
  return o;
870
874
  }
871
875
  function numKeys(data) {
@@ -922,7 +926,14 @@ var getParsedType = (data) => {
922
926
  }
923
927
  };
924
928
  var propertyKeyTypes = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
925
- var primitiveTypes = /* @__PURE__ */ new Set(["string", "number", "bigint", "boolean", "symbol", "undefined"]);
929
+ var primitiveTypes = /* @__PURE__ */ new Set([
930
+ "string",
931
+ "number",
932
+ "bigint",
933
+ "boolean",
934
+ "symbol",
935
+ "undefined"
936
+ ]);
926
937
  function escapeRegex(str) {
927
938
  return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
928
939
  }
@@ -1091,6 +1102,9 @@ function safeExtend(schema, shape) {
1091
1102
  return clone(schema, def);
1092
1103
  }
1093
1104
  function merge(a, b) {
1105
+ if (a._zod.def.checks?.length) {
1106
+ throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
1107
+ }
1094
1108
  const def = mergeDefs(a._zod.def, {
1095
1109
  get shape() {
1096
1110
  const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
@@ -1100,8 +1114,7 @@ function merge(a, b) {
1100
1114
  get catchall() {
1101
1115
  return b._zod.def.catchall;
1102
1116
  },
1103
- checks: []
1104
- // delete existing checks
1117
+ checks: b._zod.def.checks ?? []
1105
1118
  });
1106
1119
  return clone(a, def);
1107
1120
  }
@@ -1184,10 +1197,20 @@ function aborted(x, startIndex = 0) {
1184
1197
  }
1185
1198
  return false;
1186
1199
  }
1200
+ function explicitlyAborted(x, startIndex = 0) {
1201
+ if (x.aborted === true)
1202
+ return true;
1203
+ for (let i = startIndex; i < x.issues.length; i++) {
1204
+ if (x.issues[i]?.continue === false) {
1205
+ return true;
1206
+ }
1207
+ }
1208
+ return false;
1209
+ }
1187
1210
  function prefixIssues(path, issues) {
1188
1211
  return issues.map((iss) => {
1189
- var _a2;
1190
- (_a2 = iss).path ?? (_a2.path = []);
1212
+ var _a3;
1213
+ (_a3 = iss).path ?? (_a3.path = []);
1191
1214
  iss.path.unshift(path);
1192
1215
  return iss;
1193
1216
  });
@@ -1196,17 +1219,14 @@ function unwrapMessage(message) {
1196
1219
  return typeof message === "string" ? message : message?.message;
1197
1220
  }
1198
1221
  function finalizeIssue(iss, ctx, config2) {
1199
- const full = { ...iss, path: iss.path ?? [] };
1200
- if (!iss.message) {
1201
- const message = unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config2.customError?.(iss)) ?? unwrapMessage(config2.localeError?.(iss)) ?? "Invalid input";
1202
- full.message = message;
1222
+ const message = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config2.customError?.(iss)) ?? unwrapMessage(config2.localeError?.(iss)) ?? "Invalid input";
1223
+ const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
1224
+ rest.path ?? (rest.path = []);
1225
+ rest.message = message;
1226
+ if (ctx?.reportInput) {
1227
+ rest.input = _input;
1203
1228
  }
1204
- delete full.inst;
1205
- delete full.continue;
1206
- if (!ctx?.reportInput) {
1207
- delete full.input;
1208
- }
1209
- return full;
1229
+ return rest;
1210
1230
  }
1211
1231
  function getSizableOrigin(input) {
1212
1232
  if (input instanceof Set)
@@ -1304,7 +1324,7 @@ var Class = class {
1304
1324
  }
1305
1325
  };
1306
1326
 
1307
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js
1327
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
1308
1328
  var initializer = (inst, def) => {
1309
1329
  inst.name = "$ZodError";
1310
1330
  Object.defineProperty(inst, "_zod", {
@@ -1323,10 +1343,10 @@ var initializer = (inst, def) => {
1323
1343
  };
1324
1344
  var $ZodError = $constructor("$ZodError", initializer);
1325
1345
  var $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
1326
- function flattenError(error48, mapper = (issue2) => issue2.message) {
1346
+ function flattenError(error51, mapper = (issue2) => issue2.message) {
1327
1347
  const fieldErrors = {};
1328
1348
  const formErrors = [];
1329
- for (const sub of error48.issues) {
1349
+ for (const sub of error51.issues) {
1330
1350
  if (sub.path.length > 0) {
1331
1351
  fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
1332
1352
  fieldErrors[sub.path[0]].push(mapper(sub));
@@ -1336,50 +1356,53 @@ function flattenError(error48, mapper = (issue2) => issue2.message) {
1336
1356
  }
1337
1357
  return { formErrors, fieldErrors };
1338
1358
  }
1339
- function formatError(error48, mapper = (issue2) => issue2.message) {
1359
+ function formatError(error51, mapper = (issue2) => issue2.message) {
1340
1360
  const fieldErrors = { _errors: [] };
1341
- const processError = (error49) => {
1342
- for (const issue2 of error49.issues) {
1361
+ const processError = (error52, path = []) => {
1362
+ for (const issue2 of error52.issues) {
1343
1363
  if (issue2.code === "invalid_union" && issue2.errors.length) {
1344
- issue2.errors.map((issues) => processError({ issues }));
1364
+ issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
1345
1365
  } else if (issue2.code === "invalid_key") {
1346
- processError({ issues: issue2.issues });
1366
+ processError({ issues: issue2.issues }, [...path, ...issue2.path]);
1347
1367
  } else if (issue2.code === "invalid_element") {
1348
- processError({ issues: issue2.issues });
1349
- } else if (issue2.path.length === 0) {
1350
- fieldErrors._errors.push(mapper(issue2));
1368
+ processError({ issues: issue2.issues }, [...path, ...issue2.path]);
1351
1369
  } else {
1352
- let curr = fieldErrors;
1353
- let i = 0;
1354
- while (i < issue2.path.length) {
1355
- const el = issue2.path[i];
1356
- const terminal = i === issue2.path.length - 1;
1357
- if (!terminal) {
1358
- curr[el] = curr[el] || { _errors: [] };
1359
- } else {
1360
- curr[el] = curr[el] || { _errors: [] };
1361
- curr[el]._errors.push(mapper(issue2));
1370
+ const fullpath = [...path, ...issue2.path];
1371
+ if (fullpath.length === 0) {
1372
+ fieldErrors._errors.push(mapper(issue2));
1373
+ } else {
1374
+ let curr = fieldErrors;
1375
+ let i = 0;
1376
+ while (i < fullpath.length) {
1377
+ const el = fullpath[i];
1378
+ const terminal = i === fullpath.length - 1;
1379
+ if (!terminal) {
1380
+ curr[el] = curr[el] || { _errors: [] };
1381
+ } else {
1382
+ curr[el] = curr[el] || { _errors: [] };
1383
+ curr[el]._errors.push(mapper(issue2));
1384
+ }
1385
+ curr = curr[el];
1386
+ i++;
1362
1387
  }
1363
- curr = curr[el];
1364
- i++;
1365
1388
  }
1366
1389
  }
1367
1390
  }
1368
1391
  };
1369
- processError(error48);
1392
+ processError(error51);
1370
1393
  return fieldErrors;
1371
1394
  }
1372
- function treeifyError(error48, mapper = (issue2) => issue2.message) {
1395
+ function treeifyError(error51, mapper = (issue2) => issue2.message) {
1373
1396
  const result = { errors: [] };
1374
- const processError = (error49, path = []) => {
1375
- var _a2, _b;
1376
- for (const issue2 of error49.issues) {
1397
+ const processError = (error52, path = []) => {
1398
+ var _a3, _b;
1399
+ for (const issue2 of error52.issues) {
1377
1400
  if (issue2.code === "invalid_union" && issue2.errors.length) {
1378
- issue2.errors.map((issues) => processError({ issues }, issue2.path));
1401
+ issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
1379
1402
  } else if (issue2.code === "invalid_key") {
1380
- processError({ issues: issue2.issues }, issue2.path);
1403
+ processError({ issues: issue2.issues }, [...path, ...issue2.path]);
1381
1404
  } else if (issue2.code === "invalid_element") {
1382
- processError({ issues: issue2.issues }, issue2.path);
1405
+ processError({ issues: issue2.issues }, [...path, ...issue2.path]);
1383
1406
  } else {
1384
1407
  const fullpath = [...path, ...issue2.path];
1385
1408
  if (fullpath.length === 0) {
@@ -1393,7 +1416,7 @@ function treeifyError(error48, mapper = (issue2) => issue2.message) {
1393
1416
  const terminal = i === fullpath.length - 1;
1394
1417
  if (typeof el === "string") {
1395
1418
  curr.properties ?? (curr.properties = {});
1396
- (_a2 = curr.properties)[el] ?? (_a2[el] = { errors: [] });
1419
+ (_a3 = curr.properties)[el] ?? (_a3[el] = { errors: [] });
1397
1420
  curr = curr.properties[el];
1398
1421
  } else {
1399
1422
  curr.items ?? (curr.items = []);
@@ -1408,7 +1431,7 @@ function treeifyError(error48, mapper = (issue2) => issue2.message) {
1408
1431
  }
1409
1432
  }
1410
1433
  };
1411
- processError(error48);
1434
+ processError(error51);
1412
1435
  return result;
1413
1436
  }
1414
1437
  function toDotPath(_path) {
@@ -1429,9 +1452,9 @@ function toDotPath(_path) {
1429
1452
  }
1430
1453
  return segs.join("");
1431
1454
  }
1432
- function prettifyError(error48) {
1455
+ function prettifyError(error51) {
1433
1456
  const lines = [];
1434
- const issues = [...error48.issues].sort((a, b) => (a.path ?? []).length - (b.path ?? []).length);
1457
+ const issues = [...error51.issues].sort((a, b) => (a.path ?? []).length - (b.path ?? []).length);
1435
1458
  for (const issue2 of issues) {
1436
1459
  lines.push(`\u2716 ${issue2.message}`);
1437
1460
  if (issue2.path?.length)
@@ -1440,9 +1463,9 @@ function prettifyError(error48) {
1440
1463
  return lines.join("\n");
1441
1464
  }
1442
1465
 
1443
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js
1466
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
1444
1467
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
1445
- const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
1468
+ const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
1446
1469
  const result = schema._zod.run({ value, issues: [] }, ctx);
1447
1470
  if (result instanceof Promise) {
1448
1471
  throw new $ZodAsyncError();
@@ -1456,7 +1479,7 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
1456
1479
  };
1457
1480
  var parse = /* @__PURE__ */ _parse($ZodRealError);
1458
1481
  var _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
1459
- const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
1482
+ const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
1460
1483
  let result = schema._zod.run({ value, issues: [] }, ctx);
1461
1484
  if (result instanceof Promise)
1462
1485
  result = await result;
@@ -1481,7 +1504,7 @@ var _safeParse = (_Err) => (schema, value, _ctx) => {
1481
1504
  };
1482
1505
  var safeParse = /* @__PURE__ */ _safeParse($ZodRealError);
1483
1506
  var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
1484
- const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
1507
+ const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
1485
1508
  let result = schema._zod.run({ value, issues: [] }, ctx);
1486
1509
  if (result instanceof Promise)
1487
1510
  result = await result;
@@ -1492,7 +1515,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
1492
1515
  };
1493
1516
  var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
1494
1517
  var _encode = (_Err) => (schema, value, _ctx) => {
1495
- const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
1518
+ const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
1496
1519
  return _parse(_Err)(schema, value, ctx);
1497
1520
  };
1498
1521
  var encode = /* @__PURE__ */ _encode($ZodRealError);
@@ -1501,7 +1524,7 @@ var _decode = (_Err) => (schema, value, _ctx) => {
1501
1524
  };
1502
1525
  var decode = /* @__PURE__ */ _decode($ZodRealError);
1503
1526
  var _encodeAsync = (_Err) => async (schema, value, _ctx) => {
1504
- const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
1527
+ const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
1505
1528
  return _parseAsync(_Err)(schema, value, ctx);
1506
1529
  };
1507
1530
  var encodeAsync = /* @__PURE__ */ _encodeAsync($ZodRealError);
@@ -1510,7 +1533,7 @@ var _decodeAsync = (_Err) => async (schema, value, _ctx) => {
1510
1533
  };
1511
1534
  var decodeAsync = /* @__PURE__ */ _decodeAsync($ZodRealError);
1512
1535
  var _safeEncode = (_Err) => (schema, value, _ctx) => {
1513
- const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
1536
+ const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
1514
1537
  return _safeParse(_Err)(schema, value, ctx);
1515
1538
  };
1516
1539
  var safeEncode = /* @__PURE__ */ _safeEncode($ZodRealError);
@@ -1519,7 +1542,7 @@ var _safeDecode = (_Err) => (schema, value, _ctx) => {
1519
1542
  };
1520
1543
  var safeDecode = /* @__PURE__ */ _safeDecode($ZodRealError);
1521
1544
  var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
1522
- const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
1545
+ const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
1523
1546
  return _safeParseAsync(_Err)(schema, value, ctx);
1524
1547
  };
1525
1548
  var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync($ZodRealError);
@@ -1528,7 +1551,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
1528
1551
  };
1529
1552
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
1530
1553
 
1531
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/regexes.js
1554
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
1532
1555
  var regexes_exports = {};
1533
1556
  __export(regexes_exports, {
1534
1557
  base64: () => base64,
@@ -1552,6 +1575,7 @@ __export(regexes_exports, {
1552
1575
  hex: () => hex,
1553
1576
  hostname: () => hostname,
1554
1577
  html5Email: () => html5Email,
1578
+ httpProtocol: () => httpProtocol,
1555
1579
  idnEmail: () => idnEmail,
1556
1580
  integer: () => integer,
1557
1581
  ipv4: () => ipv4,
@@ -1590,7 +1614,7 @@ __export(regexes_exports, {
1590
1614
  uuid7: () => uuid7,
1591
1615
  xid: () => xid
1592
1616
  });
1593
- var cuid = /^[cC][^\s-]{8,}$/;
1617
+ var cuid = /^[cC][0-9a-z]{6,}$/;
1594
1618
  var cuid2 = /^[0-9a-z]+$/;
1595
1619
  var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
1596
1620
  var xid = /^[0-9a-vA-V]{20}$/;
@@ -1629,6 +1653,7 @@ var base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/
1629
1653
  var base64url = /^[A-Za-z0-9_-]*$/;
1630
1654
  var hostname = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/;
1631
1655
  var domain = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/;
1656
+ var httpProtocol = /^https?$/;
1632
1657
  var e164 = /^\+[1-9]\d{6,14}$/;
1633
1658
  var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
1634
1659
  var date = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
@@ -1685,12 +1710,12 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
1685
1710
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
1686
1711
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
1687
1712
 
1688
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.js
1713
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
1689
1714
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
1690
- var _a2;
1715
+ var _a3;
1691
1716
  inst._zod ?? (inst._zod = {});
1692
1717
  inst._zod.def = def;
1693
- (_a2 = inst._zod).onattach ?? (_a2.onattach = []);
1718
+ (_a3 = inst._zod).onattach ?? (_a3.onattach = []);
1694
1719
  });
1695
1720
  var numericOriginMap = {
1696
1721
  number: "number",
@@ -1756,8 +1781,8 @@ var $ZodCheckGreaterThan = /* @__PURE__ */ $constructor("$ZodCheckGreaterThan",
1756
1781
  var $ZodCheckMultipleOf = /* @__PURE__ */ $constructor("$ZodCheckMultipleOf", (inst, def) => {
1757
1782
  $ZodCheck.init(inst, def);
1758
1783
  inst._zod.onattach.push((inst2) => {
1759
- var _a2;
1760
- (_a2 = inst2._zod.bag).multipleOf ?? (_a2.multipleOf = def.value);
1784
+ var _a3;
1785
+ (_a3 = inst2._zod.bag).multipleOf ?? (_a3.multipleOf = def.value);
1761
1786
  });
1762
1787
  inst._zod.check = (payload) => {
1763
1788
  if (typeof payload.value !== typeof def.value)
@@ -1890,9 +1915,9 @@ var $ZodCheckBigIntFormat = /* @__PURE__ */ $constructor("$ZodCheckBigIntFormat"
1890
1915
  };
1891
1916
  });
1892
1917
  var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, def) => {
1893
- var _a2;
1918
+ var _a3;
1894
1919
  $ZodCheck.init(inst, def);
1895
- (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
1920
+ (_a3 = inst._zod.def).when ?? (_a3.when = (payload) => {
1896
1921
  const val = payload.value;
1897
1922
  return !nullish(val) && val.size !== void 0;
1898
1923
  });
@@ -1918,9 +1943,9 @@ var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, d
1918
1943
  };
1919
1944
  });
1920
1945
  var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, def) => {
1921
- var _a2;
1946
+ var _a3;
1922
1947
  $ZodCheck.init(inst, def);
1923
- (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
1948
+ (_a3 = inst._zod.def).when ?? (_a3.when = (payload) => {
1924
1949
  const val = payload.value;
1925
1950
  return !nullish(val) && val.size !== void 0;
1926
1951
  });
@@ -1946,9 +1971,9 @@ var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, d
1946
1971
  };
1947
1972
  });
1948
1973
  var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (inst, def) => {
1949
- var _a2;
1974
+ var _a3;
1950
1975
  $ZodCheck.init(inst, def);
1951
- (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
1976
+ (_a3 = inst._zod.def).when ?? (_a3.when = (payload) => {
1952
1977
  const val = payload.value;
1953
1978
  return !nullish(val) && val.size !== void 0;
1954
1979
  });
@@ -1976,9 +2001,9 @@ var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (i
1976
2001
  };
1977
2002
  });
1978
2003
  var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (inst, def) => {
1979
- var _a2;
2004
+ var _a3;
1980
2005
  $ZodCheck.init(inst, def);
1981
- (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2006
+ (_a3 = inst._zod.def).when ?? (_a3.when = (payload) => {
1982
2007
  const val = payload.value;
1983
2008
  return !nullish(val) && val.length !== void 0;
1984
2009
  });
@@ -2005,9 +2030,9 @@ var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (ins
2005
2030
  };
2006
2031
  });
2007
2032
  var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (inst, def) => {
2008
- var _a2;
2033
+ var _a3;
2009
2034
  $ZodCheck.init(inst, def);
2010
- (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2035
+ (_a3 = inst._zod.def).when ?? (_a3.when = (payload) => {
2011
2036
  const val = payload.value;
2012
2037
  return !nullish(val) && val.length !== void 0;
2013
2038
  });
@@ -2034,9 +2059,9 @@ var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (ins
2034
2059
  };
2035
2060
  });
2036
2061
  var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
2037
- var _a2;
2062
+ var _a3;
2038
2063
  $ZodCheck.init(inst, def);
2039
- (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2064
+ (_a3 = inst._zod.def).when ?? (_a3.when = (payload) => {
2040
2065
  const val = payload.value;
2041
2066
  return !nullish(val) && val.length !== void 0;
2042
2067
  });
@@ -2065,7 +2090,7 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
2065
2090
  };
2066
2091
  });
2067
2092
  var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
2068
- var _a2, _b;
2093
+ var _a3, _b;
2069
2094
  $ZodCheck.init(inst, def);
2070
2095
  inst._zod.onattach.push((inst2) => {
2071
2096
  const bag = inst2._zod.bag;
@@ -2076,7 +2101,7 @@ var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat"
2076
2101
  }
2077
2102
  });
2078
2103
  if (def.pattern)
2079
- (_a2 = inst._zod).check ?? (_a2.check = (payload) => {
2104
+ (_a3 = inst._zod).check ?? (_a3.check = (payload) => {
2080
2105
  def.pattern.lastIndex = 0;
2081
2106
  if (def.pattern.test(payload.value))
2082
2107
  return;
@@ -2233,7 +2258,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
2233
2258
  };
2234
2259
  });
2235
2260
 
2236
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.js
2261
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
2237
2262
  var Doc = class {
2238
2263
  constructor(args = []) {
2239
2264
  this.content = [];
@@ -2269,16 +2294,16 @@ var Doc = class {
2269
2294
  }
2270
2295
  };
2271
2296
 
2272
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.js
2297
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
2273
2298
  var version = {
2274
2299
  major: 4,
2275
- minor: 3,
2276
- patch: 6
2300
+ minor: 4,
2301
+ patch: 3
2277
2302
  };
2278
2303
 
2279
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js
2304
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
2280
2305
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
2281
- var _a2;
2306
+ var _a3;
2282
2307
  inst ?? (inst = {});
2283
2308
  inst._zod.def = def;
2284
2309
  inst._zod.bag = inst._zod.bag || {};
@@ -2293,7 +2318,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
2293
2318
  }
2294
2319
  }
2295
2320
  if (checks.length === 0) {
2296
- (_a2 = inst._zod).deferred ?? (_a2.deferred = []);
2321
+ (_a3 = inst._zod).deferred ?? (_a3.deferred = []);
2297
2322
  inst._zod.deferred?.push(() => {
2298
2323
  inst._zod.run = inst._zod.parse;
2299
2324
  });
@@ -2303,6 +2328,8 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
2303
2328
  let asyncResult;
2304
2329
  for (const ch of checks2) {
2305
2330
  if (ch._zod.def.when) {
2331
+ if (explicitlyAborted(payload))
2332
+ continue;
2306
2333
  const shouldRun = ch._zod.def.when(payload);
2307
2334
  if (!shouldRun)
2308
2335
  continue;
@@ -2443,6 +2470,19 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
2443
2470
  inst._zod.check = (payload) => {
2444
2471
  try {
2445
2472
  const trimmed = payload.value.trim();
2473
+ if (!def.normalize && def.protocol?.source === httpProtocol.source) {
2474
+ if (!/^https?:\/\//i.test(trimmed)) {
2475
+ payload.issues.push({
2476
+ code: "invalid_format",
2477
+ format: "url",
2478
+ note: "Invalid URL format",
2479
+ input: payload.value,
2480
+ inst,
2481
+ continue: !def.abort
2482
+ });
2483
+ return;
2484
+ }
2485
+ }
2446
2486
  const url2 = new URL(trimmed);
2447
2487
  if (def.hostname) {
2448
2488
  def.hostname.lastIndex = 0;
@@ -2596,6 +2636,8 @@ var $ZodCIDRv6 = /* @__PURE__ */ $constructor("$ZodCIDRv6", (inst, def) => {
2596
2636
  function isValidBase64(data) {
2597
2637
  if (data === "")
2598
2638
  return true;
2639
+ if (/\s/.test(data))
2640
+ return false;
2599
2641
  if (data.length % 4 !== 0)
2600
2642
  return false;
2601
2643
  try {
@@ -2788,8 +2830,6 @@ var $ZodUndefined = /* @__PURE__ */ $constructor("$ZodUndefined", (inst, def) =>
2788
2830
  $ZodType.init(inst, def);
2789
2831
  inst._zod.pattern = _undefined;
2790
2832
  inst._zod.values = /* @__PURE__ */ new Set([void 0]);
2791
- inst._zod.optin = "optional";
2792
- inst._zod.optout = "optional";
2793
2833
  inst._zod.parse = (payload, _ctx) => {
2794
2834
  const input = payload.value;
2795
2835
  if (typeof input === "undefined")
@@ -2918,15 +2958,27 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
2918
2958
  return payload;
2919
2959
  };
2920
2960
  });
2921
- function handlePropertyResult(result, final, key, input, isOptionalOut) {
2961
+ function handlePropertyResult(result, final, key, input, isOptionalIn, isOptionalOut) {
2962
+ const isPresent = key in input;
2922
2963
  if (result.issues.length) {
2923
- if (isOptionalOut && !(key in input)) {
2964
+ if (isOptionalIn && isOptionalOut && !isPresent) {
2924
2965
  return;
2925
2966
  }
2926
2967
  final.issues.push(...prefixIssues(key, result.issues));
2927
2968
  }
2969
+ if (!isPresent && !isOptionalIn) {
2970
+ if (!result.issues.length) {
2971
+ final.issues.push({
2972
+ code: "invalid_type",
2973
+ expected: "nonoptional",
2974
+ input: void 0,
2975
+ path: [key]
2976
+ });
2977
+ }
2978
+ return;
2979
+ }
2928
2980
  if (result.value === void 0) {
2929
- if (key in input) {
2981
+ if (isPresent) {
2930
2982
  final.value[key] = void 0;
2931
2983
  }
2932
2984
  } else {
@@ -2954,8 +3006,11 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
2954
3006
  const keySet = def.keySet;
2955
3007
  const _catchall = def.catchall._zod;
2956
3008
  const t = _catchall.def.type;
3009
+ const isOptionalIn = _catchall.optin === "optional";
2957
3010
  const isOptionalOut = _catchall.optout === "optional";
2958
3011
  for (const key in input) {
3012
+ if (key === "__proto__")
3013
+ continue;
2959
3014
  if (keySet.has(key))
2960
3015
  continue;
2961
3016
  if (t === "never") {
@@ -2964,9 +3019,9 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
2964
3019
  }
2965
3020
  const r = _catchall.run({ value: input[key], issues: [] }, ctx);
2966
3021
  if (r instanceof Promise) {
2967
- proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
3022
+ proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalIn, isOptionalOut)));
2968
3023
  } else {
2969
- handlePropertyResult(r, payload, key, input, isOptionalOut);
3024
+ handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
2970
3025
  }
2971
3026
  }
2972
3027
  if (unrecognized.length) {
@@ -3032,12 +3087,13 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
3032
3087
  const shape = value.shape;
3033
3088
  for (const key of value.keys) {
3034
3089
  const el = shape[key];
3090
+ const isOptionalIn = el._zod.optin === "optional";
3035
3091
  const isOptionalOut = el._zod.optout === "optional";
3036
3092
  const r = el._zod.run({ value: input[key], issues: [] }, ctx);
3037
3093
  if (r instanceof Promise) {
3038
- proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
3094
+ proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalIn, isOptionalOut)));
3039
3095
  } else {
3040
- handlePropertyResult(r, payload, key, input, isOptionalOut);
3096
+ handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
3041
3097
  }
3042
3098
  }
3043
3099
  if (!catchall) {
@@ -3068,9 +3124,10 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
3068
3124
  const id = ids[key];
3069
3125
  const k = esc(key);
3070
3126
  const schema = shape[key];
3127
+ const isOptionalIn = schema?._zod?.optin === "optional";
3071
3128
  const isOptionalOut = schema?._zod?.optout === "optional";
3072
3129
  doc.write(`const ${id} = ${parseStr(key)};`);
3073
- if (isOptionalOut) {
3130
+ if (isOptionalIn && isOptionalOut) {
3074
3131
  doc.write(`
3075
3132
  if (${id}.issues.length) {
3076
3133
  if (${k} in input) {
@@ -3089,6 +3146,33 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
3089
3146
  newResult[${k}] = ${id}.value;
3090
3147
  }
3091
3148
 
3149
+ `);
3150
+ } else if (!isOptionalIn) {
3151
+ doc.write(`
3152
+ const ${id}_present = ${k} in input;
3153
+ if (${id}.issues.length) {
3154
+ payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
3155
+ ...iss,
3156
+ path: iss.path ? [${k}, ...iss.path] : [${k}]
3157
+ })));
3158
+ }
3159
+ if (!${id}_present && !${id}.issues.length) {
3160
+ payload.issues.push({
3161
+ code: "invalid_type",
3162
+ expected: "nonoptional",
3163
+ input: undefined,
3164
+ path: [${k}]
3165
+ });
3166
+ }
3167
+
3168
+ if (${id}_present) {
3169
+ if (${id}.value === undefined) {
3170
+ newResult[${k}] = undefined;
3171
+ } else {
3172
+ newResult[${k}] = ${id}.value;
3173
+ }
3174
+ }
3175
+
3092
3176
  `);
3093
3177
  } else {
3094
3178
  doc.write(`
@@ -3182,10 +3266,9 @@ var $ZodUnion = /* @__PURE__ */ $constructor("$ZodUnion", (inst, def) => {
3182
3266
  }
3183
3267
  return void 0;
3184
3268
  });
3185
- const single = def.options.length === 1;
3186
- const first = def.options[0]._zod.run;
3269
+ const first = def.options.length === 1 ? def.options[0]._zod.run : null;
3187
3270
  inst._zod.parse = (payload, ctx) => {
3188
- if (single) {
3271
+ if (first) {
3189
3272
  return first(payload, ctx);
3190
3273
  }
3191
3274
  let async = false;
@@ -3238,10 +3321,9 @@ function handleExclusiveUnionResults(results, final, inst, ctx) {
3238
3321
  var $ZodXor = /* @__PURE__ */ $constructor("$ZodXor", (inst, def) => {
3239
3322
  $ZodUnion.init(inst, def);
3240
3323
  def.inclusive = false;
3241
- const single = def.options.length === 1;
3242
- const first = def.options[0]._zod.run;
3324
+ const first = def.options.length === 1 ? def.options[0]._zod.run : null;
3243
3325
  inst._zod.parse = (payload, ctx) => {
3244
- if (single) {
3326
+ if (first) {
3245
3327
  return first(payload, ctx);
3246
3328
  }
3247
3329
  let async = false;
@@ -3316,7 +3398,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
3316
3398
  if (opt) {
3317
3399
  return opt._zod.run(payload, ctx);
3318
3400
  }
3319
- if (def.unionFallback) {
3401
+ if (def.unionFallback || ctx.direction === "backward") {
3320
3402
  return _super(payload, ctx);
3321
3403
  }
3322
3404
  payload.issues.push({
@@ -3324,6 +3406,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
3324
3406
  errors: [],
3325
3407
  note: "No matching discriminator",
3326
3408
  discriminator: def.discriminator,
3409
+ options: Array.from(disc.value.keys()),
3327
3410
  input,
3328
3411
  path: [def.discriminator],
3329
3412
  inst
@@ -3445,64 +3528,96 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
3445
3528
  }
3446
3529
  payload.value = [];
3447
3530
  const proms = [];
3448
- const reversedIndex = [...items].reverse().findIndex((item) => item._zod.optin !== "optional");
3449
- const optStart = reversedIndex === -1 ? 0 : items.length - reversedIndex;
3531
+ const optinStart = getTupleOptStart(items, "optin");
3532
+ const optoutStart = getTupleOptStart(items, "optout");
3450
3533
  if (!def.rest) {
3451
- const tooBig = input.length > items.length;
3452
- const tooSmall = input.length < optStart - 1;
3453
- if (tooBig || tooSmall) {
3534
+ if (input.length < optinStart) {
3454
3535
  payload.issues.push({
3455
- ...tooBig ? { code: "too_big", maximum: items.length, inclusive: true } : { code: "too_small", minimum: items.length },
3536
+ code: "too_small",
3537
+ minimum: optinStart,
3538
+ inclusive: true,
3456
3539
  input,
3457
3540
  inst,
3458
3541
  origin: "array"
3459
3542
  });
3460
3543
  return payload;
3461
3544
  }
3462
- }
3463
- let i = -1;
3464
- for (const item of items) {
3465
- i++;
3466
- if (i >= input.length) {
3467
- if (i >= optStart)
3468
- continue;
3545
+ if (input.length > items.length) {
3546
+ payload.issues.push({
3547
+ code: "too_big",
3548
+ maximum: items.length,
3549
+ inclusive: true,
3550
+ input,
3551
+ inst,
3552
+ origin: "array"
3553
+ });
3469
3554
  }
3470
- const result = item._zod.run({
3471
- value: input[i],
3472
- issues: []
3473
- }, ctx);
3474
- if (result instanceof Promise) {
3475
- proms.push(result.then((result2) => handleTupleResult(result2, payload, i)));
3555
+ }
3556
+ const itemResults = new Array(items.length);
3557
+ for (let i = 0; i < items.length; i++) {
3558
+ const r = items[i]._zod.run({ value: input[i], issues: [] }, ctx);
3559
+ if (r instanceof Promise) {
3560
+ proms.push(r.then((rr) => {
3561
+ itemResults[i] = rr;
3562
+ }));
3476
3563
  } else {
3477
- handleTupleResult(result, payload, i);
3564
+ itemResults[i] = r;
3478
3565
  }
3479
3566
  }
3480
3567
  if (def.rest) {
3568
+ let i = items.length - 1;
3481
3569
  const rest = input.slice(items.length);
3482
3570
  for (const el of rest) {
3483
3571
  i++;
3484
- const result = def.rest._zod.run({
3485
- value: el,
3486
- issues: []
3487
- }, ctx);
3572
+ const result = def.rest._zod.run({ value: el, issues: [] }, ctx);
3488
3573
  if (result instanceof Promise) {
3489
- proms.push(result.then((result2) => handleTupleResult(result2, payload, i)));
3574
+ proms.push(result.then((r) => handleTupleResult(r, payload, i)));
3490
3575
  } else {
3491
3576
  handleTupleResult(result, payload, i);
3492
3577
  }
3493
3578
  }
3494
3579
  }
3495
- if (proms.length)
3496
- return Promise.all(proms).then(() => payload);
3497
- return payload;
3580
+ if (proms.length) {
3581
+ return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input, optoutStart));
3582
+ }
3583
+ return handleTupleResults(itemResults, payload, items, input, optoutStart);
3498
3584
  };
3499
3585
  });
3586
+ function getTupleOptStart(items, key) {
3587
+ for (let i = items.length - 1; i >= 0; i--) {
3588
+ if (items[i]._zod[key] !== "optional")
3589
+ return i + 1;
3590
+ }
3591
+ return 0;
3592
+ }
3500
3593
  function handleTupleResult(result, final, index) {
3501
3594
  if (result.issues.length) {
3502
3595
  final.issues.push(...prefixIssues(index, result.issues));
3503
3596
  }
3504
3597
  final.value[index] = result.value;
3505
3598
  }
3599
+ function handleTupleResults(itemResults, final, items, input, optoutStart) {
3600
+ for (let i = 0; i < items.length; i++) {
3601
+ const r = itemResults[i];
3602
+ const isPresent = i < input.length;
3603
+ if (r.issues.length) {
3604
+ if (!isPresent && i >= optoutStart) {
3605
+ final.value.length = i;
3606
+ break;
3607
+ }
3608
+ final.issues.push(...prefixIssues(i, r.issues));
3609
+ }
3610
+ final.value[i] = r.value;
3611
+ }
3612
+ for (let i = final.value.length - 1; i >= input.length; i--) {
3613
+ if (items[i]._zod.optout === "optional" && final.value[i] === void 0) {
3614
+ final.value.length = i;
3615
+ } else {
3616
+ break;
3617
+ }
3618
+ }
3619
+ return final;
3620
+ }
3506
3621
  var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
3507
3622
  $ZodType.init(inst, def);
3508
3623
  inst._zod.parse = (payload, ctx) => {
@@ -3524,19 +3639,35 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
3524
3639
  for (const key of values) {
3525
3640
  if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
3526
3641
  recordKeys.add(typeof key === "number" ? key.toString() : key);
3642
+ const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
3643
+ if (keyResult instanceof Promise) {
3644
+ throw new Error("Async schemas not supported in object keys currently");
3645
+ }
3646
+ if (keyResult.issues.length) {
3647
+ payload.issues.push({
3648
+ code: "invalid_key",
3649
+ origin: "record",
3650
+ issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
3651
+ input: key,
3652
+ path: [key],
3653
+ inst
3654
+ });
3655
+ continue;
3656
+ }
3657
+ const outKey = keyResult.value;
3527
3658
  const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
3528
3659
  if (result instanceof Promise) {
3529
3660
  proms.push(result.then((result2) => {
3530
3661
  if (result2.issues.length) {
3531
3662
  payload.issues.push(...prefixIssues(key, result2.issues));
3532
3663
  }
3533
- payload.value[key] = result2.value;
3664
+ payload.value[outKey] = result2.value;
3534
3665
  }));
3535
3666
  } else {
3536
3667
  if (result.issues.length) {
3537
3668
  payload.issues.push(...prefixIssues(key, result.issues));
3538
3669
  }
3539
- payload.value[key] = result.value;
3670
+ payload.value[outKey] = result.value;
3540
3671
  }
3541
3672
  }
3542
3673
  }
@@ -3560,6 +3691,8 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
3560
3691
  for (const key of Reflect.ownKeys(input)) {
3561
3692
  if (key === "__proto__")
3562
3693
  continue;
3694
+ if (!Object.prototype.propertyIsEnumerable.call(input, key))
3695
+ continue;
3563
3696
  let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
3564
3697
  if (keyResult instanceof Promise) {
3565
3698
  throw new Error("Async schemas not supported in object keys currently");
@@ -3764,6 +3897,7 @@ var $ZodFile = /* @__PURE__ */ $constructor("$ZodFile", (inst, def) => {
3764
3897
  });
3765
3898
  var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
3766
3899
  $ZodType.init(inst, def);
3900
+ inst._zod.optin = "optional";
3767
3901
  inst._zod.parse = (payload, ctx) => {
3768
3902
  if (ctx.direction === "backward") {
3769
3903
  throw new $ZodEncodeError(inst.constructor.name);
@@ -3773,6 +3907,7 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
3773
3907
  const output = _out instanceof Promise ? _out : Promise.resolve(_out);
3774
3908
  return output.then((output2) => {
3775
3909
  payload.value = output2;
3910
+ payload.fallback = true;
3776
3911
  return payload;
3777
3912
  });
3778
3913
  }
@@ -3780,11 +3915,12 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
3780
3915
  throw new $ZodAsyncError();
3781
3916
  }
3782
3917
  payload.value = _out;
3918
+ payload.fallback = true;
3783
3919
  return payload;
3784
3920
  };
3785
3921
  });
3786
3922
  function handleOptionalResult(result, input) {
3787
- if (result.issues.length && input === void 0) {
3923
+ if (input === void 0 && (result.issues.length || result.fallback)) {
3788
3924
  return { issues: [], value: void 0 };
3789
3925
  }
3790
3926
  return result;
@@ -3802,10 +3938,11 @@ var $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) => {
3802
3938
  });
3803
3939
  inst._zod.parse = (payload, ctx) => {
3804
3940
  if (def.innerType._zod.optin === "optional") {
3941
+ const input = payload.value;
3805
3942
  const result = def.innerType._zod.run(payload, ctx);
3806
3943
  if (result instanceof Promise)
3807
- return result.then((r) => handleOptionalResult(r, payload.value));
3808
- return handleOptionalResult(result, payload.value);
3944
+ return result.then((r) => handleOptionalResult(r, input));
3945
+ return handleOptionalResult(result, input);
3809
3946
  }
3810
3947
  if (payload.value === void 0) {
3811
3948
  return payload;
@@ -3921,7 +4058,7 @@ var $ZodSuccess = /* @__PURE__ */ $constructor("$ZodSuccess", (inst, def) => {
3921
4058
  });
3922
4059
  var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
3923
4060
  $ZodType.init(inst, def);
3924
- defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
4061
+ inst._zod.optin = "optional";
3925
4062
  defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
3926
4063
  defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3927
4064
  inst._zod.parse = (payload, ctx) => {
@@ -3941,6 +4078,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
3941
4078
  input: payload.value
3942
4079
  });
3943
4080
  payload.issues = [];
4081
+ payload.fallback = true;
3944
4082
  }
3945
4083
  return payload;
3946
4084
  });
@@ -3955,6 +4093,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
3955
4093
  input: payload.value
3956
4094
  });
3957
4095
  payload.issues = [];
4096
+ payload.fallback = true;
3958
4097
  }
3959
4098
  return payload;
3960
4099
  };
@@ -4000,7 +4139,7 @@ function handlePipeResult(left, next, ctx) {
4000
4139
  left.aborted = true;
4001
4140
  return left;
4002
4141
  }
4003
- return next._zod.run({ value: left.value, issues: left.issues }, ctx);
4142
+ return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
4004
4143
  }
4005
4144
  var $ZodCodec = /* @__PURE__ */ $constructor("$ZodCodec", (inst, def) => {
4006
4145
  $ZodType.init(inst, def);
@@ -4052,6 +4191,9 @@ function handleCodecTxResult(left, value, nextSchema, ctx) {
4052
4191
  }
4053
4192
  return nextSchema._zod.run({ value, issues: left.issues }, ctx);
4054
4193
  }
4194
+ var $ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
4195
+ $ZodPipe.init(inst, def);
4196
+ });
4055
4197
  var $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
4056
4198
  $ZodType.init(inst, def);
4057
4199
  defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
@@ -4203,7 +4345,12 @@ var $ZodPromise = /* @__PURE__ */ $constructor("$ZodPromise", (inst, def) => {
4203
4345
  });
4204
4346
  var $ZodLazy = /* @__PURE__ */ $constructor("$ZodLazy", (inst, def) => {
4205
4347
  $ZodType.init(inst, def);
4206
- defineLazy(inst._zod, "innerType", () => def.getter());
4348
+ defineLazy(inst._zod, "innerType", () => {
4349
+ const d = def;
4350
+ if (!d._cachedInner)
4351
+ d._cachedInner = def.getter();
4352
+ return d._cachedInner;
4353
+ });
4207
4354
  defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
4208
4355
  defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
4209
4356
  defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? void 0);
@@ -4247,7 +4394,7 @@ function handleRefineResult(result, payload, input, inst) {
4247
4394
  }
4248
4395
  }
4249
4396
 
4250
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/index.js
4397
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/index.js
4251
4398
  var locales_exports = {};
4252
4399
  __export(locales_exports, {
4253
4400
  ar: () => ar_default,
@@ -4258,6 +4405,7 @@ __export(locales_exports, {
4258
4405
  cs: () => cs_default,
4259
4406
  da: () => da_default,
4260
4407
  de: () => de_default,
4408
+ el: () => el_default,
4261
4409
  en: () => en_default,
4262
4410
  eo: () => eo_default,
4263
4411
  es: () => es_default,
@@ -4266,6 +4414,7 @@ __export(locales_exports, {
4266
4414
  fr: () => fr_default,
4267
4415
  frCA: () => fr_CA_default,
4268
4416
  he: () => he_default,
4417
+ hr: () => hr_default,
4269
4418
  hu: () => hu_default,
4270
4419
  hy: () => hy_default,
4271
4420
  id: () => id_default,
@@ -4285,6 +4434,7 @@ __export(locales_exports, {
4285
4434
  pl: () => pl_default,
4286
4435
  ps: () => ps_default,
4287
4436
  pt: () => pt_default,
4437
+ ro: () => ro_default,
4288
4438
  ru: () => ru_default,
4289
4439
  sl: () => sl_default,
4290
4440
  sv: () => sv_default,
@@ -4301,7 +4451,7 @@ __export(locales_exports, {
4301
4451
  zhTW: () => zh_TW_default
4302
4452
  });
4303
4453
 
4304
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ar.js
4454
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ar.js
4305
4455
  var error = () => {
4306
4456
  const Sizable = {
4307
4457
  string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
@@ -4408,7 +4558,7 @@ function ar_default() {
4408
4558
  };
4409
4559
  }
4410
4560
 
4411
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/az.js
4561
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/az.js
4412
4562
  var error2 = () => {
4413
4563
  const Sizable = {
4414
4564
  string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
@@ -4514,7 +4664,7 @@ function az_default() {
4514
4664
  };
4515
4665
  }
4516
4666
 
4517
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/be.js
4667
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/be.js
4518
4668
  function getBelarusianPlural(count, one, few, many) {
4519
4669
  const absCount = Math.abs(count);
4520
4670
  const lastDigit = absCount % 10;
@@ -4671,7 +4821,7 @@ function be_default() {
4671
4821
  };
4672
4822
  }
4673
4823
 
4674
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/bg.js
4824
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/bg.js
4675
4825
  var error4 = () => {
4676
4826
  const Sizable = {
4677
4827
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
@@ -4792,7 +4942,7 @@ function bg_default() {
4792
4942
  };
4793
4943
  }
4794
4944
 
4795
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ca.js
4945
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ca.js
4796
4946
  var error5 = () => {
4797
4947
  const Sizable = {
4798
4948
  string: { unit: "car\xE0cters", verb: "contenir" },
@@ -4901,7 +5051,7 @@ function ca_default() {
4901
5051
  };
4902
5052
  }
4903
5053
 
4904
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/cs.js
5054
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/cs.js
4905
5055
  var error6 = () => {
4906
5056
  const Sizable = {
4907
5057
  string: { unit: "znak\u016F", verb: "m\xEDt" },
@@ -5013,7 +5163,7 @@ function cs_default() {
5013
5163
  };
5014
5164
  }
5015
5165
 
5016
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/da.js
5166
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/da.js
5017
5167
  var error7 = () => {
5018
5168
  const Sizable = {
5019
5169
  string: { unit: "tegn", verb: "havde" },
@@ -5129,7 +5279,7 @@ function da_default() {
5129
5279
  };
5130
5280
  }
5131
5281
 
5132
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/de.js
5282
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/de.js
5133
5283
  var error8 = () => {
5134
5284
  const Sizable = {
5135
5285
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -5238,8 +5388,118 @@ function de_default() {
5238
5388
  };
5239
5389
  }
5240
5390
 
5241
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/en.js
5391
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/el.js
5242
5392
  var error9 = () => {
5393
+ const Sizable = {
5394
+ string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
5395
+ file: { unit: "bytes", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
5396
+ array: { unit: "\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
5397
+ set: { unit: "\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
5398
+ map: { unit: "\u03BA\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AE\u03C3\u03B5\u03B9\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" }
5399
+ };
5400
+ function getSizing(origin) {
5401
+ return Sizable[origin] ?? null;
5402
+ }
5403
+ const FormatDictionary = {
5404
+ regex: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2",
5405
+ email: "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 email",
5406
+ url: "URL",
5407
+ emoji: "emoji",
5408
+ uuid: "UUID",
5409
+ uuidv4: "UUIDv4",
5410
+ uuidv6: "UUIDv6",
5411
+ nanoid: "nanoid",
5412
+ guid: "GUID",
5413
+ cuid: "cuid",
5414
+ cuid2: "cuid2",
5415
+ ulid: "ULID",
5416
+ xid: "XID",
5417
+ ksuid: "KSUID",
5418
+ datetime: "ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03CE\u03C1\u03B1",
5419
+ date: "ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",
5420
+ time: "ISO \u03CE\u03C1\u03B1",
5421
+ duration: "ISO \u03B4\u03B9\u03AC\u03C1\u03BA\u03B5\u03B9\u03B1",
5422
+ ipv4: "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv4",
5423
+ ipv6: "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv6",
5424
+ mac: "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 MAC",
5425
+ cidrv4: "\u03B5\u03CD\u03C1\u03BF\u03C2 IPv4",
5426
+ cidrv6: "\u03B5\u03CD\u03C1\u03BF\u03C2 IPv6",
5427
+ base64: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64",
5428
+ base64url: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64url",
5429
+ json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
5430
+ e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
5431
+ jwt: "JWT",
5432
+ template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
5433
+ };
5434
+ const TypeDictionary = {
5435
+ nan: "NaN"
5436
+ };
5437
+ return (issue2) => {
5438
+ switch (issue2.code) {
5439
+ case "invalid_type": {
5440
+ const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
5441
+ const receivedType = parsedType(issue2.input);
5442
+ const received = TypeDictionary[receivedType] ?? receivedType;
5443
+ if (typeof issue2.expected === "string" && /^[A-Z]/.test(issue2.expected)) {
5444
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${issue2.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${received}`;
5445
+ }
5446
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${received}`;
5447
+ }
5448
+ case "invalid_value":
5449
+ if (issue2.values.length === 1)
5450
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${stringifyPrimitive(issue2.values[0])}`;
5451
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD \u03AD\u03BD\u03B1 \u03B1\u03C0\u03CC ${joinValues(issue2.values, "|")}`;
5452
+ case "too_big": {
5453
+ const adj = issue2.inclusive ? "<=" : "<";
5454
+ const sizing = getSizing(issue2.origin);
5455
+ if (sizing)
5456
+ return `\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${issue2.origin ?? "\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1"}`;
5457
+ return `\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${issue2.origin ?? "\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${adj}${issue2.maximum.toString()}`;
5458
+ }
5459
+ case "too_small": {
5460
+ const adj = issue2.inclusive ? ">=" : ">";
5461
+ const sizing = getSizing(issue2.origin);
5462
+ if (sizing) {
5463
+ return `\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${issue2.origin} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
5464
+ }
5465
+ return `\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${issue2.origin} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${adj}${issue2.minimum.toString()}`;
5466
+ }
5467
+ case "invalid_format": {
5468
+ const _issue = issue2;
5469
+ if (_issue.format === "starts_with") {
5470
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AC \u03BC\u03B5 "${_issue.prefix}"`;
5471
+ }
5472
+ if (_issue.format === "ends_with")
5473
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B5\u03BB\u03B5\u03B9\u03CE\u03BD\u03B5\u03B9 \u03BC\u03B5 "${_issue.suffix}"`;
5474
+ if (_issue.format === "includes")
5475
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03B9\u03AD\u03C7\u03B5\u03B9 "${_issue.includes}"`;
5476
+ if (_issue.format === "regex")
5477
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03C4\u03BF \u03BC\u03BF\u03C4\u03AF\u03B2\u03BF ${_issue.pattern}`;
5478
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF: ${FormatDictionary[_issue.format] ?? issue2.format}`;
5479
+ }
5480
+ case "not_multiple_of":
5481
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC\u03C3\u03B9\u03BF \u03C4\u03BF\u03C5 ${issue2.divisor}`;
5482
+ case "unrecognized_keys":
5483
+ return `\u0386\u03B3\u03BD\u03C9\u03C3\u03C4${issue2.keys.length > 1 ? "\u03B1" : "\u03BF"} \u03BA\u03BB\u03B5\u03B9\u03B4${issue2.keys.length > 1 ? "\u03B9\u03AC" : "\u03AF"}: ${joinValues(issue2.keys, ", ")}`;
5484
+ case "invalid_key":
5485
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF \u03BA\u03BB\u03B5\u03B9\u03B4\u03AF \u03C3\u03C4\u03BF ${issue2.origin}`;
5486
+ case "invalid_union":
5487
+ return "\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2";
5488
+ case "invalid_element":
5489
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C4\u03B9\u03BC\u03AE \u03C3\u03C4\u03BF ${issue2.origin}`;
5490
+ default:
5491
+ return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2`;
5492
+ }
5493
+ };
5494
+ };
5495
+ function el_default() {
5496
+ return {
5497
+ localeError: error9()
5498
+ };
5499
+ }
5500
+
5501
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.js
5502
+ var error10 = () => {
5243
5503
  const Sizable = {
5244
5504
  string: { unit: "characters", verb: "to have" },
5245
5505
  file: { unit: "bytes", verb: "to have" },
@@ -5333,6 +5593,10 @@ var error9 = () => {
5333
5593
  case "invalid_key":
5334
5594
  return `Invalid key in ${issue2.origin}`;
5335
5595
  case "invalid_union":
5596
+ if (issue2.options && Array.isArray(issue2.options) && issue2.options.length > 0) {
5597
+ const opts = issue2.options.map((o) => `'${o}'`).join(" | ");
5598
+ return `Invalid discriminator value. Expected ${opts}`;
5599
+ }
5336
5600
  return "Invalid input";
5337
5601
  case "invalid_element":
5338
5602
  return `Invalid value in ${issue2.origin}`;
@@ -5343,12 +5607,12 @@ var error9 = () => {
5343
5607
  };
5344
5608
  function en_default() {
5345
5609
  return {
5346
- localeError: error9()
5610
+ localeError: error10()
5347
5611
  };
5348
5612
  }
5349
5613
 
5350
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/eo.js
5351
- var error10 = () => {
5614
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/eo.js
5615
+ var error11 = () => {
5352
5616
  const Sizable = {
5353
5617
  string: { unit: "karaktrojn", verb: "havi" },
5354
5618
  file: { unit: "bajtojn", verb: "havi" },
@@ -5453,12 +5717,12 @@ var error10 = () => {
5453
5717
  };
5454
5718
  function eo_default() {
5455
5719
  return {
5456
- localeError: error10()
5720
+ localeError: error11()
5457
5721
  };
5458
5722
  }
5459
5723
 
5460
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/es.js
5461
- var error11 = () => {
5724
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/es.js
5725
+ var error12 = () => {
5462
5726
  const Sizable = {
5463
5727
  string: { unit: "caracteres", verb: "tener" },
5464
5728
  file: { unit: "bytes", verb: "tener" },
@@ -5586,12 +5850,12 @@ var error11 = () => {
5586
5850
  };
5587
5851
  function es_default() {
5588
5852
  return {
5589
- localeError: error11()
5853
+ localeError: error12()
5590
5854
  };
5591
5855
  }
5592
5856
 
5593
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fa.js
5594
- var error12 = () => {
5857
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fa.js
5858
+ var error13 = () => {
5595
5859
  const Sizable = {
5596
5860
  string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
5597
5861
  file: { unit: "\u0628\u0627\u06CC\u062A", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
@@ -5701,12 +5965,12 @@ var error12 = () => {
5701
5965
  };
5702
5966
  function fa_default() {
5703
5967
  return {
5704
- localeError: error12()
5968
+ localeError: error13()
5705
5969
  };
5706
5970
  }
5707
5971
 
5708
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fi.js
5709
- var error13 = () => {
5972
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fi.js
5973
+ var error14 = () => {
5710
5974
  const Sizable = {
5711
5975
  string: { unit: "merkki\xE4", subject: "merkkijonon" },
5712
5976
  file: { unit: "tavua", subject: "tiedoston" },
@@ -5814,12 +6078,12 @@ var error13 = () => {
5814
6078
  };
5815
6079
  function fi_default() {
5816
6080
  return {
5817
- localeError: error13()
6081
+ localeError: error14()
5818
6082
  };
5819
6083
  }
5820
6084
 
5821
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr.js
5822
- var error14 = () => {
6085
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr.js
6086
+ var error15 = () => {
5823
6087
  const Sizable = {
5824
6088
  string: { unit: "caract\xE8res", verb: "avoir" },
5825
6089
  file: { unit: "octets", verb: "avoir" },
@@ -5860,9 +6124,27 @@ var error14 = () => {
5860
6124
  template_literal: "entr\xE9e"
5861
6125
  };
5862
6126
  const TypeDictionary = {
5863
- nan: "NaN",
6127
+ string: "cha\xEEne",
5864
6128
  number: "nombre",
5865
- array: "tableau"
6129
+ int: "entier",
6130
+ boolean: "bool\xE9en",
6131
+ bigint: "grand entier",
6132
+ symbol: "symbole",
6133
+ undefined: "ind\xE9fini",
6134
+ null: "null",
6135
+ never: "jamais",
6136
+ void: "vide",
6137
+ date: "date",
6138
+ array: "tableau",
6139
+ object: "objet",
6140
+ tuple: "tuple",
6141
+ record: "enregistrement",
6142
+ map: "carte",
6143
+ set: "ensemble",
6144
+ file: "fichier",
6145
+ nonoptional: "non-optionnel",
6146
+ nan: "NaN",
6147
+ function: "fonction"
5866
6148
  };
5867
6149
  return (issue2) => {
5868
6150
  switch (issue2.code) {
@@ -5883,16 +6165,15 @@ var error14 = () => {
5883
6165
  const adj = issue2.inclusive ? "<=" : "<";
5884
6166
  const sizing = getSizing(issue2.origin);
5885
6167
  if (sizing)
5886
- return `Trop grand : ${issue2.origin ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "\xE9l\xE9ment(s)"}`;
5887
- return `Trop grand : ${issue2.origin ?? "valeur"} doit \xEAtre ${adj}${issue2.maximum.toString()}`;
6168
+ return `Trop grand : ${TypeDictionary[issue2.origin] ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "\xE9l\xE9ment(s)"}`;
6169
+ return `Trop grand : ${TypeDictionary[issue2.origin] ?? "valeur"} doit \xEAtre ${adj}${issue2.maximum.toString()}`;
5888
6170
  }
5889
6171
  case "too_small": {
5890
6172
  const adj = issue2.inclusive ? ">=" : ">";
5891
6173
  const sizing = getSizing(issue2.origin);
5892
- if (sizing) {
5893
- return `Trop petit : ${issue2.origin} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
5894
- }
5895
- return `Trop petit : ${issue2.origin} doit \xEAtre ${adj}${issue2.minimum.toString()}`;
6174
+ if (sizing)
6175
+ return `Trop petit : ${TypeDictionary[issue2.origin] ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
6176
+ return `Trop petit : ${TypeDictionary[issue2.origin] ?? "valeur"} doit \xEAtre ${adj}${issue2.minimum.toString()}`;
5896
6177
  }
5897
6178
  case "invalid_format": {
5898
6179
  const _issue = issue2;
@@ -5923,12 +6204,12 @@ var error14 = () => {
5923
6204
  };
5924
6205
  function fr_default() {
5925
6206
  return {
5926
- localeError: error14()
6207
+ localeError: error15()
5927
6208
  };
5928
6209
  }
5929
6210
 
5930
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr-CA.js
5931
- var error15 = () => {
6211
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr-CA.js
6212
+ var error16 = () => {
5932
6213
  const Sizable = {
5933
6214
  string: { unit: "caract\xE8res", verb: "avoir" },
5934
6215
  file: { unit: "octets", verb: "avoir" },
@@ -6031,12 +6312,12 @@ var error15 = () => {
6031
6312
  };
6032
6313
  function fr_CA_default() {
6033
6314
  return {
6034
- localeError: error15()
6315
+ localeError: error16()
6035
6316
  };
6036
6317
  }
6037
6318
 
6038
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/he.js
6039
- var error16 = () => {
6319
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/he.js
6320
+ var error17 = () => {
6040
6321
  const TypeNames = {
6041
6322
  string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
6042
6323
  number: { label: "\u05DE\u05E1\u05E4\u05E8", gender: "m" },
@@ -6226,24 +6507,24 @@ var error16 = () => {
6226
6507
  };
6227
6508
  function he_default() {
6228
6509
  return {
6229
- localeError: error16()
6510
+ localeError: error17()
6230
6511
  };
6231
6512
  }
6232
6513
 
6233
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hu.js
6234
- var error17 = () => {
6514
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hr.js
6515
+ var error18 = () => {
6235
6516
  const Sizable = {
6236
- string: { unit: "karakter", verb: "legyen" },
6237
- file: { unit: "byte", verb: "legyen" },
6238
- array: { unit: "elem", verb: "legyen" },
6239
- set: { unit: "elem", verb: "legyen" }
6517
+ string: { unit: "znakova", verb: "imati" },
6518
+ file: { unit: "bajtova", verb: "imati" },
6519
+ array: { unit: "stavki", verb: "imati" },
6520
+ set: { unit: "stavki", verb: "imati" }
6240
6521
  };
6241
6522
  function getSizing(origin) {
6242
6523
  return Sizable[origin] ?? null;
6243
6524
  }
6244
6525
  const FormatDictionary = {
6245
- regex: "bemenet",
6246
- email: "email c\xEDm",
6526
+ regex: "unos",
6527
+ email: "email adresa",
6247
6528
  url: "URL",
6248
6529
  emoji: "emoji",
6249
6530
  uuid: "UUID",
@@ -6256,25 +6537,37 @@ var error17 = () => {
6256
6537
  ulid: "ULID",
6257
6538
  xid: "XID",
6258
6539
  ksuid: "KSUID",
6259
- datetime: "ISO id\u0151b\xE9lyeg",
6260
- date: "ISO d\xE1tum",
6261
- time: "ISO id\u0151",
6262
- duration: "ISO id\u0151intervallum",
6263
- ipv4: "IPv4 c\xEDm",
6264
- ipv6: "IPv6 c\xEDm",
6265
- cidrv4: "IPv4 tartom\xE1ny",
6266
- cidrv6: "IPv6 tartom\xE1ny",
6267
- base64: "base64-k\xF3dolt string",
6268
- base64url: "base64url-k\xF3dolt string",
6269
- json_string: "JSON string",
6270
- e164: "E.164 sz\xE1m",
6540
+ datetime: "ISO datum i vrijeme",
6541
+ date: "ISO datum",
6542
+ time: "ISO vrijeme",
6543
+ duration: "ISO trajanje",
6544
+ ipv4: "IPv4 adresa",
6545
+ ipv6: "IPv6 adresa",
6546
+ cidrv4: "IPv4 raspon",
6547
+ cidrv6: "IPv6 raspon",
6548
+ base64: "base64 kodirani tekst",
6549
+ base64url: "base64url kodirani tekst",
6550
+ json_string: "JSON tekst",
6551
+ e164: "E.164 broj",
6271
6552
  jwt: "JWT",
6272
- template_literal: "bemenet"
6553
+ template_literal: "unos"
6273
6554
  };
6274
6555
  const TypeDictionary = {
6275
6556
  nan: "NaN",
6276
- number: "sz\xE1m",
6277
- array: "t\xF6mb"
6557
+ string: "tekst",
6558
+ number: "broj",
6559
+ boolean: "boolean",
6560
+ array: "niz",
6561
+ object: "objekt",
6562
+ set: "skup",
6563
+ file: "datoteka",
6564
+ date: "datum",
6565
+ bigint: "bigint",
6566
+ symbol: "simbol",
6567
+ undefined: "undefined",
6568
+ null: "null",
6569
+ function: "funkcija",
6570
+ map: "mapa"
6278
6571
  };
6279
6572
  return (issue2) => {
6280
6573
  switch (issue2.code) {
@@ -6283,35 +6576,146 @@ var error17 = () => {
6283
6576
  const receivedType = parsedType(issue2.input);
6284
6577
  const received = TypeDictionary[receivedType] ?? receivedType;
6285
6578
  if (/^[A-Z]/.test(issue2.expected)) {
6286
- return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${issue2.expected}, a kapott \xE9rt\xE9k ${received}`;
6579
+ return `Neispravan unos: o\u010Dekuje se instanceof ${issue2.expected}, a primljeno je ${received}`;
6287
6580
  }
6288
- return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${expected}, a kapott \xE9rt\xE9k ${received}`;
6581
+ return `Neispravan unos: o\u010Dekuje se ${expected}, a primljeno je ${received}`;
6289
6582
  }
6290
6583
  case "invalid_value":
6291
6584
  if (issue2.values.length === 1)
6292
- return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${stringifyPrimitive(issue2.values[0])}`;
6293
- return `\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${joinValues(issue2.values, "|")}`;
6585
+ return `Neispravna vrijednost: o\u010Dekivano ${stringifyPrimitive(issue2.values[0])}`;
6586
+ return `Neispravna opcija: o\u010Dekivano jedno od ${joinValues(issue2.values, "|")}`;
6294
6587
  case "too_big": {
6295
6588
  const adj = issue2.inclusive ? "<=" : "<";
6296
6589
  const sizing = getSizing(issue2.origin);
6590
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
6297
6591
  if (sizing)
6298
- return `T\xFAl nagy: ${issue2.origin ?? "\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elem"}`;
6299
- return `T\xFAl nagy: a bemeneti \xE9rt\xE9k ${issue2.origin ?? "\xE9rt\xE9k"} t\xFAl nagy: ${adj}${issue2.maximum.toString()}`;
6592
+ return `Preveliko: o\u010Dekivano da ${origin ?? "vrijednost"} ima ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemenata"}`;
6593
+ return `Preveliko: o\u010Dekivano da ${origin ?? "vrijednost"} bude ${adj}${issue2.maximum.toString()}`;
6300
6594
  }
6301
6595
  case "too_small": {
6302
6596
  const adj = issue2.inclusive ? ">=" : ">";
6303
6597
  const sizing = getSizing(issue2.origin);
6598
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
6304
6599
  if (sizing) {
6305
- return `T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${issue2.origin} m\xE9rete t\xFAl kicsi ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
6600
+ return `Premalo: o\u010Dekivano da ${origin} ima ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
6306
6601
  }
6307
- return `T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${issue2.origin} t\xFAl kicsi ${adj}${issue2.minimum.toString()}`;
6602
+ return `Premalo: o\u010Dekivano da ${origin} bude ${adj}${issue2.minimum.toString()}`;
6308
6603
  }
6309
6604
  case "invalid_format": {
6310
6605
  const _issue = issue2;
6311
6606
  if (_issue.format === "starts_with")
6312
- return `\xC9rv\xE9nytelen string: "${_issue.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`;
6607
+ return `Neispravan tekst: mora zapo\u010Dinjati s "${_issue.prefix}"`;
6313
6608
  if (_issue.format === "ends_with")
6314
- return `\xC9rv\xE9nytelen string: "${_issue.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`;
6609
+ return `Neispravan tekst: mora zavr\u0161avati s "${_issue.suffix}"`;
6610
+ if (_issue.format === "includes")
6611
+ return `Neispravan tekst: mora sadr\u017Eavati "${_issue.includes}"`;
6612
+ if (_issue.format === "regex")
6613
+ return `Neispravan tekst: mora odgovarati uzorku ${_issue.pattern}`;
6614
+ return `Neispravna ${FormatDictionary[_issue.format] ?? issue2.format}`;
6615
+ }
6616
+ case "not_multiple_of":
6617
+ return `Neispravan broj: mora biti vi\u0161ekratnik od ${issue2.divisor}`;
6618
+ case "unrecognized_keys":
6619
+ return `Neprepoznat${issue2.keys.length > 1 ? "i klju\u010Devi" : " klju\u010D"}: ${joinValues(issue2.keys, ", ")}`;
6620
+ case "invalid_key":
6621
+ return `Neispravan klju\u010D u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
6622
+ case "invalid_union":
6623
+ return "Neispravan unos";
6624
+ case "invalid_element":
6625
+ return `Neispravna vrijednost u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
6626
+ default:
6627
+ return `Neispravan unos`;
6628
+ }
6629
+ };
6630
+ };
6631
+ function hr_default() {
6632
+ return {
6633
+ localeError: error18()
6634
+ };
6635
+ }
6636
+
6637
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hu.js
6638
+ var error19 = () => {
6639
+ const Sizable = {
6640
+ string: { unit: "karakter", verb: "legyen" },
6641
+ file: { unit: "byte", verb: "legyen" },
6642
+ array: { unit: "elem", verb: "legyen" },
6643
+ set: { unit: "elem", verb: "legyen" }
6644
+ };
6645
+ function getSizing(origin) {
6646
+ return Sizable[origin] ?? null;
6647
+ }
6648
+ const FormatDictionary = {
6649
+ regex: "bemenet",
6650
+ email: "email c\xEDm",
6651
+ url: "URL",
6652
+ emoji: "emoji",
6653
+ uuid: "UUID",
6654
+ uuidv4: "UUIDv4",
6655
+ uuidv6: "UUIDv6",
6656
+ nanoid: "nanoid",
6657
+ guid: "GUID",
6658
+ cuid: "cuid",
6659
+ cuid2: "cuid2",
6660
+ ulid: "ULID",
6661
+ xid: "XID",
6662
+ ksuid: "KSUID",
6663
+ datetime: "ISO id\u0151b\xE9lyeg",
6664
+ date: "ISO d\xE1tum",
6665
+ time: "ISO id\u0151",
6666
+ duration: "ISO id\u0151intervallum",
6667
+ ipv4: "IPv4 c\xEDm",
6668
+ ipv6: "IPv6 c\xEDm",
6669
+ cidrv4: "IPv4 tartom\xE1ny",
6670
+ cidrv6: "IPv6 tartom\xE1ny",
6671
+ base64: "base64-k\xF3dolt string",
6672
+ base64url: "base64url-k\xF3dolt string",
6673
+ json_string: "JSON string",
6674
+ e164: "E.164 sz\xE1m",
6675
+ jwt: "JWT",
6676
+ template_literal: "bemenet"
6677
+ };
6678
+ const TypeDictionary = {
6679
+ nan: "NaN",
6680
+ number: "sz\xE1m",
6681
+ array: "t\xF6mb"
6682
+ };
6683
+ return (issue2) => {
6684
+ switch (issue2.code) {
6685
+ case "invalid_type": {
6686
+ const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
6687
+ const receivedType = parsedType(issue2.input);
6688
+ const received = TypeDictionary[receivedType] ?? receivedType;
6689
+ if (/^[A-Z]/.test(issue2.expected)) {
6690
+ return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${issue2.expected}, a kapott \xE9rt\xE9k ${received}`;
6691
+ }
6692
+ return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${expected}, a kapott \xE9rt\xE9k ${received}`;
6693
+ }
6694
+ case "invalid_value":
6695
+ if (issue2.values.length === 1)
6696
+ return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${stringifyPrimitive(issue2.values[0])}`;
6697
+ return `\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${joinValues(issue2.values, "|")}`;
6698
+ case "too_big": {
6699
+ const adj = issue2.inclusive ? "<=" : "<";
6700
+ const sizing = getSizing(issue2.origin);
6701
+ if (sizing)
6702
+ return `T\xFAl nagy: ${issue2.origin ?? "\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elem"}`;
6703
+ return `T\xFAl nagy: a bemeneti \xE9rt\xE9k ${issue2.origin ?? "\xE9rt\xE9k"} t\xFAl nagy: ${adj}${issue2.maximum.toString()}`;
6704
+ }
6705
+ case "too_small": {
6706
+ const adj = issue2.inclusive ? ">=" : ">";
6707
+ const sizing = getSizing(issue2.origin);
6708
+ if (sizing) {
6709
+ return `T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${issue2.origin} m\xE9rete t\xFAl kicsi ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
6710
+ }
6711
+ return `T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${issue2.origin} t\xFAl kicsi ${adj}${issue2.minimum.toString()}`;
6712
+ }
6713
+ case "invalid_format": {
6714
+ const _issue = issue2;
6715
+ if (_issue.format === "starts_with")
6716
+ return `\xC9rv\xE9nytelen string: "${_issue.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`;
6717
+ if (_issue.format === "ends_with")
6718
+ return `\xC9rv\xE9nytelen string: "${_issue.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`;
6315
6719
  if (_issue.format === "includes")
6316
6720
  return `\xC9rv\xE9nytelen string: "${_issue.includes}" \xE9rt\xE9ket kell tartalmaznia`;
6317
6721
  if (_issue.format === "regex")
@@ -6335,11 +6739,11 @@ var error17 = () => {
6335
6739
  };
6336
6740
  function hu_default() {
6337
6741
  return {
6338
- localeError: error17()
6742
+ localeError: error19()
6339
6743
  };
6340
6744
  }
6341
6745
 
6342
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hy.js
6746
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hy.js
6343
6747
  function getArmenianPlural(count, one, many) {
6344
6748
  return Math.abs(count) === 1 ? one : many;
6345
6749
  }
@@ -6350,7 +6754,7 @@ function withDefiniteArticle(word) {
6350
6754
  const lastChar = word[word.length - 1];
6351
6755
  return word + (vowels.includes(lastChar) ? "\u0576" : "\u0568");
6352
6756
  }
6353
- var error18 = () => {
6757
+ var error20 = () => {
6354
6758
  const Sizable = {
6355
6759
  string: {
6356
6760
  unit: {
@@ -6483,12 +6887,12 @@ var error18 = () => {
6483
6887
  };
6484
6888
  function hy_default() {
6485
6889
  return {
6486
- localeError: error18()
6890
+ localeError: error20()
6487
6891
  };
6488
6892
  }
6489
6893
 
6490
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/id.js
6491
- var error19 = () => {
6894
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/id.js
6895
+ var error21 = () => {
6492
6896
  const Sizable = {
6493
6897
  string: { unit: "karakter", verb: "memiliki" },
6494
6898
  file: { unit: "byte", verb: "memiliki" },
@@ -6590,12 +6994,12 @@ var error19 = () => {
6590
6994
  };
6591
6995
  function id_default() {
6592
6996
  return {
6593
- localeError: error19()
6997
+ localeError: error21()
6594
6998
  };
6595
6999
  }
6596
7000
 
6597
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/is.js
6598
- var error20 = () => {
7001
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/is.js
7002
+ var error22 = () => {
6599
7003
  const Sizable = {
6600
7004
  string: { unit: "stafi", verb: "a\xF0 hafa" },
6601
7005
  file: { unit: "b\xE6ti", verb: "a\xF0 hafa" },
@@ -6700,12 +7104,12 @@ var error20 = () => {
6700
7104
  };
6701
7105
  function is_default() {
6702
7106
  return {
6703
- localeError: error20()
7107
+ localeError: error22()
6704
7108
  };
6705
7109
  }
6706
7110
 
6707
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/it.js
6708
- var error21 = () => {
7111
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/it.js
7112
+ var error23 = () => {
6709
7113
  const Sizable = {
6710
7114
  string: { unit: "caratteri", verb: "avere" },
6711
7115
  file: { unit: "byte", verb: "avere" },
@@ -6790,7 +7194,7 @@ var error21 = () => {
6790
7194
  return `Stringa non valida: deve includere "${_issue.includes}"`;
6791
7195
  if (_issue.format === "regex")
6792
7196
  return `Stringa non valida: deve corrispondere al pattern ${_issue.pattern}`;
6793
- return `Invalid ${FormatDictionary[_issue.format] ?? issue2.format}`;
7197
+ return `Input non valido: ${FormatDictionary[_issue.format] ?? issue2.format}`;
6794
7198
  }
6795
7199
  case "not_multiple_of":
6796
7200
  return `Numero non valido: deve essere un multiplo di ${issue2.divisor}`;
@@ -6809,12 +7213,12 @@ var error21 = () => {
6809
7213
  };
6810
7214
  function it_default() {
6811
7215
  return {
6812
- localeError: error21()
7216
+ localeError: error23()
6813
7217
  };
6814
7218
  }
6815
7219
 
6816
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ja.js
6817
- var error22 = () => {
7220
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ja.js
7221
+ var error24 = () => {
6818
7222
  const Sizable = {
6819
7223
  string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
6820
7224
  file: { unit: "\u30D0\u30A4\u30C8", verb: "\u3067\u3042\u308B" },
@@ -6917,12 +7321,12 @@ var error22 = () => {
6917
7321
  };
6918
7322
  function ja_default() {
6919
7323
  return {
6920
- localeError: error22()
7324
+ localeError: error24()
6921
7325
  };
6922
7326
  }
6923
7327
 
6924
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ka.js
6925
- var error23 = () => {
7328
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ka.js
7329
+ var error25 = () => {
6926
7330
  const Sizable = {
6927
7331
  string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
6928
7332
  file: { unit: "\u10D1\u10D0\u10D8\u10E2\u10D8", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
@@ -6955,9 +7359,9 @@ var error23 = () => {
6955
7359
  ipv6: "IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",
6956
7360
  cidrv4: "IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",
6957
7361
  cidrv6: "IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",
6958
- base64: "base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",
6959
- base64url: "base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",
6960
- json_string: "JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",
7362
+ base64: "base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",
7363
+ base64url: "base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",
7364
+ json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
6961
7365
  e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
6962
7366
  jwt: "JWT",
6963
7367
  template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
@@ -6965,7 +7369,7 @@ var error23 = () => {
6965
7369
  const TypeDictionary = {
6966
7370
  nan: "NaN",
6967
7371
  number: "\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",
6968
- string: "\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",
7372
+ string: "\u10D5\u10D4\u10DA\u10D8",
6969
7373
  boolean: "\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",
6970
7374
  function: "\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",
6971
7375
  array: "\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"
@@ -7003,14 +7407,14 @@ var error23 = () => {
7003
7407
  case "invalid_format": {
7004
7408
  const _issue = issue2;
7005
7409
  if (_issue.format === "starts_with") {
7006
- return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${_issue.prefix}"-\u10D8\u10D7`;
7410
+ return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${_issue.prefix}"-\u10D8\u10D7`;
7007
7411
  }
7008
7412
  if (_issue.format === "ends_with")
7009
- return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${_issue.suffix}"-\u10D8\u10D7`;
7413
+ return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${_issue.suffix}"-\u10D8\u10D7`;
7010
7414
  if (_issue.format === "includes")
7011
- return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${_issue.includes}"-\u10E1`;
7415
+ return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${_issue.includes}"-\u10E1`;
7012
7416
  if (_issue.format === "regex")
7013
- return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${_issue.pattern}`;
7417
+ return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${_issue.pattern}`;
7014
7418
  return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${FormatDictionary[_issue.format] ?? issue2.format}`;
7015
7419
  }
7016
7420
  case "not_multiple_of":
@@ -7030,12 +7434,12 @@ var error23 = () => {
7030
7434
  };
7031
7435
  function ka_default() {
7032
7436
  return {
7033
- localeError: error23()
7437
+ localeError: error25()
7034
7438
  };
7035
7439
  }
7036
7440
 
7037
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/km.js
7038
- var error24 = () => {
7441
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/km.js
7442
+ var error26 = () => {
7039
7443
  const Sizable = {
7040
7444
  string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
7041
7445
  file: { unit: "\u1794\u17C3", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
@@ -7141,17 +7545,17 @@ var error24 = () => {
7141
7545
  };
7142
7546
  function km_default() {
7143
7547
  return {
7144
- localeError: error24()
7548
+ localeError: error26()
7145
7549
  };
7146
7550
  }
7147
7551
 
7148
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/kh.js
7552
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/kh.js
7149
7553
  function kh_default() {
7150
7554
  return km_default();
7151
7555
  }
7152
7556
 
7153
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ko.js
7154
- var error25 = () => {
7557
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ko.js
7558
+ var error27 = () => {
7155
7559
  const Sizable = {
7156
7560
  string: { unit: "\uBB38\uC790", verb: "to have" },
7157
7561
  file: { unit: "\uBC14\uC774\uD2B8", verb: "to have" },
@@ -7258,11 +7662,11 @@ var error25 = () => {
7258
7662
  };
7259
7663
  function ko_default() {
7260
7664
  return {
7261
- localeError: error25()
7665
+ localeError: error27()
7262
7666
  };
7263
7667
  }
7264
7668
 
7265
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/lt.js
7669
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/lt.js
7266
7670
  var capitalizeFirstCharacter = (text) => {
7267
7671
  return text.charAt(0).toUpperCase() + text.slice(1);
7268
7672
  };
@@ -7276,7 +7680,7 @@ function getUnitTypeFromNumber(number4) {
7276
7680
  return "one";
7277
7681
  return "few";
7278
7682
  }
7279
- var error26 = () => {
7683
+ var error28 = () => {
7280
7684
  const Sizable = {
7281
7685
  string: {
7282
7686
  unit: {
@@ -7462,12 +7866,12 @@ var error26 = () => {
7462
7866
  };
7463
7867
  function lt_default() {
7464
7868
  return {
7465
- localeError: error26()
7869
+ localeError: error28()
7466
7870
  };
7467
7871
  }
7468
7872
 
7469
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/mk.js
7470
- var error27 = () => {
7873
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/mk.js
7874
+ var error29 = () => {
7471
7875
  const Sizable = {
7472
7876
  string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
7473
7877
  file: { unit: "\u0431\u0430\u0458\u0442\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
@@ -7572,12 +7976,12 @@ var error27 = () => {
7572
7976
  };
7573
7977
  function mk_default() {
7574
7978
  return {
7575
- localeError: error27()
7979
+ localeError: error29()
7576
7980
  };
7577
7981
  }
7578
7982
 
7579
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ms.js
7580
- var error28 = () => {
7983
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ms.js
7984
+ var error30 = () => {
7581
7985
  const Sizable = {
7582
7986
  string: { unit: "aksara", verb: "mempunyai" },
7583
7987
  file: { unit: "bait", verb: "mempunyai" },
@@ -7680,12 +8084,12 @@ var error28 = () => {
7680
8084
  };
7681
8085
  function ms_default() {
7682
8086
  return {
7683
- localeError: error28()
8087
+ localeError: error30()
7684
8088
  };
7685
8089
  }
7686
8090
 
7687
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/nl.js
7688
- var error29 = () => {
8091
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/nl.js
8092
+ var error31 = () => {
7689
8093
  const Sizable = {
7690
8094
  string: { unit: "tekens", verb: "heeft" },
7691
8095
  file: { unit: "bytes", verb: "heeft" },
@@ -7791,12 +8195,12 @@ var error29 = () => {
7791
8195
  };
7792
8196
  function nl_default() {
7793
8197
  return {
7794
- localeError: error29()
8198
+ localeError: error31()
7795
8199
  };
7796
8200
  }
7797
8201
 
7798
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/no.js
7799
- var error30 = () => {
8202
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/no.js
8203
+ var error32 = () => {
7800
8204
  const Sizable = {
7801
8205
  string: { unit: "tegn", verb: "\xE5 ha" },
7802
8206
  file: { unit: "bytes", verb: "\xE5 ha" },
@@ -7900,12 +8304,12 @@ var error30 = () => {
7900
8304
  };
7901
8305
  function no_default() {
7902
8306
  return {
7903
- localeError: error30()
8307
+ localeError: error32()
7904
8308
  };
7905
8309
  }
7906
8310
 
7907
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ota.js
7908
- var error31 = () => {
8311
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ota.js
8312
+ var error33 = () => {
7909
8313
  const Sizable = {
7910
8314
  string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
7911
8315
  file: { unit: "bayt", verb: "olmal\u0131d\u0131r" },
@@ -8010,12 +8414,12 @@ var error31 = () => {
8010
8414
  };
8011
8415
  function ota_default() {
8012
8416
  return {
8013
- localeError: error31()
8417
+ localeError: error33()
8014
8418
  };
8015
8419
  }
8016
8420
 
8017
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ps.js
8018
- var error32 = () => {
8421
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ps.js
8422
+ var error34 = () => {
8019
8423
  const Sizable = {
8020
8424
  string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
8021
8425
  file: { unit: "\u0628\u0627\u06CC\u067C\u0633", verb: "\u0648\u0644\u0631\u064A" },
@@ -8125,12 +8529,12 @@ var error32 = () => {
8125
8529
  };
8126
8530
  function ps_default() {
8127
8531
  return {
8128
- localeError: error32()
8532
+ localeError: error34()
8129
8533
  };
8130
8534
  }
8131
8535
 
8132
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pl.js
8133
- var error33 = () => {
8536
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pl.js
8537
+ var error35 = () => {
8134
8538
  const Sizable = {
8135
8539
  string: { unit: "znak\xF3w", verb: "mie\u0107" },
8136
8540
  file: { unit: "bajt\xF3w", verb: "mie\u0107" },
@@ -8235,12 +8639,12 @@ var error33 = () => {
8235
8639
  };
8236
8640
  function pl_default() {
8237
8641
  return {
8238
- localeError: error33()
8642
+ localeError: error35()
8239
8643
  };
8240
8644
  }
8241
8645
 
8242
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pt.js
8243
- var error34 = () => {
8646
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pt.js
8647
+ var error36 = () => {
8244
8648
  const Sizable = {
8245
8649
  string: { unit: "caracteres", verb: "ter" },
8246
8650
  file: { unit: "bytes", verb: "ter" },
@@ -8344,11 +8748,131 @@ var error34 = () => {
8344
8748
  };
8345
8749
  function pt_default() {
8346
8750
  return {
8347
- localeError: error34()
8751
+ localeError: error36()
8752
+ };
8753
+ }
8754
+
8755
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ro.js
8756
+ var error37 = () => {
8757
+ const Sizable = {
8758
+ string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
8759
+ file: { unit: "octe\u021Bi", verb: "s\u0103 aib\u0103" },
8760
+ array: { unit: "elemente", verb: "s\u0103 aib\u0103" },
8761
+ set: { unit: "elemente", verb: "s\u0103 aib\u0103" },
8762
+ map: { unit: "intr\u0103ri", verb: "s\u0103 aib\u0103" }
8763
+ };
8764
+ function getSizing(origin) {
8765
+ return Sizable[origin] ?? null;
8766
+ }
8767
+ const FormatDictionary = {
8768
+ regex: "intrare",
8769
+ email: "adres\u0103 de email",
8770
+ url: "URL",
8771
+ emoji: "emoji",
8772
+ uuid: "UUID",
8773
+ uuidv4: "UUIDv4",
8774
+ uuidv6: "UUIDv6",
8775
+ nanoid: "nanoid",
8776
+ guid: "GUID",
8777
+ cuid: "cuid",
8778
+ cuid2: "cuid2",
8779
+ ulid: "ULID",
8780
+ xid: "XID",
8781
+ ksuid: "KSUID",
8782
+ datetime: "dat\u0103 \u0219i or\u0103 ISO",
8783
+ date: "dat\u0103 ISO",
8784
+ time: "or\u0103 ISO",
8785
+ duration: "durat\u0103 ISO",
8786
+ ipv4: "adres\u0103 IPv4",
8787
+ ipv6: "adres\u0103 IPv6",
8788
+ mac: "adres\u0103 MAC",
8789
+ cidrv4: "interval IPv4",
8790
+ cidrv6: "interval IPv6",
8791
+ base64: "\u0219ir codat base64",
8792
+ base64url: "\u0219ir codat base64url",
8793
+ json_string: "\u0219ir JSON",
8794
+ e164: "num\u0103r E.164",
8795
+ jwt: "JWT",
8796
+ template_literal: "intrare"
8797
+ };
8798
+ const TypeDictionary = {
8799
+ nan: "NaN",
8800
+ string: "\u0219ir",
8801
+ number: "num\u0103r",
8802
+ boolean: "boolean",
8803
+ function: "func\u021Bie",
8804
+ array: "matrice",
8805
+ object: "obiect",
8806
+ undefined: "nedefinit",
8807
+ symbol: "simbol",
8808
+ bigint: "num\u0103r mare",
8809
+ void: "void",
8810
+ never: "never",
8811
+ map: "hart\u0103",
8812
+ set: "set"
8813
+ };
8814
+ return (issue2) => {
8815
+ switch (issue2.code) {
8816
+ case "invalid_type": {
8817
+ const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
8818
+ const receivedType = parsedType(issue2.input);
8819
+ const received = TypeDictionary[receivedType] ?? receivedType;
8820
+ return `Intrare invalid\u0103: a\u0219teptat ${expected}, primit ${received}`;
8821
+ }
8822
+ case "invalid_value":
8823
+ if (issue2.values.length === 1)
8824
+ return `Intrare invalid\u0103: a\u0219teptat ${stringifyPrimitive(issue2.values[0])}`;
8825
+ return `Op\u021Biune invalid\u0103: a\u0219teptat una dintre ${joinValues(issue2.values, "|")}`;
8826
+ case "too_big": {
8827
+ const adj = issue2.inclusive ? "<=" : "<";
8828
+ const sizing = getSizing(issue2.origin);
8829
+ if (sizing)
8830
+ return `Prea mare: a\u0219teptat ca ${issue2.origin ?? "valoarea"} ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemente"}`;
8831
+ return `Prea mare: a\u0219teptat ca ${issue2.origin ?? "valoarea"} s\u0103 fie ${adj}${issue2.maximum.toString()}`;
8832
+ }
8833
+ case "too_small": {
8834
+ const adj = issue2.inclusive ? ">=" : ">";
8835
+ const sizing = getSizing(issue2.origin);
8836
+ if (sizing) {
8837
+ return `Prea mic: a\u0219teptat ca ${issue2.origin} ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
8838
+ }
8839
+ return `Prea mic: a\u0219teptat ca ${issue2.origin} s\u0103 fie ${adj}${issue2.minimum.toString()}`;
8840
+ }
8841
+ case "invalid_format": {
8842
+ const _issue = issue2;
8843
+ if (_issue.format === "starts_with") {
8844
+ return `\u0218ir invalid: trebuie s\u0103 \xEEnceap\u0103 cu "${_issue.prefix}"`;
8845
+ }
8846
+ if (_issue.format === "ends_with")
8847
+ return `\u0218ir invalid: trebuie s\u0103 se termine cu "${_issue.suffix}"`;
8848
+ if (_issue.format === "includes")
8849
+ return `\u0218ir invalid: trebuie s\u0103 includ\u0103 "${_issue.includes}"`;
8850
+ if (_issue.format === "regex")
8851
+ return `\u0218ir invalid: trebuie s\u0103 se potriveasc\u0103 cu modelul ${_issue.pattern}`;
8852
+ return `Format invalid: ${FormatDictionary[_issue.format] ?? issue2.format}`;
8853
+ }
8854
+ case "not_multiple_of":
8855
+ return `Num\u0103r invalid: trebuie s\u0103 fie multiplu de ${issue2.divisor}`;
8856
+ case "unrecognized_keys":
8857
+ return `Chei nerecunoscute: ${joinValues(issue2.keys, ", ")}`;
8858
+ case "invalid_key":
8859
+ return `Cheie invalid\u0103 \xEEn ${issue2.origin}`;
8860
+ case "invalid_union":
8861
+ return "Intrare invalid\u0103";
8862
+ case "invalid_element":
8863
+ return `Valoare invalid\u0103 \xEEn ${issue2.origin}`;
8864
+ default:
8865
+ return `Intrare invalid\u0103`;
8866
+ }
8867
+ };
8868
+ };
8869
+ function ro_default() {
8870
+ return {
8871
+ localeError: error37()
8348
8872
  };
8349
8873
  }
8350
8874
 
8351
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ru.js
8875
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ru.js
8352
8876
  function getRussianPlural(count, one, few, many) {
8353
8877
  const absCount = Math.abs(count);
8354
8878
  const lastDigit = absCount % 10;
@@ -8364,7 +8888,7 @@ function getRussianPlural(count, one, few, many) {
8364
8888
  }
8365
8889
  return many;
8366
8890
  }
8367
- var error35 = () => {
8891
+ var error38 = () => {
8368
8892
  const Sizable = {
8369
8893
  string: {
8370
8894
  unit: {
@@ -8501,12 +9025,12 @@ var error35 = () => {
8501
9025
  };
8502
9026
  function ru_default() {
8503
9027
  return {
8504
- localeError: error35()
9028
+ localeError: error38()
8505
9029
  };
8506
9030
  }
8507
9031
 
8508
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sl.js
8509
- var error36 = () => {
9032
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sl.js
9033
+ var error39 = () => {
8510
9034
  const Sizable = {
8511
9035
  string: { unit: "znakov", verb: "imeti" },
8512
9036
  file: { unit: "bajtov", verb: "imeti" },
@@ -8611,12 +9135,12 @@ var error36 = () => {
8611
9135
  };
8612
9136
  function sl_default() {
8613
9137
  return {
8614
- localeError: error36()
9138
+ localeError: error39()
8615
9139
  };
8616
9140
  }
8617
9141
 
8618
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sv.js
8619
- var error37 = () => {
9142
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sv.js
9143
+ var error40 = () => {
8620
9144
  const Sizable = {
8621
9145
  string: { unit: "tecken", verb: "att ha" },
8622
9146
  file: { unit: "bytes", verb: "att ha" },
@@ -8722,12 +9246,12 @@ var error37 = () => {
8722
9246
  };
8723
9247
  function sv_default() {
8724
9248
  return {
8725
- localeError: error37()
9249
+ localeError: error40()
8726
9250
  };
8727
9251
  }
8728
9252
 
8729
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ta.js
8730
- var error38 = () => {
9253
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ta.js
9254
+ var error41 = () => {
8731
9255
  const Sizable = {
8732
9256
  string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
8733
9257
  file: { unit: "\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
@@ -8833,12 +9357,12 @@ var error38 = () => {
8833
9357
  };
8834
9358
  function ta_default() {
8835
9359
  return {
8836
- localeError: error38()
9360
+ localeError: error41()
8837
9361
  };
8838
9362
  }
8839
9363
 
8840
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/th.js
8841
- var error39 = () => {
9364
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/th.js
9365
+ var error42 = () => {
8842
9366
  const Sizable = {
8843
9367
  string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
8844
9368
  file: { unit: "\u0E44\u0E1A\u0E15\u0E4C", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
@@ -8944,12 +9468,12 @@ var error39 = () => {
8944
9468
  };
8945
9469
  function th_default() {
8946
9470
  return {
8947
- localeError: error39()
9471
+ localeError: error42()
8948
9472
  };
8949
9473
  }
8950
9474
 
8951
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/tr.js
8952
- var error40 = () => {
9475
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/tr.js
9476
+ var error43 = () => {
8953
9477
  const Sizable = {
8954
9478
  string: { unit: "karakter", verb: "olmal\u0131" },
8955
9479
  file: { unit: "bayt", verb: "olmal\u0131" },
@@ -9050,12 +9574,12 @@ var error40 = () => {
9050
9574
  };
9051
9575
  function tr_default() {
9052
9576
  return {
9053
- localeError: error40()
9577
+ localeError: error43()
9054
9578
  };
9055
9579
  }
9056
9580
 
9057
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uk.js
9058
- var error41 = () => {
9581
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uk.js
9582
+ var error44 = () => {
9059
9583
  const Sizable = {
9060
9584
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
9061
9585
  file: { unit: "\u0431\u0430\u0439\u0442\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
@@ -9159,17 +9683,17 @@ var error41 = () => {
9159
9683
  };
9160
9684
  function uk_default() {
9161
9685
  return {
9162
- localeError: error41()
9686
+ localeError: error44()
9163
9687
  };
9164
9688
  }
9165
9689
 
9166
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ua.js
9690
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ua.js
9167
9691
  function ua_default() {
9168
9692
  return uk_default();
9169
9693
  }
9170
9694
 
9171
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ur.js
9172
- var error42 = () => {
9695
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ur.js
9696
+ var error45 = () => {
9173
9697
  const Sizable = {
9174
9698
  string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
9175
9699
  file: { unit: "\u0628\u0627\u0626\u0679\u0633", verb: "\u06C1\u0648\u0646\u0627" },
@@ -9275,17 +9799,18 @@ var error42 = () => {
9275
9799
  };
9276
9800
  function ur_default() {
9277
9801
  return {
9278
- localeError: error42()
9802
+ localeError: error45()
9279
9803
  };
9280
9804
  }
9281
9805
 
9282
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uz.js
9283
- var error43 = () => {
9806
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uz.js
9807
+ var error46 = () => {
9284
9808
  const Sizable = {
9285
9809
  string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
9286
9810
  file: { unit: "bayt", verb: "bo\u2018lishi kerak" },
9287
9811
  array: { unit: "element", verb: "bo\u2018lishi kerak" },
9288
- set: { unit: "element", verb: "bo\u2018lishi kerak" }
9812
+ set: { unit: "element", verb: "bo\u2018lishi kerak" },
9813
+ map: { unit: "yozuv", verb: "bo\u2018lishi kerak" }
9289
9814
  };
9290
9815
  function getSizing(origin) {
9291
9816
  return Sizable[origin] ?? null;
@@ -9385,12 +9910,12 @@ var error43 = () => {
9385
9910
  };
9386
9911
  function uz_default() {
9387
9912
  return {
9388
- localeError: error43()
9913
+ localeError: error46()
9389
9914
  };
9390
9915
  }
9391
9916
 
9392
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/vi.js
9393
- var error44 = () => {
9917
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/vi.js
9918
+ var error47 = () => {
9394
9919
  const Sizable = {
9395
9920
  string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
9396
9921
  file: { unit: "byte", verb: "c\xF3" },
@@ -9494,12 +10019,12 @@ var error44 = () => {
9494
10019
  };
9495
10020
  function vi_default() {
9496
10021
  return {
9497
- localeError: error44()
10022
+ localeError: error47()
9498
10023
  };
9499
10024
  }
9500
10025
 
9501
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-CN.js
9502
- var error45 = () => {
10026
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-CN.js
10027
+ var error48 = () => {
9503
10028
  const Sizable = {
9504
10029
  string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
9505
10030
  file: { unit: "\u5B57\u8282", verb: "\u5305\u542B" },
@@ -9604,12 +10129,12 @@ var error45 = () => {
9604
10129
  };
9605
10130
  function zh_CN_default() {
9606
10131
  return {
9607
- localeError: error45()
10132
+ localeError: error48()
9608
10133
  };
9609
10134
  }
9610
10135
 
9611
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-TW.js
9612
- var error46 = () => {
10136
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-TW.js
10137
+ var error49 = () => {
9613
10138
  const Sizable = {
9614
10139
  string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
9615
10140
  file: { unit: "\u4F4D\u5143\u7D44", verb: "\u64C1\u6709" },
@@ -9712,12 +10237,12 @@ var error46 = () => {
9712
10237
  };
9713
10238
  function zh_TW_default() {
9714
10239
  return {
9715
- localeError: error46()
10240
+ localeError: error49()
9716
10241
  };
9717
10242
  }
9718
10243
 
9719
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/yo.js
9720
- var error47 = () => {
10244
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/yo.js
10245
+ var error50 = () => {
9721
10246
  const Sizable = {
9722
10247
  string: { unit: "\xE0mi", verb: "n\xED" },
9723
10248
  file: { unit: "bytes", verb: "n\xED" },
@@ -9820,12 +10345,12 @@ var error47 = () => {
9820
10345
  };
9821
10346
  function yo_default() {
9822
10347
  return {
9823
- localeError: error47()
10348
+ localeError: error50()
9824
10349
  };
9825
10350
  }
9826
10351
 
9827
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js
9828
- var _a;
10352
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
10353
+ var _a2;
9829
10354
  var $output = /* @__PURE__ */ Symbol("ZodOutput");
9830
10355
  var $input = /* @__PURE__ */ Symbol("ZodInput");
9831
10356
  var $ZodRegistry = class {
@@ -9871,10 +10396,10 @@ var $ZodRegistry = class {
9871
10396
  function registry() {
9872
10397
  return new $ZodRegistry();
9873
10398
  }
9874
- (_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
10399
+ (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
9875
10400
  var globalRegistry = globalThis.__zod_globalRegistry;
9876
10401
 
9877
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js
10402
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
9878
10403
  // @__NO_SIDE_EFFECTS__
9879
10404
  function _string(Class2, params) {
9880
10405
  return new Class2({
@@ -10789,7 +11314,7 @@ function _refine(Class2, fn, _params) {
10789
11314
  return schema;
10790
11315
  }
10791
11316
  // @__NO_SIDE_EFFECTS__
10792
- function _superRefine(fn) {
11317
+ function _superRefine(fn, params) {
10793
11318
  const ch = /* @__PURE__ */ _check((payload) => {
10794
11319
  payload.addIssue = (issue2) => {
10795
11320
  if (typeof issue2 === "string") {
@@ -10806,7 +11331,7 @@ function _superRefine(fn) {
10806
11331
  }
10807
11332
  };
10808
11333
  return fn(payload.value, payload);
10809
- });
11334
+ }, params);
10810
11335
  return ch;
10811
11336
  }
10812
11337
  // @__NO_SIDE_EFFECTS__
@@ -10913,7 +11438,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
10913
11438
  return inst;
10914
11439
  }
10915
11440
 
10916
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js
11441
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
10917
11442
  function initializeContext(params) {
10918
11443
  let target = params?.target ?? "draft-2020-12";
10919
11444
  if (target === "draft-4")
@@ -10936,7 +11461,7 @@ function initializeContext(params) {
10936
11461
  };
10937
11462
  }
10938
11463
  function process(schema, ctx, _params = { path: [], schemaPath: [] }) {
10939
- var _a2;
11464
+ var _a3;
10940
11465
  const def = schema._zod.def;
10941
11466
  const seen = ctx.seen.get(schema);
10942
11467
  if (seen) {
@@ -10983,8 +11508,8 @@ function process(schema, ctx, _params = { path: [], schemaPath: [] }) {
10983
11508
  delete result.schema.examples;
10984
11509
  delete result.schema.default;
10985
11510
  }
10986
- if (ctx.io === "input" && result.schema._prefault)
10987
- (_a2 = result.schema).default ?? (_a2.default = result.schema._prefault);
11511
+ if (ctx.io === "input" && "_prefault" in result.schema)
11512
+ (_a3 = result.schema).default ?? (_a3.default = result.schema._prefault);
10988
11513
  delete result.schema._prefault;
10989
11514
  const _result = ctx.seen.get(schema);
10990
11515
  return _result.schema;
@@ -11165,10 +11690,15 @@ function finalize(ctx, schema) {
11165
11690
  result.$id = ctx.external.uri(id);
11166
11691
  }
11167
11692
  Object.assign(result, root.def ?? root.schema);
11693
+ const rootMetaId = ctx.metadataRegistry.get(schema)?.id;
11694
+ if (rootMetaId !== void 0 && result.id === rootMetaId)
11695
+ delete result.id;
11168
11696
  const defs = ctx.external?.defs ?? {};
11169
11697
  for (const entry of ctx.seen.entries()) {
11170
11698
  const seen = entry[1];
11171
11699
  if (seen.def && seen.defId) {
11700
+ if (seen.def.id === seen.defId)
11701
+ delete seen.def.id;
11172
11702
  defs[seen.defId] = seen.def;
11173
11703
  }
11174
11704
  }
@@ -11224,6 +11754,8 @@ function isTransforming(_schema, _ctx) {
11224
11754
  return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
11225
11755
  }
11226
11756
  if (def.type === "pipe") {
11757
+ if (_schema._zod.traits.has("$ZodCodec"))
11758
+ return true;
11227
11759
  return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
11228
11760
  }
11229
11761
  if (def.type === "object") {
@@ -11265,7 +11797,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
11265
11797
  return finalize(ctx, schema);
11266
11798
  };
11267
11799
 
11268
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js
11800
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
11269
11801
  var formatMap = {
11270
11802
  guid: "uuid",
11271
11803
  url: "uri",
@@ -11313,39 +11845,28 @@ var numberProcessor = (schema, ctx, _json, _params) => {
11313
11845
  json2.type = "integer";
11314
11846
  else
11315
11847
  json2.type = "number";
11316
- if (typeof exclusiveMinimum === "number") {
11317
- if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") {
11848
+ const exMin = typeof exclusiveMinimum === "number" && exclusiveMinimum >= (minimum ?? Number.NEGATIVE_INFINITY);
11849
+ const exMax = typeof exclusiveMaximum === "number" && exclusiveMaximum <= (maximum ?? Number.POSITIVE_INFINITY);
11850
+ const legacy = ctx.target === "draft-04" || ctx.target === "openapi-3.0";
11851
+ if (exMin) {
11852
+ if (legacy) {
11318
11853
  json2.minimum = exclusiveMinimum;
11319
11854
  json2.exclusiveMinimum = true;
11320
11855
  } else {
11321
11856
  json2.exclusiveMinimum = exclusiveMinimum;
11322
11857
  }
11323
- }
11324
- if (typeof minimum === "number") {
11858
+ } else if (typeof minimum === "number") {
11325
11859
  json2.minimum = minimum;
11326
- if (typeof exclusiveMinimum === "number" && ctx.target !== "draft-04") {
11327
- if (exclusiveMinimum >= minimum)
11328
- delete json2.minimum;
11329
- else
11330
- delete json2.exclusiveMinimum;
11331
- }
11332
11860
  }
11333
- if (typeof exclusiveMaximum === "number") {
11334
- if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") {
11861
+ if (exMax) {
11862
+ if (legacy) {
11335
11863
  json2.maximum = exclusiveMaximum;
11336
11864
  json2.exclusiveMaximum = true;
11337
11865
  } else {
11338
11866
  json2.exclusiveMaximum = exclusiveMaximum;
11339
11867
  }
11340
- }
11341
- if (typeof maximum === "number") {
11868
+ } else if (typeof maximum === "number") {
11342
11869
  json2.maximum = maximum;
11343
- if (typeof exclusiveMaximum === "number" && ctx.target !== "draft-04") {
11344
- if (exclusiveMaximum <= maximum)
11345
- delete json2.maximum;
11346
- else
11347
- delete json2.exclusiveMaximum;
11348
- }
11349
11870
  }
11350
11871
  if (typeof multipleOf === "number")
11351
11872
  json2.multipleOf = multipleOf;
@@ -11517,7 +12038,10 @@ var arrayProcessor = (schema, ctx, _json, params) => {
11517
12038
  if (typeof maximum === "number")
11518
12039
  json2.maxItems = maximum;
11519
12040
  json2.type = "array";
11520
- json2.items = process(def.element, ctx, { ...params, path: [...params.path, "items"] });
12041
+ json2.items = process(def.element, ctx, {
12042
+ ...params,
12043
+ path: [...params.path, "items"]
12044
+ });
11521
12045
  };
11522
12046
  var objectProcessor = (schema, ctx, _json, params) => {
11523
12047
  const json2 = _json;
@@ -11710,7 +12234,8 @@ var catchProcessor = (schema, ctx, json2, params) => {
11710
12234
  };
11711
12235
  var pipeProcessor = (schema, ctx, _json, params) => {
11712
12236
  const def = schema._zod.def;
11713
- const innerType = ctx.io === "input" ? def.in._zod.def.type === "transform" ? def.out : def.in : def.out;
12237
+ const inIsTransform = def.in._zod.traits.has("$ZodTransform");
12238
+ const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
11714
12239
  process(innerType, ctx, params);
11715
12240
  const seen = ctx.seen.get(schema);
11716
12241
  seen.ref = innerType;
@@ -11816,7 +12341,7 @@ function toJSONSchema(input, params) {
11816
12341
  return finalize(ctx, input);
11817
12342
  }
11818
12343
 
11819
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-generator.js
12344
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-generator.js
11820
12345
  var JSONSchemaGenerator = class {
11821
12346
  /** @deprecated Access via ctx instead */
11822
12347
  get metadataRegistry() {
@@ -11891,10 +12416,10 @@ var JSONSchemaGenerator = class {
11891
12416
  }
11892
12417
  };
11893
12418
 
11894
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.js
12419
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.js
11895
12420
  var json_schema_exports = {};
11896
12421
 
11897
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
12422
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
11898
12423
  var schemas_exports2 = {};
11899
12424
  __export(schemas_exports2, {
11900
12425
  ZodAny: () => ZodAny,
@@ -11944,6 +12469,7 @@ __export(schemas_exports2, {
11944
12469
  ZodOptional: () => ZodOptional,
11945
12470
  ZodPipe: () => ZodPipe,
11946
12471
  ZodPrefault: () => ZodPrefault,
12472
+ ZodPreprocess: () => ZodPreprocess,
11947
12473
  ZodPromise: () => ZodPromise,
11948
12474
  ZodReadonly: () => ZodReadonly,
11949
12475
  ZodRecord: () => ZodRecord,
@@ -12004,6 +12530,7 @@ __export(schemas_exports2, {
12004
12530
  int32: () => int32,
12005
12531
  int64: () => int64,
12006
12532
  intersection: () => intersection,
12533
+ invertCodec: () => invertCodec,
12007
12534
  ipv4: () => ipv42,
12008
12535
  ipv6: () => ipv62,
12009
12536
  json: () => json,
@@ -12063,7 +12590,7 @@ __export(schemas_exports2, {
12063
12590
  xor: () => xor
12064
12591
  });
12065
12592
 
12066
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/checks.js
12593
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/checks.js
12067
12594
  var checks_exports2 = {};
12068
12595
  __export(checks_exports2, {
12069
12596
  endsWith: () => _endsWith,
@@ -12097,7 +12624,7 @@ __export(checks_exports2, {
12097
12624
  uppercase: () => _uppercase
12098
12625
  });
12099
12626
 
12100
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.js
12627
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
12101
12628
  var iso_exports = {};
12102
12629
  __export(iso_exports, {
12103
12630
  ZodISODate: () => ZodISODate,
@@ -12138,7 +12665,7 @@ function duration2(params) {
12138
12665
  return _isoDuration(ZodISODuration, params);
12139
12666
  }
12140
12667
 
12141
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.js
12668
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
12142
12669
  var initializer2 = (inst, issues) => {
12143
12670
  $ZodError.init(inst, issues);
12144
12671
  inst.name = "ZodError";
@@ -12173,12 +12700,12 @@ var initializer2 = (inst, issues) => {
12173
12700
  }
12174
12701
  });
12175
12702
  };
12176
- var ZodError = $constructor("ZodError", initializer2);
12177
- var ZodRealError = $constructor("ZodError", initializer2, {
12703
+ var ZodError = /* @__PURE__ */ $constructor("ZodError", initializer2);
12704
+ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
12178
12705
  Parent: Error
12179
12706
  });
12180
12707
 
12181
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.js
12708
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
12182
12709
  var parse2 = /* @__PURE__ */ _parse(ZodRealError);
12183
12710
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
12184
12711
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -12192,7 +12719,44 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
12192
12719
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
12193
12720
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
12194
12721
 
12195
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
12722
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
12723
+ var _installedGroups = /* @__PURE__ */ new WeakMap();
12724
+ function _installLazyMethods(inst, group, methods) {
12725
+ const proto = Object.getPrototypeOf(inst);
12726
+ let installed = _installedGroups.get(proto);
12727
+ if (!installed) {
12728
+ installed = /* @__PURE__ */ new Set();
12729
+ _installedGroups.set(proto, installed);
12730
+ }
12731
+ if (installed.has(group))
12732
+ return;
12733
+ installed.add(group);
12734
+ for (const key in methods) {
12735
+ const fn = methods[key];
12736
+ Object.defineProperty(proto, key, {
12737
+ configurable: true,
12738
+ enumerable: false,
12739
+ get() {
12740
+ const bound = fn.bind(this);
12741
+ Object.defineProperty(this, key, {
12742
+ configurable: true,
12743
+ writable: true,
12744
+ enumerable: true,
12745
+ value: bound
12746
+ });
12747
+ return bound;
12748
+ },
12749
+ set(v) {
12750
+ Object.defineProperty(this, key, {
12751
+ configurable: true,
12752
+ writable: true,
12753
+ enumerable: true,
12754
+ value: v
12755
+ });
12756
+ }
12757
+ });
12758
+ }
12759
+ }
12196
12760
  var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
12197
12761
  $ZodType.init(inst, def);
12198
12762
  Object.assign(inst["~standard"], {
@@ -12205,23 +12769,6 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
12205
12769
  inst.def = def;
12206
12770
  inst.type = def.type;
12207
12771
  Object.defineProperty(inst, "_def", { value: def });
12208
- inst.check = (...checks) => {
12209
- return inst.clone(util_exports.mergeDefs(def, {
12210
- checks: [
12211
- ...def.checks ?? [],
12212
- ...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
12213
- ]
12214
- }), {
12215
- parent: true
12216
- });
12217
- };
12218
- inst.with = inst.check;
12219
- inst.clone = (def2, params) => clone(inst, def2, params);
12220
- inst.brand = () => inst;
12221
- inst.register = ((reg, meta3) => {
12222
- reg.add(inst, meta3);
12223
- return inst;
12224
- });
12225
12772
  inst.parse = (data, params) => parse2(inst, data, params, { callee: inst.parse });
12226
12773
  inst.safeParse = (data, params) => safeParse2(inst, data, params);
12227
12774
  inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
@@ -12235,45 +12782,108 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
12235
12782
  inst.safeDecode = (data, params) => safeDecode2(inst, data, params);
12236
12783
  inst.safeEncodeAsync = async (data, params) => safeEncodeAsync2(inst, data, params);
12237
12784
  inst.safeDecodeAsync = async (data, params) => safeDecodeAsync2(inst, data, params);
12238
- inst.refine = (check2, params) => inst.check(refine(check2, params));
12239
- inst.superRefine = (refinement) => inst.check(superRefine(refinement));
12240
- inst.overwrite = (fn) => inst.check(_overwrite(fn));
12241
- inst.optional = () => optional(inst);
12242
- inst.exactOptional = () => exactOptional(inst);
12243
- inst.nullable = () => nullable(inst);
12244
- inst.nullish = () => optional(nullable(inst));
12245
- inst.nonoptional = (params) => nonoptional(inst, params);
12246
- inst.array = () => array(inst);
12247
- inst.or = (arg) => union([inst, arg]);
12248
- inst.and = (arg) => intersection(inst, arg);
12249
- inst.transform = (tx) => pipe(inst, transform(tx));
12250
- inst.default = (def2) => _default2(inst, def2);
12251
- inst.prefault = (def2) => prefault(inst, def2);
12252
- inst.catch = (params) => _catch2(inst, params);
12253
- inst.pipe = (target) => pipe(inst, target);
12254
- inst.readonly = () => readonly(inst);
12255
- inst.describe = (description) => {
12256
- const cl = inst.clone();
12257
- globalRegistry.add(cl, { description });
12258
- return cl;
12259
- };
12785
+ _installLazyMethods(inst, "ZodType", {
12786
+ check(...chks) {
12787
+ const def2 = this.def;
12788
+ return this.clone(util_exports.mergeDefs(def2, {
12789
+ checks: [
12790
+ ...def2.checks ?? [],
12791
+ ...chks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
12792
+ ]
12793
+ }), { parent: true });
12794
+ },
12795
+ with(...chks) {
12796
+ return this.check(...chks);
12797
+ },
12798
+ clone(def2, params) {
12799
+ return clone(this, def2, params);
12800
+ },
12801
+ brand() {
12802
+ return this;
12803
+ },
12804
+ register(reg, meta3) {
12805
+ reg.add(this, meta3);
12806
+ return this;
12807
+ },
12808
+ refine(check2, params) {
12809
+ return this.check(refine(check2, params));
12810
+ },
12811
+ superRefine(refinement, params) {
12812
+ return this.check(superRefine(refinement, params));
12813
+ },
12814
+ overwrite(fn) {
12815
+ return this.check(_overwrite(fn));
12816
+ },
12817
+ optional() {
12818
+ return optional(this);
12819
+ },
12820
+ exactOptional() {
12821
+ return exactOptional(this);
12822
+ },
12823
+ nullable() {
12824
+ return nullable(this);
12825
+ },
12826
+ nullish() {
12827
+ return optional(nullable(this));
12828
+ },
12829
+ nonoptional(params) {
12830
+ return nonoptional(this, params);
12831
+ },
12832
+ array() {
12833
+ return array(this);
12834
+ },
12835
+ or(arg) {
12836
+ return union([this, arg]);
12837
+ },
12838
+ and(arg) {
12839
+ return intersection(this, arg);
12840
+ },
12841
+ transform(tx) {
12842
+ return pipe(this, transform(tx));
12843
+ },
12844
+ default(d) {
12845
+ return _default2(this, d);
12846
+ },
12847
+ prefault(d) {
12848
+ return prefault(this, d);
12849
+ },
12850
+ catch(params) {
12851
+ return _catch2(this, params);
12852
+ },
12853
+ pipe(target) {
12854
+ return pipe(this, target);
12855
+ },
12856
+ readonly() {
12857
+ return readonly(this);
12858
+ },
12859
+ describe(description) {
12860
+ const cl = this.clone();
12861
+ globalRegistry.add(cl, { description });
12862
+ return cl;
12863
+ },
12864
+ meta(...args) {
12865
+ if (args.length === 0)
12866
+ return globalRegistry.get(this);
12867
+ const cl = this.clone();
12868
+ globalRegistry.add(cl, args[0]);
12869
+ return cl;
12870
+ },
12871
+ isOptional() {
12872
+ return this.safeParse(void 0).success;
12873
+ },
12874
+ isNullable() {
12875
+ return this.safeParse(null).success;
12876
+ },
12877
+ apply(fn) {
12878
+ return fn(this);
12879
+ }
12880
+ });
12260
12881
  Object.defineProperty(inst, "description", {
12261
12882
  get() {
12262
12883
  return globalRegistry.get(inst)?.description;
12263
12884
  },
12264
12885
  configurable: true
12265
12886
  });
12266
- inst.meta = (...args) => {
12267
- if (args.length === 0) {
12268
- return globalRegistry.get(inst);
12269
- }
12270
- const cl = inst.clone();
12271
- globalRegistry.add(cl, args[0]);
12272
- return cl;
12273
- };
12274
- inst.isOptional = () => inst.safeParse(void 0).success;
12275
- inst.isNullable = () => inst.safeParse(null).success;
12276
- inst.apply = (fn) => fn(inst);
12277
12887
  return inst;
12278
12888
  });
12279
12889
  var _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
@@ -12284,21 +12894,53 @@ var _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
12284
12894
  inst.format = bag.format ?? null;
12285
12895
  inst.minLength = bag.minimum ?? null;
12286
12896
  inst.maxLength = bag.maximum ?? null;
12287
- inst.regex = (...args) => inst.check(_regex(...args));
12288
- inst.includes = (...args) => inst.check(_includes(...args));
12289
- inst.startsWith = (...args) => inst.check(_startsWith(...args));
12290
- inst.endsWith = (...args) => inst.check(_endsWith(...args));
12291
- inst.min = (...args) => inst.check(_minLength(...args));
12292
- inst.max = (...args) => inst.check(_maxLength(...args));
12293
- inst.length = (...args) => inst.check(_length(...args));
12294
- inst.nonempty = (...args) => inst.check(_minLength(1, ...args));
12295
- inst.lowercase = (params) => inst.check(_lowercase(params));
12296
- inst.uppercase = (params) => inst.check(_uppercase(params));
12297
- inst.trim = () => inst.check(_trim());
12298
- inst.normalize = (...args) => inst.check(_normalize(...args));
12299
- inst.toLowerCase = () => inst.check(_toLowerCase());
12300
- inst.toUpperCase = () => inst.check(_toUpperCase());
12301
- inst.slugify = () => inst.check(_slugify());
12897
+ _installLazyMethods(inst, "_ZodString", {
12898
+ regex(...args) {
12899
+ return this.check(_regex(...args));
12900
+ },
12901
+ includes(...args) {
12902
+ return this.check(_includes(...args));
12903
+ },
12904
+ startsWith(...args) {
12905
+ return this.check(_startsWith(...args));
12906
+ },
12907
+ endsWith(...args) {
12908
+ return this.check(_endsWith(...args));
12909
+ },
12910
+ min(...args) {
12911
+ return this.check(_minLength(...args));
12912
+ },
12913
+ max(...args) {
12914
+ return this.check(_maxLength(...args));
12915
+ },
12916
+ length(...args) {
12917
+ return this.check(_length(...args));
12918
+ },
12919
+ nonempty(...args) {
12920
+ return this.check(_minLength(1, ...args));
12921
+ },
12922
+ lowercase(params) {
12923
+ return this.check(_lowercase(params));
12924
+ },
12925
+ uppercase(params) {
12926
+ return this.check(_uppercase(params));
12927
+ },
12928
+ trim() {
12929
+ return this.check(_trim());
12930
+ },
12931
+ normalize(...args) {
12932
+ return this.check(_normalize(...args));
12933
+ },
12934
+ toLowerCase() {
12935
+ return this.check(_toLowerCase());
12936
+ },
12937
+ toUpperCase() {
12938
+ return this.check(_toUpperCase());
12939
+ },
12940
+ slugify() {
12941
+ return this.check(_slugify());
12942
+ }
12943
+ });
12302
12944
  });
12303
12945
  var ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
12304
12946
  $ZodString.init(inst, def);
@@ -12377,7 +13019,7 @@ function url(params) {
12377
13019
  }
12378
13020
  function httpUrl(params) {
12379
13021
  return _url(ZodURL, {
12380
- protocol: /^https?$/,
13022
+ protocol: regexes_exports.httpProtocol,
12381
13023
  hostname: regexes_exports.domain,
12382
13024
  ...util_exports.normalizeParams(params)
12383
13025
  });
@@ -12519,21 +13161,53 @@ var ZodNumber = /* @__PURE__ */ $constructor("ZodNumber", (inst, def) => {
12519
13161
  $ZodNumber.init(inst, def);
12520
13162
  ZodType.init(inst, def);
12521
13163
  inst._zod.processJSONSchema = (ctx, json2, params) => numberProcessor(inst, ctx, json2, params);
12522
- inst.gt = (value, params) => inst.check(_gt(value, params));
12523
- inst.gte = (value, params) => inst.check(_gte(value, params));
12524
- inst.min = (value, params) => inst.check(_gte(value, params));
12525
- inst.lt = (value, params) => inst.check(_lt(value, params));
12526
- inst.lte = (value, params) => inst.check(_lte(value, params));
12527
- inst.max = (value, params) => inst.check(_lte(value, params));
12528
- inst.int = (params) => inst.check(int(params));
12529
- inst.safe = (params) => inst.check(int(params));
12530
- inst.positive = (params) => inst.check(_gt(0, params));
12531
- inst.nonnegative = (params) => inst.check(_gte(0, params));
12532
- inst.negative = (params) => inst.check(_lt(0, params));
12533
- inst.nonpositive = (params) => inst.check(_lte(0, params));
12534
- inst.multipleOf = (value, params) => inst.check(_multipleOf(value, params));
12535
- inst.step = (value, params) => inst.check(_multipleOf(value, params));
12536
- inst.finite = () => inst;
13164
+ _installLazyMethods(inst, "ZodNumber", {
13165
+ gt(value, params) {
13166
+ return this.check(_gt(value, params));
13167
+ },
13168
+ gte(value, params) {
13169
+ return this.check(_gte(value, params));
13170
+ },
13171
+ min(value, params) {
13172
+ return this.check(_gte(value, params));
13173
+ },
13174
+ lt(value, params) {
13175
+ return this.check(_lt(value, params));
13176
+ },
13177
+ lte(value, params) {
13178
+ return this.check(_lte(value, params));
13179
+ },
13180
+ max(value, params) {
13181
+ return this.check(_lte(value, params));
13182
+ },
13183
+ int(params) {
13184
+ return this.check(int(params));
13185
+ },
13186
+ safe(params) {
13187
+ return this.check(int(params));
13188
+ },
13189
+ positive(params) {
13190
+ return this.check(_gt(0, params));
13191
+ },
13192
+ nonnegative(params) {
13193
+ return this.check(_gte(0, params));
13194
+ },
13195
+ negative(params) {
13196
+ return this.check(_lt(0, params));
13197
+ },
13198
+ nonpositive(params) {
13199
+ return this.check(_lte(0, params));
13200
+ },
13201
+ multipleOf(value, params) {
13202
+ return this.check(_multipleOf(value, params));
13203
+ },
13204
+ step(value, params) {
13205
+ return this.check(_multipleOf(value, params));
13206
+ },
13207
+ finite() {
13208
+ return this;
13209
+ }
13210
+ });
12537
13211
  const bag = inst._zod.bag;
12538
13212
  inst.minValue = Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
12539
13213
  inst.maxValue = Math.min(bag.maximum ?? Number.POSITIVE_INFINITY, bag.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null;
@@ -12680,11 +13354,23 @@ var ZodArray = /* @__PURE__ */ $constructor("ZodArray", (inst, def) => {
12680
13354
  ZodType.init(inst, def);
12681
13355
  inst._zod.processJSONSchema = (ctx, json2, params) => arrayProcessor(inst, ctx, json2, params);
12682
13356
  inst.element = def.element;
12683
- inst.min = (minLength, params) => inst.check(_minLength(minLength, params));
12684
- inst.nonempty = (params) => inst.check(_minLength(1, params));
12685
- inst.max = (maxLength, params) => inst.check(_maxLength(maxLength, params));
12686
- inst.length = (len, params) => inst.check(_length(len, params));
12687
- inst.unwrap = () => inst.element;
13357
+ _installLazyMethods(inst, "ZodArray", {
13358
+ min(n, params) {
13359
+ return this.check(_minLength(n, params));
13360
+ },
13361
+ nonempty(params) {
13362
+ return this.check(_minLength(1, params));
13363
+ },
13364
+ max(n, params) {
13365
+ return this.check(_maxLength(n, params));
13366
+ },
13367
+ length(n, params) {
13368
+ return this.check(_length(n, params));
13369
+ },
13370
+ unwrap() {
13371
+ return this.element;
13372
+ }
13373
+ });
12688
13374
  });
12689
13375
  function array(element, params) {
12690
13376
  return _array(ZodArray, element, params);
@@ -12700,23 +13386,47 @@ var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
12700
13386
  util_exports.defineLazy(inst, "shape", () => {
12701
13387
  return def.shape;
12702
13388
  });
12703
- inst.keyof = () => _enum2(Object.keys(inst._zod.def.shape));
12704
- inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall });
12705
- inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
12706
- inst.loose = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
12707
- inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
12708
- inst.strip = () => inst.clone({ ...inst._zod.def, catchall: void 0 });
12709
- inst.extend = (incoming) => {
12710
- return util_exports.extend(inst, incoming);
12711
- };
12712
- inst.safeExtend = (incoming) => {
12713
- return util_exports.safeExtend(inst, incoming);
12714
- };
12715
- inst.merge = (other) => util_exports.merge(inst, other);
12716
- inst.pick = (mask) => util_exports.pick(inst, mask);
12717
- inst.omit = (mask) => util_exports.omit(inst, mask);
12718
- inst.partial = (...args) => util_exports.partial(ZodOptional, inst, args[0]);
12719
- inst.required = (...args) => util_exports.required(ZodNonOptional, inst, args[0]);
13389
+ _installLazyMethods(inst, "ZodObject", {
13390
+ keyof() {
13391
+ return _enum2(Object.keys(this._zod.def.shape));
13392
+ },
13393
+ catchall(catchall) {
13394
+ return this.clone({ ...this._zod.def, catchall });
13395
+ },
13396
+ passthrough() {
13397
+ return this.clone({ ...this._zod.def, catchall: unknown() });
13398
+ },
13399
+ loose() {
13400
+ return this.clone({ ...this._zod.def, catchall: unknown() });
13401
+ },
13402
+ strict() {
13403
+ return this.clone({ ...this._zod.def, catchall: never() });
13404
+ },
13405
+ strip() {
13406
+ return this.clone({ ...this._zod.def, catchall: void 0 });
13407
+ },
13408
+ extend(incoming) {
13409
+ return util_exports.extend(this, incoming);
13410
+ },
13411
+ safeExtend(incoming) {
13412
+ return util_exports.safeExtend(this, incoming);
13413
+ },
13414
+ merge(other) {
13415
+ return util_exports.merge(this, other);
13416
+ },
13417
+ pick(mask) {
13418
+ return util_exports.pick(this, mask);
13419
+ },
13420
+ omit(mask) {
13421
+ return util_exports.omit(this, mask);
13422
+ },
13423
+ partial(...args) {
13424
+ return util_exports.partial(ZodOptional, this, args[0]);
13425
+ },
13426
+ required(...args) {
13427
+ return util_exports.required(ZodNonOptional, this, args[0]);
13428
+ }
13429
+ });
12720
13430
  });
12721
13431
  function object(shape, params) {
12722
13432
  const def = {
@@ -12821,6 +13531,14 @@ var ZodRecord = /* @__PURE__ */ $constructor("ZodRecord", (inst, def) => {
12821
13531
  inst.valueType = def.valueType;
12822
13532
  });
12823
13533
  function record(keyType, valueType, params) {
13534
+ if (!valueType || !valueType._zod) {
13535
+ return new ZodRecord({
13536
+ type: "record",
13537
+ keyType: string2(),
13538
+ valueType: keyType,
13539
+ ...util_exports.normalizeParams(valueType)
13540
+ });
13541
+ }
12824
13542
  return new ZodRecord({
12825
13543
  type: "record",
12826
13544
  keyType,
@@ -12992,10 +13710,12 @@ var ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) => {
12992
13710
  if (output instanceof Promise) {
12993
13711
  return output.then((output2) => {
12994
13712
  payload.value = output2;
13713
+ payload.fallback = true;
12995
13714
  return payload;
12996
13715
  });
12997
13716
  }
12998
13717
  payload.value = output;
13718
+ payload.fallback = true;
12999
13719
  return payload;
13000
13720
  };
13001
13721
  });
@@ -13150,6 +13870,20 @@ function codec(in_, out, params) {
13150
13870
  reverseTransform: params.encode
13151
13871
  });
13152
13872
  }
13873
+ function invertCodec(codec2) {
13874
+ const def = codec2._zod.def;
13875
+ return new ZodCodec({
13876
+ type: "pipe",
13877
+ in: def.out,
13878
+ out: def.in,
13879
+ transform: def.reverseTransform,
13880
+ reverseTransform: def.transform
13881
+ });
13882
+ }
13883
+ var ZodPreprocess = /* @__PURE__ */ $constructor("ZodPreprocess", (inst, def) => {
13884
+ ZodPipe.init(inst, def);
13885
+ $ZodPreprocess.init(inst, def);
13886
+ });
13153
13887
  var ZodReadonly = /* @__PURE__ */ $constructor("ZodReadonly", (inst, def) => {
13154
13888
  $ZodReadonly.init(inst, def);
13155
13889
  ZodType.init(inst, def);
@@ -13229,8 +13963,8 @@ function custom(fn, _params) {
13229
13963
  function refine(fn, _params = {}) {
13230
13964
  return _refine(ZodCustom, fn, _params);
13231
13965
  }
13232
- function superRefine(fn) {
13233
- return _superRefine(fn);
13966
+ function superRefine(fn, params) {
13967
+ return _superRefine(fn, params);
13234
13968
  }
13235
13969
  var describe2 = describe;
13236
13970
  var meta2 = meta;
@@ -13268,10 +14002,14 @@ function json(params) {
13268
14002
  return jsonSchema;
13269
14003
  }
13270
14004
  function preprocess(fn, schema) {
13271
- return pipe(transform(fn), schema);
14005
+ return new ZodPreprocess({
14006
+ type: "pipe",
14007
+ in: transform(fn),
14008
+ out: schema
14009
+ });
13272
14010
  }
13273
14011
 
13274
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/compat.js
14012
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.js
13275
14013
  var ZodIssueCode = {
13276
14014
  invalid_type: "invalid_type",
13277
14015
  too_big: "too_big",
@@ -13297,7 +14035,7 @@ var ZodFirstPartyTypeKind;
13297
14035
  /* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
13298
14036
  })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
13299
14037
 
13300
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/from-json-schema.js
14038
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/from-json-schema.js
13301
14039
  var z = {
13302
14040
  ...schemas_exports2,
13303
14041
  ...checks_exports2,
@@ -13689,12 +14427,6 @@ function convertBaseSchema(schema, ctx) {
13689
14427
  default:
13690
14428
  throw new Error(`Unsupported type: ${type}`);
13691
14429
  }
13692
- if (schema.description) {
13693
- zodSchema = zodSchema.describe(schema.description);
13694
- }
13695
- if (schema.default !== void 0) {
13696
- zodSchema = zodSchema.default(schema.default);
13697
- }
13698
14430
  return zodSchema;
13699
14431
  }
13700
14432
  function convertSchema(schema, ctx) {
@@ -13731,6 +14463,9 @@ function convertSchema(schema, ctx) {
13731
14463
  if (schema.readOnly === true) {
13732
14464
  baseSchema = z.readonly(baseSchema);
13733
14465
  }
14466
+ if (schema.default !== void 0) {
14467
+ baseSchema = baseSchema.default(schema.default);
14468
+ }
13734
14469
  const extraMeta = {};
13735
14470
  const coreMetadataKeys = ["$id", "id", "$comment", "$anchor", "$vocabulary", "$dynamicRef", "$dynamicAnchor"];
13736
14471
  for (const key of coreMetadataKeys) {
@@ -13752,26 +14487,35 @@ function convertSchema(schema, ctx) {
13752
14487
  if (Object.keys(extraMeta).length > 0) {
13753
14488
  ctx.registry.add(baseSchema, extraMeta);
13754
14489
  }
14490
+ if (schema.description) {
14491
+ baseSchema = baseSchema.describe(schema.description);
14492
+ }
13755
14493
  return baseSchema;
13756
14494
  }
13757
14495
  function fromJSONSchema(schema, params) {
13758
14496
  if (typeof schema === "boolean") {
13759
14497
  return schema ? z.any() : z.never();
13760
14498
  }
13761
- const version2 = detectVersion(schema, params?.defaultTarget);
13762
- const defs = schema.$defs || schema.definitions || {};
14499
+ let normalized;
14500
+ try {
14501
+ normalized = JSON.parse(JSON.stringify(schema));
14502
+ } catch {
14503
+ throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
14504
+ }
14505
+ const version2 = detectVersion(normalized, params?.defaultTarget);
14506
+ const defs = normalized.$defs || normalized.definitions || {};
13763
14507
  const ctx = {
13764
14508
  version: version2,
13765
14509
  defs,
13766
14510
  refs: /* @__PURE__ */ new Map(),
13767
14511
  processing: /* @__PURE__ */ new Set(),
13768
- rootSchema: schema,
14512
+ rootSchema: normalized,
13769
14513
  registry: params?.registry ?? globalRegistry
13770
14514
  };
13771
- return convertSchema(schema, ctx);
14515
+ return convertSchema(normalized, ctx);
13772
14516
  }
13773
14517
 
13774
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/coerce.js
14518
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/coerce.js
13775
14519
  var coerce_exports = {};
13776
14520
  __export(coerce_exports, {
13777
14521
  bigint: () => bigint3,
@@ -13796,7 +14540,7 @@ function date4(params) {
13796
14540
  return _coercedDate(ZodDate, params);
13797
14541
  }
13798
14542
 
13799
- // node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/external.js
14543
+ // node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
13800
14544
  config(en_default());
13801
14545
 
13802
14546
  // src/core/payment-info.ts
@@ -13836,7 +14580,6 @@ var LegacyPaymentInfoSchema = external_exports.object({
13836
14580
  minPrice: external_exports.string().optional(),
13837
14581
  maxPrice: external_exports.string().optional(),
13838
14582
  protocols: external_exports.array(external_exports.string()).optional(),
13839
- // RFC §4.4 spec fields
13840
14583
  intent: external_exports.string().optional(),
13841
14584
  method: external_exports.string().optional(),
13842
14585
  amount: external_exports.union([external_exports.string(), external_exports.null()]).optional(),
@@ -13857,9 +14600,8 @@ var OpenApiOperationSchema = external_exports.object({
13857
14600
  description: external_exports.string().optional(),
13858
14601
  tags: external_exports.array(external_exports.string()).optional(),
13859
14602
  security: external_exports.array(external_exports.record(external_exports.string(), external_exports.array(external_exports.string()))).optional(),
13860
- // `in` / `name` are spec-required, but a single malformed parameter must not
13861
- // abort the whole spec keep them optional so discovery is resilient to
13862
- // non-conformant OpenAPI documents in the wild.
14603
+ // `in` / `name` are spec-required but kept optional so a single malformed
14604
+ // parameter cannot abort parsing of an otherwise-valid spec.
13863
14605
  parameters: external_exports.array(
13864
14606
  external_exports.object({
13865
14607
  in: external_exports.string().optional(),
@@ -13873,7 +14615,6 @@ var OpenApiOperationSchema = external_exports.object({
13873
14615
  content: external_exports.record(external_exports.string(), external_exports.object({ schema: external_exports.unknown().optional() }))
13874
14616
  }).optional(),
13875
14617
  responses: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
13876
- // Permissive: vendor extension shape is validated at runtime, never at parse time.
13877
14618
  "x-payment-info": external_exports.unknown().optional()
13878
14619
  });
13879
14620
  var OpenApiPathItemSchema = external_exports.object({
@@ -13887,7 +14628,6 @@ var OpenApiPathItemSchema = external_exports.object({
13887
14628
  trace: OpenApiOperationSchema.optional()
13888
14629
  });
13889
14630
  var OpenApiDocSchema = external_exports.object({
13890
- // TODO(zdql): We should inherit a canonical OpenAPI schema and then extend with our types.
13891
14631
  openapi: external_exports.string(),
13892
14632
  info: external_exports.object({
13893
14633
  title: external_exports.string(),
@@ -13903,24 +14643,6 @@ var OpenApiDocSchema = external_exports.object({
13903
14643
  "x-discovery": external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
13904
14644
  paths: external_exports.record(external_exports.string(), OpenApiPathItemSchema)
13905
14645
  });
13906
- var WellKnownDocSchema = external_exports.object({
13907
- version: external_exports.number().optional(),
13908
- resources: external_exports.array(external_exports.string()).default([]),
13909
- mppResources: external_exports.array(external_exports.string()).optional(),
13910
- description: external_exports.string().optional(),
13911
- ownershipProofs: external_exports.array(external_exports.string()).optional(),
13912
- instructions: external_exports.string().optional()
13913
- });
13914
- var WellKnownParsedSchema = external_exports.object({
13915
- routes: external_exports.array(
13916
- external_exports.object({
13917
- path: external_exports.string(),
13918
- method: external_exports.enum(["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS", "TRACE"]),
13919
- price: external_exports.string().optional()
13920
- })
13921
- ),
13922
- instructions: external_exports.string().optional()
13923
- });
13924
14646
  // Annotate the CommonJS export names for ESM import in node:
13925
14647
  0 && (module.exports = {
13926
14648
  LegacyPaymentInfoSchema,
@@ -13928,7 +14650,5 @@ var WellKnownParsedSchema = external_exports.object({
13928
14650
  OpenApiOperationSchema,
13929
14651
  OpenApiPathItemSchema,
13930
14652
  OpenApiPaymentInfoSchema,
13931
- StructuredPaymentInfoSchema,
13932
- WellKnownDocSchema,
13933
- WellKnownParsedSchema
14653
+ StructuredPaymentInfoSchema
13934
14654
  });