alchemy 0.43.0 → 0.43.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +1 -1
  2. package/bin/alchemy.mjs +508 -316
  3. package/lib/alchemy.d.ts.map +1 -1
  4. package/lib/alchemy.js +8 -2
  5. package/lib/alchemy.js.map +1 -1
  6. package/lib/build-date.d.ts +1 -1
  7. package/lib/build-date.js +1 -1
  8. package/lib/cloudflare/astro.d.ts +1 -1
  9. package/lib/cloudflare/astro.d.ts.map +1 -1
  10. package/lib/cloudflare/astro.js +1 -1
  11. package/lib/cloudflare/astro.js.map +1 -1
  12. package/lib/cloudflare/bundle/bundle-worker-dev.d.ts +1 -0
  13. package/lib/cloudflare/bundle/bundle-worker-dev.d.ts.map +1 -1
  14. package/lib/cloudflare/bundle/bundle-worker-dev.js +2 -3
  15. package/lib/cloudflare/bundle/bundle-worker-dev.js.map +1 -1
  16. package/lib/cloudflare/bundle/bundle-worker.d.ts +1 -0
  17. package/lib/cloudflare/bundle/bundle-worker.d.ts.map +1 -1
  18. package/lib/cloudflare/bundle/bundle-worker.js +2 -3
  19. package/lib/cloudflare/bundle/bundle-worker.js.map +1 -1
  20. package/lib/cloudflare/website.d.ts.map +1 -1
  21. package/lib/cloudflare/website.js +10 -22
  22. package/lib/cloudflare/website.js.map +1 -1
  23. package/lib/cloudflare/worker/http-server.d.ts.map +1 -1
  24. package/lib/cloudflare/worker/http-server.js +2 -1
  25. package/lib/cloudflare/worker/http-server.js.map +1 -1
  26. package/lib/cloudflare/worker/miniflare.d.ts +1 -0
  27. package/lib/cloudflare/worker/miniflare.d.ts.map +1 -1
  28. package/lib/cloudflare/worker/miniflare.js +2 -1
  29. package/lib/cloudflare/worker/miniflare.js.map +1 -1
  30. package/lib/cloudflare/worker.d.ts +11 -1
  31. package/lib/cloudflare/worker.d.ts.map +1 -1
  32. package/lib/cloudflare/worker.js +30 -15
  33. package/lib/cloudflare/worker.js.map +1 -1
  34. package/lib/cloudflare/wrangler.json.d.ts +1 -1
  35. package/lib/cloudflare/wrangler.json.d.ts.map +1 -1
  36. package/lib/cloudflare/wrangler.json.js +28 -10
  37. package/lib/cloudflare/wrangler.json.js.map +1 -1
  38. package/lib/internal/docs/providers.js +2 -0
  39. package/lib/internal/docs/providers.js.map +1 -1
  40. package/lib/os/exec.d.ts +15 -1
  41. package/lib/os/exec.d.ts.map +1 -1
  42. package/lib/os/exec.js +30 -3
  43. package/lib/os/exec.js.map +1 -1
  44. package/lib/scope.d.ts.map +1 -1
  45. package/lib/scope.js +4 -1
  46. package/lib/scope.js.map +1 -1
  47. package/lib/util/deferred-promise.d.ts.map +1 -1
  48. package/lib/util/deferred-promise.js +2 -1
  49. package/lib/util/deferred-promise.js.map +1 -1
  50. package/lib/util/promise-with-resolvers.d.ts +14 -0
  51. package/lib/util/promise-with-resolvers.d.ts.map +1 -0
  52. package/lib/util/promise-with-resolvers.js +19 -0
  53. package/lib/util/promise-with-resolvers.js.map +1 -0
  54. package/package.json +4 -3
  55. package/src/alchemy.ts +8 -2
  56. package/src/build-date.ts +1 -1
  57. package/src/cloudflare/astro.ts +1 -1
  58. package/src/cloudflare/bundle/bundle-worker-dev.ts +3 -4
  59. package/src/cloudflare/bundle/bundle-worker.ts +3 -4
  60. package/src/cloudflare/website.ts +13 -30
  61. package/src/cloudflare/worker/http-server.ts +2 -1
  62. package/src/cloudflare/worker/miniflare.ts +5 -1
  63. package/src/cloudflare/worker.ts +56 -27
  64. package/src/cloudflare/wrangler.json.ts +40 -11
  65. package/src/internal/docs/providers.ts +2 -0
  66. package/src/os/exec.ts +32 -4
  67. package/src/scope.ts +5 -1
  68. package/src/util/deferred-promise.ts +3 -1
  69. package/src/util/promise-with-resolvers.ts +30 -0
package/bin/alchemy.mjs CHANGED
@@ -5116,14 +5116,17 @@ var require_logging = __commonJS({
5116
5116
  }
5117
5117
  });
5118
5118
 
