@keycloakify/angular 20.1.7 → 20.1.9

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 (82) hide show
  1. package/README.md +4 -4
  2. package/bin/187.index.js +3 -3
  3. package/bin/{559.index.js → 247.index.js} +428 -300
  4. package/bin/index.js +1 -1
  5. package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +3 -3
  6. package/fesm2022/keycloakify-angular-account-pages-account.mjs +7 -6
  7. package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -1
  8. package/fesm2022/keycloakify-angular-account-pages-applications.mjs +3 -3
  9. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +3 -3
  10. package/fesm2022/keycloakify-angular-account-pages-log.mjs +3 -3
  11. package/fesm2022/keycloakify-angular-account-pages-password.mjs +3 -3
  12. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +3 -3
  13. package/fesm2022/keycloakify-angular-account-pages-totp.mjs +3 -3
  14. package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +3 -3
  15. package/fesm2022/keycloakify-angular-account-services-i18n.mjs +3 -3
  16. package/fesm2022/keycloakify-angular-account-template.mjs +3 -3
  17. package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +3 -3
  18. package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +3 -3
  19. package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +3 -3
  20. package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +3 -3
  21. package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +3 -3
  22. package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +3 -3
  23. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +3 -3
  24. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +3 -3
  25. package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +3 -3
  26. package/fesm2022/keycloakify-angular-login-components-group-label.mjs +3 -3
  27. package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +3 -3
  28. package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +3 -3
  29. package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +3 -3
  30. package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +3 -3
  31. package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +3 -3
  32. package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +3 -3
  33. package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +3 -3
  34. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +3 -3
  35. package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +3 -3
  36. package/fesm2022/keycloakify-angular-login-pages-code.mjs +3 -3
  37. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +3 -3
  38. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +3 -3
  39. package/fesm2022/keycloakify-angular-login-pages-error.mjs +3 -3
  40. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +3 -3
  41. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +3 -3
  42. package/fesm2022/keycloakify-angular-login-pages-info.mjs +3 -3
  43. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +3 -3
  44. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +3 -3
  45. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +3 -3
  46. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +3 -3
  47. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +3 -3
  48. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +3 -3
  49. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +3 -3
  50. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +3 -3
  51. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +3 -3
  52. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +3 -3
  53. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +3 -3
  54. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +3 -3
  55. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +3 -3
  56. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +3 -3
  57. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +3 -3
  58. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +3 -3
  59. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +3 -3
  60. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +3 -3
  61. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +3 -3
  62. package/fesm2022/keycloakify-angular-login-pages-login.mjs +3 -3
  63. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +7 -6
  64. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
  65. package/fesm2022/keycloakify-angular-login-pages-register.mjs +3 -3
  66. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +3 -3
  67. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +3 -3
  68. package/fesm2022/keycloakify-angular-login-pages-terms.mjs +3 -3
  69. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +3 -3
  70. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +3 -3
  71. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +3 -3
  72. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +3 -3
  73. package/fesm2022/keycloakify-angular-login-services-i18n.mjs +3 -3
  74. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +3 -3
  75. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +3 -3
  76. package/fesm2022/keycloakify-angular-login-template.mjs +3 -3
  77. package/package.json +5 -5
  78. package/src/account/pages/account/account.component.html +5 -1
  79. package/src/account/pages/account/account.component.ts +2 -1
  80. package/src/bin/initialize-account-theme/updateAccountThemeImplementationInConfig.ts +1 -1
  81. package/src/login/pages/logout-confirm/logout-confirm.component.html +5 -1
  82. package/src/login/pages/logout-confirm/logout-confirm.component.ts +2 -1
@@ -1,5 +1,5 @@
1
- export const id = 559;
2
- export const ids = [559];
1
+ export const id = 247;
2
+ export const ids = [247];
3
3
  export const modules = {
4
4
 
5
5
  /***/ 94:
@@ -48,7 +48,7 @@ function symToStr(wrap) {
48
48
 
49
49
  /***/ }),
50
50
 
51
- /***/ 535:
51
+ /***/ 455:
52
52
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
53
53
 
54
54
 
@@ -56,10 +56,11 @@ function symToStr(wrap) {
56
56
  __webpack_require__.d(__webpack_exports__, {
57
57
  Ikc: () => (/* reexport */ object),
58
58
  g1P: () => (/* reexport */ record),
59
+ YjP: () => (/* reexport */ schemas_string),
59
60
  L5J: () => (/* reexport */ unknown)
60
61
  });
61
62
 
62
- // UNUSED EXPORTS: $brand, $input, $output, NEVER, TimePrecision, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodFile, ZodFirstPartyTypeKind, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodIntersection, ZodIssueCode, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRealError, ZodRecord, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodString, _default, _function, any, array, base64, base64url, bigint, boolean, catch, check, cidrv4, cidrv6, clone, codec, coerce, config, core, cuid, cuid2, custom, date, decode, decodeAsync, discriminatedUnion, e164, email, emoji, encode, encodeAsync, endsWith, enum, file, flattenError, float32, float64, formatError, function, getErrorMap, globalRegistry, gt, gte, guid, hash, hex, hostname, httpUrl, includes, instanceof, int, int32, int64, intersection, ipv4, ipv6, iso, json, jwt, keyof, ksuid, lazy, length, literal, locales, looseObject, lowercase, lt, lte, map, maxLength, maxSize, mime, minLength, minSize, multipleOf, nan, nanoid, nativeEnum, negative, never, nonnegative, nonoptional, nonpositive, normalize, null, nullable, nullish, number, optional, overwrite, parse, parseAsync, partialRecord, pipe, positive, prefault, preprocess, prettifyError, promise, property, readonly, refine, regex, regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, size, startsWith, strictObject, string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, toLowerCase, toUpperCase, transform, treeifyError, trim, tuple, uint32, uint64, ulid, undefined, union, uppercase, url, util, uuid, uuidv4, uuidv6, uuidv7, void, xid
63
+ // UNUSED EXPORTS: $brand, $input, $output, NEVER, TimePrecision, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodFile, ZodFirstPartyTypeKind, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodIntersection, ZodIssueCode, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRealError, ZodRecord, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodString, _default, _function, any, array, base64, base64url, bigint, boolean, catch, check, cidrv4, cidrv6, clone, codec, coerce, config, core, cuid, cuid2, custom, date, decode, decodeAsync, discriminatedUnion, e164, email, emoji, encode, encodeAsync, endsWith, enum, file, flattenError, float32, float64, formatError, function, getErrorMap, globalRegistry, gt, gte, guid, hash, hex, hostname, httpUrl, includes, instanceof, int, int32, int64, intersection, ipv4, ipv6, iso, json, jwt, keyof, ksuid, lazy, length, literal, locales, looseObject, lowercase, lt, lte, map, maxLength, maxSize, mime, minLength, minSize, multipleOf, nan, nanoid, nativeEnum, negative, never, nonnegative, nonoptional, nonpositive, normalize, null, nullable, nullish, number, optional, overwrite, parse, parseAsync, partialRecord, pipe, positive, prefault, preprocess, prettifyError, promise, property, readonly, refine, regex, regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, size, startsWith, strictObject, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, toLowerCase, toUpperCase, transform, treeifyError, trim, tuple, uint32, uint64, ulid, undefined, union, uppercase, url, util, uuid, uuidv4, uuidv6, uuidv7, void, xid
63
64
 
64
65
  ;// CONCATENATED MODULE: ./node_modules/zod/v4/core/core.js
65
66
  /** A special constant with type `never` */
@@ -768,11 +769,7 @@ function flattenError(error, mapper = (issue) => issue.message) {
768
769
  }
769
770
  return { formErrors, fieldErrors };
770
771
  }
771
- function formatError(error, _mapper) {
772
- const mapper = _mapper ||
773
- function (issue) {
774
- return issue.message;
775
- };
772
+ function formatError(error, mapper = (issue) => issue.message) {
776
773
  const fieldErrors = { _errors: [] };
777
774
  const processError = (error) => {
778
775
  for (const issue of error.issues) {
@@ -810,11 +807,7 @@ function formatError(error, _mapper) {
810
807
  processError(error);
811
808
  return fieldErrors;
812
809
  }
813
- function treeifyError(error, _mapper) {
814
- const mapper = _mapper ||
815
- function (issue) {
816
- return issue.message;
817
- };
810
+ function treeifyError(error, mapper = (issue) => issue.message) {
818
811
  const result = { errors: [] };
819
812
  const processError = (error, path = []) => {
820
813
  var _a, _b;
@@ -1055,7 +1048,7 @@ const unicodeEmail = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u;
1055
1048
  const idnEmail = (/* unused pure expression or super */ null && (unicodeEmail));
1056
1049
  const browserEmail = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
1057
1050
  // from https://thekevinscott.com/emojis-in-javascript/#writing-a-regular-expression
1058
- const _emoji = (/* unused pure expression or super */ null && (`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`));
1051
+ const _emoji = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;
1059
1052
  function emoji() {
1060
1053
  return new RegExp(_emoji, "u");
1061
1054
  }
@@ -1549,7 +1542,7 @@ const $ZodCheckLengthEquals = /*@__PURE__*/ $constructor("$ZodCheckLengthEquals"
1549
1542
  });
1550
1543
  };
1551
1544
  });
1552
- const $ZodCheckStringFormat = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCheckStringFormat", (inst, def) => {
1545
+ const $ZodCheckStringFormat = /*@__PURE__*/ $constructor("$ZodCheckStringFormat", (inst, def) => {
1553
1546
  var _a, _b;
1554
1547
  $ZodCheck.init(inst, def);
1555
1548
  inst._zod.onattach.push((inst) => {
@@ -1577,8 +1570,8 @@ const $ZodCheckStringFormat = /*@__PURE__*/ (/* unused pure expression or super
1577
1570
  });
1578
1571
  else
1579
1572
  (_b = inst._zod).check ?? (_b.check = () => { });
1580
- })));
1581
- const $ZodCheckRegex = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCheckRegex", (inst, def) => {
1573
+ });
1574
+ const $ZodCheckRegex = /*@__PURE__*/ $constructor("$ZodCheckRegex", (inst, def) => {
1582
1575
  $ZodCheckStringFormat.init(inst, def);
1583
1576
  inst._zod.check = (payload) => {
1584
1577
  def.pattern.lastIndex = 0;
@@ -1594,18 +1587,18 @@ const $ZodCheckRegex = /*@__PURE__*/ (/* unused pure expression or super */ null
1594
1587
  continue: !def.abort,
1595
1588
  });
1596
1589
  };
1597
- })));
1598
- const $ZodCheckLowerCase = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCheckLowerCase", (inst, def) => {
1599
- def.pattern ?? (def.pattern = regexes.lowercase);
1590
+ });
1591
+ const $ZodCheckLowerCase = /*@__PURE__*/ $constructor("$ZodCheckLowerCase", (inst, def) => {
1592
+ def.pattern ?? (def.pattern = lowercase);
1600
1593
  $ZodCheckStringFormat.init(inst, def);
1601
- })));
1602
- const $ZodCheckUpperCase = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCheckUpperCase", (inst, def) => {
1603
- def.pattern ?? (def.pattern = regexes.uppercase);
1594
+ });
1595
+ const $ZodCheckUpperCase = /*@__PURE__*/ $constructor("$ZodCheckUpperCase", (inst, def) => {
1596
+ def.pattern ?? (def.pattern = uppercase);
1604
1597
  $ZodCheckStringFormat.init(inst, def);
1605
- })));
1606
- const $ZodCheckIncludes = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCheckIncludes", (inst, def) => {
1598
+ });
1599
+ const $ZodCheckIncludes = /*@__PURE__*/ $constructor("$ZodCheckIncludes", (inst, def) => {
1607
1600
  $ZodCheck.init(inst, def);
1608
- const escapedRegex = util.escapeRegex(def.includes);
1601
+ const escapedRegex = escapeRegex(def.includes);
1609
1602
  const pattern = new RegExp(typeof def.position === "number" ? `^.{${def.position}}${escapedRegex}` : escapedRegex);
1610
1603
  def.pattern = pattern;
1611
1604
  inst._zod.onattach.push((inst) => {
@@ -1626,10 +1619,10 @@ const $ZodCheckIncludes = /*@__PURE__*/ (/* unused pure expression or super */ n
1626
1619
  continue: !def.abort,
1627
1620
  });
1628
1621
  };
1629
- })));
1630
- const $ZodCheckStartsWith = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCheckStartsWith", (inst, def) => {
1622
+ });
1623
+ const $ZodCheckStartsWith = /*@__PURE__*/ $constructor("$ZodCheckStartsWith", (inst, def) => {
1631
1624
  $ZodCheck.init(inst, def);
1632
- const pattern = new RegExp(`^${util.escapeRegex(def.prefix)}.*`);
1625
+ const pattern = new RegExp(`^${escapeRegex(def.prefix)}.*`);
1633
1626
  def.pattern ?? (def.pattern = pattern);
1634
1627
  inst._zod.onattach.push((inst) => {
1635
1628
  const bag = inst._zod.bag;
@@ -1649,10 +1642,10 @@ const $ZodCheckStartsWith = /*@__PURE__*/ (/* unused pure expression or super */
1649
1642
  continue: !def.abort,
1650
1643
  });
1651
1644
  };
1652
- })));
1653
- const $ZodCheckEndsWith = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCheckEndsWith", (inst, def) => {
1645
+ });
1646
+ const $ZodCheckEndsWith = /*@__PURE__*/ $constructor("$ZodCheckEndsWith", (inst, def) => {
1654
1647
  $ZodCheck.init(inst, def);
1655
- const pattern = new RegExp(`.*${util.escapeRegex(def.suffix)}$`);
1648
+ const pattern = new RegExp(`.*${escapeRegex(def.suffix)}$`);
1656
1649
  def.pattern ?? (def.pattern = pattern);
1657
1650
  inst._zod.onattach.push((inst) => {
1658
1651
  const bag = inst._zod.bag;
@@ -1672,7 +1665,7 @@ const $ZodCheckEndsWith = /*@__PURE__*/ (/* unused pure expression or super */ n
1672
1665
  continue: !def.abort,
1673
1666
  });
1674
1667
  };
1675
- })));
1668
+ });
1676
1669
  ///////////////////////////////////
1677
1670
  ///// $ZodCheckProperty /////
1678
1671
  ///////////////////////////////////
@@ -1761,7 +1754,7 @@ class Doc {
1761
1754
  const version = {
1762
1755
  major: 4,
1763
1756
  minor: 1,
1764
- patch: 7,
1757
+ patch: 12,
1765
1758
  };
1766
1759
 
1767
1760
  ;// CONCATENATED MODULE: ./node_modules/zod/v4/core/schemas.js
@@ -1904,9 +1897,9 @@ const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
1904
1897
  };
1905
1898
  });
1906
1899
 
1907
- const $ZodString = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodString", (inst, def) => {
1900
+ const $ZodString = /*@__PURE__*/ $constructor("$ZodString", (inst, def) => {
1908
1901
  $ZodType.init(inst, def);
1909
- inst._zod.pattern = [...(inst?._zod.bag?.patterns ?? [])].pop() ?? regexes.string(inst._zod.bag);
1902
+ inst._zod.pattern = [...(inst?._zod.bag?.patterns ?? [])].pop() ?? string(inst._zod.bag);
1910
1903
  inst._zod.parse = (payload, _) => {
1911
1904
  if (def.coerce)
1912
1905
  try {
@@ -1923,17 +1916,17 @@ const $ZodString = /*@__PURE__*/ (/* unused pure expression or super */ null &&
1923
1916
  });
1924
1917
  return payload;
1925
1918
  };
1926
- })));
1927
- const $ZodStringFormat = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodStringFormat", (inst, def) => {
1919
+ });
1920
+ const $ZodStringFormat = /*@__PURE__*/ $constructor("$ZodStringFormat", (inst, def) => {
1928
1921
  // check initialization must come first
1929
- checks.$ZodCheckStringFormat.init(inst, def);
1922
+ $ZodCheckStringFormat.init(inst, def);
1930
1923
  $ZodString.init(inst, def);
1931
- })));
1932
- const $ZodGUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodGUID", (inst, def) => {
1933
- def.pattern ?? (def.pattern = regexes.guid);
1924
+ });
1925
+ const $ZodGUID = /*@__PURE__*/ $constructor("$ZodGUID", (inst, def) => {
1926
+ def.pattern ?? (def.pattern = guid);
1934
1927
  $ZodStringFormat.init(inst, def);
1935
- })));
1936
- const $ZodUUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodUUID", (inst, def) => {
1928
+ });
1929
+ const $ZodUUID = /*@__PURE__*/ $constructor("$ZodUUID", (inst, def) => {
1937
1930
  if (def.version) {
1938
1931
  const versionMap = {
1939
1932
  v1: 1,
@@ -1948,17 +1941,17 @@ const $ZodUUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (c
1948
1941
  const v = versionMap[def.version];
1949
1942
  if (v === undefined)
1950
1943
  throw new Error(`Invalid UUID version: "${def.version}"`);
1951
- def.pattern ?? (def.pattern = regexes.uuid(v));
1944
+ def.pattern ?? (def.pattern = uuid(v));
1952
1945
  }
1953
1946
  else
1954
- def.pattern ?? (def.pattern = regexes.uuid());
1947
+ def.pattern ?? (def.pattern = uuid());
1955
1948
  $ZodStringFormat.init(inst, def);
1956
- })));
1957
- const $ZodEmail = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodEmail", (inst, def) => {
1958
- def.pattern ?? (def.pattern = regexes.email);
1949
+ });
1950
+ const $ZodEmail = /*@__PURE__*/ $constructor("$ZodEmail", (inst, def) => {
1951
+ def.pattern ?? (def.pattern = email);
1959
1952
  $ZodStringFormat.init(inst, def);
1960
- })));
1961
- const $ZodURL = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodURL", (inst, def) => {
1953
+ });
1954
+ const $ZodURL = /*@__PURE__*/ $constructor("$ZodURL", (inst, def) => {
1962
1955
  $ZodStringFormat.init(inst, def);
1963
1956
  inst._zod.check = (payload) => {
1964
1957
  try {
@@ -1973,7 +1966,7 @@ const $ZodURL = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
1973
1966
  code: "invalid_format",
1974
1967
  format: "url",
1975
1968
  note: "Invalid hostname",
1976
- pattern: regexes.hostname.source,
1969
+ pattern: hostname.source,
1977
1970
  input: payload.value,
1978
1971
  inst,
1979
1972
  continue: !def.abort,
@@ -2015,61 +2008,61 @@ const $ZodURL = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
2015
2008
  });
2016
2009
  }
2017
2010
  };