5119
- // ../node_modules/zod/dist/cjs/v4/core/core.js
5119
+ // ../node_modules/zod/v4/core/core.cjs
5120
5120
  var require_core = __commonJS({
5121
- "../node_modules/zod/dist/cjs/v4/core/core.js"(exports2) {
5121
+ "../node_modules/zod/v4/core/core.cjs"(exports2) {
5122
5122
  "use strict";
5123
5123
  Object.defineProperty(exports2, "__esModule", { value: true });
5124
- exports2.globalConfig = exports2.$ZodAsyncError = exports2.$brand = void 0;
5124
+ exports2.globalConfig = exports2.$ZodAsyncError = exports2.$brand = exports2.NEVER = void 0;
5125
5125
  exports2.$constructor = $constructor;
5126
5126
  exports2.config = config;
5127
+ exports2.NEVER = Object.freeze({
5128
+ status: "aborted"
5129
+ });
5127
5130
  function $constructor(name, initializer, params2) {
5128
5131
  function init(inst, def) {
5129
5132
  var _a;
@@ -5182,9 +5185,9 @@ var require_core = __commonJS({
5182
5185
  }
5183
5186
  });
5184
5187
 
5185
- // ../node_modules/zod/dist/cjs/v4/core/util.js
5188
+ // ../node_modules/zod/v4/core/util.cjs
5186
5189
  var require_util = __commonJS({
5187
- "../node_modules/zod/dist/cjs/v4/core/util.js"(exports2) {
5190
+ "../node_modules/zod/v4/core/util.cjs"(exports2) {
5188
5191
  "use strict";
5189
5192
  Object.defineProperty(exports2, "__esModule", { value: true });
5190
5193
  exports2.Class = exports2.BIGINT_FORMAT_RANGES = exports2.NUMBER_FORMAT_RANGES = exports2.primitiveTypes = exports2.propertyKeyTypes = exports2.getParsedType = exports2.allowsEval = exports2.captureStackTrace = void 0;
@@ -5542,6 +5545,9 @@ var require_util = __commonJS({
5542
5545
  });
5543
5546
  }
5544
5547
  function extend(schema, shape) {
5548
+ if (!isPlainObject2(shape)) {
5549
+ throw new Error("Invalid input to extend: expected a plain object");
5550
+ }
5545
5551
  const def = {
5546
5552
  ...schema._zod.def,
5547
5553
  get shape() {
@@ -5628,7 +5634,7 @@ var require_util = __commonJS({
5628
5634
  }
5629
5635
  function aborted2(x2, startIndex = 0) {
5630
5636
  for (let i2 = startIndex; i2 < x2.issues.length; i2++) {
5631
- if (x2.issues[i2].continue !== true)
5637
+ if (x2.issues[i2]?.continue !== true)
5632
5638
  return true;
5633
5639
  }
5634
5640
  return false;
@@ -5698,9 +5704,9 @@ var require_util = __commonJS({
5698
5704
  }
5699
5705
  });
5700
5706
 
5701
- // ../node_modules/zod/dist/cjs/v4/core/errors.js
5707
+ // ../node_modules/zod/v4/core/errors.cjs
5702
5708
  var require_errors2 = __commonJS({
5703
- "../node_modules/zod/dist/cjs/v4/core/errors.js"(exports2) {
5709
+ "../node_modules/zod/v4/core/errors.cjs"(exports2) {
5704
5710
  "use strict";
5705
5711
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
5706
5712
  if (k22 === void 0) k22 = k3;
@@ -5882,9 +5888,9 @@ var require_errors2 = __commonJS({
5882
5888
  }
5883
5889
  });
5884
5890
 
5885
- // ../node_modules/zod/dist/cjs/v4/core/parse.js
5891
+ // ../node_modules/zod/v4/core/parse.cjs
5886
5892
  var require_parse = __commonJS({
5887
- "../node_modules/zod/dist/cjs/v4/core/parse.js"(exports2) {
5893
+ "../node_modules/zod/v4/core/parse.cjs"(exports2) {
5888
5894
  "use strict";
5889
5895
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
5890
5896
  if (k22 === void 0) k22 = k3;
@@ -5975,9 +5981,9 @@ var require_parse = __commonJS({
5975
5981
  }
5976
5982
  });
5977
5983
 
5978
- // ../node_modules/zod/dist/cjs/v4/core/regexes.js
5984
+ // ../node_modules/zod/v4/core/regexes.cjs
5979
5985
  var require_regexes = __commonJS({
5980
- "../node_modules/zod/dist/cjs/v4/core/regexes.js"(exports2) {
5986
+ "../node_modules/zod/v4/core/regexes.cjs"(exports2) {
5981
5987
  "use strict";
5982
5988
  Object.defineProperty(exports2, "__esModule", { value: true });
5983
5989
  exports2.uppercase = exports2.lowercase = exports2.undefined = exports2.null = exports2.boolean = exports2.number = exports2.integer = exports2.bigint = exports2.string = exports2.date = exports2.e164 = exports2.domain = exports2.hostname = exports2.base64url = exports2.base64 = exports2.cidrv6 = exports2.cidrv4 = exports2.ipv6 = exports2.ipv4 = exports2._emoji = exports2.browserEmail = exports2.unicodeEmail = exports2.rfc5322Email = exports2.html5Email = exports2.email = exports2.uuid7 = exports2.uuid6 = exports2.uuid4 = exports2.uuid = exports2.guid = exports2.extendedDuration = exports2.duration = exports2.nanoid = exports2.ksuid = exports2.xid = exports2.ulid = exports2.cuid2 = exports2.cuid = void 0;
@@ -6058,9 +6064,9 @@ var require_regexes = __commonJS({
6058
6064
  }
6059
6065
  });
6060
6066
 
6061
- // ../node_modules/zod/dist/cjs/v4/core/checks.js
6067
+ // ../node_modules/zod/v4/core/checks.cjs
6062
6068
  var require_checks = __commonJS({
6063
- "../node_modules/zod/dist/cjs/v4/core/checks.js"(exports2) {
6069
+ "../node_modules/zod/v4/core/checks.cjs"(exports2) {
6064
6070
  "use strict";
6065
6071
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
6066
6072
  if (k22 === void 0) k22 = k3;
@@ -6363,6 +6369,8 @@ var require_checks = __commonJS({
6363
6369
  payload.issues.push({
6364
6370
  origin: util2.getSizableOrigin(input2),
6365
6371
  ...tooBig ? { code: "too_big", maximum: def.size } : { code: "too_small", minimum: def.size },
6372
+ inclusive: true,
6373
+ exact: true,
6366
6374
  input: payload.value,
6367
6375
  inst,
6368
6376
  continue: !def.abort
@@ -6447,6 +6455,8 @@ var require_checks = __commonJS({
6447
6455
  payload.issues.push({
6448
6456
  origin,
6449
6457
  ...tooBig ? { code: "too_big", maximum: def.length } : { code: "too_small", minimum: def.length },
6458
+ inclusive: true,
6459
+ exact: true,
6450
6460
  input: payload.value,
6451
6461
  inst,
6452
6462
  continue: !def.abort
@@ -6454,7 +6464,7 @@ var require_checks = __commonJS({
6454
6464
  };
6455
6465
  });
6456
6466
  exports2.$ZodCheckStringFormat = core.$constructor("$ZodCheckStringFormat", (inst, def) => {
6457
- var _a;
6467
+ var _a, _b;
6458
6468
  exports2.$ZodCheck.init(inst, def);
6459
6469
  inst._zod.onattach.push((inst2) => {
6460
6470
  const bag = inst2._zod.bag;
@@ -6464,22 +6474,24 @@ var require_checks = __commonJS({
6464
6474
  bag.patterns.add(def.pattern);
6465
6475
  }
6466
6476
  });
6467
- (_a = inst._zod).check ?? (_a.check = (payload) => {
6468
- if (!def.pattern)
6469
- throw new Error("Not implemented.");
6470
- def.pattern.lastIndex = 0;
6471
- if (def.pattern.test(payload.value))
6472
- return;
6473
- payload.issues.push({
6474
- origin: "string",
6475
- code: "invalid_format",
6476
- format: def.format,
6477
- input: payload.value,
6478
- ...def.pattern ? { pattern: def.pattern.toString() } : {},
6479
- inst,
6480
- continue: !def.abort
6477
+ if (def.pattern)
6478
+ (_a = inst._zod).check ?? (_a.check = (payload) => {
6479
+ def.pattern.lastIndex = 0;
6480
+ if (def.pattern.test(payload.value))
6481
+ return;
6482
+ payload.issues.push({
6483
+ origin: "string",
6484
+ code: "invalid_format",
6485
+ format: def.format,
6486
+ input: payload.value,
6487
+ ...def.pattern ? { pattern: def.pattern.toString() } : {},
6488
+ inst,
6489
+ continue: !def.abort
6490
+ });
6491
+ });
6492
+ else
6493
+ (_b = inst._zod).check ?? (_b.check = () => {
6481
6494
  });
6482
- });
6483
6495
  });
6484
6496
  exports2.$ZodCheckRegex = core.$constructor("$ZodCheckRegex", (inst, def) => {
6485
6497
  exports2.$ZodCheckStringFormat.init(inst, def);
@@ -6621,9 +6633,9 @@ var require_checks = __commonJS({
6621
6633
  }
6622
6634
  });
6623
6635
 
6624
- // ../node_modules/zod/dist/cjs/v4/core/doc.js
6636
+ // ../node_modules/zod/v4/core/doc.cjs
6625
6637
  var require_doc = __commonJS({
6626
- "../node_modules/zod/dist/cjs/v4/core/doc.js"(exports2) {
6638
+ "../node_modules/zod/v4/core/doc.cjs"(exports2) {
6627
6639
  "use strict";
6628
6640
  Object.defineProperty(exports2, "__esModule", { value: true });
6629
6641
  exports2.Doc = void 0;
@@ -6665,9 +6677,9 @@ var require_doc = __commonJS({
6665
6677
  }
6666
6678
  });
6667
6679
 
6668
- // ../node_modules/zod/dist/cjs/v4/core/versions.js
6680
+ // ../node_modules/zod/v4/core/versions.cjs
6669
6681
  var require_versions = __commonJS({
6670
- "../node_modules/zod/dist/cjs/v4/core/versions.js"(exports2) {
6682
+ "../node_modules/zod/v4/core/versions.cjs"(exports2) {
6671
6683
  "use strict";
6672
6684
  Object.defineProperty(exports2, "__esModule", { value: true });
6673
6685
  exports2.version = void 0;
@@ -6679,9 +6691,9 @@ var require_versions = __commonJS({
6679
6691
  }
6680
6692
  });
6681
6693
 
6682
- // ../node_modules/zod/dist/cjs/v4/core/schemas.js
6694
+ // ../node_modules/zod/v4/core/schemas.cjs
6683
6695
  var require_schemas = __commonJS({
6684
- "../node_modules/zod/dist/cjs/v4/core/schemas.js"(exports2) {
6696
+ "../node_modules/zod/v4/core/schemas.cjs"(exports2) {
6685
6697
  "use strict";
6686
6698
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
6687
6699
  if (k22 === void 0) k22 = k3;
@@ -6711,8 +6723,8 @@ var require_schemas = __commonJS({
6711
6723
  return result2;
6712
6724
  };
6713
6725
  Object.defineProperty(exports2, "__esModule", { value: true });
6714
- exports2.$ZodEnum = exports2.$ZodSet = exports2.$ZodMap = exports2.$ZodRecord = exports2.$ZodTuple = exports2.$ZodIntersection = exports2.$ZodDiscriminatedUnion = exports2.$ZodUnion = exports2.$ZodObject = exports2.$ZodArray = exports2.$ZodDate = exports2.$ZodVoid = exports2.$ZodNever = exports2.$ZodUnknown = exports2.$ZodAny = exports2.$ZodNull = exports2.$ZodUndefined = exports2.$ZodSymbol = exports2.$ZodBigIntFormat = exports2.$ZodBigInt = exports2.$ZodBoolean = exports2.$ZodNumberFormat = exports2.$ZodNumber = exports2.$ZodJWT = exports2.$ZodE164 = exports2.$ZodBase64URL = exports2.$ZodBase64 = exports2.$ZodCIDRv6 = exports2.$ZodCIDRv4 = exports2.$ZodIPv6 = exports2.$ZodIPv4 = exports2.$ZodISODuration = exports2.$ZodISOTime = exports2.$ZodISODate = exports2.$ZodISODateTime = exports2.$ZodKSUID = exports2.$ZodXID = exports2.$ZodULID = exports2.$ZodCUID2 = exports2.$ZodCUID = exports2.$ZodNanoID = exports2.$ZodEmoji = exports2.$ZodURL = exports2.$ZodEmail = exports2.$ZodUUID = exports2.$ZodGUID = exports2.$ZodStringFormat = exports2.$ZodString = exports2.clone = exports2.$ZodType = void 0;
6715
- exports2.$ZodCustom = exports2.$ZodLazy = exports2.$ZodPromise = exports2.$ZodTemplateLiteral = exports2.$ZodReadonly = exports2.$ZodPipe = exports2.$ZodNaN = exports2.$ZodCatch = exports2.$ZodSuccess = exports2.$ZodNonOptional = exports2.$ZodPrefault = exports2.$ZodDefault = exports2.$ZodNullable = exports2.$ZodOptional = exports2.$ZodTransform = exports2.$ZodFile = exports2.$ZodLiteral = void 0;
6726
+ exports2.$ZodSet = exports2.$ZodMap = exports2.$ZodRecord = exports2.$ZodTuple = exports2.$ZodIntersection = exports2.$ZodDiscriminatedUnion = exports2.$ZodUnion = exports2.$ZodObject = exports2.$ZodArray = exports2.$ZodDate = exports2.$ZodVoid = exports2.$ZodNever = exports2.$ZodUnknown = exports2.$ZodAny = exports2.$ZodNull = exports2.$ZodUndefined = exports2.$ZodSymbol = exports2.$ZodBigIntFormat = exports2.$ZodBigInt = exports2.$ZodBoolean = exports2.$ZodNumberFormat = exports2.$ZodNumber = exports2.$ZodCustomStringFormat = exports2.$ZodJWT = exports2.$ZodE164 = exports2.$ZodBase64URL = exports2.$ZodBase64 = exports2.$ZodCIDRv6 = exports2.$ZodCIDRv4 = exports2.$ZodIPv6 = exports2.$ZodIPv4 = exports2.$ZodISODuration = exports2.$ZodISOTime = exports2.$ZodISODate = exports2.$ZodISODateTime = exports2.$ZodKSUID = exports2.$ZodXID = exports2.$ZodULID = exports2.$ZodCUID2 = exports2.$ZodCUID = exports2.$ZodNanoID = exports2.$ZodEmoji = exports2.$ZodURL = exports2.$ZodEmail = exports2.$ZodUUID = exports2.$ZodGUID = exports2.$ZodStringFormat = exports2.$ZodString = exports2.clone = exports2.$ZodType = void 0;
6727
+ exports2.$ZodCustom = exports2.$ZodLazy = exports2.$ZodPromise = exports2.$ZodTemplateLiteral = exports2.$ZodReadonly = exports2.$ZodPipe = exports2.$ZodNaN = exports2.$ZodCatch = exports2.$ZodSuccess = exports2.$ZodNonOptional = exports2.$ZodPrefault = exports2.$ZodDefault = exports2.$ZodNullable = exports2.$ZodOptional = exports2.$ZodTransform = exports2.$ZodFile = exports2.$ZodLiteral = exports2.$ZodEnum = void 0;
6716
6728
  exports2.isValidBase64 = isValidBase64;
6717
6729
  exports2.isValidBase64URL = isValidBase64URL;
6718
6730
  exports2.isValidJWT = isValidJWT2;
@@ -6940,7 +6952,6 @@ var require_schemas = __commonJS({
6940
6952
  exports2.$ZodISODateTime = core.$constructor("$ZodISODateTime", (inst, def) => {
6941
6953
  def.pattern ?? (def.pattern = regexes.datetime(def));
6942
6954
  exports2.$ZodStringFormat.init(inst, def);
6943
- const _super = inst._zod.check;
6944
6955
  });
6945
6956
  exports2.$ZodISODate = core.$constructor("$ZodISODate", (inst, def) => {
6946
6957
  def.pattern ?? (def.pattern = regexes.date);
@@ -6949,7 +6960,6 @@ var require_schemas = __commonJS({
6949
6960
  exports2.$ZodISOTime = core.$constructor("$ZodISOTime", (inst, def) => {
6950
6961
  def.pattern ?? (def.pattern = regexes.time(def));
6951
6962
  exports2.$ZodStringFormat.init(inst, def);
6952
- const _super = inst._zod.check;
6953
6963
  });
6954
6964
  exports2.$ZodISODuration = core.$constructor("$ZodISODuration", (inst, def) => {
6955
6965
  def.pattern ?? (def.pattern = regexes.duration);
@@ -7078,6 +7088,8 @@ var require_schemas = __commonJS({
7078
7088
  if (tokensParts.length !== 3)
7079
7089
  return false;
7080
7090
  const [header] = tokensParts;
7091
+ if (!header)
7092
+ return false;
7081
7093
  const parsedHeader = JSON.parse(atob(header));
7082
7094
  if ("typ" in parsedHeader && parsedHeader?.typ !== "JWT")
7083
7095
  return false;
@@ -7104,6 +7116,20 @@ var require_schemas = __commonJS({
7104
7116
  });
7105
7117
  };
7106
7118
  });
7119
+ exports2.$ZodCustomStringFormat = core.$constructor("$ZodCustomStringFormat", (inst, def) => {
7120
+ exports2.$ZodStringFormat.init(inst, def);
7121
+ inst._zod.check = (payload) => {
7122
+ if (def.fn(payload.value))
7123
+ return;
7124
+ payload.issues.push({
7125
+ code: "invalid_format",
7126
+ format: def.format,
7127
+ input: payload.value,
7128
+ inst,
7129
+ continue: !def.abort
7130
+ });
7131
+ };
7132
+ });
7107
7133
  exports2.$ZodNumber = core.$constructor("$ZodNumber", (inst, def) => {
7108
7134
  exports2.$ZodType.init(inst, def);
7109
7135
  inst._zod.pattern = inst._zod.bag.pattern ?? regexes.number;
@@ -7162,13 +7188,12 @@ var require_schemas = __commonJS({
7162
7188
  payload.value = BigInt(payload.value);
7163
7189
  } catch (_3) {
7164
7190
  }
7165
- const { value: input2 } = payload;
7166
- if (typeof input2 === "bigint")
7191
+ if (typeof payload.value === "bigint")
7167
7192
  return payload;
7168
7193
  payload.issues.push({
7169
7194
  expected: "bigint",
7170
7195
  code: "invalid_type",
7171
- input: input2,
7196
+ input: payload.value,
7172
7197
  inst
7173
7198
  });
7174
7199
  return payload;
@@ -7181,7 +7206,7 @@ var require_schemas = __commonJS({
7181
7206
  exports2.$ZodSymbol = core.$constructor("$ZodSymbol", (inst, def) => {
7182
7207
  exports2.$ZodType.init(inst, def);
7183
7208
  inst._zod.parse = (payload, _ctx) => {
7184
- const { value: input2 } = payload;
7209
+ const input2 = payload.value;
7185
7210
  if (typeof input2 === "symbol")
7186
7211
  return payload;
7187
7212
  payload.issues.push({
@@ -7198,7 +7223,7 @@ var require_schemas = __commonJS({
7198
7223
  inst._zod.pattern = regexes.undefined;
7199
7224
  inst._zod.values = /* @__PURE__ */ new Set([void 0]);
7200
7225
  inst._zod.parse = (payload, _ctx) => {
7201
- const { value: input2 } = payload;
7226
+ const input2 = payload.value;
7202
7227
  if (typeof input2 === "undefined")
7203
7228
  return payload;
7204
7229
  payload.issues.push({
@@ -7215,7 +7240,7 @@ var require_schemas = __commonJS({
7215
7240
  inst._zod.pattern = regexes.null;
7216
7241
  inst._zod.values = /* @__PURE__ */ new Set([null]);
7217
7242
  inst._zod.parse = (payload, _ctx) => {
7218
- const { value: input2 } = payload;
7243
+ const input2 = payload.value;
7219
7244
  if (input2 === null)
7220
7245
  return payload;
7221
7246
  payload.issues.push({
@@ -7250,7 +7275,7 @@ var require_schemas = __commonJS({
7250
7275
  exports2.$ZodVoid = core.$constructor("$ZodVoid", (inst, def) => {
7251
7276
  exports2.$ZodType.init(inst, def);
7252
7277
  inst._zod.parse = (payload, _ctx) => {
7253
- const { value: input2 } = payload;
7278
+ const input2 = payload.value;
7254
7279
  if (typeof input2 === "undefined")
7255
7280
  return payload;
7256
7281
  payload.issues.push({
@@ -7382,19 +7407,19 @@ var require_schemas = __commonJS({
7382
7407
  });
7383
7408
  const generateFastpass = (shape) => {
7384
7409
  const doc = new doc_js_1.Doc(["shape", "payload", "ctx"]);
7385
- const { keys, optionalKeys } = _normalized.value;
7410
+ const normalized = _normalized.value;
7386
7411
  const parseStr = (key) => {
7387
7412
  const k3 = util2.esc(key);
7388
7413
  return `shape[${k3}]._zod.run({ value: input[${k3}], issues: [] }, ctx)`;
7389
7414
  };
7390
7415
  doc.write(`const input = payload.value;`);
7391
7416
  const ids = /* @__PURE__ */ Object.create(null);
7392
- for (const key of keys) {
7417
+ for (const key of normalized.keys) {
7393
7418
  ids[key] = util2.randomString(15);
7394
7419
  }
7395
7420
  doc.write(`const newResult = {}`);
7396
- for (const key of keys) {
7397
- if (optionalKeys.has(key)) {
7421
+ for (const key of normalized.keys) {
7422
+ if (normalized.optionalKeys.has(key)) {
7398
7423
  const id = ids[key];
7399
7424
  doc.write(`const ${id} = ${parseStr(key)};`);
7400
7425
  const k3 = util2.esc(key);
@@ -7439,7 +7464,7 @@ var require_schemas = __commonJS({
7439
7464
  const jit = !core.globalConfig.jitless;
7440
7465
  const allowsEval = util2.allowsEval;
7441
7466
  const fastEnabled = jit && allowsEval.value;
7442
- const { catchall } = def;
7467
+ const catchall = def.catchall;
7443
7468
  let value;
7444
7469
  inst._zod.parse = (payload, ctx) => {
7445
7470
  value ?? (value = _normalized.value);
@@ -7631,7 +7656,7 @@ var require_schemas = __commonJS({
7631
7656
  exports2.$ZodIntersection = core.$constructor("$ZodIntersection", (inst, def) => {
7632
7657
  exports2.$ZodType.init(inst, def);
7633
7658
  inst._zod.parse = (payload, ctx) => {
7634
- const { value: input2 } = payload;
7659
+ const input2 = payload.value;
7635
7660
  const left = def.left._zod.run({ value: input2, issues: [] }, ctx);
7636
7661
  const right = def.right._zod.run({ value: input2, issues: [] }, ctx);
7637
7662
  const async = left instanceof Promise || right instanceof Promise;
@@ -8045,6 +8070,9 @@ var require_schemas = __commonJS({
8045
8070
  return pattern ? new RegExp(`^(${util2.cleanRegex(pattern.source)})?$`) : void 0;
8046
8071
  });
8047
8072
  inst._zod.parse = (payload, ctx) => {
8073
+ if (def.innerType._zod.optin === "optional") {
8074
+ return def.innerType._zod.run(payload, ctx);
8075
+ }
8048
8076
  if (payload.value === void 0) {
8049
8077
  return payload;
8050
8078
  }
@@ -8327,9 +8355,9 @@ var require_schemas = __commonJS({
8327
8355
  }
8328
8356
  });
8329
8357
 
8330
- // ../node_modules/zod/dist/cjs/v4/locales/ar.js
8358
+ // ../node_modules/zod/v4/locales/ar.cjs
8331
8359
  var require_ar = __commonJS({
8332
- "../node_modules/zod/dist/cjs/v4/locales/ar.js"(exports2) {
8360
+ "../node_modules/zod/v4/locales/ar.cjs"(exports2) {
8333
8361
  "use strict";
8334
8362
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
8335
8363
  if (k22 === void 0) k22 = k3;
@@ -8479,9 +8507,9 @@ var require_ar = __commonJS({
8479
8507
  }
8480
8508
  });
8481
8509
 
8482
- // ../node_modules/zod/dist/cjs/v4/locales/az.js
8510
+ // ../node_modules/zod/v4/locales/az.cjs
8483
8511
  var require_az = __commonJS({
8484
- "../node_modules/zod/dist/cjs/v4/locales/az.js"(exports2) {
8512
+ "../node_modules/zod/v4/locales/az.cjs"(exports2) {
8485
8513
  "use strict";
8486
8514
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
8487
8515
  if (k22 === void 0) k22 = k3;
@@ -8630,9 +8658,9 @@ var require_az = __commonJS({
8630
8658
  }
8631
8659
  });
8632
8660
 
8633
- // ../node_modules/zod/dist/cjs/v4/locales/be.js
8661
+ // ../node_modules/zod/v4/locales/be.cjs
8634
8662
  var require_be = __commonJS({
8635
- "../node_modules/zod/dist/cjs/v4/locales/be.js"(exports2) {
8663
+ "../node_modules/zod/v4/locales/be.cjs"(exports2) {
8636
8664
  "use strict";
8637
8665
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
8638
8666
  if (k22 === void 0) k22 = k3;
@@ -8830,9 +8858,9 @@ var require_be = __commonJS({
8830
8858
  }
8831
8859
  });
8832
8860
 
8833
- // ../node_modules/zod/dist/cjs/v4/locales/ca.js
8861
+ // ../node_modules/zod/v4/locales/ca.cjs
8834
8862
  var require_ca = __commonJS({
8835
- "../node_modules/zod/dist/cjs/v4/locales/ca.js"(exports2) {
8863
+ "../node_modules/zod/v4/locales/ca.cjs"(exports2) {
8836
8864
  "use strict";
8837
8865
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
8838
8866
  if (k22 === void 0) k22 = k3;
@@ -8985,9 +9013,9 @@ var require_ca = __commonJS({
8985
9013
  }
8986
9014
  });
8987
9015
 
8988
- // ../node_modules/zod/dist/cjs/v4/locales/cs.js
9016
+ // ../node_modules/zod/v4/locales/cs.cjs
8989
9017
  var require_cs = __commonJS({
8990
- "../node_modules/zod/dist/cjs/v4/locales/cs.js"(exports2) {
9018
+ "../node_modules/zod/v4/locales/cs.cjs"(exports2) {
8991
9019
  "use strict";
8992
9020
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
8993
9021
  if (k22 === void 0) k22 = k3;
@@ -9156,9 +9184,9 @@ var require_cs = __commonJS({
9156
9184
  }
9157
9185
  });
9158
9186
 
9159
- // ../node_modules/zod/dist/cjs/v4/locales/de.js
9187
+ // ../node_modules/zod/v4/locales/de.cjs
9160
9188
  var require_de = __commonJS({
9161
- "../node_modules/zod/dist/cjs/v4/locales/de.js"(exports2) {
9189
+ "../node_modules/zod/v4/locales/de.cjs"(exports2) {
9162
9190
  "use strict";
9163
9191
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
9164
9192
  if (k22 === void 0) k22 = k3;
@@ -9308,9 +9336,9 @@ var require_de = __commonJS({
9308
9336
  }
9309
9337
  });
9310
9338
 
9311
- // ../node_modules/zod/dist/cjs/v4/locales/en.js
9339
+ // ../node_modules/zod/v4/locales/en.cjs
9312
9340
  var require_en = __commonJS({
9313
- "../node_modules/zod/dist/cjs/v4/locales/en.js"(exports2) {
9341
+ "../node_modules/zod/v4/locales/en.cjs"(exports2) {
9314
9342
  "use strict";
9315
9343
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
9316
9344
  if (k22 === void 0) k22 = k3;
@@ -9463,9 +9491,9 @@ var require_en = __commonJS({
9463
9491
  }
9464
9492
  });
9465
9493
 
9466
- // ../node_modules/zod/dist/cjs/v4/locales/es.js
9494
+ // ../node_modules/zod/v4/locales/es.cjs
9467
9495
  var require_es = __commonJS({
9468
- "../node_modules/zod/dist/cjs/v4/locales/es.js"(exports2) {
9496
+ "../node_modules/zod/v4/locales/es.cjs"(exports2) {
9469
9497
  "use strict";
9470
9498
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
9471
9499
  if (k22 === void 0) k22 = k3;
@@ -9616,9 +9644,9 @@ var require_es = __commonJS({
9616
9644
  }
9617
9645
  });
9618
9646
 
9619
- // ../node_modules/zod/dist/cjs/v4/locales/fa.js
9647
+ // ../node_modules/zod/v4/locales/fa.cjs
9620
9648
  var require_fa = __commonJS({
9621
- "../node_modules/zod/dist/cjs/v4/locales/fa.js"(exports2) {
9649
+ "../node_modules/zod/v4/locales/fa.cjs"(exports2) {
9622
9650
  "use strict";
9623
9651
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
9624
9652
  if (k22 === void 0) k22 = k3;
@@ -9774,9 +9802,9 @@ var require_fa = __commonJS({
9774
9802
  }
9775
9803
  });
9776
9804
 
9777
- // ../node_modules/zod/dist/cjs/v4/locales/fi.js
9805
+ // ../node_modules/zod/v4/locales/fi.cjs
9778
9806
  var require_fi = __commonJS({
9779
- "../node_modules/zod/dist/cjs/v4/locales/fi.js"(exports2) {
9807
+ "../node_modules/zod/v4/locales/fi.cjs"(exports2) {
9780
9808
  "use strict";
9781
9809
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
9782
9810
  if (k22 === void 0) k22 = k3;
@@ -9932,9 +9960,9 @@ var require_fi = __commonJS({
9932
9960
  }
9933
9961
  });
9934
9962
 
9935
- // ../node_modules/zod/dist/cjs/v4/locales/fr.js
9963
+ // ../node_modules/zod/v4/locales/fr.cjs
9936
9964
  var require_fr = __commonJS({
9937
- "../node_modules/zod/dist/cjs/v4/locales/fr.js"(exports2) {
9965
+ "../node_modules/zod/v4/locales/fr.cjs"(exports2) {
9938
9966
  "use strict";
9939
9967
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
9940
9968
  if (k22 === void 0) k22 = k3;
@@ -10084,9 +10112,9 @@ var require_fr = __commonJS({
10084
10112
  }
10085
10113
  });
10086
10114
 
10087
- // ../node_modules/zod/dist/cjs/v4/locales/fr-CA.js
10115
+ // ../node_modules/zod/v4/locales/fr-CA.cjs
10088
10116
  var require_fr_CA = __commonJS({
10089
- "../node_modules/zod/dist/cjs/v4/locales/fr-CA.js"(exports2) {
10117
+ "../node_modules/zod/v4/locales/fr-CA.cjs"(exports2) {
10090
10118
  "use strict";
10091
10119
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
10092
10120
  if (k22 === void 0) k22 = k3;
@@ -10237,9 +10265,9 @@ var require_fr_CA = __commonJS({
10237
10265
  }
10238
10266
  });
10239
10267
 
10240
- // ../node_modules/zod/dist/cjs/v4/locales/he.js
10268
+ // ../node_modules/zod/v4/locales/he.cjs
10241
10269
  var require_he = __commonJS({
10242
- "../node_modules/zod/dist/cjs/v4/locales/he.js"(exports2) {
10270
+ "../node_modules/zod/v4/locales/he.cjs"(exports2) {
10243
10271
  "use strict";
10244
10272
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
10245
10273
  if (k22 === void 0) k22 = k3;
@@ -10390,9 +10418,9 @@ var require_he = __commonJS({
10390
10418
  }
10391
10419
  });
10392
10420
 
10393
- // ../node_modules/zod/dist/cjs/v4/locales/hu.js
10421
+ // ../node_modules/zod/v4/locales/hu.cjs
10394
10422
  var require_hu = __commonJS({
10395
- "../node_modules/zod/dist/cjs/v4/locales/hu.js"(exports2) {
10423
+ "../node_modules/zod/v4/locales/hu.cjs"(exports2) {
10396
10424
  "use strict";
10397
10425
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
10398
10426
  if (k22 === void 0) k22 = k3;
@@ -10543,9 +10571,9 @@ var require_hu = __commonJS({
10543
10571
  }
10544
10572
  });
10545
10573
 
10546
- // ../node_modules/zod/dist/cjs/v4/locales/id.js
10574
+ // ../node_modules/zod/v4/locales/id.cjs
10547
10575
  var require_id = __commonJS({
10548
- "../node_modules/zod/dist/cjs/v4/locales/id.js"(exports2) {
10576
+ "../node_modules/zod/v4/locales/id.cjs"(exports2) {
10549
10577
  "use strict";
10550
10578
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
10551
10579
  if (k22 === void 0) k22 = k3;
@@ -10695,9 +10723,9 @@ var require_id = __commonJS({
10695
10723
  }
10696
10724
  });
10697
10725
 
10698
- // ../node_modules/zod/dist/cjs/v4/locales/it.js
10726
+ // ../node_modules/zod/v4/locales/it.cjs
10699
10727
  var require_it = __commonJS({
10700
- "../node_modules/zod/dist/cjs/v4/locales/it.js"(exports2) {
10728
+ "../node_modules/zod/v4/locales/it.cjs"(exports2) {
10701
10729
  "use strict";
10702
10730
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
10703
10731
  if (k22 === void 0) k22 = k3;
@@ -10848,9 +10876,9 @@ var require_it = __commonJS({
10848
10876
  }
10849
10877
  });
10850
10878
 
10851
- // ../node_modules/zod/dist/cjs/v4/locales/ja.js
10879
+ // ../node_modules/zod/v4/locales/ja.cjs
10852
10880
  var require_ja = __commonJS({
10853
- "../node_modules/zod/dist/cjs/v4/locales/ja.js"(exports2) {
10881
+ "../node_modules/zod/v4/locales/ja.cjs"(exports2) {
10854
10882
  "use strict";
10855
10883
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
10856
10884
  if (k22 === void 0) k22 = k3;
@@ -10999,9 +11027,9 @@ var require_ja = __commonJS({
10999
11027
  }
11000
11028
  });
11001
11029
 
11002
- // ../node_modules/zod/dist/cjs/v4/locales/kh.js
11030
+ // ../node_modules/zod/v4/locales/kh.cjs
11003
11031
  var require_kh = __commonJS({
11004
- "../node_modules/zod/dist/cjs/v4/locales/kh.js"(exports2) {
11032
+ "../node_modules/zod/v4/locales/kh.cjs"(exports2) {
11005
11033
  "use strict";
11006
11034
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
11007
11035
  if (k22 === void 0) k22 = k3;
@@ -11152,9 +11180,9 @@ var require_kh = __commonJS({
11152
11180
  }
11153
11181
  });
11154
11182
 
11155
- // ../node_modules/zod/dist/cjs/v4/locales/ko.js
11183
+ // ../node_modules/zod/v4/locales/ko.cjs
11156
11184
  var require_ko = __commonJS({
11157
- "../node_modules/zod/dist/cjs/v4/locales/ko.js"(exports2) {
11185
+ "../node_modules/zod/v4/locales/ko.cjs"(exports2) {
11158
11186
  "use strict";
11159
11187
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
11160
11188
  if (k22 === void 0) k22 = k3;
@@ -11309,9 +11337,9 @@ var require_ko = __commonJS({
11309
11337
  }
11310
11338
  });
11311
11339
 
11312
- // ../node_modules/zod/dist/cjs/v4/locales/mk.js
11340
+ // ../node_modules/zod/v4/locales/mk.cjs
11313
11341
  var require_mk = __commonJS({
11314
- "../node_modules/zod/dist/cjs/v4/locales/mk.js"(exports2) {
11342
+ "../node_modules/zod/v4/locales/mk.cjs"(exports2) {
11315
11343
  "use strict";
11316
11344
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
11317
11345
  if (k22 === void 0) k22 = k3;
@@ -11463,9 +11491,9 @@ var require_mk = __commonJS({
11463
11491
  }
11464
11492
  });
11465
11493
 
11466
- // ../node_modules/zod/dist/cjs/v4/locales/ms.js
11494
+ // ../node_modules/zod/v4/locales/ms.cjs
11467
11495
  var require_ms = __commonJS({
11468
- "../node_modules/zod/dist/cjs/v4/locales/ms.js"(exports2) {
11496
+ "../node_modules/zod/v4/locales/ms.cjs"(exports2) {
11469
11497
  "use strict";
11470
11498
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
11471
11499
  if (k22 === void 0) k22 = k3;
@@ -11615,9 +11643,9 @@ var require_ms = __commonJS({
11615
11643
  }
11616
11644
  });
11617
11645
 
11618
- // ../node_modules/zod/dist/cjs/v4/locales/nl.js
11646
+ // ../node_modules/zod/v4/locales/nl.cjs
11619
11647
  var require_nl = __commonJS({
11620
- "../node_modules/zod/dist/cjs/v4/locales/nl.js"(exports2) {
11648
+ "../node_modules/zod/v4/locales/nl.cjs"(exports2) {
11621
11649
  "use strict";
11622
11650
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
11623
11651
  if (k22 === void 0) k22 = k3;
@@ -11768,9 +11796,9 @@ var require_nl = __commonJS({
11768
11796
  }
11769
11797
  });
11770
11798
 
11771
- // ../node_modules/zod/dist/cjs/v4/locales/no.js
11799
+ // ../node_modules/zod/v4/locales/no.cjs
11772
11800
  var require_no = __commonJS({
11773
- "../node_modules/zod/dist/cjs/v4/locales/no.js"(exports2) {
11801
+ "../node_modules/zod/v4/locales/no.cjs"(exports2) {
11774
11802
  "use strict";
11775
11803
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
11776
11804
  if (k22 === void 0) k22 = k3;
@@ -11920,9 +11948,9 @@ var require_no = __commonJS({
11920
11948
  }
11921
11949
  });
11922
11950
 
11923
- // ../node_modules/zod/dist/cjs/v4/locales/ota.js
11951
+ // ../node_modules/zod/v4/locales/ota.cjs
11924
11952
  var require_ota = __commonJS({
11925
- "../node_modules/zod/dist/cjs/v4/locales/ota.js"(exports2) {
11953
+ "../node_modules/zod/v4/locales/ota.cjs"(exports2) {
11926
11954
  "use strict";
11927
11955
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
11928
11956
  if (k22 === void 0) k22 = k3;
@@ -12073,9 +12101,9 @@ var require_ota = __commonJS({
12073
12101
  }
12074
12102
  });
12075
12103
 
12076
- // ../node_modules/zod/dist/cjs/v4/locales/ps.js
12104
+ // ../node_modules/zod/v4/locales/ps.cjs
12077
12105
  var require_ps = __commonJS({
12078
- "../node_modules/zod/dist/cjs/v4/locales/ps.js"(exports2) {
12106
+ "../node_modules/zod/v4/locales/ps.cjs"(exports2) {
12079
12107
  "use strict";
12080
12108
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
12081
12109
  if (k22 === void 0) k22 = k3;
@@ -12231,9 +12259,9 @@ var require_ps = __commonJS({
12231
12259
  }
12232
12260
  });
12233
12261
 
12234
- // ../node_modules/zod/dist/cjs/v4/locales/pl.js
12262
+ // ../node_modules/zod/v4/locales/pl.cjs
12235
12263
  var require_pl = __commonJS({
12236
- "../node_modules/zod/dist/cjs/v4/locales/pl.js"(exports2) {
12264
+ "../node_modules/zod/v4/locales/pl.cjs"(exports2) {
12237
12265
  "use strict";
12238
12266
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
12239
12267
  if (k22 === void 0) k22 = k3;
@@ -12384,9 +12412,9 @@ var require_pl = __commonJS({
12384
12412
  }
12385
12413
  });
12386
12414
 
12387
- // ../node_modules/zod/dist/cjs/v4/locales/pt.js
12415
+ // ../node_modules/zod/v4/locales/pt.cjs
12388
12416
  var require_pt = __commonJS({
12389
- "../node_modules/zod/dist/cjs/v4/locales/pt.js"(exports2) {
12417
+ "../node_modules/zod/v4/locales/pt.cjs"(exports2) {
12390
12418
  "use strict";
12391
12419
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
12392
12420
  if (k22 === void 0) k22 = k3;
@@ -12536,9 +12564,9 @@ var require_pt = __commonJS({
12536
12564
  }
12537
12565
  });
12538
12566
 
12539
- // ../node_modules/zod/dist/cjs/v4/locales/ru.js
12567
+ // ../node_modules/zod/v4/locales/ru.cjs
12540
12568
  var require_ru = __commonJS({
12541
- "../node_modules/zod/dist/cjs/v4/locales/ru.js"(exports2) {
12569
+ "../node_modules/zod/v4/locales/ru.cjs"(exports2) {
12542
12570
  "use strict";
12543
12571
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
12544
12572
  if (k22 === void 0) k22 = k3;
@@ -12736,9 +12764,9 @@ var require_ru = __commonJS({
12736
12764
  }
12737
12765
  });
12738
12766
 
12739
- // ../node_modules/zod/dist/cjs/v4/locales/sl.js
12767
+ // ../node_modules/zod/v4/locales/sl.cjs
12740
12768
  var require_sl = __commonJS({
12741
- "../node_modules/zod/dist/cjs/v4/locales/sl.js"(exports2) {
12769
+ "../node_modules/zod/v4/locales/sl.cjs"(exports2) {
12742
12770
  "use strict";
12743
12771
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
12744
12772
  if (k22 === void 0) k22 = k3;
@@ -12889,9 +12917,9 @@ var require_sl = __commonJS({
12889
12917
  }
12890
12918
  });
12891
12919
 
12892
- // ../node_modules/zod/dist/cjs/v4/locales/sv.js
12920
+ // ../node_modules/zod/v4/locales/sv.cjs
12893
12921
  var require_sv = __commonJS({
12894
- "../node_modules/zod/dist/cjs/v4/locales/sv.js"(exports2) {
12922
+ "../node_modules/zod/v4/locales/sv.cjs"(exports2) {
12895
12923
  "use strict";
12896
12924
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
12897
12925
  if (k22 === void 0) k22 = k3;
@@ -13043,9 +13071,9 @@ var require_sv = __commonJS({
13043
13071
  }
13044
13072
  });
13045
13073
 
13046
- // ../node_modules/zod/dist/cjs/v4/locales/ta.js
13074
+ // ../node_modules/zod/v4/locales/ta.cjs
13047
13075
  var require_ta = __commonJS({
13048
- "../node_modules/zod/dist/cjs/v4/locales/ta.js"(exports2) {
13076
+ "../node_modules/zod/v4/locales/ta.cjs"(exports2) {
13049
13077
  "use strict";
13050
13078
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
13051
13079
  if (k22 === void 0) k22 = k3;
@@ -13196,9 +13224,9 @@ var require_ta = __commonJS({
13196
13224
  }
13197
13225
  });
13198
13226
 
13199
- // ../node_modules/zod/dist/cjs/v4/locales/th.js
13227
+ // ../node_modules/zod/v4/locales/th.cjs
13200
13228
  var require_th = __commonJS({
13201
- "../node_modules/zod/dist/cjs/v4/locales/th.js"(exports2) {
13229
+ "../node_modules/zod/v4/locales/th.cjs"(exports2) {
13202
13230
  "use strict";
13203
13231
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
13204
13232
  if (k22 === void 0) k22 = k3;
@@ -13349,9 +13377,9 @@ var require_th = __commonJS({
13349
13377
  }
13350
13378
  });
13351
13379
 
13352
- // ../node_modules/zod/dist/cjs/v4/locales/tr.js
13380
+ // ../node_modules/zod/v4/locales/tr.cjs
13353
13381
  var require_tr = __commonJS({
13354
- "../node_modules/zod/dist/cjs/v4/locales/tr.js"(exports2) {
13382
+ "../node_modules/zod/v4/locales/tr.cjs"(exports2) {
13355
13383
  "use strict";
13356
13384
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
13357
13385
  if (k22 === void 0) k22 = k3;
@@ -13502,9 +13530,9 @@ var require_tr = __commonJS({
13502
13530
  }
13503
13531
  });
13504
13532
 
13505
- // ../node_modules/zod/dist/cjs/v4/locales/ua.js
13533
+ // ../node_modules/zod/v4/locales/ua.cjs
13506
13534
  var require_ua = __commonJS({
13507
- "../node_modules/zod/dist/cjs/v4/locales/ua.js"(exports2) {
13535
+ "../node_modules/zod/v4/locales/ua.cjs"(exports2) {
13508
13536
  "use strict";
13509
13537
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
13510
13538
  if (k22 === void 0) k22 = k3;
@@ -13655,9 +13683,9 @@ var require_ua = __commonJS({
13655
13683
  }
13656
13684
  });
13657
13685
 
13658
- // ../node_modules/zod/dist/cjs/v4/locales/ur.js
13686
+ // ../node_modules/zod/v4/locales/ur.cjs
13659
13687
  var require_ur = __commonJS({
13660
- "../node_modules/zod/dist/cjs/v4/locales/ur.js"(exports2) {
13688
+ "../node_modules/zod/v4/locales/ur.cjs"(exports2) {
13661
13689
  "use strict";
13662
13690
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
13663
13691
  if (k22 === void 0) k22 = k3;
@@ -13808,9 +13836,9 @@ var require_ur = __commonJS({
13808
13836
  }
13809
13837
  });
13810
13838
 
13811
- // ../node_modules/zod/dist/cjs/v4/locales/vi.js
13839
+ // ../node_modules/zod/v4/locales/vi.cjs
13812
13840
  var require_vi = __commonJS({
13813
- "../node_modules/zod/dist/cjs/v4/locales/vi.js"(exports2) {
13841
+ "../node_modules/zod/v4/locales/vi.cjs"(exports2) {
13814
13842
  "use strict";
13815
13843
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
13816
13844
  if (k22 === void 0) k22 = k3;
@@ -13960,9 +13988,9 @@ var require_vi = __commonJS({
13960
13988
  }
13961
13989
  });
13962
13990
 
13963
- // ../node_modules/zod/dist/cjs/v4/locales/zh-CN.js
13991
+ // ../node_modules/zod/v4/locales/zh-CN.cjs
13964
13992
  var require_zh_CN = __commonJS({
13965
- "../node_modules/zod/dist/cjs/v4/locales/zh-CN.js"(exports2) {
13993
+ "../node_modules/zod/v4/locales/zh-CN.cjs"(exports2) {
13966
13994
  "use strict";
13967
13995
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
13968
13996
  if (k22 === void 0) k22 = k3;
@@ -14112,9 +14140,9 @@ var require_zh_CN = __commonJS({
14112
14140
  }
14113
14141
  });
14114
14142
 
14115
- // ../node_modules/zod/dist/cjs/v4/locales/zh-TW.js
14143
+ // ../node_modules/zod/v4/locales/zh-TW.cjs
14116
14144
  var require_zh_TW = __commonJS({
14117
- "../node_modules/zod/dist/cjs/v4/locales/zh-TW.js"(exports2) {
14145
+ "../node_modules/zod/v4/locales/zh-TW.cjs"(exports2) {
14118
14146
  "use strict";
14119
14147
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
14120
14148
  if (k22 === void 0) k22 = k3;
@@ -14265,9 +14293,9 @@ var require_zh_TW = __commonJS({
14265
14293
  }
14266
14294
  });
14267
14295
 
14268
- // ../node_modules/zod/dist/cjs/v4/locales/index.js
14296
+ // ../node_modules/zod/v4/locales/index.cjs
14269
14297
  var require_locales = __commonJS({
14270
- "../node_modules/zod/dist/cjs/v4/locales/index.js"(exports2) {
14298
+ "../node_modules/zod/v4/locales/index.cjs"(exports2) {
14271
14299
  "use strict";
14272
14300
  var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
14273
14301
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -14429,9 +14457,9 @@ var require_locales = __commonJS({
14429
14457
  }
14430
14458
  });
14431
14459
 
14432
- // ../node_modules/zod/dist/cjs/v4/core/registries.js
14460
+ // ../node_modules/zod/v4/core/registries.cjs
14433
14461
  var require_registries = __commonJS({
14434
- "../node_modules/zod/dist/cjs/v4/core/registries.js"(exports2) {
14462
+ "../node_modules/zod/v4/core/registries.cjs"(exports2) {
14435
14463
  "use strict";
14436
14464
  Object.defineProperty(exports2, "__esModule", { value: true });
14437
14465
  exports2.globalRegistry = exports2.$ZodRegistry = exports2.$input = exports2.$output = void 0;
@@ -14479,9 +14507,9 @@ var require_registries = __commonJS({
14479
14507
  }
14480
14508
  });
14481
14509
 
14482
- // ../node_modules/zod/dist/cjs/v4/core/api.js
14510
+ // ../node_modules/zod/v4/core/api.cjs
14483
14511
  var require_api = __commonJS({
14484
- "../node_modules/zod/dist/cjs/v4/core/api.js"(exports2) {
14512
+ "../node_modules/zod/v4/core/api.cjs"(exports2) {
14485
14513
  "use strict";
14486
14514
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
14487
14515
  if (k22 === void 0) k22 = k3;
@@ -14624,6 +14652,7 @@ var require_api = __commonJS({
14624
14652
  exports2._custom = _custom;
14625
14653
  exports2._refine = _refine;
14626
14654
  exports2._stringbool = _stringbool;
14655
+ exports2._stringFormat = _stringFormat;
14627
14656
  var checks = __importStar2(require_checks());
14628
14657
  var schemas = __importStar2(require_schemas());
14629
14658
  var util2 = __importStar2(require_util());
@@ -15414,10 +15443,10 @@ var require_api = __commonJS({
15414
15443
  return schema;
15415
15444
  }
15416
15445
  function _stringbool(Classes, _params) {
15417
- const { case: _case, error, truthy, falsy } = util2.normalizeParams(_params);
15418
- let truthyArray = truthy ?? ["true", "1", "yes", "on", "y", "enabled"];
15419
- let falsyArray = falsy ?? ["false", "0", "no", "off", "n", "disabled"];
15420
- if (_case !== "sensitive") {
15446
+ const params2 = util2.normalizeParams(_params);
15447
+ let truthyArray = params2.truthy ?? ["true", "1", "yes", "on", "y", "enabled"];
15448
+ let falsyArray = params2.falsy ?? ["false", "0", "no", "off", "n", "disabled"];
15449
+ if (params2.case !== "sensitive") {
15421
15450
  truthyArray = truthyArray.map((v3) => typeof v3 === "string" ? v3.toLowerCase() : v3);
15422
15451
  falsyArray = falsyArray.map((v3) => typeof v3 === "string" ? v3.toLowerCase() : v3);
15423
15452
  }
@@ -15431,7 +15460,7 @@ var require_api = __commonJS({
15431
15460
  type: "transform",
15432
15461
  transform: (input2, payload) => {
15433
15462
  let data = input2;
15434
- if (_case !== "sensitive")
15463
+ if (params2.case !== "sensitive")
15435
15464
  data = data.toLowerCase();
15436
15465
  if (truthySet.has(data)) {
15437
15466
  return true;
@@ -15448,31 +15477,47 @@ var require_api = __commonJS({
15448
15477
  return {};
15449
15478
  }
15450
15479
  },
15451
- error
15480
+ error: params2.error
15452
15481
  });
15453
15482
  const innerPipe = new _Pipe({
15454
15483
  type: "pipe",
15455
- in: new _String({ type: "string", error }),
15484
+ in: new _String({ type: "string", error: params2.error }),
15456
15485
  out: tx,
15457
- error
15486
+ error: params2.error
15458
15487
  });
15459
15488
  const outerPipe = new _Pipe({
15460
15489
  type: "pipe",
15461
15490
  in: innerPipe,
15462
15491
  out: new _Boolean({
15463
15492
  type: "boolean",
15464
- error
15493
+ error: params2.error
15465
15494
  }),
15466
- error
15495
+ error: params2.error
15467
15496
  });
15468
15497
  return outerPipe;
15469
15498
  }
15499
+ function _stringFormat(Class, format2, fnOrRegex, _params = {}) {
15500
+ const params2 = util2.normalizeParams(_params);
15501
+ const def = {
15502
+ ...util2.normalizeParams(_params),
15503
+ check: "string_format",
15504
+ type: "string",
15505
+ format: format2,
15506
+ fn: typeof fnOrRegex === "function" ? fnOrRegex : (val) => fnOrRegex.test(val),
15507
+ ...params2
15508
+ };
15509
+ if (fnOrRegex instanceof RegExp) {
15510
+ def.pattern = fnOrRegex;
15511
+ }
15512
+ const inst = new Class(def);
15513
+ return inst;
15514
+ }
15470
15515
  }
15471
15516
  });
15472
15517
 
15473
- // ../node_modules/zod/dist/cjs/v4/core/function.js
15518
+ // ../node_modules/zod/v4/core/function.cjs
15474
15519
  var require_function = __commonJS({
15475
- "../node_modules/zod/dist/cjs/v4/core/function.js"(exports2) {
15520
+ "../node_modules/zod/v4/core/function.cjs"(exports2) {
15476
15521
  "use strict";
15477
15522
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
15478
15523
  if (k22 === void 0) k22 = k3;
@@ -15580,9 +15625,9 @@ var require_function = __commonJS({
15580
15625
  }
15581
15626
  });
15582
15627
 
15583
- // ../node_modules/zod/dist/cjs/v4/core/to-json-schema.js
15628
+ // ../node_modules/zod/v4/core/to-json-schema.cjs
15584
15629
  var require_to_json_schema = __commonJS({
15585
- "../node_modules/zod/dist/cjs/v4/core/to-json-schema.js"(exports2) {
15630
+ "../node_modules/zod/v4/core/to-json-schema.cjs"(exports2) {
15586
15631
  "use strict";
15587
15632
  Object.defineProperty(exports2, "__esModule", { value: true });
15588
15633
  exports2.JSONSchemaGenerator = void 0;
@@ -16341,17 +16386,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16341
16386
  }
16342
16387
  });
16343
16388
 
16344
- // ../node_modules/zod/dist/cjs/v4/core/json-schema.js
16389
+ // ../node_modules/zod/v4/core/json-schema.cjs
16345
16390
  var require_json_schema2 = __commonJS({
16346
- "../node_modules/zod/dist/cjs/v4/core/json-schema.js"(exports2) {
16391
+ "../node_modules/zod/v4/core/json-schema.cjs"(exports2) {
16347
16392
  "use strict";
16348
16393
  Object.defineProperty(exports2, "__esModule", { value: true });
16349
16394
  }
16350
16395
  });
16351
16396
 
16352
- // ../node_modules/zod/dist/cjs/v4/core/index.js
16397
+ // ../node_modules/zod/v4/core/index.cjs
16353
16398
  var require_core2 = __commonJS({
16354
- "../node_modules/zod/dist/cjs/v4/core/index.js"(exports2) {
16399
+ "../node_modules/zod/v4/core/index.cjs"(exports2) {
16355
16400
  "use strict";
16356
16401
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
16357
16402
  if (k22 === void 0) k22 = k3;
@@ -16531,9 +16576,9 @@ var require_getRelativePath = __commonJS({
16531
16576
  }
16532
16577
  });
16533
16578
 
16534
- // ../node_modules/zod/dist/cjs/v3/helpers/util.js
16579
+ // ../node_modules/zod/v3/helpers/util.cjs
16535
16580
  var require_util2 = __commonJS({
16536
- "../node_modules/zod/dist/cjs/v3/helpers/util.js"(exports2) {
16581
+ "../node_modules/zod/v3/helpers/util.cjs"(exports2) {
16537
16582
  "use strict";
16538
16583
  Object.defineProperty(exports2, "__esModule", { value: true });
16539
16584
  exports2.getParsedType = exports2.ZodParsedType = exports2.objectUtil = exports2.util = void 0;
@@ -16673,9 +16718,9 @@ var require_util2 = __commonJS({
16673
16718
  }
16674
16719
  });
16675
16720
 
16676
- // ../node_modules/zod/dist/cjs/v3/ZodError.js
16721
+ // ../node_modules/zod/v3/ZodError.cjs
16677
16722
  var require_ZodError = __commonJS({
16678
- "../node_modules/zod/dist/cjs/v3/ZodError.js"(exports2) {
16723
+ "../node_modules/zod/v3/ZodError.cjs"(exports2) {
16679
16724
  "use strict";
16680
16725
  Object.defineProperty(exports2, "__esModule", { value: true });
16681
16726
  exports2.ZodError = exports2.quotelessJson = exports2.ZodIssueCode = void 0;
@@ -16780,8 +16825,9 @@ var require_ZodError = __commonJS({
16780
16825
  const formErrors = [];
16781
16826
  for (const sub of this.issues) {
16782
16827
  if (sub.path.length > 0) {
16783
- fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
16784
- fieldErrors[sub.path[0]].push(mapper(sub));
16828
+ const firstEl = sub.path[0];
16829
+ fieldErrors[firstEl] = fieldErrors[firstEl] || [];
16830
+ fieldErrors[firstEl].push(mapper(sub));
16785
16831
  } else {
16786
16832
  formErrors.push(mapper(sub));
16787
16833
  }
@@ -16800,9 +16846,9 @@ var require_ZodError = __commonJS({
16800
16846
  }
16801
16847
  });
16802
16848
 
16803
- // ../node_modules/zod/dist/cjs/v3/locales/en.js
16849
+ // ../node_modules/zod/v3/locales/en.cjs
16804
16850
  var require_en2 = __commonJS({
16805
- "../node_modules/zod/dist/cjs/v3/locales/en.js"(exports2) {
16851
+ "../node_modules/zod/v3/locales/en.cjs"(exports2) {
16806
16852
  "use strict";
16807
16853
  Object.defineProperty(exports2, "__esModule", { value: true });
16808
16854
  var ZodError_js_1 = require_ZodError();
@@ -16868,6 +16914,8 @@ var require_en2 = __commonJS({
16868
16914
  message = `String must contain ${issue.exact ? "exactly" : issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;
16869
16915
  else if (issue.type === "number")
16870
16916
  message = `Number must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${issue.minimum}`;
16917
+ else if (issue.type === "bigint")
16918
+ message = `Number must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${issue.minimum}`;
16871
16919
  else if (issue.type === "date")
16872
16920
  message = `Date must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${new Date(Number(issue.minimum))}`;
16873
16921
  else
@@ -16909,9 +16957,9 @@ var require_en2 = __commonJS({
16909
16957
  }
16910
16958
  });
16911
16959
 
16912
- // ../node_modules/zod/dist/cjs/v3/errors.js
16960
+ // ../node_modules/zod/v3/errors.cjs
16913
16961
  var require_errors3 = __commonJS({
16914
- "../node_modules/zod/dist/cjs/v3/errors.js"(exports2) {
16962
+ "../node_modules/zod/v3/errors.cjs"(exports2) {
16915
16963
  "use strict";
16916
16964
  var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
16917
16965
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -16932,9 +16980,9 @@ var require_errors3 = __commonJS({
16932
16980
  }
16933
16981
  });
16934
16982
 
16935
- // ../node_modules/zod/dist/cjs/v3/helpers/parseUtil.js
16983
+ // ../node_modules/zod/v3/helpers/parseUtil.cjs
16936
16984
  var require_parseUtil = __commonJS({
16937
- "../node_modules/zod/dist/cjs/v3/helpers/parseUtil.js"(exports2) {
16985
+ "../node_modules/zod/v3/helpers/parseUtil.cjs"(exports2) {
16938
16986
  "use strict";
16939
16987
  var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
16940
16988
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -17063,17 +17111,17 @@ var require_parseUtil = __commonJS({
17063
17111
  }
17064
17112
  });
17065
17113
 
17066
- // ../node_modules/zod/dist/cjs/v3/helpers/typeAliases.js
17114
+ // ../node_modules/zod/v3/helpers/typeAliases.cjs
17067
17115
  var require_typeAliases = __commonJS({
17068
- "../node_modules/zod/dist/cjs/v3/helpers/typeAliases.js"(exports2) {
17116
+ "../node_modules/zod/v3/helpers/typeAliases.cjs"(exports2) {
17069
17117
  "use strict";
17070
17118
  Object.defineProperty(exports2, "__esModule", { value: true });
17071
17119
  }
17072
17120
  });
17073
17121
 
17074
- // ../node_modules/zod/dist/cjs/v3/helpers/errorUtil.js
17122
+ // ../node_modules/zod/v3/helpers/errorUtil.cjs
17075
17123
  var require_errorUtil = __commonJS({
17076
- "../node_modules/zod/dist/cjs/v3/helpers/errorUtil.js"(exports2) {
17124
+ "../node_modules/zod/v3/helpers/errorUtil.cjs"(exports2) {
17077
17125
  "use strict";
17078
17126
  Object.defineProperty(exports2, "__esModule", { value: true });
17079
17127
  exports2.errorUtil = void 0;
@@ -17085,9 +17133,9 @@ var require_errorUtil = __commonJS({
17085
17133
  }
17086
17134
  });
17087
17135
 
17088
- // ../node_modules/zod/dist/cjs/v3/types.js
17136
+ // ../node_modules/zod/v3/types.cjs
17089
17137
  var require_types = __commonJS({
17090
- "../node_modules/zod/dist/cjs/v3/types.js"(exports2) {
17138
+ "../node_modules/zod/v3/types.cjs"(exports2) {
17091
17139
  "use strict";
17092
17140
  Object.defineProperty(exports2, "__esModule", { value: true });
17093
17141
  exports2.discriminatedUnion = exports2.date = exports2.boolean = exports2.bigint = exports2.array = exports2.any = exports2.coerce = exports2.ZodFirstPartyTypeKind = exports2.late = exports2.ZodSchema = exports2.Schema = exports2.ZodReadonly = exports2.ZodPipeline = exports2.ZodBranded = exports2.BRAND = exports2.ZodNaN = exports2.ZodCatch = exports2.ZodDefault = exports2.ZodNullable = exports2.ZodOptional = exports2.ZodTransformer = exports2.ZodEffects = exports2.ZodPromise = exports2.ZodNativeEnum = exports2.ZodEnum = exports2.ZodLiteral = exports2.ZodLazy = exports2.ZodFunction = exports2.ZodSet = exports2.ZodMap = exports2.ZodRecord = exports2.ZodTuple = exports2.ZodIntersection = exports2.ZodDiscriminatedUnion = exports2.ZodUnion = exports2.ZodObject = exports2.ZodArray = exports2.ZodVoid = exports2.ZodNever = exports2.ZodUnknown = exports2.ZodAny = exports2.ZodNull = exports2.ZodUndefined = exports2.ZodSymbol = exports2.ZodDate = exports2.ZodBoolean = exports2.ZodBigInt = exports2.ZodNumber = exports2.ZodString = exports2.ZodType = void 0;
@@ -17500,6 +17548,8 @@ var require_types = __commonJS({
17500
17548
  return false;
17501
17549
  try {
17502
17550
  const [header] = jwt.split(".");
17551
+ if (!header)
17552
+ return false;
17503
17553
  const base64 = header.replace(/-/g, "+").replace(/_/g, "/").padEnd(header.length + (4 - header.length % 4) % 4, "=");
17504
17554
  const decoded = JSON.parse(atob(base64));
17505
17555
  if (typeof decoded !== "object" || decoded === null)
@@ -20625,9 +20675,9 @@ var require_types = __commonJS({
20625
20675
  }
20626
20676
  });
20627
20677
 
20628
- // ../node_modules/zod/dist/cjs/v3/external.js
20678
+ // ../node_modules/zod/v3/external.cjs
20629
20679
  var require_external = __commonJS({
20630
- "../node_modules/zod/dist/cjs/v3/external.js"(exports2) {
20680
+ "../node_modules/zod/v3/external.cjs"(exports2) {
20631
20681
  "use strict";
20632
20682
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
20633
20683
  if (k22 === void 0) k22 = k3;
@@ -20655,9 +20705,9 @@ var require_external = __commonJS({
20655
20705
  }
20656
20706
  });
20657
20707
 
20658
- // ../node_modules/zod/dist/cjs/v3/index.js
20708
+ // ../node_modules/zod/v3/index.cjs
20659
20709
  var require_v3 = __commonJS({
20660
- "../node_modules/zod/dist/cjs/v3/index.js"(exports2) {
20710
+ "../node_modules/zod/v3/index.cjs"(exports2) {
20661
20711
  "use strict";
20662
20712
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
20663
20713
  if (k22 === void 0) k22 = k3;
@@ -20698,9 +20748,9 @@ var require_v3 = __commonJS({
20698
20748
  }
20699
20749
  });
20700
20750
 
20701
- // ../node_modules/zod/dist/cjs/index.js
20702
- var require_cjs = __commonJS({
20703
- "../node_modules/zod/dist/cjs/index.js"(exports2) {
20751
+ // ../node_modules/zod/index.cjs
20752
+ var require_zod = __commonJS({
20753
+ "../node_modules/zod/index.cjs"(exports2) {
20704
20754
  "use strict";
20705
20755
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
20706
20756
  if (k22 === void 0) k22 = k3;
@@ -20715,16 +20765,29 @@ var require_cjs = __commonJS({
20715
20765
  if (k22 === void 0) k22 = k3;
20716
20766
  o3[k22] = m2[k3];
20717
20767
  });
20768
+ var __setModuleDefault2 = exports2 && exports2.__setModuleDefault || (Object.create ? function(o3, v3) {
20769
+ Object.defineProperty(o3, "default", { enumerable: true, value: v3 });
20770
+ } : function(o3, v3) {
20771
+ o3["default"] = v3;
20772
+ });
20773
+ var __importStar2 = exports2 && exports2.__importStar || function(mod) {
20774
+ if (mod && mod.__esModule) return mod;
20775
+ var result2 = {};
20776
+ if (mod != null) {
20777
+ for (var k3 in mod) if (k3 !== "default" && Object.prototype.hasOwnProperty.call(mod, k3)) __createBinding2(result2, mod, k3);
20778
+ }
20779
+ __setModuleDefault2(result2, mod);
20780
+ return result2;
20781
+ };
20718
20782
  var __exportStar2 = exports2 && exports2.__exportStar || function(m2, exports3) {
20719
20783
  for (var p2 in m2) if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p2)) __createBinding2(exports3, m2, p2);
20720
20784
  };
20721
- var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
20722
- return mod && mod.__esModule ? mod : { "default": mod };
20723
- };
20724
20785
  Object.defineProperty(exports2, "__esModule", { value: true });
20725
- var index_js_1 = __importDefault2(require_v3());
20786
+ exports2.z = void 0;
20787
+ var z3 = __importStar2(require_v3());
20788
+ exports2.z = z3;
20726
20789
  __exportStar2(require_v3(), exports2);
20727
- exports2.default = index_js_1.default;
20790
+ exports2.default = z3;
20728
20791
  }
20729
20792
  });
20730
20793
 
@@ -20759,7 +20822,7 @@ var require_array = __commonJS({
20759
20822
  "use strict";
20760
20823
  Object.defineProperty(exports2, "__esModule", { value: true });
20761
20824
  exports2.parseArrayDef = void 0;
20762
- var zod_1 = require_cjs();
20825
+ var zod_1 = require_zod();
20763
20826
  var errorMessages_js_1 = require_errorMessages();
20764
20827
  var parseDef_js_1 = require_parseDef();
20765
20828
  function parseArrayDef(def, refs) {
@@ -21421,7 +21484,7 @@ var require_record = __commonJS({
21421
21484
  "use strict";
21422
21485
  Object.defineProperty(exports2, "__esModule", { value: true });
21423
21486
  exports2.parseRecordDef = void 0;
21424
- var zod_1 = require_cjs();
21487
+ var zod_1 = require_zod();
21425
21488
  var parseDef_js_1 = require_parseDef();
21426
21489
  var string_js_1 = require_string();
21427
21490
  var branded_js_1 = require_branded();
@@ -22020,7 +22083,7 @@ var require_selectParser = __commonJS({
22020
22083
  "use strict";
22021
22084
  Object.defineProperty(exports2, "__esModule", { value: true });
22022
22085
  exports2.selectParser = void 0;
22023
- var zod_1 = require_cjs();
22086
+ var zod_1 = require_zod();
22024
22087
  var any_js_1 = require_any();
22025
22088
  var array_js_1 = require_array();
22026
22089
  var bigint_js_1 = require_bigint();
@@ -22279,7 +22342,7 @@ var require_zodToJsonSchema = __commonJS({
22279
22342
  });
22280
22343
 
22281
22344
  // ../node_modules/zod-to-json-schema/dist/cjs/index.js
22282
- var require_cjs2 = __commonJS({
22345
+ var require_cjs = __commonJS({
22283
22346
  "../node_modules/zod-to-json-schema/dist/cjs/index.js"(exports2) {
22284
22347
  "use strict";
22285
22348
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
@@ -22390,7 +22453,7 @@ var require_parse_procedure = __commonJS({
22390
22453
  exports.parseProcedureInputs = parseProcedureInputs;
22391
22454
  var util_1 = __require("util");
22392
22455
  var zod4 = __importStar(require_core2());
22393
- var zod_to_json_schema_1 = __importDefault(require_cjs2());
22456
+ var zod_to_json_schema_1 = __importDefault(require_cjs());
22394
22457
  var errors_1 = require_errors();
22395
22458
  var json_schema_1 = require_json_schema();
22396
22459
  function toJsonSchema(input2, dependencies2) {
@@ -23452,103 +23515,103 @@ var require_types2 = __commonJS({
23452
23515
  }
23453
23516
  });
23454
23517
 
23455
- // ../node_modules/zod/dist/cjs/v4/classic/checks.js
23518
+ // ../node_modules/zod/v4/classic/checks.cjs
23456
23519
  var require_checks2 = __commonJS({
23457
- "../node_modules/zod/dist/cjs/v4/classic/checks.js"(exports2) {
23520
+ "../node_modules/zod/v4/classic/checks.cjs"(exports2) {
23458
23521
  "use strict";
23459
23522
  Object.defineProperty(exports2, "__esModule", { value: true });
23460
23523
  exports2.toUpperCase = exports2.toLowerCase = exports2.trim = exports2.normalize = exports2.overwrite = exports2.mime = exports2.property = exports2.endsWith = exports2.startsWith = exports2.includes = exports2.uppercase = exports2.lowercase = exports2.regex = exports2.length = exports2.minLength = exports2.maxLength = exports2.size = exports2.minSize = exports2.maxSize = exports2.multipleOf = exports2.nonnegative = exports2.nonpositive = exports2.negative = exports2.positive = exports2.gte = exports2.gt = exports2.lte = exports2.lt = void 0;
23461
- var core_1 = require_core2();
23524
+ var index_js_1 = require_core2();
23462
23525
  Object.defineProperty(exports2, "lt", { enumerable: true, get: function() {
23463
- return core_1._lt;
23526
+ return index_js_1._lt;
23464
23527
  } });
23465
23528
  Object.defineProperty(exports2, "lte", { enumerable: true, get: function() {
23466
- return core_1._lte;
23529
+ return index_js_1._lte;
23467
23530
  } });
23468
23531
  Object.defineProperty(exports2, "gt", { enumerable: true, get: function() {
23469
- return core_1._gt;
23532
+ return index_js_1._gt;
23470
23533
  } });
23471
23534
  Object.defineProperty(exports2, "gte", { enumerable: true, get: function() {
23472
- return core_1._gte;
23535
+ return index_js_1._gte;
23473
23536
  } });
23474
23537
  Object.defineProperty(exports2, "positive", { enumerable: true, get: function() {
23475
- return core_1._positive;
23538
+ return index_js_1._positive;
23476
23539
  } });
23477
23540
  Object.defineProperty(exports2, "negative", { enumerable: true, get: function() {
23478
- return core_1._negative;
23541
+ return index_js_1._negative;
23479
23542
  } });
23480
23543
  Object.defineProperty(exports2, "nonpositive", { enumerable: true, get: function() {
23481
- return core_1._nonpositive;
23544
+ return index_js_1._nonpositive;
23482
23545
  } });
23483
23546
  Object.defineProperty(exports2, "nonnegative", { enumerable: true, get: function() {
23484
- return core_1._nonnegative;
23547
+ return index_js_1._nonnegative;
23485
23548
  } });
23486
23549
  Object.defineProperty(exports2, "multipleOf", { enumerable: true, get: function() {
23487
- return core_1._multipleOf;
23550
+ return index_js_1._multipleOf;
23488
23551
  } });
23489
23552
  Object.defineProperty(exports2, "maxSize", { enumerable: true, get: function() {
23490
- return core_1._maxSize;
23553
+ return index_js_1._maxSize;
23491
23554
  } });
23492
23555
  Object.defineProperty(exports2, "minSize", { enumerable: true, get: function() {
23493
- return core_1._minSize;
23556
+ return index_js_1._minSize;
23494
23557
  } });
23495
23558
  Object.defineProperty(exports2, "size", { enumerable: true, get: function() {
23496
- return core_1._size;
23559
+ return index_js_1._size;
23497
23560
  } });
23498
23561
  Object.defineProperty(exports2, "maxLength", { enumerable: true, get: function() {
23499
- return core_1._maxLength;
23562
+ return index_js_1._maxLength;
23500
23563
  } });
23501
23564
  Object.defineProperty(exports2, "minLength", { enumerable: true, get: function() {
23502
- return core_1._minLength;
23565
+ return index_js_1._minLength;
23503
23566
  } });
23504
23567
  Object.defineProperty(exports2, "length", { enumerable: true, get: function() {
23505
- return core_1._length;
23568
+ return index_js_1._length;
23506
23569
  } });
23507
23570
  Object.defineProperty(exports2, "regex", { enumerable: true, get: function() {
23508
- return core_1._regex;
23571
+ return index_js_1._regex;
23509
23572
  } });
23510
23573
  Object.defineProperty(exports2, "lowercase", { enumerable: true, get: function() {
23511
- return core_1._lowercase;
23574
+ return index_js_1._lowercase;
23512
23575
  } });
23513
23576
  Object.defineProperty(exports2, "uppercase", { enumerable: true, get: function() {
23514
- return core_1._uppercase;
23577
+ return index_js_1._uppercase;
23515
23578
  } });
23516
23579
  Object.defineProperty(exports2, "includes", { enumerable: true, get: function() {
23517
- return core_1._includes;
23580
+ return index_js_1._includes;
23518
23581
  } });
23519
23582
  Object.defineProperty(exports2, "startsWith", { enumerable: true, get: function() {
23520
- return core_1._startsWith;
23583
+ return index_js_1._startsWith;
23521
23584
  } });
23522
23585
  Object.defineProperty(exports2, "endsWith", { enumerable: true, get: function() {
23523
- return core_1._endsWith;
23586
+ return index_js_1._endsWith;
23524
23587
  } });
23525
23588
  Object.defineProperty(exports2, "property", { enumerable: true, get: function() {
23526
- return core_1._property;
23589
+ return index_js_1._property;
23527
23590
  } });
23528
23591
  Object.defineProperty(exports2, "mime", { enumerable: true, get: function() {
23529
- return core_1._mime;
23592
+ return index_js_1._mime;
23530
23593
  } });
23531
23594
  Object.defineProperty(exports2, "overwrite", { enumerable: true, get: function() {
23532
- return core_1._overwrite;
23595
+ return index_js_1._overwrite;
23533
23596
  } });
23534
23597
  Object.defineProperty(exports2, "normalize", { enumerable: true, get: function() {
23535
- return core_1._normalize;
23598
+ return index_js_1._normalize;
23536
23599
  } });
23537
23600
  Object.defineProperty(exports2, "trim", { enumerable: true, get: function() {
23538
- return core_1._trim;
23601
+ return index_js_1._trim;
23539
23602
  } });
23540
23603
  Object.defineProperty(exports2, "toLowerCase", { enumerable: true, get: function() {
23541
- return core_1._toLowerCase;
23604
+ return index_js_1._toLowerCase;
23542
23605
  } });
23543
23606
  Object.defineProperty(exports2, "toUpperCase", { enumerable: true, get: function() {
23544
- return core_1._toUpperCase;
23607
+ return index_js_1._toUpperCase;
23545
23608
  } });
23546
23609
  }
23547
23610
  });
23548
23611
 
23549
- // ../node_modules/zod/dist/cjs/v4/classic/iso.js
23612
+ // ../node_modules/zod/v4/classic/iso.cjs
23550
23613
  var require_iso = __commonJS({
23551
- "../node_modules/zod/dist/cjs/v4/classic/iso.js"(exports2) {
23614
+ "../node_modules/zod/v4/classic/iso.cjs"(exports2) {
23552
23615
  "use strict";
23553
23616
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
23554
23617
  if (k22 === void 0) k22 = k3;
@@ -23616,9 +23679,9 @@ var require_iso = __commonJS({
23616
23679
  }
23617
23680
  });
23618
23681
 
23619
- // ../node_modules/zod/dist/cjs/v4/classic/errors.js
23682
+ // ../node_modules/zod/v4/classic/errors.cjs
23620
23683
  var require_errors5 = __commonJS({
23621
- "../node_modules/zod/dist/cjs/v4/classic/errors.js"(exports2) {
23684
+ "../node_modules/zod/v4/classic/errors.cjs"(exports2) {
23622
23685
  "use strict";
23623
23686
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
23624
23687
  if (k22 === void 0) k22 = k3;
@@ -23650,9 +23713,9 @@ var require_errors5 = __commonJS({
23650
23713
  Object.defineProperty(exports2, "__esModule", { value: true });
23651
23714
  exports2.ZodRealError = exports2.ZodError = void 0;
23652
23715
  var core = __importStar2(require_core2());
23653
- var core_1 = require_core2();
23716
+ var index_js_1 = require_core2();
23654
23717
  var initializer = (inst, issues) => {
23655
- core_1.$ZodError.init(inst, issues);
23718
+ index_js_1.$ZodError.init(inst, issues);
23656
23719
  inst.name = "ZodError";
23657
23720
  Object.defineProperties(inst, {
23658
23721
  format: {
@@ -23686,9 +23749,9 @@ var require_errors5 = __commonJS({
23686
23749
  }
23687
23750
  });
23688
23751
 
23689
- // ../node_modules/zod/dist/cjs/v4/classic/parse.js
23752
+ // ../node_modules/zod/v4/classic/parse.cjs
23690
23753
  var require_parse2 = __commonJS({
23691
- "../node_modules/zod/dist/cjs/v4/classic/parse.js"(exports2) {
23754
+ "../node_modules/zod/v4/classic/parse.cjs"(exports2) {
23692
23755
  "use strict";
23693
23756
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
23694
23757
  if (k22 === void 0) k22 = k3;
@@ -23728,9 +23791,9 @@ var require_parse2 = __commonJS({
23728
23791
  }
23729
23792
  });
23730
23793
 
23731
- // ../node_modules/zod/dist/cjs/v4/classic/schemas.js
23794
+ // ../node_modules/zod/v4/classic/schemas.cjs
23732
23795
  var require_schemas2 = __commonJS({
23733
- "../node_modules/zod/dist/cjs/v4/classic/schemas.js"(exports2) {
23796
+ "../node_modules/zod/v4/classic/schemas.cjs"(exports2) {
23734
23797
  "use strict";
23735
23798
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
23736
23799
  if (k22 === void 0) k22 = k3;
@@ -23760,8 +23823,8 @@ var require_schemas2 = __commonJS({
23760
23823
  return result2;
23761
23824
  };
23762
23825
  Object.defineProperty(exports2, "__esModule", { value: true });
23763
- exports2.ZodOptional = exports2.ZodTransform = exports2.ZodFile = exports2.ZodLiteral = exports2.ZodEnum = exports2.ZodSet = exports2.ZodMap = exports2.ZodRecord = exports2.ZodTuple = exports2.ZodIntersection = exports2.ZodDiscriminatedUnion = exports2.ZodUnion = exports2.ZodObject = exports2.ZodArray = exports2.ZodDate = exports2.ZodVoid = exports2.ZodNever = exports2.ZodUnknown = exports2.ZodAny = exports2.ZodNull = exports2.ZodUndefined = exports2.ZodSymbol = exports2.ZodBigIntFormat = exports2.ZodBigInt = exports2.ZodBoolean = exports2.ZodNumberFormat = exports2.ZodNumber = exports2.ZodJWT = exports2.ZodE164 = exports2.ZodBase64URL = exports2.ZodBase64 = exports2.ZodCIDRv6 = exports2.ZodCIDRv4 = exports2.ZodIPv6 = exports2.ZodIPv4 = exports2.ZodKSUID = exports2.ZodXID = exports2.ZodULID = exports2.ZodCUID2 = exports2.ZodCUID = exports2.ZodNanoID = exports2.ZodEmoji = exports2.ZodURL = exports2.ZodUUID = exports2.ZodGUID = exports2.ZodEmail = exports2.ZodStringFormat = exports2.ZodString = exports2._ZodString = exports2.ZodType = void 0;
23764
- exports2.stringbool = exports2.ZodCustom = exports2.ZodPromise = exports2.ZodLazy = exports2.ZodTemplateLiteral = exports2.ZodReadonly = exports2.ZodPipe = exports2.ZodNaN = exports2.ZodCatch = exports2.ZodSuccess = exports2.ZodNonOptional = exports2.ZodPrefault = exports2.ZodDefault = exports2.ZodNullable = void 0;
23826
+ exports2.ZodTransform = exports2.ZodFile = exports2.ZodLiteral = exports2.ZodEnum = exports2.ZodSet = exports2.ZodMap = exports2.ZodRecord = exports2.ZodTuple = exports2.ZodIntersection = exports2.ZodDiscriminatedUnion = exports2.ZodUnion = exports2.ZodObject = exports2.ZodArray = exports2.ZodDate = exports2.ZodVoid = exports2.ZodNever = exports2.ZodUnknown = exports2.ZodAny = exports2.ZodNull = exports2.ZodUndefined = exports2.ZodSymbol = exports2.ZodBigIntFormat = exports2.ZodBigInt = exports2.ZodBoolean = exports2.ZodNumberFormat = exports2.ZodNumber = exports2.ZodCustomStringFormat = exports2.ZodJWT = exports2.ZodE164 = exports2.ZodBase64URL = exports2.ZodBase64 = exports2.ZodCIDRv6 = exports2.ZodCIDRv4 = exports2.ZodIPv6 = exports2.ZodIPv4 = exports2.ZodKSUID = exports2.ZodXID = exports2.ZodULID = exports2.ZodCUID2 = exports2.ZodCUID = exports2.ZodNanoID = exports2.ZodEmoji = exports2.ZodURL = exports2.ZodUUID = exports2.ZodGUID = exports2.ZodEmail = exports2.ZodStringFormat = exports2.ZodString = exports2._ZodString = exports2.ZodType = void 0;
23827
+ exports2.stringbool = exports2.ZodCustom = exports2.ZodPromise = exports2.ZodLazy = exports2.ZodTemplateLiteral = exports2.ZodReadonly = exports2.ZodPipe = exports2.ZodNaN = exports2.ZodCatch = exports2.ZodSuccess = exports2.ZodNonOptional = exports2.ZodPrefault = exports2.ZodDefault = exports2.ZodNullable = exports2.ZodOptional = void 0;
23765
23828
  exports2.string = string;
23766
23829
  exports2.email = email;
23767
23830
  exports2.guid = guid;
@@ -23785,6 +23848,7 @@ var require_schemas2 = __commonJS({
23785
23848
  exports2.base64url = base64url;
23786
23849
  exports2.e164 = e164;
23787
23850
  exports2.jwt = jwt;
23851
+ exports2.stringFormat = stringFormat;
23788
23852
  exports2.number = number;
23789
23853
  exports2.int = int;
23790
23854
  exports2.float32 = float32;
@@ -23843,7 +23907,7 @@ var require_schemas2 = __commonJS({
23843
23907
  exports2.json = json;
23844
23908
  exports2.preprocess = preprocess;
23845
23909
  var core = __importStar2(require_core2());
23846
- var core_1 = require_core2();
23910
+ var index_js_1 = require_core2();
23847
23911
  var checks = __importStar2(require_checks2());
23848
23912
  var iso = __importStar2(require_iso());
23849
23913
  var parse = __importStar2(require_parse2());
@@ -24115,6 +24179,13 @@ var require_schemas2 = __commonJS({
24115
24179
  function jwt(params2) {
24116
24180
  return core._jwt(exports2.ZodJWT, params2);
24117
24181
  }
24182
+ exports2.ZodCustomStringFormat = core.$constructor("ZodCustomStringFormat", (inst, def) => {
24183
+ core.$ZodCustomStringFormat.init(inst, def);
24184
+ exports2.ZodStringFormat.init(inst, def);
24185
+ });
24186
+ function stringFormat(format2, fnOrRegex, _params = {}) {
24187
+ return core._stringFormat(exports2.ZodCustomStringFormat, format2, fnOrRegex, _params);
24188
+ }
24118
24189
  exports2.ZodNumber = core.$constructor("ZodNumber", (inst, def) => {
24119
24190
  core.$ZodNumber.init(inst, def);
24120
24191
  exports2.ZodType.init(inst, def);
@@ -24284,7 +24355,7 @@ var require_schemas2 = __commonJS({
24284
24355
  exports2.ZodObject = core.$constructor("ZodObject", (inst, def) => {
24285
24356
  core.$ZodObject.init(inst, def);
24286
24357
  exports2.ZodType.init(inst, def);
24287
- core_1.util.defineLazy(inst, "shape", () => def.shape);
24358
+ index_js_1.util.defineLazy(inst, "shape", () => def.shape);
24288
24359
  inst.keyof = () => _enum(Object.keys(inst._zod.def.shape));
24289
24360
  inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall });
24290
24361
  inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
@@ -24292,22 +24363,22 @@ var require_schemas2 = __commonJS({
24292
24363
  inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
24293
24364
  inst.strip = () => inst.clone({ ...inst._zod.def, catchall: void 0 });
24294
24365
  inst.extend = (incoming) => {
24295
- return core_1.util.extend(inst, incoming);
24366
+ return index_js_1.util.extend(inst, incoming);
24296
24367
  };
24297
- inst.merge = (other) => core_1.util.merge(inst, other);
24298
- inst.pick = (mask) => core_1.util.pick(inst, mask);
24299
- inst.omit = (mask) => core_1.util.omit(inst, mask);
24300
- inst.partial = (...args2) => core_1.util.partial(exports2.ZodOptional, inst, args2[0]);
24301
- inst.required = (...args2) => core_1.util.required(exports2.ZodNonOptional, inst, args2[0]);
24368
+ inst.merge = (other) => index_js_1.util.merge(inst, other);
24369
+ inst.pick = (mask) => index_js_1.util.pick(inst, mask);
24370
+ inst.omit = (mask) => index_js_1.util.omit(inst, mask);
24371
+ inst.partial = (...args2) => index_js_1.util.partial(exports2.ZodOptional, inst, args2[0]);
24372
+ inst.required = (...args2) => index_js_1.util.required(exports2.ZodNonOptional, inst, args2[0]);
24302
24373
  });
24303
24374
  function object(shape, params2) {
24304
24375
  const def = {
24305
24376
  type: "object",
24306
24377
  get shape() {
24307
- core_1.util.assignProp(this, "shape", { ...shape });
24378
+ index_js_1.util.assignProp(this, "shape", { ...shape });
24308
24379
  return this.shape;
24309
24380
  },
24310
- ...core_1.util.normalizeParams(params2)
24381
+ ...index_js_1.util.normalizeParams(params2)
24311
24382
  };
24312
24383
  return new exports2.ZodObject(def);
24313
24384
  }
@@ -24315,22 +24386,22 @@ var require_schemas2 = __commonJS({
24315
24386
  return new exports2.ZodObject({
24316
24387
  type: "object",
24317
24388
  get shape() {
24318
- core_1.util.assignProp(this, "shape", { ...shape });
24389
+ index_js_1.util.assignProp(this, "shape", { ...shape });
24319
24390
  return this.shape;
24320
24391
  },
24321
24392
  catchall: never(),
24322
- ...core_1.util.normalizeParams(params2)
24393
+ ...index_js_1.util.normalizeParams(params2)
24323
24394
  });
24324
24395
  }
24325
24396
  function looseObject(shape, params2) {
24326
24397
  return new exports2.ZodObject({
24327
24398
  type: "object",
24328
24399
  get shape() {
24329
- core_1.util.assignProp(this, "shape", { ...shape });
24400
+ index_js_1.util.assignProp(this, "shape", { ...shape });
24330
24401
  return this.shape;
24331
24402
  },
24332
24403
  catchall: unknown(),
24333
- ...core_1.util.normalizeParams(params2)
24404
+ ...index_js_1.util.normalizeParams(params2)
24334
24405
  });
24335
24406
  }
24336
24407
  exports2.ZodUnion = core.$constructor("ZodUnion", (inst, def) => {
@@ -24342,7 +24413,7 @@ var require_schemas2 = __commonJS({
24342
24413
  return new exports2.ZodUnion({
24343
24414
  type: "union",
24344
24415
  options: options2,
24345
- ...core_1.util.normalizeParams(params2)
24416
+ ...index_js_1.util.normalizeParams(params2)
24346
24417
  });
24347
24418
  }
24348
24419
  exports2.ZodDiscriminatedUnion = core.$constructor("ZodDiscriminatedUnion", (inst, def) => {
@@ -24354,7 +24425,7 @@ var require_schemas2 = __commonJS({
24354
24425
  type: "union",
24355
24426
  options: options2,
24356
24427
  discriminator,
24357
- ...core_1.util.normalizeParams(params2)
24428
+ ...index_js_1.util.normalizeParams(params2)
24358
24429
  });
24359
24430
  }
24360
24431
  exports2.ZodIntersection = core.$constructor("ZodIntersection", (inst, def) => {
@@ -24384,7 +24455,7 @@ var require_schemas2 = __commonJS({
24384
24455
  type: "tuple",
24385
24456
  items,
24386
24457
  rest,
24387
- ...core_1.util.normalizeParams(params2)
24458
+ ...index_js_1.util.normalizeParams(params2)
24388
24459
  });
24389
24460
  }
24390
24461
  exports2.ZodRecord = core.$constructor("ZodRecord", (inst, def) => {
@@ -24398,7 +24469,7 @@ var require_schemas2 = __commonJS({
24398
24469
  type: "record",
24399
24470
  keyType,
24400
24471
  valueType,
24401
- ...core_1.util.normalizeParams(params2)
24472
+ ...index_js_1.util.normalizeParams(params2)
24402
24473
  });
24403
24474
  }
24404
24475
  function partialRecord(keyType, valueType, params2) {
@@ -24406,7 +24477,7 @@ var require_schemas2 = __commonJS({
24406
24477
  type: "record",
24407
24478
  keyType: union([keyType, never()]),
24408
24479
  valueType,
24409
- ...core_1.util.normalizeParams(params2)
24480
+ ...index_js_1.util.normalizeParams(params2)
24410
24481
  });
24411
24482
  }
24412
24483
  exports2.ZodMap = core.$constructor("ZodMap", (inst, def) => {
@@ -24420,7 +24491,7 @@ var require_schemas2 = __commonJS({
24420
24491
  type: "map",
24421
24492
  keyType,
24422
24493
  valueType,
24423
- ...core_1.util.normalizeParams(params2)
24494
+ ...index_js_1.util.normalizeParams(params2)
24424
24495
  });
24425
24496
  }
24426
24497
  exports2.ZodSet = core.$constructor("ZodSet", (inst, def) => {
@@ -24435,7 +24506,7 @@ var require_schemas2 = __commonJS({
24435
24506
  return new exports2.ZodSet({
24436
24507
  type: "set",
24437
24508
  valueType,
24438
- ...core_1.util.normalizeParams(params2)
24509
+ ...index_js_1.util.normalizeParams(params2)
24439
24510
  });
24440
24511
  }
24441
24512
  exports2.ZodEnum = core.$constructor("ZodEnum", (inst, def) => {
@@ -24455,7 +24526,7 @@ var require_schemas2 = __commonJS({
24455
24526
  return new exports2.ZodEnum({
24456
24527
  ...def,
24457
24528
  checks: [],
24458
- ...core_1.util.normalizeParams(params2),
24529
+ ...index_js_1.util.normalizeParams(params2),
24459
24530
  entries: newEntries
24460
24531
  });
24461
24532
  };
@@ -24470,7 +24541,7 @@ var require_schemas2 = __commonJS({
24470
24541
  return new exports2.ZodEnum({
24471
24542
  ...def,
24472
24543
  checks: [],
24473
- ...core_1.util.normalizeParams(params2),
24544
+ ...index_js_1.util.normalizeParams(params2),
24474
24545
  entries: newEntries
24475
24546
  });
24476
24547
  };
@@ -24480,14 +24551,14 @@ var require_schemas2 = __commonJS({
24480
24551
  return new exports2.ZodEnum({
24481
24552
  type: "enum",
24482
24553
  entries: entries2,
24483
- ...core_1.util.normalizeParams(params2)
24554
+ ...index_js_1.util.normalizeParams(params2)
24484
24555
  });
24485
24556
  }
24486
24557
  function nativeEnum(entries2, params2) {
24487
24558
  return new exports2.ZodEnum({
24488
24559
  type: "enum",
24489
24560
  entries: entries2,
24490
- ...core_1.util.normalizeParams(params2)
24561
+ ...index_js_1.util.normalizeParams(params2)
24491
24562
  });
24492
24563
  }
24493
24564
  exports2.ZodLiteral = core.$constructor("ZodLiteral", (inst, def) => {
@@ -24507,7 +24578,7 @@ var require_schemas2 = __commonJS({
24507
24578
  return new exports2.ZodLiteral({
24508
24579
  type: "literal",
24509
24580
  values: Array.isArray(value) ? value : [value],
24510
- ...core_1.util.normalizeParams(params2)
24581
+ ...index_js_1.util.normalizeParams(params2)
24511
24582
  });
24512
24583
  }
24513
24584
  exports2.ZodFile = core.$constructor("ZodFile", (inst, def) => {
@@ -24526,7 +24597,7 @@ var require_schemas2 = __commonJS({
24526
24597
  inst._zod.parse = (payload, _ctx) => {
24527
24598
  payload.addIssue = (issue) => {
24528
24599
  if (typeof issue === "string") {
24529
- payload.issues.push(core_1.util.issue(issue, payload.value, def));
24600
+ payload.issues.push(index_js_1.util.issue(issue, payload.value, def));
24530
24601
  } else {
24531
24602
  const _issue = issue;
24532
24603
  if (_issue.fatal)
@@ -24535,7 +24606,7 @@ var require_schemas2 = __commonJS({
24535
24606
  _issue.input ?? (_issue.input = payload.value);
24536
24607
  _issue.inst ?? (_issue.inst = inst);
24537
24608
  _issue.continue ?? (_issue.continue = true);
24538
- payload.issues.push(core_1.util.issue(_issue));
24609
+ payload.issues.push(index_js_1.util.issue(_issue));
24539
24610
  }
24540
24611
  };
24541
24612
  const output = def.transform(payload.value, payload);
@@ -24618,7 +24689,7 @@ var require_schemas2 = __commonJS({
24618
24689
  return new exports2.ZodNonOptional({
24619
24690
  type: "nonoptional",
24620
24691
  innerType,
24621
- ...core_1.util.normalizeParams(params2)
24692
+ ...index_js_1.util.normalizeParams(params2)
24622
24693
  });
24623
24694
  }
24624
24695
  exports2.ZodSuccess = core.$constructor("ZodSuccess", (inst, def) => {
@@ -24684,7 +24755,7 @@ var require_schemas2 = __commonJS({
24684
24755
  return new exports2.ZodTemplateLiteral({
24685
24756
  type: "template_literal",
24686
24757
  parts,
24687
- ...core_1.util.normalizeParams(params2)
24758
+ ...index_js_1.util.normalizeParams(params2)
24688
24759
  });
24689
24760
  }
24690
24761
  exports2.ZodLazy = core.$constructor("ZodLazy", (inst, def) => {
@@ -24716,7 +24787,7 @@ var require_schemas2 = __commonJS({
24716
24787
  function check(fn, params2) {
24717
24788
  const ch = new core.$ZodCheck({
24718
24789
  check: "custom",
24719
- ...core_1.util.normalizeParams(params2)
24790
+ ...index_js_1.util.normalizeParams(params2)
24720
24791
  });
24721
24792
  ch._zod.check = fn;
24722
24793
  return ch;
@@ -24731,7 +24802,7 @@ var require_schemas2 = __commonJS({
24731
24802
  const ch = check((payload) => {
24732
24803
  payload.addIssue = (issue) => {
24733
24804
  if (typeof issue === "string") {
24734
- payload.issues.push(core_1.util.issue(issue, payload.value, ch._zod.def));
24805
+ payload.issues.push(index_js_1.util.issue(issue, payload.value, ch._zod.def));
24735
24806
  } else {
24736
24807
  const _issue = issue;
24737
24808
  if (_issue.fatal)
@@ -24740,7 +24811,7 @@ var require_schemas2 = __commonJS({
24740
24811
  _issue.input ?? (_issue.input = payload.value);
24741
24812
  _issue.inst ?? (_issue.inst = ch);
24742
24813
  _issue.continue ?? (_issue.continue = !ch._zod.def.abort);
24743
- payload.issues.push(core_1.util.issue(_issue));
24814
+ payload.issues.push(index_js_1.util.issue(_issue));
24744
24815
  }
24745
24816
  };
24746
24817
  return fn(payload.value, payload);
@@ -24755,7 +24826,7 @@ var require_schemas2 = __commonJS({
24755
24826
  check: "custom",
24756
24827
  fn: (data) => data instanceof cls,
24757
24828
  abort: true,
24758
- ...core_1.util.normalizeParams(params2)
24829
+ ...index_js_1.util.normalizeParams(params2)
24759
24830
  });
24760
24831
  inst._zod.bag.Class = cls;
24761
24832
  return inst;
@@ -24779,9 +24850,9 @@ var require_schemas2 = __commonJS({
24779
24850
  }
24780
24851
  });
24781
24852
 
24782
- // ../node_modules/zod/dist/cjs/v4/classic/compat.js
24853
+ // ../node_modules/zod/v4/classic/compat.cjs
24783
24854
  var require_compat = __commonJS({
24784
- "../node_modules/zod/dist/cjs/v4/classic/compat.js"(exports2) {
24855
+ "../node_modules/zod/v4/classic/compat.cjs"(exports2) {
24785
24856
  "use strict";
24786
24857
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
24787
24858
  if (k22 === void 0) k22 = k3;
@@ -24811,7 +24882,7 @@ var require_compat = __commonJS({
24811
24882
  return result2;
24812
24883
  };
24813
24884
  Object.defineProperty(exports2, "__esModule", { value: true });
24814
- exports2.config = exports2.$brand = exports2.NEVER = exports2.ZodIssueCode = void 0;
24885
+ exports2.config = exports2.$brand = exports2.ZodIssueCode = void 0;
24815
24886
  exports2.setErrorMap = setErrorMap2;
24816
24887
  exports2.getErrorMap = getErrorMap2;
24817
24888
  var core = __importStar2(require_core2());
@@ -24828,16 +24899,12 @@ var require_compat = __commonJS({
24828
24899
  invalid_value: "invalid_value",
24829
24900
  custom: "custom"
24830
24901
  };
24831
- var INVALID2 = Object.freeze({
24832
- status: "aborted"
24833
- });
24834
- exports2.NEVER = INVALID2;
24835
- var core_1 = require_core2();
24902
+ var index_js_1 = require_core2();
24836
24903
  Object.defineProperty(exports2, "$brand", { enumerable: true, get: function() {
24837
- return core_1.$brand;
24904
+ return index_js_1.$brand;
24838
24905
  } });
24839
24906
  Object.defineProperty(exports2, "config", { enumerable: true, get: function() {
24840
- return core_1.config;
24907
+ return index_js_1.config;
24841
24908
  } });
24842
24909
  function setErrorMap2(map) {
24843
24910
  core.config({
@@ -24850,9 +24917,9 @@ var require_compat = __commonJS({
24850
24917
  }
24851
24918
  });
24852
24919
 
24853
- // ../node_modules/zod/dist/cjs/v4/classic/coerce.js
24920
+ // ../node_modules/zod/v4/classic/coerce.cjs
24854
24921
  var require_coerce = __commonJS({
24855
- "../node_modules/zod/dist/cjs/v4/classic/coerce.js"(exports2) {
24922
+ "../node_modules/zod/v4/classic/coerce.cjs"(exports2) {
24856
24923
  "use strict";
24857
24924
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
24858
24925
  if (k22 === void 0) k22 = k3;
@@ -24907,9 +24974,9 @@ var require_coerce = __commonJS({
24907
24974
  }
24908
24975
  });
24909
24976
 
24910
- // ../node_modules/zod/dist/cjs/v4/classic/external.js
24977
+ // ../node_modules/zod/v4/classic/external.cjs
24911
24978
  var require_external2 = __commonJS({
24912
- "../node_modules/zod/dist/cjs/v4/classic/external.js"(exports2) {
24979
+ "../node_modules/zod/v4/classic/external.cjs"(exports2) {
24913
24980
  "use strict";
24914
24981
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
24915
24982
  if (k22 === void 0) k22 = k3;
@@ -24945,61 +25012,64 @@ var require_external2 = __commonJS({
24945
25012
  return mod && mod.__esModule ? mod : { "default": mod };
24946
25013
  };
24947
25014
  Object.defineProperty(exports2, "__esModule", { value: true });
24948
- exports2.coerce = exports2.iso = exports2.ZodISODuration = exports2.ZodISOTime = exports2.ZodISODate = exports2.ZodISODateTime = exports2.locales = exports2.TimePrecision = exports2.toJSONSchema = exports2.flattenError = exports2.formatError = exports2.prettifyError = exports2.treeifyError = exports2.regexes = exports2.clone = exports2.$brand = exports2.$input = exports2.$output = exports2.function = exports2.config = exports2.registry = exports2.globalRegistry = exports2.core = void 0;
25015
+ exports2.coerce = exports2.iso = exports2.ZodISODuration = exports2.ZodISOTime = exports2.ZodISODate = exports2.ZodISODateTime = exports2.locales = exports2.NEVER = exports2.TimePrecision = exports2.toJSONSchema = exports2.flattenError = exports2.formatError = exports2.prettifyError = exports2.treeifyError = exports2.regexes = exports2.clone = exports2.$brand = exports2.$input = exports2.$output = exports2.function = exports2.config = exports2.registry = exports2.globalRegistry = exports2.core = void 0;
24949
25016
  exports2.core = __importStar2(require_core2());
24950
25017
  __exportStar2(require_schemas2(), exports2);
24951
25018
  __exportStar2(require_checks2(), exports2);
24952
25019
  __exportStar2(require_errors5(), exports2);
24953
25020
  __exportStar2(require_parse2(), exports2);
24954
25021
  __exportStar2(require_compat(), exports2);
24955
- var core_1 = require_core2();
25022
+ var index_js_1 = require_core2();
24956
25023
  var en_js_1 = __importDefault2(require_en());
24957
- (0, core_1.config)((0, en_js_1.default)());
24958
- var core_2 = require_core2();
25024
+ (0, index_js_1.config)((0, en_js_1.default)());
25025
+ var index_js_2 = require_core2();
24959
25026
  Object.defineProperty(exports2, "globalRegistry", { enumerable: true, get: function() {
24960
- return core_2.globalRegistry;
25027
+ return index_js_2.globalRegistry;
24961
25028
  } });
24962
25029
  Object.defineProperty(exports2, "registry", { enumerable: true, get: function() {
24963
- return core_2.registry;
25030
+ return index_js_2.registry;
24964
25031
  } });
24965
25032
  Object.defineProperty(exports2, "config", { enumerable: true, get: function() {
24966
- return core_2.config;
25033
+ return index_js_2.config;
24967
25034
  } });
24968
25035
  Object.defineProperty(exports2, "function", { enumerable: true, get: function() {
24969
- return core_2.function;
25036
+ return index_js_2.function;
24970
25037
  } });
24971
25038
  Object.defineProperty(exports2, "$output", { enumerable: true, get: function() {
24972
- return core_2.$output;
25039
+ return index_js_2.$output;
24973
25040
  } });
24974
25041
  Object.defineProperty(exports2, "$input", { enumerable: true, get: function() {
24975
- return core_2.$input;
25042
+ return index_js_2.$input;
24976
25043
  } });
24977
25044
  Object.defineProperty(exports2, "$brand", { enumerable: true, get: function() {
24978
- return core_2.$brand;
25045
+ return index_js_2.$brand;
24979
25046
  } });
24980
25047
  Object.defineProperty(exports2, "clone", { enumerable: true, get: function() {
24981
- return core_2.clone;
25048
+ return index_js_2.clone;
24982
25049
  } });
24983
25050
  Object.defineProperty(exports2, "regexes", { enumerable: true, get: function() {
24984
- return core_2.regexes;
25051
+ return index_js_2.regexes;
24985
25052
  } });
24986
25053
  Object.defineProperty(exports2, "treeifyError", { enumerable: true, get: function() {
24987
- return core_2.treeifyError;
25054
+ return index_js_2.treeifyError;
24988
25055
  } });
24989
25056
  Object.defineProperty(exports2, "prettifyError", { enumerable: true, get: function() {
24990
- return core_2.prettifyError;
25057
+ return index_js_2.prettifyError;
24991
25058
  } });
24992
25059
  Object.defineProperty(exports2, "formatError", { enumerable: true, get: function() {
24993
- return core_2.formatError;
25060
+ return index_js_2.formatError;
24994
25061
  } });
24995
25062
  Object.defineProperty(exports2, "flattenError", { enumerable: true, get: function() {
24996
- return core_2.flattenError;
25063
+ return index_js_2.flattenError;
24997
25064
  } });
24998
25065
  Object.defineProperty(exports2, "toJSONSchema", { enumerable: true, get: function() {
24999
- return core_2.toJSONSchema;
25066
+ return index_js_2.toJSONSchema;
25000
25067
  } });
25001
25068
  Object.defineProperty(exports2, "TimePrecision", { enumerable: true, get: function() {
25002
- return core_2.TimePrecision;
25069
+ return index_js_2.TimePrecision;
25070
+ } });
25071
+ Object.defineProperty(exports2, "NEVER", { enumerable: true, get: function() {
25072
+ return index_js_2.NEVER;
25003
25073
  } });
25004
25074
  exports2.locales = __importStar2(require_locales());
25005
25075
  var iso_js_1 = require_iso();
@@ -25020,9 +25090,9 @@ var require_external2 = __commonJS({
25020
25090
  }
25021
25091
  });
25022
25092
 
25023
- // ../node_modules/zod/dist/cjs/v4/classic/index.js
25093
+ // ../node_modules/zod/v4/classic/index.cjs
25024
25094
  var require_classic = __commonJS({
25025
- "../node_modules/zod/dist/cjs/v4/classic/index.js"(exports2) {
25095
+ "../node_modules/zod/v4/classic/index.cjs"(exports2) {
25026
25096
  "use strict";
25027
25097
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
25028
25098
  if (k22 === void 0) k22 = k3;
@@ -25063,9 +25133,9 @@ var require_classic = __commonJS({
25063
25133
  }
25064
25134
  });
25065
25135
 
25066
- // ../node_modules/zod/dist/cjs/v4/index.js
25136
+ // ../node_modules/zod/v4/index.cjs
25067
25137
  var require_v4 = __commonJS({
25068
- "../node_modules/zod/dist/cjs/v4/index.js"(exports2) {
25138
+ "../node_modules/zod/v4/index.cjs"(exports2) {
25069
25139
  "use strict";
25070
25140
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m2, k3, k22) {
25071
25141
  if (k22 === void 0) k22 = k3;
@@ -25159,7 +25229,7 @@ var require_dist2 = __commonJS({
25159
25229
  Object.defineProperty(exports, "z", { enumerable: true, get: function() {
25160
25230
  return v4_1.z;
25161
25231
  } });
25162
- exports.zod = __importStar(require_cjs());
25232
+ exports.zod = __importStar(require_zod());
25163
25233
  exports.trpcServer = __importStar(require_dist());
25164
25234
  var Command = class extends commander_1.Command {
25165
25235
  /** @internal track the commands that have been run, so that we can find the `__result` of the last command */
@@ -42522,7 +42592,121 @@ async function handleRwsdkPostInstall(context) {
42522
42592
  }
42523
42593
  }
42524
42594
 
42525
- // ../node_modules/zod/dist/esm/v3/external.js
42595
+ // ../node_modules/zod/v3/index.js
42596
+ var v3_exports = {};
42597
+ __export(v3_exports, {
42598
+ BRAND: () => BRAND,
42599
+ DIRTY: () => DIRTY,
42600
+ EMPTY_PATH: () => EMPTY_PATH,
42601
+ INVALID: () => INVALID,
42602
+ NEVER: () => NEVER,
42603
+ OK: () => OK,
42604
+ ParseStatus: () => ParseStatus,
42605
+ Schema: () => ZodType,
42606
+ ZodAny: () => ZodAny,
42607
+ ZodArray: () => ZodArray,
42608
+ ZodBigInt: () => ZodBigInt,
42609
+ ZodBoolean: () => ZodBoolean,
42610
+ ZodBranded: () => ZodBranded,
42611
+ ZodCatch: () => ZodCatch,
42612
+ ZodDate: () => ZodDate,
42613
+ ZodDefault: () => ZodDefault,
42614
+ ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
42615
+ ZodEffects: () => ZodEffects,
42616
+ ZodEnum: () => ZodEnum,
42617
+ ZodError: () => ZodError,
42618
+ ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
42619
+ ZodFunction: () => ZodFunction,
42620
+ ZodIntersection: () => ZodIntersection,
42621
+ ZodIssueCode: () => ZodIssueCode,
42622
+ ZodLazy: () => ZodLazy,
42623
+ ZodLiteral: () => ZodLiteral,
42624
+ ZodMap: () => ZodMap,
42625
+ ZodNaN: () => ZodNaN,
42626
+ ZodNativeEnum: () => ZodNativeEnum,
42627
+ ZodNever: () => ZodNever,
42628
+ ZodNull: () => ZodNull,
42629
+ ZodNullable: () => ZodNullable,
42630
+ ZodNumber: () => ZodNumber,
42631
+ ZodObject: () => ZodObject,
42632
+ ZodOptional: () => ZodOptional,
42633
+ ZodParsedType: () => ZodParsedType,
42634
+ ZodPipeline: () => ZodPipeline,
42635
+ ZodPromise: () => ZodPromise,
42636
+ ZodReadonly: () => ZodReadonly,
42637
+ ZodRecord: () => ZodRecord,
42638
+ ZodSchema: () => ZodType,
42639
+ ZodSet: () => ZodSet,
42640
+ ZodString: () => ZodString,
42641
+ ZodSymbol: () => ZodSymbol,
42642
+ ZodTransformer: () => ZodEffects,
42643
+ ZodTuple: () => ZodTuple,
42644
+ ZodType: () => ZodType,
42645
+ ZodUndefined: () => ZodUndefined,
42646
+ ZodUnion: () => ZodUnion,
42647
+ ZodUnknown: () => ZodUnknown,
42648
+ ZodVoid: () => ZodVoid,
42649
+ addIssueToContext: () => addIssueToContext,
42650
+ any: () => anyType,
42651
+ array: () => arrayType,
42652
+ bigint: () => bigIntType,
42653
+ boolean: () => booleanType,
42654
+ coerce: () => coerce,
42655
+ custom: () => custom,
42656
+ date: () => dateType,
42657
+ datetimeRegex: () => datetimeRegex,
42658
+ default: () => v3_default,
42659
+ defaultErrorMap: () => en_default,
42660
+ discriminatedUnion: () => discriminatedUnionType,
42661
+ effect: () => effectsType,
42662
+ enum: () => enumType,
42663
+ function: () => functionType,
42664
+ getErrorMap: () => getErrorMap,
42665
+ getParsedType: () => getParsedType,
42666
+ instanceof: () => instanceOfType,
42667
+ intersection: () => intersectionType,
42668
+ isAborted: () => isAborted,
42669
+ isAsync: () => isAsync,
42670
+ isDirty: () => isDirty,
42671
+ isValid: () => isValid,
42672
+ late: () => late,
42673
+ lazy: () => lazyType,
42674
+ literal: () => literalType,
42675
+ makeIssue: () => makeIssue,
42676
+ map: () => mapType,
42677
+ nan: () => nanType,
42678
+ nativeEnum: () => nativeEnumType,
42679
+ never: () => neverType,
42680
+ null: () => nullType,
42681
+ nullable: () => nullableType,
42682
+ number: () => numberType,
42683
+ object: () => objectType,
42684
+ objectUtil: () => objectUtil,
42685
+ oboolean: () => oboolean,
42686
+ onumber: () => onumber,
42687
+ optional: () => optionalType,
42688
+ ostring: () => ostring,
42689
+ pipeline: () => pipelineType,
42690
+ preprocess: () => preprocessType,
42691
+ promise: () => promiseType,
42692
+ quotelessJson: () => quotelessJson,
42693
+ record: () => recordType,
42694
+ set: () => setType,
42695
+ setErrorMap: () => setErrorMap,
42696
+ strictObject: () => strictObjectType,
42697
+ string: () => stringType,
42698
+ symbol: () => symbolType,
42699
+ transformer: () => effectsType,
42700
+ tuple: () => tupleType,
42701
+ undefined: () => undefinedType,
42702
+ union: () => unionType,
42703
+ unknown: () => unknownType,
42704
+ util: () => util,
42705
+ void: () => voidType,
42706
+ z: () => external_exports
42707
+ });
42708
+
42709
+ // ../node_modules/zod/v3/external.js
42526
42710
  var external_exports = {};
42527
42711
  __export(external_exports, {
42528
42712
  BRAND: () => BRAND,
@@ -42634,7 +42818,7 @@ __export(external_exports, {
42634
42818
  void: () => voidType
42635
42819
  });
42636
42820
 
42637
- // ../node_modules/zod/dist/esm/v3/helpers/util.js
42821
+ // ../node_modules/zod/v3/helpers/util.js
42638
42822
  var util;
42639
42823
  (function(util2) {
42640
42824
  util2.assertEqual = (_3) => {
@@ -42768,7 +42952,7 @@ var getParsedType = (data) => {
42768
42952
  }
42769
42953
  };
42770
42954
 
42771
- // ../node_modules/zod/dist/esm/v3/ZodError.js
42955
+ // ../node_modules/zod/v3/ZodError.js
42772
42956
  var ZodIssueCode = util.arrayToEnum([
42773
42957
  "invalid_type",
42774
42958
  "invalid_literal",
@@ -42868,8 +43052,9 @@ var ZodError = class _ZodError extends Error {
42868
43052
  const formErrors = [];
42869
43053
  for (const sub of this.issues) {
42870
43054
  if (sub.path.length > 0) {
42871
- fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
42872
- fieldErrors[sub.path[0]].push(mapper(sub));
43055
+ const firstEl = sub.path[0];
43056
+ fieldErrors[firstEl] = fieldErrors[firstEl] || [];
43057
+ fieldErrors[firstEl].push(mapper(sub));
42873
43058
  } else {
42874
43059
  formErrors.push(mapper(sub));
42875
43060
  }
@@ -42885,7 +43070,7 @@ ZodError.create = (issues) => {
42885
43070
  return error;
42886
43071
  };
42887
43072
 
42888
- // ../node_modules/zod/dist/esm/v3/locales/en.js
43073
+ // ../node_modules/zod/v3/locales/en.js
42889
43074
  var errorMap = (issue, _ctx) => {
42890
43075
  let message;
42891
43076
  switch (issue.code) {
@@ -42947,6 +43132,8 @@ var errorMap = (issue, _ctx) => {
42947
43132
  message = `String must contain ${issue.exact ? "exactly" : issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;
42948
43133
  else if (issue.type === "number")
42949
43134
  message = `Number must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${issue.minimum}`;
43135
+ else if (issue.type === "bigint")
43136
+ message = `Number must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${issue.minimum}`;
42950
43137
  else if (issue.type === "date")
42951
43138
  message = `Date must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${new Date(Number(issue.minimum))}`;
42952
43139
  else
@@ -42986,7 +43173,7 @@ var errorMap = (issue, _ctx) => {
42986
43173
  };
42987
43174
  var en_default = errorMap;
42988
43175
 
42989
- // ../node_modules/zod/dist/esm/v3/errors.js
43176
+ // ../node_modules/zod/v3/errors.js
42990
43177
  var overrideErrorMap = en_default;
42991
43178
  function setErrorMap(map) {
42992
43179
  overrideErrorMap = map;
@@ -42995,7 +43182,7 @@ function getErrorMap() {
42995
43182
  return overrideErrorMap;
42996
43183
  }
42997
43184
 
42998
- // ../node_modules/zod/dist/esm/v3/helpers/parseUtil.js
43185
+ // ../node_modules/zod/v3/helpers/parseUtil.js
42999
43186
  var makeIssue = (params2) => {
43000
43187
  const { data, path: path11, errorMaps, issueData } = params2;
43001
43188
  const fullPath = [...path11, ...issueData.path || []];
@@ -43105,14 +43292,14 @@ var isDirty = (x2) => x2.status === "dirty";
43105
43292
  var isValid = (x2) => x2.status === "valid";
43106
43293
  var isAsync = (x2) => typeof Promise !== "undefined" && x2 instanceof Promise;
43107
43294
 
43108
- // ../node_modules/zod/dist/esm/v3/helpers/errorUtil.js
43295
+ // ../node_modules/zod/v3/helpers/errorUtil.js
43109
43296
  var errorUtil;
43110
43297
  (function(errorUtil2) {
43111
43298
  errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
43112
43299
  errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
43113
43300
  })(errorUtil || (errorUtil = {}));
43114
43301
 
43115
- // ../node_modules/zod/dist/esm/v3/types.js
43302
+ // ../node_modules/zod/v3/types.js
43116
43303
  var ParseInputLazyPath = class {
43117
43304
  constructor(parent2, value, path11, key) {
43118
43305
  this._cachedPath = [];
@@ -43511,6 +43698,8 @@ function isValidJWT(jwt, alg) {
43511
43698
  return false;
43512
43699
  try {
43513
43700
  const [header] = jwt.split(".");
43701
+ if (!header)
43702
+ return false;
43514
43703
  const base64 = header.replace(/-/g, "+").replace(/_/g, "/").padEnd(header.length + (4 - header.length % 4) % 4, "=");
43515
43704
  const decoded = JSON.parse(atob(base64));
43516
43705
  if (typeof decoded !== "object" || decoded === null)
@@ -46558,6 +46747,9 @@ var coerce = {
46558
46747
  };
46559
46748
  var NEVER = INVALID;
46560
46749
 
46750
+ // ../node_modules/zod/v3/index.js
46751
+ var v3_default = external_exports;
46752
+
46561
46753
  // bin/types.ts
46562
46754
  var TEMPLATE_DEFINITIONS = [
46563
46755
  { name: "typescript", description: "TypeScript Worker" },
@@ -46570,9 +46762,9 @@ var TEMPLATE_DEFINITIONS = [
46570
46762
  { name: "nuxt", description: "Nuxt.js" }
46571
46763
  ];
46572
46764
  var templateNames = TEMPLATE_DEFINITIONS.map((t2) => t2.name);
46573
- var TemplateSchema = external_exports.enum(templateNames).describe("Project template type");
46574
- var PackageManagerSchema = external_exports.enum(["bun", "npm", "pnpm", "yarn"]).describe("Package manager");
46575
- var ProjectNameSchema = external_exports.string().min(1, "Project name cannot be empty").max(255, "Project name must be less than 255 characters").refine(
46765
+ var TemplateSchema = v3_exports.enum(templateNames).describe("Project template type");
46766
+ var PackageManagerSchema = v3_exports.enum(["bun", "npm", "pnpm", "yarn"]).describe("Package manager");
46767
+ var ProjectNameSchema = v3_exports.string().min(1, "Project name cannot be empty").max(255, "Project name must be less than 255 characters").refine(
46576
46768
  (name) => name === "." || !name.startsWith("."),
46577
46769
  "Project name cannot start with a dot (except for '.')"
46578
46770
  ).refine(