2018
- })));
2019
- const $ZodEmoji = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodEmoji", (inst, def) => {
2020
- def.pattern ?? (def.pattern = regexes.emoji());
2011
+ });
2012
+ const $ZodEmoji = /*@__PURE__*/ $constructor("$ZodEmoji", (inst, def) => {
2013
+ def.pattern ?? (def.pattern = emoji());
2021
2014
  $ZodStringFormat.init(inst, def);
2022
- })));
2023
- const $ZodNanoID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodNanoID", (inst, def) => {
2024
- def.pattern ?? (def.pattern = regexes.nanoid);
2015
+ });
2016
+ const $ZodNanoID = /*@__PURE__*/ $constructor("$ZodNanoID", (inst, def) => {
2017
+ def.pattern ?? (def.pattern = nanoid);
2025
2018
  $ZodStringFormat.init(inst, def);
2026
- })));
2027
- const $ZodCUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCUID", (inst, def) => {
2028
- def.pattern ?? (def.pattern = regexes.cuid);
2019
+ });
2020
+ const $ZodCUID = /*@__PURE__*/ $constructor("$ZodCUID", (inst, def) => {
2021
+ def.pattern ?? (def.pattern = cuid);
2029
2022
  $ZodStringFormat.init(inst, def);
2030
- })));
2031
- const $ZodCUID2 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCUID2", (inst, def) => {
2032
- def.pattern ?? (def.pattern = regexes.cuid2);
2023
+ });
2024
+ const $ZodCUID2 = /*@__PURE__*/ $constructor("$ZodCUID2", (inst, def) => {
2025
+ def.pattern ?? (def.pattern = cuid2);
2033
2026
  $ZodStringFormat.init(inst, def);
2034
- })));
2035
- const $ZodULID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodULID", (inst, def) => {
2036
- def.pattern ?? (def.pattern = regexes.ulid);
2027
+ });
2028
+ const $ZodULID = /*@__PURE__*/ $constructor("$ZodULID", (inst, def) => {
2029
+ def.pattern ?? (def.pattern = ulid);
2037
2030
  $ZodStringFormat.init(inst, def);
2038
- })));
2039
- const $ZodXID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodXID", (inst, def) => {
2040
- def.pattern ?? (def.pattern = regexes.xid);
2031
+ });
2032
+ const $ZodXID = /*@__PURE__*/ $constructor("$ZodXID", (inst, def) => {
2033
+ def.pattern ?? (def.pattern = xid);
2041
2034
  $ZodStringFormat.init(inst, def);
2042
- })));
2043
- const $ZodKSUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodKSUID", (inst, def) => {
2044
- def.pattern ?? (def.pattern = regexes.ksuid);
2035
+ });
2036
+ const $ZodKSUID = /*@__PURE__*/ $constructor("$ZodKSUID", (inst, def) => {
2037
+ def.pattern ?? (def.pattern = ksuid);
2045
2038
  $ZodStringFormat.init(inst, def);
2046
- })));
2047
- const $ZodISODateTime = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodISODateTime", (inst, def) => {
2048
- def.pattern ?? (def.pattern = regexes.datetime(def));
2039
+ });
2040
+ const $ZodISODateTime = /*@__PURE__*/ $constructor("$ZodISODateTime", (inst, def) => {
2041
+ def.pattern ?? (def.pattern = datetime(def));
2049
2042
  $ZodStringFormat.init(inst, def);
2050
- })));
2051
- const $ZodISODate = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodISODate", (inst, def) => {
2052
- def.pattern ?? (def.pattern = regexes.date);
2043
+ });
2044
+ const $ZodISODate = /*@__PURE__*/ $constructor("$ZodISODate", (inst, def) => {
2045
+ def.pattern ?? (def.pattern = date);
2053
2046
  $ZodStringFormat.init(inst, def);
2054
- })));
2055
- const $ZodISOTime = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodISOTime", (inst, def) => {
2056
- def.pattern ?? (def.pattern = regexes.time(def));
2047
+ });
2048
+ const $ZodISOTime = /*@__PURE__*/ $constructor("$ZodISOTime", (inst, def) => {
2049
+ def.pattern ?? (def.pattern = time(def));
2057
2050
  $ZodStringFormat.init(inst, def);
2058
- })));
2059
- const $ZodISODuration = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodISODuration", (inst, def) => {
2060
- def.pattern ?? (def.pattern = regexes.duration);
2051
+ });
2052
+ const $ZodISODuration = /*@__PURE__*/ $constructor("$ZodISODuration", (inst, def) => {
2053
+ def.pattern ?? (def.pattern = duration);
2061
2054
  $ZodStringFormat.init(inst, def);
2062
- })));
2063
- const $ZodIPv4 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodIPv4", (inst, def) => {
2064
- def.pattern ?? (def.pattern = regexes.ipv4);
2055
+ });
2056
+ const $ZodIPv4 = /*@__PURE__*/ $constructor("$ZodIPv4", (inst, def) => {
2057
+ def.pattern ?? (def.pattern = ipv4);
2065
2058
  $ZodStringFormat.init(inst, def);
2066
2059
  inst._zod.onattach.push((inst) => {
2067
2060
  const bag = inst._zod.bag;
2068
2061
  bag.format = `ipv4`;
2069
2062
  });
2070
- })));
2071
- const $ZodIPv6 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodIPv6", (inst, def) => {
2072
- def.pattern ?? (def.pattern = regexes.ipv6);
2063
+ });
2064
+ const $ZodIPv6 = /*@__PURE__*/ $constructor("$ZodIPv6", (inst, def) => {
2065
+ def.pattern ?? (def.pattern = ipv6);
2073
2066
  $ZodStringFormat.init(inst, def);
2074
2067
  inst._zod.onattach.push((inst) => {
2075
2068
  const bag = inst._zod.bag;
@@ -2091,13 +2084,13 @@ const $ZodIPv6 = /*@__PURE__*/ (/* unused pure expression or super */ null && (c
2091
2084
  });
2092
2085
  }
2093
2086
  };
2094
- })));
2095
- const $ZodCIDRv4 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCIDRv4", (inst, def) => {
2096
- def.pattern ?? (def.pattern = regexes.cidrv4);
2087
+ });
2088
+ const $ZodCIDRv4 = /*@__PURE__*/ $constructor("$ZodCIDRv4", (inst, def) => {
2089
+ def.pattern ?? (def.pattern = cidrv4);
2097
2090
  $ZodStringFormat.init(inst, def);
2098
- })));
2099
- const $ZodCIDRv6 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCIDRv6", (inst, def) => {
2100
- def.pattern ?? (def.pattern = regexes.cidrv6); // not used for validation
2091
+ });
2092
+ const $ZodCIDRv6 = /*@__PURE__*/ $constructor("$ZodCIDRv6", (inst, def) => {
2093
+ def.pattern ?? (def.pattern = cidrv6); // not used for validation
2101
2094
  $ZodStringFormat.init(inst, def);
2102
2095
  inst._zod.check = (payload) => {
2103
2096
  const parts = payload.value.split("/");
@@ -2125,7 +2118,7 @@ const $ZodCIDRv6 = /*@__PURE__*/ (/* unused pure expression or super */ null &&
2125
2118
  });
2126
2119
  }
2127
2120
  };
2128
- })));
2121
+ });
2129
2122
  ////////////////////////////// ZodBase64 //////////////////////////////
2130
2123
  function isValidBase64(data) {
2131
2124
  if (data === "")
@@ -2141,8 +2134,8 @@ function isValidBase64(data) {
2141
2134
  return false;
2142
2135
  }
2143
2136
  }
2144
- const $ZodBase64 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodBase64", (inst, def) => {
2145
- def.pattern ?? (def.pattern = regexes.base64);
2137
+ const $ZodBase64 = /*@__PURE__*/ $constructor("$ZodBase64", (inst, def) => {
2138
+ def.pattern ?? (def.pattern = base64);
2146
2139
  $ZodStringFormat.init(inst, def);
2147
2140
  inst._zod.onattach.push((inst) => {
2148
2141
  inst._zod.bag.contentEncoding = "base64";
@@ -2158,17 +2151,17 @@ const $ZodBase64 = /*@__PURE__*/ (/* unused pure expression or super */ null &&
2158
2151
  continue: !def.abort,
2159
2152
  });
2160
2153
  };
2161
- })));
2154
+ });
2162
2155
  ////////////////////////////// ZodBase64 //////////////////////////////
2163
2156
  function isValidBase64URL(data) {
2164
- if (!regexes.base64url.test(data))
2157
+ if (!base64url.test(data))
2165
2158
  return false;
2166
2159
  const base64 = data.replace(/[-_]/g, (c) => (c === "-" ? "+" : "/"));
2167
2160
  const padded = base64.padEnd(Math.ceil(base64.length / 4) * 4, "=");
2168
2161
  return isValidBase64(padded);
2169
2162
  }
2170
- const $ZodBase64URL = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodBase64URL", (inst, def) => {
2171
- def.pattern ?? (def.pattern = regexes.base64url);
2163
+ const $ZodBase64URL = /*@__PURE__*/ $constructor("$ZodBase64URL", (inst, def) => {
2164
+ def.pattern ?? (def.pattern = base64url);
2172
2165
  $ZodStringFormat.init(inst, def);
2173
2166
  inst._zod.onattach.push((inst) => {
2174
2167
  inst._zod.bag.contentEncoding = "base64url";
@@ -2184,11 +2177,11 @@ const $ZodBase64URL = /*@__PURE__*/ (/* unused pure expression or super */ null
2184
2177
  continue: !def.abort,
2185
2178
  });
2186
2179
  };
2187
- })));
2188
- const $ZodE164 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodE164", (inst, def) => {
2189
- def.pattern ?? (def.pattern = regexes.e164);
2180
+ });
2181
+ const $ZodE164 = /*@__PURE__*/ $constructor("$ZodE164", (inst, def) => {
2182
+ def.pattern ?? (def.pattern = e164);
2190
2183
  $ZodStringFormat.init(inst, def);
2191
- })));
2184
+ });
2192
2185
  ////////////////////////////// ZodJWT //////////////////////////////
2193
2186
  function isValidJWT(token, algorithm = null) {
2194
2187
  try {
@@ -2212,7 +2205,7 @@ function isValidJWT(token, algorithm = null) {
2212
2205
  return false;
2213
2206
  }
2214
2207
  }
2215
- const $ZodJWT = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodJWT", (inst, def) => {
2208
+ const $ZodJWT = /*@__PURE__*/ $constructor("$ZodJWT", (inst, def) => {
2216
2209
  $ZodStringFormat.init(inst, def);
2217
2210
  inst._zod.check = (payload) => {
2218
2211
  if (isValidJWT(payload.value, def.alg))
@@ -2225,7 +2218,7 @@ const $ZodJWT = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
2225
2218
  continue: !def.abort,
2226
2219
  });
2227
2220
  };
2228
- })));
2221
+ });
2229
2222
  const $ZodCustomStringFormat = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCustomStringFormat", (inst, def) => {
2230
2223
  $ZodStringFormat.init(inst, def);
2231
2224
  inst._zod.check = (payload) => {
@@ -2536,6 +2529,20 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
2536
2529
  const $ZodObject = /*@__PURE__*/ $constructor("$ZodObject", (inst, def) => {
2537
2530
  // requires cast because technically $ZodObject doesn't extend
2538
2531
  $ZodType.init(inst, def);
2532
+ // const sh = def.shape;
2533
+ const desc = Object.getOwnPropertyDescriptor(def, "shape");
2534
+ if (!desc?.get) {
2535
+ const sh = def.shape;
2536
+ Object.defineProperty(def, "shape", {
2537
+ get: () => {
2538
+ const newSh = { ...sh };
2539
+ Object.defineProperty(def, "shape", {
2540
+ value: newSh,
2541
+ });
2542
+ return newSh;
2543
+ },
2544
+ });
2545
+ }
2539
2546
  const _normalized = cached(() => normalizeDef(def));
2540
2547
  defineLazy(inst._zod, "propValues", () => {
2541
2548
  const shape = def.shape;
@@ -4108,6 +4115,136 @@ const be_error = () => {
4108
4115
  };
4109
4116
  }
4110
4117
 
4118
+ ;// CONCATENATED MODULE: ./node_modules/zod/v4/locales/bg.js
4119
+
4120
+ const parsedType = (data) => {
4121
+ const t = typeof data;
4122
+ switch (t) {
4123
+ case "number": {
4124
+ return Number.isNaN(data) ? "NaN" : "число";
4125
+ }
4126
+ case "object": {
4127
+ if (Array.isArray(data)) {
4128
+ return "масив";
4129
+ }
4130
+ if (data === null) {
4131
+ return "null";
4132
+ }
4133
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
4134
+ return data.constructor.name;
4135
+ }
4136
+ }
4137
+ }
4138
+ return t;
4139
+ };
4140
+ const bg_error = () => {
4141
+ const Sizable = {
4142
+ string: { unit: "символа", verb: "да съдържа" },
4143
+ file: { unit: "байта", verb: "да съдържа" },
4144
+ array: { unit: "елемента", verb: "да съдържа" },
4145
+ set: { unit: "елемента", verb: "да съдържа" },
4146
+ };
4147
+ function getSizing(origin) {
4148
+ return Sizable[origin] ?? null;
4149
+ }
4150
+ const Nouns = {
4151
+ regex: "вход",
4152
+ email: "имейл адрес",
4153
+ url: "URL",
4154
+ emoji: "емоджи",
4155
+ uuid: "UUID",
4156
+ uuidv4: "UUIDv4",
4157
+ uuidv6: "UUIDv6",
4158
+ nanoid: "nanoid",
4159
+ guid: "GUID",
4160
+ cuid: "cuid",
4161
+ cuid2: "cuid2",
4162
+ ulid: "ULID",
4163
+ xid: "XID",
4164
+ ksuid: "KSUID",
4165
+ datetime: "ISO време",
4166
+ date: "ISO дата",
4167
+ time: "ISO време",
4168
+ duration: "ISO продължителност",
4169
+ ipv4: "IPv4 адрес",
4170
+ ipv6: "IPv6 адрес",
4171
+ cidrv4: "IPv4 диапазон",
4172
+ cidrv6: "IPv6 диапазон",
4173
+ base64: "base64-кодиран низ",
4174
+ base64url: "base64url-кодиран низ",
4175
+ json_string: "JSON низ",
4176
+ e164: "E.164 номер",
4177
+ jwt: "JWT",
4178
+ template_literal: "вход",
4179
+ };
4180
+ return (issue) => {
4181
+ switch (issue.code) {
4182
+ case "invalid_type":
4183
+ return `Невалиден вход: очакван ${issue.expected}, получен ${parsedType(issue.input)}`;
4184
+ case "invalid_value":
4185
+ if (issue.values.length === 1)
4186
+ return `Невалиден вход: очакван ${util.stringifyPrimitive(issue.values[0])}`;
4187
+ return `Невалидна опция: очаквано едно от ${util.joinValues(issue.values, "|")}`;
4188
+ case "too_big": {
4189
+ const adj = issue.inclusive ? "<=" : "<";
4190
+ const sizing = getSizing(issue.origin);
4191
+ if (sizing)
4192
+ return `Твърде голямо: очаква се ${issue.origin ?? "стойност"} да съдържа ${adj}${issue.maximum.toString()} ${sizing.unit ?? "елемента"}`;
4193
+ return `Твърде голямо: очаква се ${issue.origin ?? "стойност"} да бъде ${adj}${issue.maximum.toString()}`;
4194
+ }
4195
+ case "too_small": {
4196
+ const adj = issue.inclusive ? ">=" : ">";
4197
+ const sizing = getSizing(issue.origin);
4198
+ if (sizing) {
4199
+ return `Твърде малко: очаква се ${issue.origin} да съдържа ${adj}${issue.minimum.toString()} ${sizing.unit}`;
4200
+ }
4201
+ return `Твърде малко: очаква се ${issue.origin} да бъде ${adj}${issue.minimum.toString()}`;
4202
+ }
4203
+ case "invalid_format": {
4204
+ const _issue = issue;
4205
+ if (_issue.format === "starts_with") {
4206
+ return `Невалиден низ: трябва да започва с "${_issue.prefix}"`;
4207
+ }
4208
+ if (_issue.format === "ends_with")
4209
+ return `Невалиден низ: трябва да завършва с "${_issue.suffix}"`;
4210
+ if (_issue.format === "includes")
4211
+ return `Невалиден низ: трябва да включва "${_issue.includes}"`;
4212
+ if (_issue.format === "regex")
4213
+ return `Невалиден низ: трябва да съвпада с ${_issue.pattern}`;
4214
+ let invalid_adj = "Невалиден";
4215
+ if (_issue.format === "emoji")
4216
+ invalid_adj = "Невалидно";
4217
+ if (_issue.format === "datetime")
4218
+ invalid_adj = "Невалидно";
4219
+ if (_issue.format === "date")
4220
+ invalid_adj = "Невалидна";
4221
+ if (_issue.format === "time")
4222
+ invalid_adj = "Невалидно";
4223
+ if (_issue.format === "duration")
4224
+ invalid_adj = "Невалидна";
4225
+ return `${invalid_adj} ${Nouns[_issue.format] ?? issue.format}`;
4226
+ }
4227
+ case "not_multiple_of":
4228
+ return `Невалидно число: трябва да бъде кратно на ${issue.divisor}`;
4229
+ case "unrecognized_keys":
4230
+ return `Неразпознат${issue.keys.length > 1 ? "и" : ""} ключ${issue.keys.length > 1 ? "ове" : ""}: ${util.joinValues(issue.keys, ", ")}`;
4231
+ case "invalid_key":
4232
+ return `Невалиден ключ в ${issue.origin}`;
4233
+ case "invalid_union":
4234
+ return "Невалиден вход";
4235
+ case "invalid_element":
4236
+ return `Невалидна стойност в ${issue.origin}`;
4237
+ default:
4238
+ return `Невалиден вход`;
4239
+ }
4240
+ };
4241
+ };
4242
+ /* harmony default export */ function bg() {
4243
+ return {
4244
+ localeError: bg_error(),
4245
+ };
4246
+ }
4247
+
4111
4248
  ;// CONCATENATED MODULE: ./node_modules/zod/v4/locales/ca.js
4112
4249
 
4113
4250
  const ca_error = () => {
@@ -4618,7 +4755,7 @@ const de_error = () => {
4618
4755
 
4619
4756
  ;// CONCATENATED MODULE: ./node_modules/zod/v4/locales/en.js
4620
4757
 
4621
- const parsedType = (data) => {
4758
+ const en_parsedType = (data) => {
4622
4759
  const t = typeof data;
4623
4760
  switch (t) {
4624
4761
  case "number": {
@@ -4681,7 +4818,7 @@ const en_error = () => {
4681
4818
  return (issue) => {
4682
4819
  switch (issue.code) {
4683
4820
  case "invalid_type":
4684
- return `Invalid input: expected ${issue.expected}, received ${parsedType(issue.input)}`;
4821
+ return `Invalid input: expected ${issue.expected}, received ${en_parsedType(issue.input)}`;
4685
4822
  case "invalid_value":
4686
4823
  if (issue.values.length === 1)
4687
4824
  return `Invalid input: expected ${stringifyPrimitive(issue.values[0])}`;
@@ -9286,6 +9423,7 @@ const yo_error = () => {
9286
9423
 
9287
9424
 
9288
9425
 
9426
+
9289
9427
 
9290
9428
 
9291
9429
  ;// CONCATENATED MODULE: ./node_modules/zod/v4/core/registries.js
@@ -9293,7 +9431,7 @@ const $output = Symbol("ZodOutput");
9293
9431
  const $input = Symbol("ZodInput");
9294
9432
  class registries_$ZodRegistry {
9295
9433
  constructor() {
9296
- this._map = new Map();
9434
+ this._map = new WeakMap();
9297
9435
  this._idmap = new Map();
9298
9436
  }
9299
9437
  add(schema, ..._meta) {
@@ -9308,7 +9446,7 @@ class registries_$ZodRegistry {
9308
9446
  return this;
9309
9447
  }
9310
9448
  clear() {
9311
- this._map = new Map();
9449
+ this._map = new WeakMap();
9312
9450
  this._idmap = new Map();
9313
9451
  return this;
9314
9452
  }
@@ -9349,7 +9487,7 @@ const registries_globalRegistry = /*@__PURE__*/ registry();
9349
9487
  function _string(Class, params) {
9350
9488
  return new Class({
9351
9489
  type: "string",
9352
- ...util.normalizeParams(params),
9490
+ ...normalizeParams(params),
9353
9491
  });
9354
9492
  }
9355
9493
  function _coercedString(Class, params) {
@@ -9365,7 +9503,7 @@ function _email(Class, params) {
9365
9503
  format: "email",
9366
9504
  check: "string_format",
9367
9505
  abort: false,
9368
- ...util.normalizeParams(params),
9506
+ ...normalizeParams(params),
9369
9507
  });
9370
9508
  }
9371
9509
  function _guid(Class, params) {
@@ -9374,7 +9512,7 @@ function _guid(Class, params) {
9374
9512
  format: "guid",
9375
9513
  check: "string_format",
9376
9514
  abort: false,
9377
- ...util.normalizeParams(params),
9515
+ ...normalizeParams(params),
9378
9516
  });
9379
9517
  }
9380
9518
  function _uuid(Class, params) {
@@ -9383,7 +9521,7 @@ function _uuid(Class, params) {
9383
9521
  format: "uuid",
9384
9522
  check: "string_format",
9385
9523
  abort: false,
9386
- ...util.normalizeParams(params),
9524
+ ...normalizeParams(params),
9387
9525
  });
9388
9526
  }
9389
9527
  function _uuidv4(Class, params) {
@@ -9393,7 +9531,7 @@ function _uuidv4(Class, params) {
9393
9531
  check: "string_format",
9394
9532
  abort: false,
9395
9533
  version: "v4",
9396
- ...util.normalizeParams(params),
9534
+ ...normalizeParams(params),
9397
9535
  });
9398
9536
  }
9399
9537
  function _uuidv6(Class, params) {
@@ -9403,7 +9541,7 @@ function _uuidv6(Class, params) {
9403
9541
  check: "string_format",
9404
9542
  abort: false,
9405
9543
  version: "v6",
9406
- ...util.normalizeParams(params),
9544
+ ...normalizeParams(params),
9407
9545
  });
9408
9546
  }
9409
9547
  function _uuidv7(Class, params) {
@@ -9413,7 +9551,7 @@ function _uuidv7(Class, params) {
9413
9551
  check: "string_format",
9414
9552
  abort: false,
9415
9553
  version: "v7",
9416
- ...util.normalizeParams(params),
9554
+ ...normalizeParams(params),
9417
9555
  });
9418
9556
  }
9419
9557
  function _url(Class, params) {
@@ -9422,7 +9560,7 @@ function _url(Class, params) {
9422
9560
  format: "url",
9423
9561
  check: "string_format",
9424
9562
  abort: false,
9425
- ...util.normalizeParams(params),
9563
+ ...normalizeParams(params),
9426
9564
  });
9427
9565
  }
9428
9566
  function api_emoji(Class, params) {
@@ -9431,7 +9569,7 @@ function api_emoji(Class, params) {
9431
9569
  format: "emoji",
9432
9570
  check: "string_format",
9433
9571
  abort: false,
9434
- ...util.normalizeParams(params),
9572
+ ...normalizeParams(params),
9435
9573
  });
9436
9574
  }
9437
9575
  function _nanoid(Class, params) {
@@ -9440,7 +9578,7 @@ function _nanoid(Class, params) {
9440
9578
  format: "nanoid",
9441
9579
  check: "string_format",
9442
9580
  abort: false,
9443
- ...util.normalizeParams(params),
9581
+ ...normalizeParams(params),
9444
9582
  });
9445
9583
  }
9446
9584
  function _cuid(Class, params) {
@@ -9449,7 +9587,7 @@ function _cuid(Class, params) {
9449
9587
  format: "cuid",
9450
9588
  check: "string_format",
9451
9589
  abort: false,
9452
- ...util.normalizeParams(params),
9590
+ ...normalizeParams(params),
9453
9591
  });
9454
9592
  }
9455
9593
  function _cuid2(Class, params) {
@@ -9458,7 +9596,7 @@ function _cuid2(Class, params) {
9458
9596
  format: "cuid2",
9459
9597
  check: "string_format",
9460
9598
  abort: false,
9461
- ...util.normalizeParams(params),
9599
+ ...normalizeParams(params),
9462
9600
  });
9463
9601
  }
9464
9602
  function _ulid(Class, params) {
@@ -9467,7 +9605,7 @@ function _ulid(Class, params) {
9467
9605
  format: "ulid",
9468
9606
  check: "string_format",
9469
9607
  abort: false,
9470
- ...util.normalizeParams(params),
9608
+ ...normalizeParams(params),
9471
9609
  });
9472
9610
  }
9473
9611
  function _xid(Class, params) {
@@ -9476,7 +9614,7 @@ function _xid(Class, params) {
9476
9614
  format: "xid",
9477
9615
  check: "string_format",
9478
9616
  abort: false,
9479
- ...util.normalizeParams(params),
9617
+ ...normalizeParams(params),
9480
9618
  });
9481
9619
  }
9482
9620
  function _ksuid(Class, params) {
@@ -9485,7 +9623,7 @@ function _ksuid(Class, params) {
9485
9623
  format: "ksuid",
9486
9624
  check: "string_format",
9487
9625
  abort: false,
9488
- ...util.normalizeParams(params),
9626
+ ...normalizeParams(params),
9489
9627
  });
9490
9628
  }
9491
9629
  function _ipv4(Class, params) {
@@ -9494,7 +9632,7 @@ function _ipv4(Class, params) {
9494
9632
  format: "ipv4",
9495
9633
  check: "string_format",
9496
9634
  abort: false,
9497
- ...util.normalizeParams(params),
9635
+ ...normalizeParams(params),
9498
9636
  });
9499
9637
  }
9500
9638
  function _ipv6(Class, params) {
@@ -9503,7 +9641,7 @@ function _ipv6(Class, params) {
9503
9641
  format: "ipv6",
9504
9642
  check: "string_format",
9505
9643
  abort: false,
9506
- ...util.normalizeParams(params),
9644
+ ...normalizeParams(params),
9507
9645
  });
9508
9646
  }
9509
9647
  function _cidrv4(Class, params) {
@@ -9512,7 +9650,7 @@ function _cidrv4(Class, params) {
9512
9650
  format: "cidrv4",
9513
9651
  check: "string_format",
9514
9652
  abort: false,
9515
- ...util.normalizeParams(params),
9653
+ ...normalizeParams(params),
9516
9654
  });
9517
9655
  }
9518
9656
  function _cidrv6(Class, params) {
@@ -9521,7 +9659,7 @@ function _cidrv6(Class, params) {
9521
9659
  format: "cidrv6",
9522
9660
  check: "string_format",
9523
9661
  abort: false,
9524
- ...util.normalizeParams(params),
9662
+ ...normalizeParams(params),
9525
9663
  });
9526
9664
  }
9527
9665
  function _base64(Class, params) {
@@ -9530,7 +9668,7 @@ function _base64(Class, params) {
9530
9668
  format: "base64",
9531
9669
  check: "string_format",
9532
9670
  abort: false,
9533
- ...util.normalizeParams(params),
9671
+ ...normalizeParams(params),
9534
9672
  });
9535
9673
  }
9536
9674
  function _base64url(Class, params) {
@@ -9539,7 +9677,7 @@ function _base64url(Class, params) {
9539
9677
  format: "base64url",
9540
9678
  check: "string_format",
9541
9679
  abort: false,
9542
- ...util.normalizeParams(params),
9680
+ ...normalizeParams(params),
9543
9681
  });
9544
9682
  }
9545
9683
  function _e164(Class, params) {
@@ -9548,7 +9686,7 @@ function _e164(Class, params) {
9548
9686
  format: "e164",
9549
9687
  check: "string_format",
9550
9688
  abort: false,
9551
- ...util.normalizeParams(params),
9689
+ ...normalizeParams(params),
9552
9690
  });
9553
9691
  }
9554
9692
  function _jwt(Class, params) {
@@ -9557,7 +9695,7 @@ function _jwt(Class, params) {
9557
9695
  format: "jwt",
9558
9696
  check: "string_format",
9559
9697
  abort: false,
9560
- ...util.normalizeParams(params),
9698
+ ...normalizeParams(params),
9561
9699
  });
9562
9700
  }
9563
9701
  const TimePrecision = {
@@ -9575,7 +9713,7 @@ function _isoDateTime(Class, params) {
9575
9713
  offset: false,
9576
9714
  local: false,
9577
9715
  precision: null,
9578
- ...util.normalizeParams(params),
9716
+ ...normalizeParams(params),
9579
9717
  });
9580
9718
  }
9581
9719
  function _isoDate(Class, params) {
@@ -9583,7 +9721,7 @@ function _isoDate(Class, params) {
9583
9721
  type: "string",
9584
9722
  format: "date",
9585
9723
  check: "string_format",
9586
- ...util.normalizeParams(params),
9724
+ ...normalizeParams(params),
9587
9725
  });
9588
9726
  }
9589
9727
  function _isoTime(Class, params) {
@@ -9592,7 +9730,7 @@ function _isoTime(Class, params) {
9592
9730
  format: "time",
9593
9731
  check: "string_format",
9594
9732
  precision: null,
9595
- ...util.normalizeParams(params),
9733
+ ...normalizeParams(params),
9596
9734
  });
9597
9735
  }
9598
9736
  function _isoDuration(Class, params) {
@@ -9600,7 +9738,7 @@ function _isoDuration(Class, params) {
9600
9738
  type: "string",
9601
9739
  format: "duration",
9602
9740
  check: "string_format",
9603
- ...util.normalizeParams(params),
9741
+ ...normalizeParams(params),
9604
9742
  });
9605
9743
  }
9606
9744
  function _number(Class, params) {
@@ -9866,48 +10004,48 @@ function _length(length, params) {
9866
10004
  });
9867
10005
  }
9868
10006
  function _regex(pattern, params) {
9869
- return new checks.$ZodCheckRegex({
10007
+ return new $ZodCheckRegex({
9870
10008
  check: "string_format",
9871
10009
  format: "regex",
9872
- ...util.normalizeParams(params),
10010
+ ...normalizeParams(params),
9873
10011
  pattern,
9874
10012
  });
9875
10013
  }
9876
10014
  function _lowercase(params) {
9877
- return new checks.$ZodCheckLowerCase({
10015
+ return new $ZodCheckLowerCase({
9878
10016
  check: "string_format",
9879
10017
  format: "lowercase",
9880
- ...util.normalizeParams(params),
10018
+ ...normalizeParams(params),
9881
10019
  });
9882
10020
  }
9883
10021
  function _uppercase(params) {
9884
- return new checks.$ZodCheckUpperCase({
10022
+ return new $ZodCheckUpperCase({
9885
10023
  check: "string_format",
9886
10024
  format: "uppercase",
9887
- ...util.normalizeParams(params),
10025
+ ...normalizeParams(params),
9888
10026
  });
9889
10027
  }
9890
10028
  function _includes(includes, params) {
9891
- return new checks.$ZodCheckIncludes({
10029
+ return new $ZodCheckIncludes({
9892
10030
  check: "string_format",
9893
10031
  format: "includes",
9894
- ...util.normalizeParams(params),
10032
+ ...normalizeParams(params),
9895
10033
  includes,
9896
10034
  });
9897
10035
  }
9898
10036
  function _startsWith(prefix, params) {
9899
- return new checks.$ZodCheckStartsWith({
10037
+ return new $ZodCheckStartsWith({
9900
10038
  check: "string_format",
9901
10039
  format: "starts_with",
9902
- ...util.normalizeParams(params),
10040
+ ...normalizeParams(params),
9903
10041
  prefix,
9904
10042
  });
9905
10043
  }
9906
10044
  function _endsWith(suffix, params) {
9907
- return new checks.$ZodCheckEndsWith({
10045
+ return new $ZodCheckEndsWith({
9908
10046
  check: "string_format",
9909
10047
  format: "ends_with",
9910
- ...util.normalizeParams(params),
10048
+ ...normalizeParams(params),
9911
10049
  suffix,
9912
10050
  });
9913
10051
  }
@@ -11204,33 +11342,33 @@ function isTransforming(_schema, _ctx) {
11204
11342
  ;// CONCATENATED MODULE: ./node_modules/zod/v4/classic/iso.js
11205
11343
 
11206
11344
 
11207
- const ZodISODateTime = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodISODateTime", (inst, def) => {
11208
- core.$ZodISODateTime.init(inst, def);
11209
- schemas.ZodStringFormat.init(inst, def);
11210
- })));
11345
+ const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
11346
+ $ZodISODateTime.init(inst, def);
11347
+ ZodStringFormat.init(inst, def);
11348
+ });
11211
11349
  function iso_datetime(params) {
11212
- return core._isoDateTime(ZodISODateTime, params);
11350
+ return _isoDateTime(ZodISODateTime, params);
11213
11351
  }
11214
- const ZodISODate = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodISODate", (inst, def) => {
11215
- core.$ZodISODate.init(inst, def);
11216
- schemas.ZodStringFormat.init(inst, def);
11217
- })));
11352
+ const ZodISODate = /*@__PURE__*/ $constructor("ZodISODate", (inst, def) => {
11353
+ $ZodISODate.init(inst, def);
11354
+ ZodStringFormat.init(inst, def);
11355
+ });
11218
11356
  function iso_date(params) {
11219
- return core._isoDate(ZodISODate, params);
11357
+ return _isoDate(ZodISODate, params);
11220
11358
  }
11221
- const ZodISOTime = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodISOTime", (inst, def) => {
11222
- core.$ZodISOTime.init(inst, def);
11223
- schemas.ZodStringFormat.init(inst, def);
11224
- })));
11359
+ const ZodISOTime = /*@__PURE__*/ $constructor("ZodISOTime", (inst, def) => {
11360
+ $ZodISOTime.init(inst, def);
11361
+ ZodStringFormat.init(inst, def);
11362
+ });
11225
11363
  function iso_time(params) {
11226
- return core._isoTime(ZodISOTime, params);
11364
+ return _isoTime(ZodISOTime, params);
11227
11365
  }
11228
- const ZodISODuration = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodISODuration", (inst, def) => {
11229
- core.$ZodISODuration.init(inst, def);
11230
- schemas.ZodStringFormat.init(inst, def);
11231
- })));
11366
+ const ZodISODuration = /*@__PURE__*/ $constructor("ZodISODuration", (inst, def) => {
11367
+ $ZodISODuration.init(inst, def);
11368
+ ZodStringFormat.init(inst, def);
11369
+ });
11232
11370
  function iso_duration(params) {
11233
- return core._isoDuration(ZodISODuration, params);
11371
+ return _isoDuration(ZodISODuration, params);
11234
11372
  }
11235
11373
 
11236
11374
  ;// CONCATENATED MODULE: ./node_modules/zod/v4/classic/errors.js
@@ -11313,15 +11451,12 @@ const ZodType = /*@__PURE__*/ $constructor("ZodType", (inst, def) => {
11313
11451
  Object.defineProperty(inst, "_def", { value: def });
11314
11452
  // base methods
11315
11453
  inst.check = (...checks) => {
11316
- return inst.clone({
11317
- ...def,
11454
+ return inst.clone(mergeDefs(def, {
11318
11455
  checks: [
11319
11456
  ...(def.checks ?? []),
11320
11457
  ...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch),
11321
11458
  ],
11322
- }
11323
- // { parent: true }
11324
- );
11459
+ }));
11325
11460
  };
11326
11461
  inst.clone = (def, params) => clone(inst, def, params);
11327
11462
  inst.brand = () => inst;
@@ -11389,90 +11524,90 @@ const ZodType = /*@__PURE__*/ $constructor("ZodType", (inst, def) => {
11389
11524
  return inst;
11390
11525
  });
11391
11526
  /** @internal */
11392
- const _ZodString = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("_ZodString", (inst, def) => {
11393
- core.$ZodString.init(inst, def);
11527
+ const _ZodString = /*@__PURE__*/ $constructor("_ZodString", (inst, def) => {
11528
+ $ZodString.init(inst, def);
11394
11529
  ZodType.init(inst, def);
11395
11530
  const bag = inst._zod.bag;
11396
11531
  inst.format = bag.format ?? null;
11397
11532
  inst.minLength = bag.minimum ?? null;
11398
11533
  inst.maxLength = bag.maximum ?? null;
11399
11534
  // validations
11400
- inst.regex = (...args) => inst.check(checks.regex(...args));
11401
- inst.includes = (...args) => inst.check(checks.includes(...args));
11402
- inst.startsWith = (...args) => inst.check(checks.startsWith(...args));
11403
- inst.endsWith = (...args) => inst.check(checks.endsWith(...args));
11404
- inst.min = (...args) => inst.check(checks.minLength(...args));
11405
- inst.max = (...args) => inst.check(checks.maxLength(...args));
11406
- inst.length = (...args) => inst.check(checks.length(...args));
11407
- inst.nonempty = (...args) => inst.check(checks.minLength(1, ...args));
11408
- inst.lowercase = (params) => inst.check(checks.lowercase(params));
11409
- inst.uppercase = (params) => inst.check(checks.uppercase(params));
11535
+ inst.regex = (...args) => inst.check(_regex(...args));
11536
+ inst.includes = (...args) => inst.check(_includes(...args));
11537
+ inst.startsWith = (...args) => inst.check(_startsWith(...args));
11538
+ inst.endsWith = (...args) => inst.check(_endsWith(...args));
11539
+ inst.min = (...args) => inst.check(_minLength(...args));
11540
+ inst.max = (...args) => inst.check(_maxLength(...args));
11541
+ inst.length = (...args) => inst.check(_length(...args));
11542
+ inst.nonempty = (...args) => inst.check(_minLength(1, ...args));
11543
+ inst.lowercase = (params) => inst.check(_lowercase(params));
11544
+ inst.uppercase = (params) => inst.check(_uppercase(params));
11410
11545
  // transforms
11411
- inst.trim = () => inst.check(checks.trim());
11412
- inst.normalize = (...args) => inst.check(checks.normalize(...args));
11413
- inst.toLowerCase = () => inst.check(checks.toLowerCase());
11414
- inst.toUpperCase = () => inst.check(checks.toUpperCase());
11415
- })));
11416
- const ZodString = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodString", (inst, def) => {
11417
- core.$ZodString.init(inst, def);
11546
+ inst.trim = () => inst.check(_trim());
11547
+ inst.normalize = (...args) => inst.check(_normalize(...args));
11548
+ inst.toLowerCase = () => inst.check(_toLowerCase());
11549
+ inst.toUpperCase = () => inst.check(_toUpperCase());
11550
+ });
11551
+ const ZodString = /*@__PURE__*/ $constructor("ZodString", (inst, def) => {
11552
+ $ZodString.init(inst, def);
11418
11553
  _ZodString.init(inst, def);
11419
- inst.email = (params) => inst.check(core._email(ZodEmail, params));
11420
- inst.url = (params) => inst.check(core._url(ZodURL, params));
11421
- inst.jwt = (params) => inst.check(core._jwt(ZodJWT, params));
11422
- inst.emoji = (params) => inst.check(core._emoji(ZodEmoji, params));
11423
- inst.guid = (params) => inst.check(core._guid(ZodGUID, params));
11424
- inst.uuid = (params) => inst.check(core._uuid(ZodUUID, params));
11425
- inst.uuidv4 = (params) => inst.check(core._uuidv4(ZodUUID, params));
11426
- inst.uuidv6 = (params) => inst.check(core._uuidv6(ZodUUID, params));
11427
- inst.uuidv7 = (params) => inst.check(core._uuidv7(ZodUUID, params));
11428
- inst.nanoid = (params) => inst.check(core._nanoid(ZodNanoID, params));
11429
- inst.guid = (params) => inst.check(core._guid(ZodGUID, params));
11430
- inst.cuid = (params) => inst.check(core._cuid(ZodCUID, params));
11431
- inst.cuid2 = (params) => inst.check(core._cuid2(ZodCUID2, params));
11432
- inst.ulid = (params) => inst.check(core._ulid(ZodULID, params));
11433
- inst.base64 = (params) => inst.check(core._base64(ZodBase64, params));
11434
- inst.base64url = (params) => inst.check(core._base64url(ZodBase64URL, params));
11435
- inst.xid = (params) => inst.check(core._xid(ZodXID, params));
11436
- inst.ksuid = (params) => inst.check(core._ksuid(ZodKSUID, params));
11437
- inst.ipv4 = (params) => inst.check(core._ipv4(ZodIPv4, params));
11438
- inst.ipv6 = (params) => inst.check(core._ipv6(ZodIPv6, params));
11439
- inst.cidrv4 = (params) => inst.check(core._cidrv4(ZodCIDRv4, params));
11440
- inst.cidrv6 = (params) => inst.check(core._cidrv6(ZodCIDRv6, params));
11441
- inst.e164 = (params) => inst.check(core._e164(ZodE164, params));
11554
+ inst.email = (params) => inst.check(_email(ZodEmail, params));
11555
+ inst.url = (params) => inst.check(_url(ZodURL, params));
11556
+ inst.jwt = (params) => inst.check(_jwt(ZodJWT, params));
11557
+ inst.emoji = (params) => inst.check(api_emoji(ZodEmoji, params));
11558
+ inst.guid = (params) => inst.check(_guid(ZodGUID, params));
11559
+ inst.uuid = (params) => inst.check(_uuid(ZodUUID, params));
11560
+ inst.uuidv4 = (params) => inst.check(_uuidv4(ZodUUID, params));
11561
+ inst.uuidv6 = (params) => inst.check(_uuidv6(ZodUUID, params));
11562
+ inst.uuidv7 = (params) => inst.check(_uuidv7(ZodUUID, params));
11563
+ inst.nanoid = (params) => inst.check(_nanoid(ZodNanoID, params));
11564
+ inst.guid = (params) => inst.check(_guid(ZodGUID, params));
11565
+ inst.cuid = (params) => inst.check(_cuid(ZodCUID, params));
11566
+ inst.cuid2 = (params) => inst.check(_cuid2(ZodCUID2, params));
11567
+ inst.ulid = (params) => inst.check(_ulid(ZodULID, params));
11568
+ inst.base64 = (params) => inst.check(_base64(ZodBase64, params));
11569
+ inst.base64url = (params) => inst.check(_base64url(ZodBase64URL, params));
11570
+ inst.xid = (params) => inst.check(_xid(ZodXID, params));
11571
+ inst.ksuid = (params) => inst.check(_ksuid(ZodKSUID, params));
11572
+ inst.ipv4 = (params) => inst.check(_ipv4(ZodIPv4, params));
11573
+ inst.ipv6 = (params) => inst.check(_ipv6(ZodIPv6, params));
11574
+ inst.cidrv4 = (params) => inst.check(_cidrv4(ZodCIDRv4, params));
11575
+ inst.cidrv6 = (params) => inst.check(_cidrv6(ZodCIDRv6, params));
11576
+ inst.e164 = (params) => inst.check(_e164(ZodE164, params));
11442
11577
  // iso
11443
- inst.datetime = (params) => inst.check(iso.datetime(params));
11444
- inst.date = (params) => inst.check(iso.date(params));
11445
- inst.time = (params) => inst.check(iso.time(params));
11446
- inst.duration = (params) => inst.check(iso.duration(params));
11447
- })));
11578
+ inst.datetime = (params) => inst.check(iso_datetime(params));
11579
+ inst.date = (params) => inst.check(iso_date(params));
11580
+ inst.time = (params) => inst.check(iso_time(params));
11581
+ inst.duration = (params) => inst.check(iso_duration(params));
11582
+ });
11448
11583
  function schemas_string(params) {
11449
- return core._string(ZodString, params);
11584
+ return _string(ZodString, params);
11450
11585
  }
11451
- const ZodStringFormat = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodStringFormat", (inst, def) => {
11452
- core.$ZodStringFormat.init(inst, def);
11586
+ const ZodStringFormat = /*@__PURE__*/ $constructor("ZodStringFormat", (inst, def) => {
11587
+ $ZodStringFormat.init(inst, def);
11453
11588
  _ZodString.init(inst, def);
11454
- })));
11455
- const ZodEmail = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodEmail", (inst, def) => {
11589
+ });
11590
+ const ZodEmail = /*@__PURE__*/ $constructor("ZodEmail", (inst, def) => {
11456
11591
  // ZodStringFormat.init(inst, def);
11457
- core.$ZodEmail.init(inst, def);
11592
+ $ZodEmail.init(inst, def);
11458
11593
  ZodStringFormat.init(inst, def);
11459
- })));
11594
+ });
11460
11595
  function schemas_email(params) {
11461
11596
  return core._email(ZodEmail, params);
11462
11597
  }
11463
- const ZodGUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodGUID", (inst, def) => {
11598
+ const ZodGUID = /*@__PURE__*/ $constructor("ZodGUID", (inst, def) => {
11464
11599
  // ZodStringFormat.init(inst, def);
11465
- core.$ZodGUID.init(inst, def);
11600
+ $ZodGUID.init(inst, def);
11466
11601
  ZodStringFormat.init(inst, def);
11467
- })));
11602
+ });
11468
11603
  function schemas_guid(params) {
11469
11604
  return core._guid(ZodGUID, params);
11470
11605
  }
11471
- const ZodUUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodUUID", (inst, def) => {
11606
+ const ZodUUID = /*@__PURE__*/ $constructor("ZodUUID", (inst, def) => {
11472
11607
  // ZodStringFormat.init(inst, def);
11473
- core.$ZodUUID.init(inst, def);
11608
+ $ZodUUID.init(inst, def);
11474
11609
  ZodStringFormat.init(inst, def);
11475
- })));
11610
+ });
11476
11611
  function schemas_uuid(params) {
11477
11612
  return core._uuid(ZodUUID, params);
11478
11613
  }
@@ -11487,11 +11622,11 @@ function uuidv6(params) {
11487
11622
  function uuidv7(params) {
11488
11623
  return core._uuidv7(ZodUUID, params);
11489
11624
  }
11490
- const ZodURL = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodURL", (inst, def) => {
11625
+ const ZodURL = /*@__PURE__*/ $constructor("ZodURL", (inst, def) => {
11491
11626
  // ZodStringFormat.init(inst, def);
11492
- core.$ZodURL.init(inst, def);
11627
+ $ZodURL.init(inst, def);
11493
11628
  ZodStringFormat.init(inst, def);
11494
- })));
11629
+ });
11495
11630
  function url(params) {
11496
11631
  return core._url(ZodURL, params);
11497
11632
  }
@@ -11502,121 +11637,121 @@ function httpUrl(params) {
11502
11637
  ...util.normalizeParams(params),
11503
11638
  });
11504
11639
  }
11505
- const ZodEmoji = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodEmoji", (inst, def) => {
11640
+ const ZodEmoji = /*@__PURE__*/ $constructor("ZodEmoji", (inst, def) => {
11506
11641
  // ZodStringFormat.init(inst, def);
11507
- core.$ZodEmoji.init(inst, def);
11642
+ $ZodEmoji.init(inst, def);
11508
11643
  ZodStringFormat.init(inst, def);
11509
- })));
11644
+ });
11510
11645
  function schemas_emoji(params) {
11511
11646
  return core._emoji(ZodEmoji, params);
11512
11647
  }
11513
- const ZodNanoID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodNanoID", (inst, def) => {
11648
+ const ZodNanoID = /*@__PURE__*/ $constructor("ZodNanoID", (inst, def) => {
11514
11649
  // ZodStringFormat.init(inst, def);
11515
- core.$ZodNanoID.init(inst, def);
11650
+ $ZodNanoID.init(inst, def);
11516
11651
  ZodStringFormat.init(inst, def);
11517
- })));
11652
+ });
11518
11653
  function schemas_nanoid(params) {
11519
11654
  return core._nanoid(ZodNanoID, params);
11520
11655
  }
11521
- const ZodCUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodCUID", (inst, def) => {
11656
+ const ZodCUID = /*@__PURE__*/ $constructor("ZodCUID", (inst, def) => {
11522
11657
  // ZodStringFormat.init(inst, def);
11523
- core.$ZodCUID.init(inst, def);
11658
+ $ZodCUID.init(inst, def);
11524
11659
  ZodStringFormat.init(inst, def);
11525
- })));
11660
+ });
11526
11661
  function schemas_cuid(params) {
11527
11662
  return core._cuid(ZodCUID, params);
11528
11663
  }
11529
- const ZodCUID2 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodCUID2", (inst, def) => {
11664
+ const ZodCUID2 = /*@__PURE__*/ $constructor("ZodCUID2", (inst, def) => {
11530
11665
  // ZodStringFormat.init(inst, def);
11531
- core.$ZodCUID2.init(inst, def);
11666
+ $ZodCUID2.init(inst, def);
11532
11667
  ZodStringFormat.init(inst, def);
11533
- })));
11668
+ });
11534
11669
  function schemas_cuid2(params) {
11535
11670
  return core._cuid2(ZodCUID2, params);
11536
11671
  }
11537
- const ZodULID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodULID", (inst, def) => {
11672
+ const ZodULID = /*@__PURE__*/ $constructor("ZodULID", (inst, def) => {
11538
11673
  // ZodStringFormat.init(inst, def);
11539
- core.$ZodULID.init(inst, def);
11674
+ $ZodULID.init(inst, def);
11540
11675
  ZodStringFormat.init(inst, def);
11541
- })));
11676
+ });
11542
11677
  function schemas_ulid(params) {
11543
11678
  return core._ulid(ZodULID, params);
11544
11679
  }
11545
- const ZodXID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodXID", (inst, def) => {
11680
+ const ZodXID = /*@__PURE__*/ $constructor("ZodXID", (inst, def) => {
11546
11681
  // ZodStringFormat.init(inst, def);
11547
- core.$ZodXID.init(inst, def);
11682
+ $ZodXID.init(inst, def);
11548
11683
  ZodStringFormat.init(inst, def);
11549
- })));
11684
+ });
11550
11685
  function schemas_xid(params) {
11551
11686
  return core._xid(ZodXID, params);
11552
11687
  }
11553
- const ZodKSUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodKSUID", (inst, def) => {
11688
+ const ZodKSUID = /*@__PURE__*/ $constructor("ZodKSUID", (inst, def) => {
11554
11689
  // ZodStringFormat.init(inst, def);
11555
- core.$ZodKSUID.init(inst, def);
11690
+ $ZodKSUID.init(inst, def);
11556
11691
  ZodStringFormat.init(inst, def);
11557
- })));
11692
+ });
11558
11693
  function schemas_ksuid(params) {
11559
11694
  return core._ksuid(ZodKSUID, params);
11560
11695
  }
11561
- const ZodIPv4 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodIPv4", (inst, def) => {
11696
+ const ZodIPv4 = /*@__PURE__*/ $constructor("ZodIPv4", (inst, def) => {
11562
11697
  // ZodStringFormat.init(inst, def);
11563
- core.$ZodIPv4.init(inst, def);
11698
+ $ZodIPv4.init(inst, def);
11564
11699
  ZodStringFormat.init(inst, def);
11565
- })));
11700
+ });
11566
11701
  function schemas_ipv4(params) {
11567
11702
  return core._ipv4(ZodIPv4, params);
11568
11703
  }
11569
- const ZodIPv6 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodIPv6", (inst, def) => {
11704
+ const ZodIPv6 = /*@__PURE__*/ $constructor("ZodIPv6", (inst, def) => {
11570
11705
  // ZodStringFormat.init(inst, def);
11571
- core.$ZodIPv6.init(inst, def);
11706
+ $ZodIPv6.init(inst, def);
11572
11707
  ZodStringFormat.init(inst, def);
11573
- })));
11708
+ });
11574
11709
  function schemas_ipv6(params) {
11575
11710
  return core._ipv6(ZodIPv6, params);
11576
11711
  }
11577
- const ZodCIDRv4 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodCIDRv4", (inst, def) => {
11578
- core.$ZodCIDRv4.init(inst, def);
11712
+ const ZodCIDRv4 = /*@__PURE__*/ $constructor("ZodCIDRv4", (inst, def) => {
11713
+ $ZodCIDRv4.init(inst, def);
11579
11714
  ZodStringFormat.init(inst, def);
11580
- })));
11715
+ });
11581
11716
  function schemas_cidrv4(params) {
11582
11717
  return core._cidrv4(ZodCIDRv4, params);
11583
11718
  }
11584
- const ZodCIDRv6 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodCIDRv6", (inst, def) => {
11585
- core.$ZodCIDRv6.init(inst, def);
11719
+ const ZodCIDRv6 = /*@__PURE__*/ $constructor("ZodCIDRv6", (inst, def) => {
11720
+ $ZodCIDRv6.init(inst, def);
11586
11721
  ZodStringFormat.init(inst, def);
11587
- })));
11722
+ });
11588
11723
  function schemas_cidrv6(params) {
11589
11724
  return core._cidrv6(ZodCIDRv6, params);
11590
11725
  }
11591
- const ZodBase64 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodBase64", (inst, def) => {
11726
+ const ZodBase64 = /*@__PURE__*/ $constructor("ZodBase64", (inst, def) => {
11592
11727
  // ZodStringFormat.init(inst, def);
11593
- core.$ZodBase64.init(inst, def);
11728
+ $ZodBase64.init(inst, def);
11594
11729
  ZodStringFormat.init(inst, def);
11595
- })));
11730
+ });
11596
11731
  function schemas_base64(params) {
11597
11732
  return core._base64(ZodBase64, params);
11598
11733
  }
11599
- const ZodBase64URL = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodBase64URL", (inst, def) => {
11734
+ const ZodBase64URL = /*@__PURE__*/ $constructor("ZodBase64URL", (inst, def) => {
11600
11735
  // ZodStringFormat.init(inst, def);
11601
- core.$ZodBase64URL.init(inst, def);
11736
+ $ZodBase64URL.init(inst, def);
11602
11737
  ZodStringFormat.init(inst, def);
11603
- })));
11738
+ });
11604
11739
  function schemas_base64url(params) {
11605
11740
  return core._base64url(ZodBase64URL, params);
11606
11741
  }
11607
- const ZodE164 = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodE164", (inst, def) => {
11742
+ const ZodE164 = /*@__PURE__*/ $constructor("ZodE164", (inst, def) => {
11608
11743
  // ZodStringFormat.init(inst, def);
11609
- core.$ZodE164.init(inst, def);
11744
+ $ZodE164.init(inst, def);
11610
11745
  ZodStringFormat.init(inst, def);
11611
- })));
11746
+ });
11612
11747
  function schemas_e164(params) {
11613
11748
  return core._e164(ZodE164, params);
11614
11749
  }
11615
- const ZodJWT = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("ZodJWT", (inst, def) => {
11750
+ const ZodJWT = /*@__PURE__*/ $constructor("ZodJWT", (inst, def) => {
11616
11751
  // ZodStringFormat.init(inst, def);
11617
- core.$ZodJWT.init(inst, def);
11752
+ $ZodJWT.init(inst, def);
11618
11753
  ZodStringFormat.init(inst, def);
11619
- })));
11754
+ });
11620
11755
  function jwt(params) {
11621
11756
  return core._jwt(ZodJWT, params);
11622
11757
  }
@@ -11820,7 +11955,9 @@ function keyof(schema) {
11820
11955
  const ZodObject = /*@__PURE__*/ $constructor("ZodObject", (inst, def) => {
11821
11956
  $ZodObjectJIT.init(inst, def);
11822
11957
  ZodType.init(inst, def);
11823
- defineLazy(inst, "shape", () => def.shape);
11958
+ defineLazy(inst, "shape", () => {
11959
+ return def.shape;
11960
+ });
11824
11961
  inst.keyof = () => schemas_enum(Object.keys(inst._zod.def.shape));
11825
11962
  inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall: catchall });
11826
11963
  inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
@@ -11842,10 +11979,7 @@ const ZodObject = /*@__PURE__*/ $constructor("ZodObject", (inst, def) => {
11842
11979
  function object(shape, params) {
11843
11980
  const def = {
11844
11981
  type: "object",
11845
- get shape() {
11846
- assignProp(this, "shape", shape ? objectClone(shape) : {});
11847
- return this.shape;
11848
- },
11982
+ shape: shape ?? {},
11849
11983
  ...normalizeParams(params),
11850
11984
  };
11851
11985
  return new ZodObject(def);
@@ -11854,10 +11988,7 @@ function object(shape, params) {
11854
11988
  function strictObject(shape, params) {
11855
11989
  return new ZodObject({
11856
11990
  type: "object",
11857
- get shape() {
11858
- util.assignProp(this, "shape", util.objectClone(shape));
11859
- return this.shape;
11860
- },
11991
+ shape,
11861
11992
  catchall: never(),
11862
11993
  ...util.normalizeParams(params),
11863
11994
  });
@@ -11866,10 +11997,7 @@ function strictObject(shape, params) {
11866
11997
  function looseObject(shape, params) {
11867
11998
  return new ZodObject({
11868
11999
  type: "object",
11869
- get shape() {
11870
- util.assignProp(this, "shape", util.objectClone(shape));
11871
- return this.shape;
11872
- },
12000
+ shape,
11873
12001
  catchall: unknown(),
11874
12002
  ...util.normalizeParams(params),
11875
12003
  });