openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
8,881 lines • 303 kB
JavaScript
import { r as __exportAll } from "./rolldown-runtime-C_OpTf0N.mjs";
import { $ as globalRegistry, $n as $ZodCheckMimeType, $r as $ZodEncodeError, $t as $ZodPipe, An as isValidCreditCard, Ar as _safeParseAsync, At as $ZodIPv6, Bn as validateURL, Br as safeEncodeAsync, Bt as $ZodMAC, Cn as base64Charset, Cr as _parse, Ct as $ZodEnum, Dn as isValidBase64, Dr as _safeEncode, Dt as $ZodGUID, En as getDiscriminatedOption, Er as _safeDecodeAsync, Et as $ZodFunction, Fi as toZod, Fn as parseURLObject, Fr as parse, Ft as $ZodIntersection, G as extractDefs, Gn as $ZodCheckEndsWith, Gr as $ZodError, Gt as $ZodNonOptional, Hn as Doc, Hr as safeParseAsync, Ht as $ZodNaN, I as toJSONSchema, Ii as util_exports, In as standardProps, Ir as parseAsync, It as $ZodJWT, J as initializeContext, Jn as $ZodCheckLengthEquals, Jr as formatError, Jt as $ZodNumber, K as finalize, Kn as $ZodCheckGreaterThan, Kr as $ZodRealError, Kt as $ZodNull, Ln as stripTabAndNewline, Lr as safeDecode, Lt as $ZodKSUID, Mn as isValidIPv6, Mr as decodeAsync, Mt as $ZodISODateTime, Nn as isValidJWT, Nr as encode, Nt as $ZodISODuration, On as isValidBase64URL, Or as _safeEncodeAsync, Ot as $ZodIBAN, Pi as stringifyPrimitive, Pn as mergeValues, Pr as encodeAsync, Pt as $ZodISOTime, Q as $output, Qn as $ZodCheckMaxSize, Qr as $ZodAsyncError, Qt as $ZodOptional, Rn as urlHostnameOk, Rr as safeDecodeAsync, Rt as $ZodLazy, Sn as $ZodXor, Sr as _encodeAsync, St as $ZodEmoji, Ti as parsedType, Tn as canParseURL, Tr as _safeDecode, Tt as $ZodFile, U as createStandardJSONSchemaMethod, Un as $ZodCheck, Ur as validate, Ut as $ZodNanoID, Vn as version, Vr as safeParse, Vt as $ZodMap, W as createToJSONSchemaMethod, Wn as $ZodCheckBigIntFormat, Wr as validateAsync, Wt as $ZodNever, X as $ZodRegistry, Xn as $ZodCheckLowerCase, Xr as toDotPath, Xt as $ZodObject, Y as processSchema, Yn as $ZodCheckLessThan, Yr as prettifyError, Yt as $ZodNumberFormat, Z as $input, Zn as $ZodCheckMaxLength, Zr as treeifyError, Zt as $ZodObjectJIT, _n as $ZodUndefined, _t as $ZodDate, an as $ZodSet, ar as $ZodCheckProperties, at as $ZodBigInt, bn as $ZodVoid, br as _decodeAsync, bt as $ZodE164, cn as $ZodSuccess, cr as $ZodCheckSizeEquals, ct as $ZodCIDRv4, dn as $ZodTransform, dr as $ZodCheckUpperCase, dt as $ZodCUID2, ei as $brand, en as $ZodPrefault, er as $ZodCheckMinLength, et as registry, fn as $ZodTuple, ft as $ZodCatch, gi as isPlainObject, gn as $ZodUUID, gt as $ZodCustomStringFormat, hn as $ZodURL, ht as $ZodCustom, ii as globalConfig, in as $ZodRecord, ir as $ZodCheckOverwrite, it as $ZodBase64URL, jn as isValidIBAN, jr as decode, jt as $ZodISODate, kn as isValidCIDRv6, kr as _safeParse, kt as $ZodIPv4, ln as $ZodSymbol, lr as $ZodCheckStartsWith, lt as $ZodCIDRv6, mn as $ZodULID, mt as $ZodCreditCard, n as allProcessors, ni as NEVER, nn as $ZodPromise, nr as $ZodCheckMultipleOf, nt as $ZodArray, oi as assignProp, on as $ZodString, or as $ZodCheckProperty, ot as $ZodBigIntFormat, pn as $ZodType, pt as $ZodCodec, q as handleUnrepresentable, qn as $ZodCheckIncludes, qr as flattenError, qt as $ZodNullable, ri as config, rn as $ZodReadonly, rr as $ZodCheckNumberFormat, rt as $ZodBase64, si as clone, sn as $ZodStringFormat, sr as $ZodCheckRegex, st as $ZodBoolean, ti as $constructor, tn as $ZodPreprocess, tr as $ZodCheckMinSize, tt as $ZodAny, un as $ZodTemplateLiteral, ur as $ZodCheckStringFormat, ut as $ZodCUID, vi as joinValues, vn as $ZodUnion, vr as regexes_exports, vt as $ZodDefault, wn as base64urlCharset, wr as _parseAsync, wt as $ZodExactOptional, xi as mergeDefs, xn as $ZodXID, xr as _encode, xt as $ZodEmail, yn as $ZodUnknown, yr as _decode, yt as $ZodDiscriminatedUnion, zn as urlProtocolOk, zr as safeEncode, zt as $ZodLiteral } from "./json-schema-processors-CIhP-F53.mjs";
import { $ as ZodPipe, $i as _promise, $n as symbol, $r as _email, $t as exactOptional, A as ZodIPv6, Aa as _uuid, Ai as _map, An as never, Ar as _any, At as _undefined$1, B as ZodLiteral, Ba as $ZodCyclicError, Bi as _negative, Bn as preprocess, Br as _coercedBigint, Bt as cidrv6, C as ZodEnum, Ca as _uint64, Ci as _lazy, Cn as looseRecord, Cr as safeEncode$1, Ct as _ZodString, D as ZodGUID, Da as _unknown, Di as _lt, Dn as nan, Dr as ZodError, Dt as _function, E as ZodFunction, Ea as _union, Ei as _lowercase, En as meta$1, Er as safeParseAsync$1, Et as _enum$1, F as ZodInstanceOf, Fa as _xid, Fi as _minSize, Fn as object, Fr as _boolean, Ft as base64url, G as ZodNever, Gi as _normalize, Gn as schemas_exports, Gr as _creditCard, Gt as currencyCode, H as ZodMap, Ha as isRecursiveSchema, Hi as _nonnegative, Hn as readonly, Hr as _coercedDate, Ht as creditCard, I as ZodIntersection, Ia as _xor, Ii as _multipleOf, In as optional, Ir as _catch, It as bigint, J as ZodNullable, Ji as _number, Jn as string, Jr as _custom, Jt as describe$1, K as ZodNonOptional, Ki as _null, Kn as set, Kr as _cuid, Kt as custom, L as ZodJWT, La as describe, Li as _nan, Ln as partialRecord, Lr as _check, Lt as boolean, M as ZodISODateTime, Ma as _uuidv6, Mi as _maxSize, Mn as nullable, Mr as _base64, Mt as any, N as ZodISODuration, Na as _uuidv7, Ni as _mime, Nn as nullish, Nr as _base64url, Nt as array, O as ZodIBAN, Oa as _uppercase, Oi as _lte, On as nanoid, Or as ZodRealError, Ot as _instanceof, P as ZodISOTime, Pa as _void, Pi as _minLength, Pn as number, Pr as _bigint, Pt as base64, Q as ZodOptional, Qi as _positive, Qn as superRefine, Qr as _e164, Qt as emoji, R as ZodKSUID, Ra as meta, Ri as _nanoid, Rn as pipe, Rr as _cidrv4, Rt as check, S as ZodEmoji, Sa as _uint32, Si as _ksuid, Sn as looseObject, Sr as safeDecodeAsync$1, St as ZodXor, T as ZodFile, Ta as _undefined, Ti as _literal, Tn as map, Tr as safeParse$1, Tt as _default$1, U as ZodNaN, Ua as memoizer, Ui as _nonoptional, Un as record, Ur as _coercedNumber, Ut as cuid, V as ZodMAC, Va as isBackEdge, Vi as _never, Vn as promise, Vr as _coercedBoolean, Vt as codec, W as ZodNanoID, Wi as _nonpositive, Wn as refine, Wr as _coercedString, Wt as cuid2, X as ZodNumberFormat, Xi as _overwrite, Xn as stringbool, Xr as _default, Xt as e164, Y as ZodNumber, Yi as _optional, Yn as stringFormat, Yr as _date, Yt as discriminatedUnion, Z as ZodObject, Zi as _pipe, Zn as success, Zr as _discriminatedUnion, Zt as email, _ as ZodDate, _a as _toLowerCase, _i as _isoDate, _n as jwt, _r as encode$1, _t as ZodUndefined, a as ZodBigInt, aa as _regex, ai as _float64, an as hex, ar as ulid, at as ZodSet, b as ZodE164, ba as _trim, bi as _isoTime, bn as lazy, br as parseAsync$1, bt as ZodVoid, c as ZodCIDRv4, ca as _slugify, ci as _guid, cn as iban, cr as url, ct as ZodSuccess, d as ZodCUID2, da as _stringFormat, di as _int, dn as int64, dr as uuidv6, dt as ZodTransform, ea as _properties, ei as _emoji, en as file, er as templateLiteral, et as ZodPrefault, f as ZodCatch, fa as _stringbool, fi as _int32, fn as intersection, fr as uuidv7, ft as ZodTuple, g as ZodCustomStringFormat, ga as _templateLiteral, gi as _ipv6, gn as json, gr as decodeAsync$1, gt as ZodUUID, h as ZodCustom, ha as _symbol, hi as _ipv4, hn as ipv6, hr as decode$1, ht as ZodURL, i as ZodBase64URL, ia as _refine, ii as _float32, in as hash, ir as uint64, it as ZodRecord, j as ZodISODate, ja as _uuidv4, ji as _maxLength, jn as nonoptional, jr as _array, jt as _void$1, k as ZodIPv4, ka as _url, ki as _mac, kn as nativeEnum, kr as TimePrecision, kt as _null$1, l as ZodCIDRv6, la as _startsWith, li as _iban, ln as int, lr as uuid, lt as ZodSymbol, m as ZodCreditCard, ma as _superRefine, mi as _intersection, mn as ipv4, mr as xor, mt as ZodULID, n as ZodArray, na as _readonly, ni as _enum, nn as float64, nr as tuple, nt as ZodPromise, o as ZodBigIntFormat, oa as _set, oi as _gt, on as hostname, or as union, ot as ZodString, p as ZodCodec, pa as _success, pi as _int64, pn as invertCodec, pr as xid, pt as ZodType, q as ZodNull, qi as _nullable, qn as strictObject, qr as _cuid2, qt as date, r as ZodBase64, ra as _record, ri as _file, rn as guid, rr as uint32, rt as ZodReadonly, s as ZodBoolean, sa as _size, si as _gte, sn as httpUrl, sr as unknown, st as ZodStringFormat, t as ZodAny, ta as _property, ti as _endsWith, tn as float32, tr as transform, tt as ZodPreprocess, u as ZodCUID, ua as _string, ui as _includes, un as int32, ur as uuidv4, ut as ZodTemplateLiteral, v as ZodDefault, va as _toUpperCase, vi as _isoDateTime, vn as keyof, vr as encodeAsync$1, vt as ZodUnion, w as ZodExactOptional, wa as _ulid, wi as _length, wn as mac, wr as safeEncodeAsync$1, wt as _catch$1, x as ZodEmail, xa as _tuple, xi as _jwt, xn as literal, xr as safeDecode$1, xt as ZodXID, y as ZodDiscriminatedUnion, ya as _transform, yi as _isoDuration, yn as ksuid, yr as parse$1, yt as ZodUnknown, z as ZodLazy, za as en_default, zi as _nativeEnum, zn as prefault, zr as _cidrv6, zt as cidrv4 } from "./schemas-Cy6abvsu.mjs";
import { a as compileFn, i as compile, n as ZodCompileAsyncError, o as withParser, r as ZodCompileUnsupportedError, t as INVALID } from "./compile-BPxT0I0w.mjs";
import { i as setErrorMap, n as ZodIssueCode, r as getErrorMap, t as ZodFirstPartyTypeKind } from "./compat-76W6bfd0.mjs";
import { n as iso_exports } from "./iso-DaJ-ni95.mjs";
import { t as coerce_exports } from "./coerce-DoLDr5BN.mjs";
import "./plugin-entry-CiJdaHtx.mjs";
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ar.js
const error$59 = () => {
const e = {
string: {
unit: "حرف",
verb: "أن يحوي"
},
file: {
unit: "بايت",
verb: "أن يحوي"
},
array: {
unit: "عنصر",
verb: "أن يحوي"
},
set: {
unit: "عنصر",
verb: "أن يحوي"
},
map: {
unit: "عنصر",
verb: "أن يحوي"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "مدخل",
email: "بريد إلكتروني",
url: "رابط",
emoji: "إيموجي",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "تاريخ ووقت بمعيار ISO",
date: "تاريخ بمعيار ISO",
time: "وقت بمعيار ISO",
duration: "مدة بمعيار ISO",
ipv4: "عنوان IPv4",
ipv6: "عنوان IPv6",
mac: "عنوان MAC",
cidrv4: "مدى عناوين بصيغة IPv4",
cidrv6: "مدى عناوين بصيغة IPv6",
base64: "نَص بترميز base64-encoded",
base64url: "نَص بترميز base64url-encoded",
json_string: "نَص على هيئة JSON",
e164: "رقم هاتف بمعيار E.164",
credit_card: "رقم بطاقة الائتمان",
currency_code: "رمز العملة",
iban: "IBAN",
jwt: "JWT",
template_literal: "مدخل"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `مدخلات غير مقبولة: يفترض إدخال instanceof ${e.expected}، ولكن تم إدخال ${i}`;
return `مدخلات غير مقبولة: يفترض إدخال ${t}، ولكن تم إدخال ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `مدخلات غير مقبولة: يفترض إدخال ${stringifyPrimitive(e.values[0])}`;
return `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return ` أكبر من اللازم: يفترض أن تكون ${e.origin ?? "القيمة"} ${t} ${e.maximum.toString()} ${n.unit ?? "عنصر"}`;
return `أكبر من اللازم: يفترض أن تكون ${e.origin ?? "القيمة"} ${t} ${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${t} ${e.minimum.toString()} ${n.unit}`;
return `أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${t} ${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `نَص غير مقبول: يجب أن يبدأ بـ "${e.prefix}"`;
if (n.format === "ends_with") return `نَص غير مقبول: يجب أن ينتهي بـ "${n.suffix}"`;
if (n.format === "includes") return `نَص غير مقبول: يجب أن يتضمَّن "${n.includes}"`;
if (n.format === "regex") return `نَص غير مقبول: يجب أن يطابق النمط ${n.pattern}`;
return `${t[n.format] ?? e.format} غير مقبول`;
}
case "not_multiple_of": return `رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`;
case "unrecognized_keys": return `معرف${e.keys.length > 1 ? "ات" : ""} غريب${e.keys.length > 1 ? "ة" : ""}: ${joinValues(e.keys, "، ")}`;
case "invalid_key": return `معرف غير مقبول في ${e.origin}`;
case "invalid_union": return "مدخل غير مقبول";
case "invalid_element": return `مدخل غير مقبول في ${e.origin}`;
default: return "مدخل غير مقبول";
}
};
};
function ar_default() {
return { localeError: error$59() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/az.js
const error$58 = () => {
const e = {
string: {
unit: "simvol",
verb: "olmalıdır"
},
file: {
unit: "bayt",
verb: "olmalıdır"
},
array: {
unit: "element",
verb: "olmalıdır"
},
set: {
unit: "element",
verb: "olmalıdır"
},
map: {
unit: "element",
verb: "olmalıdır"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "input",
email: "email address",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO datetime",
date: "ISO date",
time: "ISO time",
duration: "ISO duration",
ipv4: "IPv4 address",
ipv6: "IPv6 address",
mac: "MAC address",
cidrv4: "IPv4 range",
cidrv6: "IPv6 range",
base64: "base64-encoded string",
base64url: "base64url-encoded string",
json_string: "JSON string",
e164: "E.164 number",
credit_card: "kredit kartı nömrəsi",
currency_code: "valyuta kodu",
iban: "IBAN",
jwt: "JWT",
template_literal: "input"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Yanlış dəyər: gözlənilən instanceof ${e.expected}, daxil olan ${i}`;
return `Yanlış dəyər: gözlənilən ${t}, daxil olan ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Yanlış dəyər: gözlənilən ${stringifyPrimitive(e.values[0])}`;
return `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Çox böyük: gözlənilən ${e.origin ?? "dəyər"} ${t}${e.maximum.toString()} ${n.unit ?? "element"}`;
return `Çox böyük: gözlənilən ${e.origin ?? "dəyər"} ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Çox kiçik: gözlənilən ${e.origin} ${t}${e.minimum.toString()} ${n.unit}`;
return `Çox kiçik: gözlənilən ${e.origin} ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Yanlış mətn: "${n.prefix}" ilə başlamalıdır`;
if (n.format === "ends_with") return `Yanlış mətn: "${n.suffix}" ilə bitməlidir`;
if (n.format === "includes") return `Yanlış mətn: "${n.includes}" daxil olmalıdır`;
if (n.format === "regex") return `Yanlış mətn: ${n.pattern} şablonuna uyğun olmalıdır`;
return `Yanlış ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`;
case "unrecognized_keys": return `Tanınmayan açar${e.keys.length > 1 ? "lar" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} daxilində yanlış açar`;
case "invalid_union": return "Yanlış dəyər";
case "invalid_element": return `${e.origin} daxilində yanlış dəyər`;
default: return `Yanlış dəyər`;
}
};
};
function az_default() {
return { localeError: error$58() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/be.js
function getBelarusianPlural(e, t, n, r) {
const i = Math.abs(e);
const a = i % 10;
const o = i % 100;
if (o >= 11 && o <= 19) return r;
if (a === 1) return t;
if (a >= 2 && a <= 4) return n;
return r;
}
const error$57 = () => {
const e = {
string: {
unit: {
one: "сімвал",
few: "сімвалы",
many: "сімвалаў"
},
verb: "мець"
},
array: {
unit: {
one: "элемент",
few: "элементы",
many: "элементаў"
},
verb: "мець"
},
set: {
unit: {
one: "элемент",
few: "элементы",
many: "элементаў"
},
verb: "мець"
},
map: {
unit: {
one: "элемент",
few: "элементы",
many: "элементаў"
},
verb: "мець"
},
file: {
unit: {
one: "байт",
few: "байты",
many: "байтаў"
},
verb: "мець"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "увод",
email: "email адрас",
url: "URL",
emoji: "эмодзі",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO дата і час",
date: "ISO дата",
time: "ISO час",
duration: "ISO працягласць",
ipv4: "IPv4 адрас",
ipv6: "IPv6 адрас",
mac: "MAC адрас",
cidrv4: "IPv4 дыяпазон",
cidrv6: "IPv6 дыяпазон",
base64: "радок у фармаце base64",
base64url: "радок у фармаце base64url",
json_string: "JSON радок",
e164: "нумар E.164",
credit_card: "нумар крэдытнай карты",
currency_code: "код валюты",
iban: "IBAN",
jwt: "JWT",
template_literal: "увод"
};
const n = {
nan: "NaN",
number: "лік",
array: "масіў"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Няправільны ўвод: чакаўся instanceof ${e.expected}, атрымана ${i}`;
return `Няправільны ўвод: чакаўся ${t}, атрымана ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Няправільны ўвод: чакалася ${stringifyPrimitive(e.values[0])}`;
return `Няправільны варыянт: чакаўся адзін з ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) {
const r = getBelarusianPlural(Number(e.maximum), n.unit.one, n.unit.few, n.unit.many);
return `Занадта вялікі: чакалася, што ${e.origin ?? "значэнне"} павінна ${n.verb} ${t}${e.maximum.toString()} ${r}`;
}
return `Занадта вялікі: чакалася, што ${e.origin ?? "значэнне"} павінна быць ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) {
const r = getBelarusianPlural(Number(e.minimum), n.unit.one, n.unit.few, n.unit.many);
return `Занадта малы: чакалася, што ${e.origin} павінна ${n.verb} ${t}${e.minimum.toString()} ${r}`;
}
return `Занадта малы: чакалася, што ${e.origin} павінна быць ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Няправільны радок: павінен пачынацца з "${n.prefix}"`;
if (n.format === "ends_with") return `Няправільны радок: павінен заканчвацца на "${n.suffix}"`;
if (n.format === "includes") return `Няправільны радок: павінен змяшчаць "${n.includes}"`;
if (n.format === "regex") return `Няправільны радок: павінен адпавядаць шаблону ${n.pattern}`;
return `Няправільны ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Няправільны лік: павінен быць кратным ${e.divisor}`;
case "unrecognized_keys": return `Нераспазнаны ${e.keys.length > 1 ? "ключы" : "ключ"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Няправільны ключ у ${e.origin}`;
case "invalid_union": return "Няправільны ўвод";
case "invalid_element": return `Няправільнае значэнне ў ${e.origin}`;
default: return `Няправільны ўвод`;
}
};
};
function be_default() {
return { localeError: error$57() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/bg.js
const error$56 = () => {
const e = {
string: {
unit: "символа",
verb: "да съдържа"
},
file: {
unit: "байта",
verb: "да съдържа"
},
array: {
unit: "елемента",
verb: "да съдържа"
},
set: {
unit: "елемента",
verb: "да съдържа"
},
map: {
unit: "елемента",
verb: "да съдържа"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "вход",
email: "имейл адрес",
url: "URL",
emoji: "емоджи",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO време",
date: "ISO дата",
time: "ISO време",
duration: "ISO продължителност",
ipv4: "IPv4 адрес",
ipv6: "IPv6 адрес",
mac: "MAC адрес",
cidrv4: "IPv4 диапазон",
cidrv6: "IPv6 диапазон",
base64: "base64-кодиран низ",
base64url: "base64url-кодиран низ",
json_string: "JSON низ",
e164: "E.164 номер",
credit_card: "номер на кредитна карта",
currency_code: "код на валута",
iban: "IBAN",
jwt: "JWT",
template_literal: "вход"
};
const n = {
nan: "NaN",
number: "число",
array: "масив"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Невалиден вход: очакван instanceof ${e.expected}, получен ${i}`;
return `Невалиден вход: очакван ${t}, получен ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Невалиден вход: очакван ${stringifyPrimitive(e.values[0])}`;
return `Невалидна опция: очаквано едно от ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Твърде голямо: очаква се ${e.origin ?? "стойност"} да съдържа ${t}${e.maximum.toString()} ${n.unit ?? "елемента"}`;
return `Твърде голямо: очаква се ${e.origin ?? "стойност"} да бъде ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Твърде малко: очаква се ${e.origin} да съдържа ${t}${e.minimum.toString()} ${n.unit}`;
return `Твърде малко: очаква се ${e.origin} да бъде ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Невалиден низ: трябва да започва с "${n.prefix}"`;
if (n.format === "ends_with") return `Невалиден низ: трябва да завършва с "${n.suffix}"`;
if (n.format === "includes") return `Невалиден низ: трябва да включва "${n.includes}"`;
if (n.format === "regex") return `Невалиден низ: трябва да съвпада с ${n.pattern}`;
let r = "Невалиден";
if (n.format === "emoji") r = "Невалидно";
if (n.format === "datetime") r = "Невалидно";
if (n.format === "date") r = "Невалидна";
if (n.format === "time") r = "Невалидно";
if (n.format === "duration") r = "Невалидна";
return `${r} ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Невалидно число: трябва да бъде кратно на ${e.divisor}`;
case "unrecognized_keys": return `Неразпознат${e.keys.length > 1 ? "и" : ""} ключ${e.keys.length > 1 ? "ове" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Невалиден ключ в ${e.origin}`;
case "invalid_union": return "Невалиден вход";
case "invalid_element": return `Невалидна стойност в ${e.origin}`;
default: return `Невалиден вход`;
}
};
};
function bg_default() {
return { localeError: error$56() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/bn.js
const error$55 = () => {
const e = {
string: {
unit: "অক্ষর",
verb: "থাকতে হবে"
},
file: {
unit: "বাইট",
verb: "থাকতে হবে"
},
array: {
unit: "আইটেম",
verb: "থাকতে হবে"
},
set: {
unit: "আইটেম",
verb: "থাকতে হবে"
},
map: {
unit: "এন্ট্রি",
verb: "থাকতে হবে"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ইনপুট",
email: "ইমেইল ঠিকানা",
url: "URL",
emoji: "ইমোজি",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO তারিখ ও সময়",
date: "ISO তারিখ",
time: "ISO সময়",
duration: "ISO সময়কাল",
ipv4: "IPv4 ঠিকানা",
ipv6: "IPv6 ঠিকানা",
mac: "MAC ঠিকানা",
cidrv4: "IPv4 রেঞ্জ",
cidrv6: "IPv6 রেঞ্জ",
base64: "base64-এনকোডেড স্ট্রিং",
base64url: "base64url-এনকোডেড স্ট্রিং",
json_string: "JSON স্ট্রিং",
e164: "E.164 নম্বর",
credit_card: "ক্রেডিট কার্ড নম্বর",
currency_code: "মুদ্রা কোড",
iban: "IBAN",
jwt: "JWT",
template_literal: "ইনপুট"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
return `অবৈধ ইনপুট: প্রত্যাশিত ${t}, প্রাপ্ত ${n[r] ?? r}`;
}
case "invalid_value":
if (e.values.length === 1) return `অবৈধ ইনপুট: প্রত্যাশিত ${stringifyPrimitive(e.values[0])}`;
return `অবৈধ অপশন: ${joinValues(e.values, " | ")} এর মধ্যে একটি প্রত্যাশিত`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `অনেক বড়: ${e.origin ?? "মান"} ${t}${e.maximum.toString()} ${n.unit ?? "এলিমেন্ট"} হতে হবে`;
return `অনেক বড়: ${e.origin ?? "মান"} ${t}${e.maximum.toString()} হতে হবে`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `অনেক ছোট: ${e.origin} ${t}${e.minimum.toString()} ${n.unit} হতে হবে`;
return `অনেক ছোট: ${e.origin} ${t}${e.minimum.toString()} হতে হবে`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `অবৈধ স্ট্রিং: "${n.prefix}" দিয়ে শুরু হতে হবে`;
if (n.format === "ends_with") return `অবৈধ স্ট্রিং: "${n.suffix}" দিয়ে শেষ হতে হবে`;
if (n.format === "includes") return `অবৈধ স্ট্রিং: "${n.includes}" অন্তর্ভুক্ত থাকতে হবে`;
if (n.format === "regex") return `অবৈধ স্ট্রিং: ${n.pattern} প্যাটার্ন মিলতে হবে`;
return `অবৈধ ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `অবৈধ নম্বর: ${e.divisor} এর গুণিতক হতে হবে`;
case "unrecognized_keys": return `অচেনা কী${e.keys.length > 1 ? "গুলো" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} এ অবৈধ কী`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `অবৈধ ডিসক্রিমিনেটর মান। প্রত্যাশিত ${e.options.map((e) => `'${e}'`).join(" | ")}`;
return "অবৈধ ইনপুট";
case "invalid_element": return `${e.origin} এ অবৈধ মান`;
default: return "অবৈধ ইনপুট";
}
};
};
function bn_default() {
return { localeError: error$55() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ca.js
const error$54 = () => {
const e = {
string: {
unit: "caràcters",
verb: "contenir"
},
file: {
unit: "bytes",
verb: "contenir"
},
array: {
unit: "elements",
verb: "contenir"
},
set: {
unit: "elements",
verb: "contenir"
},
map: {
unit: "elements",
verb: "contenir"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "entrada",
email: "adreça electrònica",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "data i hora ISO",
date: "data ISO",
time: "hora ISO",
duration: "durada ISO",
ipv4: "adreça IPv4",
ipv6: "adreça IPv6",
mac: "adreça MAC",
cidrv4: "rang IPv4",
cidrv6: "rang IPv6",
base64: "cadena codificada en base64",
base64url: "cadena codificada en base64url",
json_string: "cadena JSON",
e164: "número E.164",
credit_card: "número de targeta de crèdit",
currency_code: "codi de moneda",
iban: "IBAN",
jwt: "JWT",
template_literal: "entrada"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Tipus invàlid: s'esperava instanceof ${e.expected}, s'ha rebut ${i}`;
return `Tipus invàlid: s'esperava ${t}, s'ha rebut ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Valor invàlid: s'esperava ${stringifyPrimitive(e.values[0])}`;
return `Opció invàlida: s'esperava una de ${joinValues(e.values, " o ")}`;
case "too_big": {
const t = e.inclusive ? "com a màxim" : "menys de";
const n = getSizing(e.origin);
if (n) return `Massa gran: s'esperava que ${e.origin ?? "el valor"} contingués ${t} ${e.maximum.toString()} ${n.unit ?? "elements"}`;
return `Massa gran: s'esperava que ${e.origin ?? "el valor"} fos ${t} ${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? "com a mínim" : "més de";
const n = getSizing(e.origin);
if (n) return `Massa petit: s'esperava que ${e.origin} contingués ${t} ${e.minimum.toString()} ${n.unit}`;
return `Massa petit: s'esperava que ${e.origin} fos ${t} ${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Format invàlid: ha de començar amb "${n.prefix}"`;
if (n.format === "ends_with") return `Format invàlid: ha d'acabar amb "${n.suffix}"`;
if (n.format === "includes") return `Format invàlid: ha d'incloure "${n.includes}"`;
if (n.format === "regex") return `Format invàlid: ha de coincidir amb el patró ${n.pattern}`;
return `Format invàlid per a ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Número invàlid: ha de ser múltiple de ${e.divisor}`;
case "unrecognized_keys": return `Clau${e.keys.length > 1 ? "s" : ""} no reconeguda${e.keys.length > 1 ? "s" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Clau invàlida a ${e.origin}`;
case "invalid_union": return "Entrada invàlida";
case "invalid_element": return `Element invàlid a ${e.origin}`;
default: return `Entrada invàlida`;
}
};
};
function ca_default() {
return { localeError: error$54() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ckb.js
const error$53 = () => {
const e = {
string: {
unit: "پیت",
verb: "بێت"
},
file: {
unit: "بایت",
verb: "بێت"
},
array: {
unit: "دانە",
verb: "بێت"
},
set: {
unit: "دانە",
verb: "بێت"
},
map: {
unit: "دانە",
verb: "بێت"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "regex",
email: "ئیمەیڵ",
url: "بەستەر (URL)",
emoji: "ئیمۆجی",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ڕێکەوت و کات",
date: "ڕێکەوت",
time: "کات",
duration: "ماوە",
ipv4: "ناونیشانی IPv4",
ipv6: "ناونیشانی IPv6",
mac: "ناونیشانی MAC",
cidrv4: "مەودای IPv4",
cidrv6: "مەودای IPv6",
base64: "دەقی base64",
base64url: "دەقی base64url",
json_string: "دەقی JSON",
e164: "ژمارەی E.164",
credit_card: "ژمارەی کارتی کرێدیت",
currency_code: "کۆدی دراو",
iban: "IBAN",
jwt: "JWT",
template_literal: "تێکردە"
};
const n = {
nan: "NaN",
string: "نووسین",
number: "ژمارە",
boolean: "boolean",
array: "array",
object: "object",
date: "ڕێکەوت",
integer: "ژمارە",
float: "ژمارە",
null: "null",
undefined: "undefined",
function: "function",
symbol: "symbol",
unknown: "unknown",
promise: "promise",
void: "void",
never: "never",
map: "map",
set: "set"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
const a = [
"ا",
"و",
"ۆ",
"وو",
"ە",
"ی",
"ێ"
].some((e) => i.endsWith(e)) ? "یە" : "ە";
const o = /^[a-zA-Z]+$/.test(i);
if (r === "null" || r === "undefined") return `داواکراوە`;
return `چاوەڕوانکراوە ${t} بێت، بەڵام ${i}${o ? "" : a}`;
}
case "invalid_value":
if (e.values.length === 1) return `بەهاکە نادرووستە: چاوەڕوانکراوە ${stringifyPrimitive(e.values[0])} بێت`;
return `هەڵبژاردەی نادروست: چاوەڕوانکراوە یەکێک بێت لە ${joinValues(e.values, "|")}`;
case "too_big": {
const t = getSizing(e.origin);
if (t) return `پێویستە بە لایەنی زۆرەوە ${e.maximum.toString()} ${t.unit} ${t.verb}`;
return `پێویستە بە لایەنی زۆرەوە ${e.maximum.toString()} بێت`;
}
case "too_small": {
const t = getSizing(e.origin);
if (t) return `پێویستە بە لایەنی کەمەوە ${e.minimum.toString()} ${t.unit} ${t.verb}`;
return `پێویستە بە لایەنی کەمەوە ${e.minimum.toString()} بێت`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `دەقی نادروست: پێویستە دەستپێبکات بە "${n.prefix}"`;
if (n.format === "ends_with") return `دەقی نادروست: پێویستە کۆتاییبێت بە "${n.suffix}"`;
if (n.format === "includes") return `دەقی نادروست: پێویستە "${n.includes}" لەخۆبگرێت`;
if (n.format === "regex") return `دەقی نادروست: پێویستە لەگەڵ پاتێرنی ${n.pattern} بگونجێت`;
return `بەهای ${t[n.format] ?? e.format} نادروستە`;
}
case "not_multiple_of": return `ژمارەی نادروست: دەبێت چەند هێندە بێت بۆ ${e.divisor}`;
case "unrecognized_keys": return `کلیلی نەناسراو: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `کلیلی نادروست لە ${e.origin}`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `بەهای نەناسراو هەیە. بەهای چاوەڕوانکراو: ${e.options.map((e) => `'${e}'`).join(" | ")}`;
return "یەکگرتنی نادروست";
case "invalid_element": return `${e.origin} بەهاکە نادروستە`;
default: return `تێکردەی نادروست`;
}
};
};
function ckb_default() {
return { localeError: error$53() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/cs.js
const error$52 = () => {
const e = {
string: {
unit: "znaků",
verb: "mít"
},
file: {
unit: "bajtů",
verb: "mít"
},
array: {
unit: "prvků",
verb: "mít"
},
set: {
unit: "prvků",
verb: "mít"
},
map: {
unit: "prvků",
verb: "mít"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "regulární výraz",
email: "e-mailová adresa",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "datum a čas ve formátu ISO",
date: "datum ve formátu ISO",
time: "čas ve formátu ISO",
duration: "doba trvání ISO",
ipv4: "IPv4 adresa",
ipv6: "IPv6 adresa",
mac: "MAC adresa",
cidrv4: "rozsah IPv4",
cidrv6: "rozsah IPv6",
base64: "řetězec zakódovaný ve formátu base64",
base64url: "řetězec zakódovaný ve formátu base64url",
json_string: "řetězec ve formátu JSON",
e164: "číslo E.164",
credit_card: "číslo kreditní karty",
currency_code: "kód měny",
iban: "IBAN",
jwt: "JWT",
template_literal: "vstup"
};
const n = {
nan: "NaN",
number: "číslo",
string: "řetězec",
function: "funkce",
array: "pole"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Neplatný vstup: očekáváno instanceof ${e.expected}, obdrženo ${i}`;
return `Neplatný vstup: očekáváno ${t}, obdrženo ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Neplatný vstup: očekáváno ${stringifyPrimitive(e.values[0])}`;
return `Neplatná možnost: očekávána jedna z hodnot ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Hodnota je příliš velká: ${e.origin ?? "hodnota"} musí mít ${t}${e.maximum.toString()} ${n.unit ?? "prvků"}`;
return `Hodnota je příliš velká: ${e.origin ?? "hodnota"} musí být ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Hodnota je příliš malá: ${e.origin ?? "hodnota"} musí mít ${t}${e.minimum.toString()} ${n.unit ?? "prvků"}`;
return `Hodnota je příliš malá: ${e.origin ?? "hodnota"} musí být ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Neplatný řetězec: musí začínat na "${n.prefix}"`;
if (n.format === "ends_with") return `Neplatný řetězec: musí končit na "${n.suffix}"`;
if (n.format === "includes") return `Neplatný řetězec: musí obsahovat "${n.includes}"`;
if (n.format === "regex") return `Neplatný řetězec: musí odpovídat vzoru ${n.pattern}`;
return `Neplatný formát ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Neplatné číslo: musí být násobkem ${e.divisor}`;
case "unrecognized_keys": return `Neznámé klíče: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Neplatný klíč v ${e.origin}`;
case "invalid_union": return "Neplatný vstup";
case "invalid_element": return `Neplatná hodnota v ${e.origin}`;
default: return `Neplatný vstup`;
}
};
};
function cs_default() {
return { localeError: error$52() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/da.js
const error$51 = () => {
const e = {
string: {
unit: "tegn",
verb: "havde"
},
file: {
unit: "bytes",
verb: "havde"
},
array: {
unit: "elementer",
verb: "indeholdt"
},
set: {
unit: "elementer",
verb: "indeholdt"
},
map: {
unit: "elementer",
verb: "indeholdt"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "input",
email: "e-mailadresse",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO dato- og klokkeslæt",
date: "ISO-dato",
time: "ISO-klokkeslæt",
duration: "ISO-varighed",
ipv4: "IPv4-adresse",
ipv6: "IPv6-adresse",
mac: "MAC-adresse",
cidrv4: "IPv4-spektrum",
cidrv6: "IPv6-spektrum",
base64: "base64-kodet streng",
base64url: "base64url-kodet streng",
json_string: "JSON-streng",
e164: "E.164-nummer",
credit_card: "kreditkortnummer",
currency_code: "valutakode",
iban: "IBAN",
jwt: "JWT",
template_literal: "input"
};
const n = {
nan: "NaN",
string: "streng",
number: "tal",
boolean: "boolean",
array: "liste",
object: "objekt",
set: "sæt",
file: "fil"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Ugyldigt input: forventede instanceof ${e.expected}, fik ${i}`;
return `Ugyldigt input: forventede ${t}, fik ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Ugyldig værdi: forventede ${stringifyPrimitive(e.values[0])}`;
return `Ugyldigt valg: forventede en af følgende ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const r = getSizing(e.origin);
const i = n[e.origin] ?? e.origin;
if (r) return `For stor: forventede ${i ?? "value"} ${r.verb} ${t} ${e.maximum.toString()} ${r.unit ?? "elementer"}`;
return `For stor: forventede ${i ?? "value"} havde ${t} ${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const r = getSizing(e.origin);
const i = n[e.origin] ?? e.origin;
if (r) return `For lille: forventede ${i} ${r.verb} ${t} ${e.minimum.toString()} ${r.unit}`;
return `For lille: forventede ${i} havde ${t} ${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Ugyldig streng: skal starte med "${n.prefix}"`;
if (n.format === "ends_with") return `Ugyldig streng: skal ende med "${n.suffix}"`;
if (n.format === "includes") return `Ugyldig streng: skal indeholde "${n.includes}"`;
if (n.format === "regex") return `Ugyldig streng: skal matche mønsteret ${n.pattern}`;
return `Ugyldig ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Ugyldigt tal: skal være deleligt med ${e.divisor}`;
case "unrecognized_keys": return `${e.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Ugyldig nøgle i ${e.origin}`;
case "invalid_union": return "Ugyldigt input: matcher ingen af de tilladte typer";
case "invalid_element": return `Ugyldig værdi i ${e.origin}`;
default: return `Ugyldigt input`;
}
};
};
function da_default() {
return { localeError: error$51() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/de.js
const error$50 = () => {
const e = {
string: {
unit: "Zeichen",
verb: "zu haben"
},
file: {
unit: "Bytes",
verb: "zu haben"
},
array: {
unit: "Elemente",
verb: "zu haben"
},
set: {
unit: "Elemente",
verb: "zu haben"
},
map: {
unit: "Elemente",
verb: "zu haben"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "Eingabe",
email: "E-Mail-Adresse",
url: "URL",
emoji: "Emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO-Datum und -Uhrzeit",
date: "ISO-Datum",
time: "ISO-Uhrzeit",
duration: "ISO-Dauer",
ipv4: "IPv4-Adresse",
ipv6: "IPv6-Adresse",
mac: "MAC-Adresse",
cidrv4: "IPv4-Bereich",
cidrv6: "IPv6-Bereich",
base64: "Base64-codierter String",
base64url: "Base64-URL-codierter String",
json_string: "JSON-String",
e164: "E.164-Nummer",
credit_card: "Kreditkartennummer",
currency_code: "Währungscode",
iban: "IBAN",
jwt: "JWT",
template_literal: "Eingabe"
};
const n = {
nan: "NaN",
number: "Zahl",
array: "Array"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Ungültige Eingabe: erwartet instanceof ${e.expected}, erhalten ${i}`;
return `Ungültige Eingabe: erwartet ${t}, erhalten ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Ungültige Eingabe: erwartet ${stringifyPrimitive(e.values[0])}`;
return `Ungültige Option: erwartet eine von ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Zu groß: erwartet, dass ${e.origin ?? "Wert"} ${t}${e.maximum.toString()} ${n.unit ?? "Elemente"} hat`;
return `Zu groß: erwartet, dass ${e.origin ?? "Wert"} ${t}${e.maximum.toString()} ist`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Zu klein: erwartet, dass ${e.origin} ${t}${e.minimum.toString()} ${n.unit} hat`;
return `Zu klein: erwartet, dass ${e.origin} ${t}${e.minimum.toString()} ist`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Ungültiger String: muss mit "${n.prefix}" beginnen`;
if (n.format === "ends_with") return `Ungültiger String: muss mit "${n.suffix}" enden`;
if (n.format === "includes") return `Ungültiger String: muss "${n.includes}" enthalten`;
if (n.format === "regex") return `Ungültiger String: muss dem Muster ${n.pattern} entsprechen`;
return `Ungültig: ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`;
case "unrecognized_keys": return `${e.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Ungültiger Schlüssel in ${e.origin}`;
case "invalid_union": return "Ungültige Eingabe";
case "invalid_element": return `Ungültiger Wert in ${e.origin}`;
default: return `Ungültige Eingabe`;
}
};
};
function de_default() {
return { localeError: error$50() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/el.js
const error$49 = () => {
const e = {
string: {
unit: "χαρακτήρες",
verb: "να έχει"
},
file: {
unit: "bytes",
verb: "να έχει"
},
array: {
unit: "στοιχεία",
verb: "να έχει"
},
set: {
unit: "στοιχεία",
verb: "να έχει"
},
map: {
unit: "καταχωρήσεις",
verb: "να έχει"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "είσοδος",
email: "διεύθυνση email",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO ημερομηνία και ώρα",
date: "ISO ημερομηνία",
time: "ISO ώρα",
duration: "ISO διάρκεια",
ipv4: "διεύθυνση IPv4",
ipv6: "διεύθυνση IPv6",
mac: "διεύθυνση MAC",
cidrv4: "εύρος IPv4",
cidrv6: "εύρος IPv6",
base64: "συμβολοσειρά κωδικοποιημένη σε base64",
base64url: "συμβολοσειρά κωδικοποιημένη σε base64url",
json_string: "συμβολοσειρά JSON",
e164: "αριθμός E.164",
credit_card: "αριθμός πιστωτικής κάρτας",
currency_code: "κωδικός νομίσματος",
iban: "IBAN",
jwt: "JWT",
template_literal: "είσοδος"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (typeof e.expected === "string" && /^[A-Z]/.test(e.expected)) return `Μη έγκυρη είσοδος: αναμενόταν instanceof ${e.expected}, λήφθηκε ${i}`;
return `Μη έγκυρη είσοδος: αναμενόταν ${t}, λήφθηκε ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Μη έγκυρη είσοδος: αναμενόταν ${stringifyPrimitive(e.values[0])}`;
return `Μη έγκυρη επιλογή: αναμενόταν ένα από ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Πολύ μεγάλο: αναμενόταν ${e.origin ?? "τιμή"} να έχει ${t}${e.maximum.toString()} ${n.unit ?? "στοιχεία"}`;
return `Πολύ μεγάλο: αναμενόταν ${e.origin ?? "τιμή"} να είναι ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Πολύ μικρό: αναμενόταν ${e.origin} να έχει ${t}${e.minimum.toString()} ${n.unit}`;
return `Πολύ μικρό: αναμενόταν ${e.origin} να είναι ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${n.prefix}"`;
if (n.format === "ends_with") return `Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${n.suffix}"`;
if (n.format === "includes") return `Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${n.includes}"`;
if (n.format === "regex") return `Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${n.pattern}`;
return `Μη έγκυρο: ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${e.divisor}`;
case "unrecognized_keys": return `Άγνωστ${e.keys.length > 1 ? "α" : "ο"} κλειδ${e.keys.length > 1 ? "ιά" : "ί"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Μη έγκυρο κλειδί στο ${e.origin}`;
case "invalid_union": return "Μη έγκυρη είσοδος";
case "invalid_element": return `Μη έγκυρη τιμή στο ${e.origin}`;
default: return `Μη έγκυρη είσοδος`;
}
};
};
function el_default() {
return { localeError: error$49() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/eo.js
const error$48 = () => {
const e = {
string: {
unit: "karaktrojn",
verb: "havi"
},
file: {
unit: "bajtojn",
verb: "havi"
},
array: {
unit: "elementojn",
verb: "havi"
},
set: {
unit: "elementojn",
verb: "havi"
},
map: {
unit: "elementojn",
verb: "havi"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "enigo",
email: "retadreso",
url: "URL",
emoji: "emoĝio",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO-datotempo",
date: "ISO-dato",
time: "ISO-tempo",
duration: "ISO-daŭro",
ipv4: "IPv4-adreso",
ipv6: "IPv6-adreso",
mac: "MAC-adreso",
cidrv4: "IPv4-rango",
cidrv6: "IPv6-rango",
base64: "64-ume kodita karaktraro",
base64url: "URL-64-ume kodita karaktraro",
json_string: "JSON-karaktraro",
e164: "E.164-nombro",
credit_card: "kreditkarta numero",
currency_code: "valuta kodo",
iban: "IBAN",
jwt: "JWT",
template_literal: "enigo"
};
const n = {
nan: "NaN",
number: "nombro",
array: "tabelo",
null: "senvalora"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Nevalida enigo: atendiĝis instanceof ${e.expected}, riceviĝis ${i}`;
return `Nevalida enigo: atendiĝis ${t}, riceviĝis ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Nevalida enigo: atendiĝis ${stringifyPrimitive(e.values[0])}`;
return `Nevalida opcio: atendiĝis unu el ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Tro granda: atendiĝis ke ${e.origin ?? "valoro"} havu ${t}${e.maximum.toString()} ${n.unit ?? "elementojn"}`;
return `Tro granda: atendiĝis ke ${e.origin ?? "valoro"} havu ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Tro malgranda: atendiĝis ke ${e.origin} havu ${t}${e.minimum.toString()} ${n.unit}`;
return `Tro malgranda: atendiĝis ke ${e.origin} estu ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Nevalida karaktraro: devas komenciĝi per "${n.prefix}"`;
if (n.format === "ends_with") return `Nevalida karaktraro: devas finiĝi per "${n.suffix}"`;
if (n.format === "includes") return `Nevalida karaktraro: devas inkluzivi "${n.includes}"`;
if (n.format === "regex") return `Nevalida karaktraro: devas kongrui kun la modelo ${n.pattern}`;
return `Nevalida ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Nevalida nombro: devas esti oblo de ${e.divisor}`;
case "unrecognized_keys": return `Nekonata${e.keys.length > 1 ? "j" : ""} ŝlosilo${e.keys.length > 1 ? "j" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Nevalida ŝlosilo en ${e.origin}`;
case "invalid_union": return "Nevalida enigo";
case "invalid_element": return `Nevalida valoro en ${e.origin}`;
default: return `Nevalida enigo`;
}
};
};
function eo_default() {
return { localeError: error$48() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/es.js
const error$47 = () => {
const e = {
string: {
unit: "caracteres",
verb: "tener"
},
file: {
unit: "bytes",
verb: "tener"
},
array: {
unit: "elementos",
verb: "tener"
},
set: {
unit: "elementos",
verb: "tener"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "entrada",
email: "dirección de correo electrónico",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "fecha y hora ISO",
date: "fecha ISO",
time: "hora ISO",
duration: "duración ISO",
ipv4: "dirección IPv4",
ipv6: "dirección IPv6",
mac: "dirección MAC",
cidrv4: "rango IPv4",
cidrv6: "rango IPv6",
base64: "cadena codificada en base64",
base64url: "URL codificada en base64",
json_string: "cadena JSON",
e164: "número E.164",
credit_card: "número de tarjeta de crédito",
currency_code: "código de moneda",
iban: "IBAN",
jwt: "JWT",
template_literal: "entrada"
};
const n = {
nan: "NaN",
string: "texto",
number: "número",
boolean: "booleano",
array: "arreglo",
object: "objeto",
set: "conjunto",
file: "archivo",
date: "fecha",
bigint: "número grande",
symbol: "símbolo",
undefined: "indefinido",
null: "nulo",
function: "función",
map: "mapa",
record: "registro",
tuple: "tupla",
enum: "enumeración",
union: "unión",
literal: "literal",
promise: "promesa",
void: "vacío",
never: "nunca",
unknown: "desconocido",
any: "cualquiera"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Entrada inválida: se esperaba instanceof ${e.expected}, recibido ${i}`;
return `Entrada inválida: se esperaba ${t}, recibido ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Entrada inválida: se esperaba ${stringifyPrimitive(e.values[0])}`;
return `Opción inválida: se esperaba una de ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const r = getSizing(e.origin);
const i = n[e.origin] ?? e.origin;
if (r) return `Demasiado grande: se esperaba que ${i ?? "valor"} tuviera ${t}${e.maximum.toString()} ${r.unit ?? "elementos"}`;
return `Demasiado grande: se esperaba que ${i ?? "valor"} fuera ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const r = getSizing(e.origin);
const i = n[e.origin] ?? e.origin;
if (r) return `Demasiado pequeño: se esperaba que ${i} tuviera ${t}${e.minimum.toString()} ${r.unit}`;
return `Demasiado pequeño: se esperaba que ${i} fuera ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Cadena inválida: debe comenzar con "${n.prefix}"`;
if (n.format === "ends_with") return `Cadena inválida: debe terminar en "${n.suffix}"`;
if (n.format === "includes") return `Cadena inválida: debe incluir "${n.includes}"`;
if (n.format === "regex") return `Cadena inválida: debe coincidir con el patrón ${n.pattern}`;
return `Inválido ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Número inválido: debe ser múltiplo de ${e.divisor}`;
case "unrecognized_keys": return `Llave${e.keys.length > 1 ? "s" : ""} desconocida${e.keys.length > 1 ? "s" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Llave inválida en ${n[e.origin] ?? e.origin}`;
case "invalid_union": return "Entrada inválida";
case "invalid_element": return `Valor inválido en ${n[e.origin] ?? e.origin}`;
default: return `Entrada inválida`;
}
};
};
function es_default() {
return { localeError: error$47() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fa.js
const error$46 = () => {
const e = {
string: {
unit: "کاراکتر",
verb: "داشته باشد"
},
file: {
unit: "بایت",
verb: "داشته باشد"
},
array: {
unit: "آیتم",
verb: "داشته باشد"
},
set: {
unit: "آیتم",
verb: "داشته باشد"
},
map: {
unit: "آیتم",
verb: "داشته باشد"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ورودی",
email: "آدرس ایمیل",
url: "URL",
emoji: "ایموجی",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "تاریخ و زمان ایزو",
date: "تاریخ ایزو",
time: "زمان ایزو",
duration: "مدت زمان ایزو",
ipv4: "IPv4 آدرس",
ipv6: "IPv6 آدرس",
mac: "MAC آدرس",
cidrv4: "IPv4 دامنه",
cidrv6: "IPv6 دامنه",
base64: "base64-encoded رشته",
base64url: "base64url-encoded رشته",
json_string: "JSON رشته",
e164: "E.164 عدد",
credit_card: "شماره کارت اعتباری",
currency_code: "کد ارز",
iban: "IBAN",
jwt: "JWT",
template_literal: "ورودی"
};
const n = {
nan: "NaN",
number: "عدد",
array: "آرایه"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `ورودی نامعتبر: میبایست instanceof ${e.expected} میبود، ${i} دریافت شد`;
return `ورودی نامعتبر: میبایست ${t} میبود، ${i} دریافت شد`;
}
case "invalid_value":
if (e.values.length === 1) return `ورودی نامعتبر: میبایست ${stringifyPrimitive(e.values[0])} میبود`;
return `گزینه نامعتبر: میبایست یکی از ${joinValues(e.values, "|")} میبود`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `خیلی بزرگ: ${e.origin ?? "مقدار"} باید ${t}${e.maximum.toString()} ${n.unit ?? "عنصر"} باشد`;
return `خیلی بزرگ: ${e.origin ?? "مقدار"} باید ${t}${e.maximum.toString()} باشد`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `خیلی کوچک: ${e.origin} باید ${t}${e.minimum.toString()} ${n.unit} باشد`;
return `خیلی کوچک: ${e.origin} باید ${t}${e.minimum.toString()} باشد`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `رشته نامعتبر: باید با "${n.prefix}" شروع شود`;
if (n.format === "ends_with") return `رشته نامعتبر: باید با "${n.suffix}" تمام شود`;
if (n.format === "includes") return `رشته نامعتبر: باید شامل "${n.includes}" باشد`;
if (n.format === "regex") return `رشته نامعتبر: باید با الگوی ${n.pattern} مطابقت داشته باشد`;
return `${t[n.format] ?? e.format} نامعتبر`;
}
case "not_multiple_of": return `عدد نامعتبر: باید مضرب ${e.divisor} باشد`;
case "unrecognized_keys": return `کلید${e.keys.length > 1 ? "های" : ""} ناشناس: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `کلید ناشناس در ${e.origin}`;
case "invalid_union": return `ورودی نامعتبر`;
case "invalid_element": return `مقدار نامعتبر در ${e.origin}`;
default: return `ورودی نامعتبر`;
}
};
};
function fa_default() {
return { localeError: error$46() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fi.js
const error$45 = () => {
const e = {
string: {
unit: "merkkiä",
subject: "merkkijonon"
},
file: {
unit: "tavua",
subject: "tiedoston"
},
array: {
unit: "alkiota",
subject: "listan"
},
set: {
unit: "alkiota",
subject: "joukon"
},
map: {
unit: "alkiota",
subject: "kuvauksen"
},
number: {
unit: "",
subject: "luvun"
},
bigint: {
unit: "",
subject: "suuren kokonaisluvun"
},
int: {
unit: "",
subject: "kokonaisluvun"
},
date: {
unit: "",
subject: "päivämäärän"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "säännöllinen lauseke",
email: "sähköpostiosoite",
url: "URL-osoite",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO-aikaleima",
date: "ISO-päivämäärä",
time: "ISO-aika",
duration: "ISO-kesto",
ipv4: "IPv4-osoite",
ipv6: "IPv6-osoite",
mac: "MAC-osoite",
cidrv4: "IPv4-alue",
cidrv6: "IPv6-alue",
base64: "base64-koodattu merkkijono",
base64url: "base64url-koodattu merkkijono",
json_string: "JSON-merkkijono",
e164: "E.164-luku",
credit_card: "luottokortin numero",
currency_code: "valuuttakoodi",
iban: "IBAN",
jwt: "JWT",
template_literal: "templaattimerkkijono"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${i}`;
return `Virheellinen tyyppi: odotettiin ${t}, oli ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Virheellinen syöte: täytyy olla ${stringifyPrimitive(e.values[0])}`;
return `Virheellinen valinta: täytyy olla yksi seuraavista: ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Liian suuri: ${n.subject} täytyy olla ${t}${e.maximum.toString()} ${n.unit}`.trim();
return `Liian suuri: arvon täytyy olla ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Liian pieni: ${n.subject} täytyy olla ${t}${e.minimum.toString()} ${n.unit}`.trim();
return `Liian pieni: arvon täytyy olla ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Virheellinen syöte: täytyy alkaa "${n.prefix}"`;
if (n.format === "ends_with") return `Virheellinen syöte: täytyy loppua "${n.suffix}"`;
if (n.format === "includes") return `Virheellinen syöte: täytyy sisältää "${n.includes}"`;
if (n.format === "regex") return `Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${n.pattern}`;
return `Virheellinen ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`;
case "unrecognized_keys": return `${e.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return "Virheellinen avain tietueessa";
case "invalid_union": return "Virheellinen unioni";
case "invalid_element": return "Virheellinen arvo joukossa";
default: return `Virheellinen syöte`;
}
};
};
function fi_default() {
return { localeError: error$45() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fr.js
const error$44 = () => {
const e = {
string: {
unit: "caractères",
verb: "avoir"
},
file: {
unit: "octets",
verb: "avoir"
},
array: {
unit: "éléments",
verb: "avoir"
},
set: {
unit: "éléments",
verb: "avoir"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "expression régulière",
email: "adresse e-mail",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "date et heure ISO",
date: "date ISO",
time: "heure ISO",
duration: "durée ISO",
ipv4: "adresse IPv4",
ipv6: "adresse IPv6",
mac: "adresse MAC",
cidrv4: "plage IPv4",
cidrv6: "plage IPv6",
base64: "chaîne de caractères encodée en base64",
base64url: "chaîne de caractères encodée en base64url",
json_string: "chaîne de caractères JSON",
e164: "numéro au format E.164",
credit_card: "numéro de carte de crédit",
currency_code: "code de devise",
iban: "IBAN",
jwt: "JWT",
template_literal: "entrée"
};
const n = {
string: "chaîne de caractères",
number: "nombre",
int: "entier",
boolean: "booléen",
bigint: "grand entier",
symbol: "symbole",
undefined: "indéfini",
null: "null",
never: "jamais",
void: "vide",
date: "date",
array: "tableau",
object: "objet",
tuple: "tuple",
record: "record",
map: "map",
set: "ensemble",
file: "fichier",
nonoptional: "non optionnel",
nan: "NaN",
function: "fonction"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Entrée invalide : instance de ${e.expected} attendu, ${i} reçu`;
return `Entrée invalide : ${t} attendu, ${i} reçu`;
}
case "invalid_value":
if (e.values.length === 1) return `Entrée invalide : ${stringifyPrimitive(e.values[0])} attendu`;
return `Option invalide : une valeur parmi ${joinValues(e.values, "|")} attendue`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const r = getSizing(e.origin);
if (r) return `Trop grand : ${n[e.origin] ?? "valeur"} doit ${r.verb} ${t}${e.maximum.toString()} ${r.unit ?? "élément(s)"}`;
return `Trop grand : ${n[e.origin] ?? "valeur"} doit être ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const r = getSizing(e.origin);
if (r) return `Trop petit : ${n[e.origin] ?? "valeur"} doit ${r.verb} ${t}${e.minimum.toString()} ${r.unit}`;
return `Trop petit : ${n[e.origin] ?? "valeur"} doit être ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Chaîne de caractères invalide : doit commencer par "${n.prefix}"`;
if (n.format === "ends_with") return `Chaîne de caractères invalide : doit se terminer par "${n.suffix}"`;
if (n.format === "includes") return `Chaîne de caractères invalide : doit inclure "${n.includes}"`;
if (n.format === "regex") return `Chaîne de caractères invalide : doit correspondre au motif ${n.pattern}`;
return `${t[n.format] ?? e.format} invalide`;
}
case "not_multiple_of": return `Nombre invalide : doit être un multiple de ${e.divisor}`;
case "unrecognized_keys": return `Clé${e.keys.length > 1 ? "s" : ""} non reconnue${e.keys.length > 1 ? "s" : ""} : ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Clé invalide dans ${e.origin}`;
case "invalid_union": return "Entrée invalide";
case "invalid_element": return `Valeur invalide dans ${e.origin}`;
default: return `Entrée invalide`;
}
};
};
function fr_default() {
return { localeError: error$44() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fr-CA.js
const error$43 = () => {
const e = {
string: {
unit: "caractères",
verb: "avoir"
},
file: {
unit: "octets",
verb: "avoir"
},
array: {
unit: "éléments",
verb: "avoir"
},
set: {
unit: "éléments",
verb: "avoir"
},
map: {
unit: "éléments",
verb: "avoir"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "entrée",
email: "adresse courriel",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "date-heure ISO",
date: "date ISO",
time: "heure ISO",
duration: "durée ISO",
ipv4: "adresse IPv4",
ipv6: "adresse IPv6",
mac: "adresse MAC",
cidrv4: "plage IPv4",
cidrv6: "plage IPv6",
base64: "chaîne encodée en base64",
base64url: "chaîne encodée en base64url",
json_string: "chaîne JSON",
e164: "numéro E.164",
credit_card: "numéro de carte de crédit",
currency_code: "code de devise",
iban: "IBAN",
jwt: "JWT",
template_literal: "entrée"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Entrée invalide : attendu instanceof ${e.expected}, reçu ${i}`;
return `Entrée invalide : attendu ${t}, reçu ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Entrée invalide : attendu ${stringifyPrimitive(e.values[0])}`;
return `Option invalide : attendu l'une des valeurs suivantes ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "≤" : "<";
const n = getSizing(e.origin);
if (n) return `Trop grand : attendu que ${e.origin ?? "la valeur"} ait ${t}${e.maximum.toString()} ${n.unit}`;
return `Trop grand : attendu que ${e.origin ?? "la valeur"} soit ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? "≥" : ">";
const n = getSizing(e.origin);
if (n) return `Trop petit : attendu que ${e.origin} ait ${t}${e.minimum.toString()} ${n.unit}`;
return `Trop petit : attendu que ${e.origin} soit ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Chaîne invalide : doit commencer par "${n.prefix}"`;
if (n.format === "ends_with") return `Chaîne invalide : doit se terminer par "${n.suffix}"`;
if (n.format === "includes") return `Chaîne invalide : doit inclure "${n.includes}"`;
if (n.format === "regex") return `Chaîne invalide : doit correspondre au motif ${n.pattern}`;
return `${t[n.format] ?? e.format} invalide`;
}
case "not_multiple_of": return `Nombre invalide : doit être un multiple de ${e.divisor}`;
case "unrecognized_keys": return `Clé${e.keys.length > 1 ? "s" : ""} non reconnue${e.keys.length > 1 ? "s" : ""} : ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Clé invalide dans ${e.origin}`;
case "invalid_union": return "Entrée invalide";
case "invalid_element": return `Valeur invalide dans ${e.origin}`;
default: return `Entrée invalide`;
}
};
};
function fr_CA_default() {
return { localeError: error$43() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/gu.js
const error$42 = () => {
const e = {
string: {
unit: "અક્ષર",
verb: "હોવા જોઈએ"
},
file: {
unit: "બાયટ",
verb: "હોવા જોઈએ"
},
array: {
unit: "આઇટમ",
verb: "હોવા જોઈએ"
},
set: {
unit: "આઇટમ",
verb: "હોવા જોઈએ"
},
map: {
unit: "એન્ટ્રી",
verb: "હોવા જોઈએ"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ઇનપુટ",
email: "ઈમેઇલ એડ્રેસ",
url: "URL",
emoji: "ઇમોજી",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO તારીખ અને સમય",
date: "ISO તારીખ",
time: "ISO સમય",
duration: "ISO અવધિ",
ipv4: "IPv4 એડ્રેસ",
ipv6: "IPv6 એડ્રેસ",
mac: "MAC એડ્રેસ",
cidrv4: "IPv4 શ્રેણી",
cidrv6: "IPv6 શ્રેણી",
base64: "base64-એન્કોડેડ સ્ટ્રિંગ",
base64url: "base64url-એન્કોડેડ સ્ટ્રિંગ",
json_string: "JSON સ્ટ્રિંગ",
e164: "E.164 નંબર",
credit_card: "ક્રેડિટ કાર્ડ નંબર",
currency_code: "ચલણ કોડ",
iban: "IBAN",
jwt: "JWT",
template_literal: "ઇનપુટ"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
return `અમાન્ય ઇનપુટ: અપેક્ષિત ${t}, પ્રાપ્ત ${n[r] ?? r}`;
}
case "invalid_value":
if (e.values.length === 1) return `અમાન્ય ઇનપુટ: અપેક્ષિત ${stringifyPrimitive(e.values[0])}`;
return `અમાન્ય વિકલ્પ: ${joinValues(e.values, " | ")} માધ્યમથી એક અપેક્ષિત`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `ખૂબ મોટું: ${e.origin ?? "મૂલ્ય"} ${t}${e.maximum.toString()} ${n.unit ?? "એલિમેન્ટ"} હોવા જોઈએ`;
return `ખૂબ મોટું: ${e.origin ?? "મૂલ્ય"} ${t}${e.maximum.toString()} હોવું જોઈએ`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `ખૂબ નાનું: ${e.origin} ${t}${e.minimum.toString()} ${n.unit} હોવા જોઈએ`;
return `ખૂબ નાનું: ${e.origin} ${t}${e.minimum.toString()} હોવું જોઈએ`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `અમાન્ય સ્ટ્રિંગ: "${n.prefix}" થી શરૂ થવું જોઈએ`;
if (n.format === "ends_with") return `અમાન્ય સ્ટ્રિંગ: "${n.suffix}" પર સમાપ્ત થવું જોઈએ`;
if (n.format === "includes") return `અમાન્ય સ્ટ્રિંગ: "${n.includes}" શામેલ હોવું જોઈએ`;
if (n.format === "regex") return `અમાન્ય સ્ટ્રિંગ: પેટર્ન ${n.pattern} સાથે મેળ ખાવું જોઈએ`;
return `અમાન્ય ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `અમાન્ય નંબર: ${e.divisor} નો ગુણાંક હોવો જોઈએ`;
case "unrecognized_keys": return `ઓળખી શકાતા નહીં તે કી${e.keys.length > 1 ? "ઓ" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} માં અમાન્ય કી`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `અમાન્ય ડિસ્ક્રિમિનેટર મૂલ્ય. અપેક્ષિત ${e.options.map((e) => `'${e}'`).join(" | ")}`;
return "અમાન્ય ઇનપુટ";
case "invalid_element": return `${e.origin} માં અમાન્ય મૂલ્ય`;
default: return "અમાન્ય ઇનપુટ";
}
};
};
function gu_default() {
return { localeError: error$42() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/he.js
const error$41 = () => {
const e = {
string: {
label: "מחרוזת",
gender: "f"
},
number: {
label: "מספר",
gender: "m"
},
boolean: {
label: "ערך בוליאני",
gender: "m"
},
bigint: {
label: "BigInt",
gender: "m"
},
date: {
label: "תאריך",
gender: "m"
},
array: {
label: "מערך",
gender: "m"
},
object: {
label: "אובייקט",
gender: "m"
},
null: {
label: "ערך ריק (null)",
gender: "m"
},
undefined: {
label: "ערך לא מוגדר (undefined)",
gender: "m"
},
symbol: {
label: "סימבול (Symbol)",
gender: "m"
},
function: {
label: "פונקציה",
gender: "f"
},
map: {
label: "מפה (Map)",
gender: "f"
},
set: {
label: "קבוצה (Set)",
gender: "f"
},
file: {
label: "קובץ",
gender: "m"
},
promise: {
label: "Promise",
gender: "m"
},
NaN: {
label: "NaN",
gender: "m"
},
unknown: {
label: "ערך לא ידוע",
gender: "m"
},
value: {
label: "ערך",
gender: "m"
}
};
const t = {
string: {
unit: "תווים",
shortLabel: "קצר",
longLabel: "ארוך"
},
file: {
unit: "בייטים",
shortLabel: "קטן",
longLabel: "גדול"
},
array: {
unit: "פריטים",
shortLabel: "קטן",
longLabel: "גדול"
},
set: {
unit: "פריטים",
shortLabel: "קטן",
longLabel: "גדול"
},
number: {
unit: "",
shortLabel: "קטן",
longLabel: "גדול"
}
};
const typeEntry = (t) => t ? e[t] : void 0;
const typeLabel = (t) => {
const n = typeEntry(t);
if (n) return n.label;
return t ?? e.unknown.label;
};
const withDefinite = (e) => `ה${typeLabel(e)}`;
const verbFor = (e) => {
return (typeEntry(e)?.gender ?? "m") === "f" ? "צריכה להיות" : "צריך להיות";
};
const getSizing = (e) => {
if (!e) return null;
return t[e] ?? null;
};
const n = {
regex: {
label: "קלט",
gender: "m"
},
email: {
label: "כתובת אימייל",
gender: "f"
},
url: {
label: "כתובת רשת",
gender: "f"
},
emoji: {
label: "אימוג'י",
gender: "m"
},
uuid: {
label: "UUID",
gender: "m"
},
uuidv4: {
label: "UUIDv4",
gender: "m"
},
uuidv6: {
label: "UUIDv6",
gender: "m"
},
nanoid: {
label: "nanoid",
gender: "m"
},
guid: {
label: "GUID",
gender: "m"
},
cuid: {
label: "cuid",
gender: "m"
},
cuid2: {
label: "cuid2",
gender: "m"
},
ulid: {
label: "ULID",
gender: "m"
},
xid: {
label: "XID",
gender: "m"
},
ksuid: {
label: "KSUID",
gender: "m"
},
datetime: {
label: "תאריך וזמן ISO",
gender: "m"
},
date: {
label: "תאריך ISO",
gender: "m"
},
time: {
label: "זמן ISO",
gender: "m"
},
duration: {
label: "משך זמן ISO",
gender: "m"
},
ipv4: {
label: "כתובת IPv4",
gender: "f"
},
ipv6: {
label: "כתובת IPv6",
gender: "f"
},
mac: {
label: "כתובת MAC",
gender: "f"
},
cidrv4: {
label: "טווח IPv4",
gender: "m"
},
cidrv6: {
label: "טווח IPv6",
gender: "m"
},
base64: {
label: "מחרוזת בבסיס 64",
gender: "f"
},
base64url: {
label: "מחרוזת בבסיס 64 לכתובות רשת",
gender: "f"
},
json_string: {
label: "מחרוזת JSON",
gender: "f"
},
e164: {
label: "מספר E.164",
gender: "m"
},
credit_card: {
label: "מספר כרטיס אשראי",
gender: "m"
},
currency_code: {
label: "קוד מטבע",
gender: "m"
},
iban: {
label: "IBAN",
gender: "m"
},
jwt: {
label: "JWT",
gender: "m"
},
template_literal: {
label: "קלט",
gender: "m"
},
ends_with: {
label: "קלט",
gender: "m"
},
includes: {
label: "קלט",
gender: "m"
},
lowercase: {
label: "קלט",
gender: "m"
},
starts_with: {
label: "קלט",
gender: "m"
},
uppercase: {
label: "קלט",
gender: "m"
}
};
const r = { nan: "NaN" };
return (t) => {
switch (t.code) {
case "invalid_type": {
const n = t.expected;
const i = r[n ?? ""] ?? typeLabel(n);
const a = parsedType(t.input);
const o = r[a] ?? e[a]?.label ?? a;
if (/^[A-Z]/.test(t.expected)) return `קלט לא תקין: צריך להיות instanceof ${t.expected}, התקבל ${o}`;
return `קלט לא תקין: צריך להיות ${i}, התקבל ${o}`;
}
case "invalid_value": {
if (t.values.length === 1) return `ערך לא תקין: הערך חייב להיות ${stringifyPrimitive(t.values[0])}`;
const e = t.values.map((e) => stringifyPrimitive(e));
if (t.values.length === 2) return `ערך לא תקין: האפשרויות המתאימות הן ${e[0]} או ${e[1]}`;
const n = e[e.length - 1];
return `ערך לא תקין: האפשרויות המתאימות הן ${e.slice(0, -1).join(", ")} או ${n}`;
}
case "too_big": {
const e = getSizing(t.origin);
const n = withDefinite(t.origin ?? "value");
if (t.origin === "string") return `${e?.longLabel ?? "ארוך"} מדי: ${n} צריכה להכיל ${t.maximum.toString()} ${e?.unit ?? ""} ${t.inclusive ? "או פחות" : "לכל היותר"}`.trim();
if (t.origin === "number") return `גדול מדי: ${n} צריך להיות ${t.inclusive ? `קטן או שווה ל-${t.maximum}` : `קטן מ-${t.maximum}`}`;
if (t.origin === "array" || t.origin === "set") return `גדול מדי: ${n} ${t.origin === "set" ? "צריכה" : "צריך"} להכיל ${t.inclusive ? `${t.maximum} ${e?.unit ?? ""} או פחות` : `פחות מ-${t.maximum} ${e?.unit ?? ""}`}`.trim();
const r = t.inclusive ? "<=" : "<";
const i = verbFor(t.origin ?? "value");
if (e?.unit) return `${e.longLabel} מדי: ${n} ${i} ${r}${t.maximum.toString()} ${e.unit}`;
return `${e?.longLabel ?? "גדול"} מדי: ${n} ${i} ${r}${t.maximum.toString()}`;
}
case "too_small": {
const e = getSizing(t.origin);
const n = withDefinite(t.origin ?? "value");
if (t.origin === "string") return `${e?.shortLabel ?? "קצר"} מדי: ${n} צריכה להכיל ${t.minimum.toString()} ${e?.unit ?? ""} ${t.inclusive ? "או יותר" : "לפחות"}`.trim();
if (t.origin === "number") return `קטן מדי: ${n} צריך להיות ${t.inclusive ? `גדול או שווה ל-${t.minimum}` : `גדול מ-${t.minimum}`}`;
if (t.origin === "array" || t.origin === "set") {
const r = t.origin === "set" ? "צריכה" : "צריך";
if (t.minimum === 1 && t.inclusive) return `קטן מדי: ${n} ${r} להכיל ${t.origin === "set" ? "לפחות פריט אחד" : "לפחות פריט אחד"}`;
return `קטן מדי: ${n} ${r} להכיל ${t.inclusive ? `${t.minimum} ${e?.unit ?? ""} או יותר` : `יותר מ-${t.minimum} ${e?.unit ?? ""}`}`.trim();
}
const r = t.inclusive ? ">=" : ">";
const i = verbFor(t.origin ?? "value");
if (e?.unit) return `${e.shortLabel} מדי: ${n} ${i} ${r}${t.minimum.toString()} ${e.unit}`;
return `${e?.shortLabel ?? "קטן"} מדי: ${n} ${i} ${r}${t.minimum.toString()}`;
}
case "invalid_format": {
const e = t;
if (e.format === "starts_with") return `המחרוזת חייבת להתחיל ב "${e.prefix}"`;
if (e.format === "ends_with") return `המחרוזת חייבת להסתיים ב "${e.suffix}"`;
if (e.format === "includes") return `המחרוזת חייבת לכלול "${e.includes}"`;
if (e.format === "regex") return `המחרוזת חייבת להתאים לתבנית ${e.pattern}`;
const r = n[e.format];
return `${r?.label ?? e.format} לא ${(r?.gender ?? "m") === "f" ? "תקינה" : "תקין"}`;
}
case "not_multiple_of": return `מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;
case "unrecognized_keys": return `מפתח${t.keys.length > 1 ? "ות" : ""} לא מזוה${t.keys.length > 1 ? "ים" : "ה"}: ${joinValues(t.keys, ", ")}`;
case "invalid_key": return `שדה לא תקין באובייקט`;
case "invalid_union": return "קלט לא תקין";
case "invalid_element": return `ערך לא תקין ב${withDefinite(t.origin ?? "array")}`;
default: return `קלט לא תקין`;
}
};
};
function he_default() {
return { localeError: error$41() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hi.js
const error$40 = () => {
const e = {
string: {
unit: "अक्षर",
verb: "रखने के लिए"
},
file: {
unit: "बाइट्स",
verb: "रखने के लिए"
},
array: {
unit: "तत्व",
verb: "रखने के लिए"
},
set: {
unit: "तत्व",
verb: "रखने के लिए"
},
map: {
unit: "प्रविष्टियाँ",
verb: "रखने के लिए"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "इनपुट",
email: "ईमेल पता",
url: "URL",
emoji: "इमोजी",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO तिथि और समय",
date: "ISO तिथि",
time: "ISO समय",
duration: "ISO अवधि",
ipv4: "IPv4 पता",
ipv6: "IPv6 पता",
mac: "MAC पता",
cidrv4: "IPv4 श्रेणी",
cidrv6: "IPv6 श्रेणी",
base64: "Base64-एन्कोडेड स्ट्रिंग",
base64url: "Base64URL-एन्कोडेड स्ट्रिंग",
json_string: "JSON स्ट्रिंग",
e164: "E.164 संख्या",
credit_card: "क्रेडिट कार्ड संख्या",
currency_code: "मुद्रा कोड",
iban: "IBAN",
jwt: "JWT",
template_literal: "इनपुट"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
return `अमान्य इनपुट: अपेक्षित ${t}, प्राप्त ${n[r] ?? r}`;
}
case "invalid_value":
if (e.values.length === 1) return `अमान्य इनपुट: अपेक्षित ${stringifyPrimitive(e.values[0])}`;
return `अमान्य विकल्प: अपेक्षित मानों में से एक ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `बहुत बड़ा: अपेक्षित था कि ${e.origin ?? "मान"} में ${t}${e.maximum} ${n.unit} हों`;
return `बहुत बड़ा: अपेक्षित था कि ${e.origin ?? "मान"} ${t}${e.maximum} हो`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `बहुत छोटा: अपेक्षित था कि ${e.origin} में ${t}${e.minimum} ${n.unit} हों`;
return `बहुत छोटा: अपेक्षित था कि ${e.origin} ${t}${e.minimum} हो`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `अमान्य स्ट्रिंग: "${n.prefix}" से शुरू होना चाहिए`;
if (n.format === "ends_with") return `अमान्य स्ट्रिंग: "${n.suffix}" पर समाप्त होना चाहिए`;
if (n.format === "includes") return `अमान्य स्ट्रिंग: इसमें "${n.includes}" शामिल होना चाहिए`;
if (n.format === "regex") return `अमान्य स्ट्रिंग: पैटर्न ${n.pattern} से मेल खाना चाहिए`;
return `अमान्य ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `अमान्य संख्या: यह ${e.divisor} का गुणज होना चाहिए`;
case "unrecognized_keys": return `अपरिचित कुंजी${e.keys.length > 1 ? "याँ" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `अमान्य कुंजी: ${e.origin} में`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `अमान्य डिस्क्रिमिनेटर मान: अपेक्षित ${e.options.map((e) => `'${e}'`).join(" | ")}`;
return "अमान्य इनपुट";
case "invalid_element": return `अमान्य मान: ${e.origin} में`;
default: return `अमान्य इनपुट`;
}
};
};
function hi_default() {
return { localeError: error$40() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hr.js
const error$39 = () => {
const e = {
string: {
unit: "znakova",
verb: "imati"
},
file: {
unit: "bajtova",
verb: "imati"
},
array: {
unit: "stavki",
verb: "imati"
},
set: {
unit: "stavki",
verb: "imati"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "unos",
email: "email adresa",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO datum i vrijeme",
date: "ISO datum",
time: "ISO vrijeme",
duration: "ISO trajanje",
ipv4: "IPv4 adresa",
ipv6: "IPv6 adresa",
mac: "MAC adresa",
cidrv4: "IPv4 raspon",
cidrv6: "IPv6 raspon",
base64: "base64 kodirani tekst",
base64url: "base64url kodirani tekst",
json_string: "JSON tekst",
e164: "E.164 broj",
credit_card: "broj kreditne kartice",
currency_code: "kod valute",
iban: "IBAN",
jwt: "JWT",
template_literal: "unos"
};
const n = {
nan: "NaN",
string: "tekst",
number: "broj",
boolean: "boolean",
array: "niz",
object: "objekt",
set: "skup",
file: "datoteka",
date: "datum",
bigint: "bigint",
symbol: "simbol",
undefined: "undefined",
null: "null",
function: "funkcija",
map: "mapa"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Neispravan unos: očekuje se instanceof ${e.expected}, a primljeno je ${i}`;
return `Neispravan unos: očekuje se ${t}, a primljeno je ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Neispravna vrijednost: očekivano ${stringifyPrimitive(e.values[0])}`;
return `Neispravna opcija: očekivano jedno od ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const r = getSizing(e.origin);
const i = n[e.origin] ?? e.origin;
if (r) return `Preveliko: očekivano da ${i ?? "vrijednost"} ima ${t}${e.maximum.toString()} ${r.unit ?? "elemenata"}`;
return `Preveliko: očekivano da ${i ?? "vrijednost"} bude ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const r = getSizing(e.origin);
const i = n[e.origin] ?? e.origin;
if (r) return `Premalo: očekivano da ${i} ima ${t}${e.minimum.toString()} ${r.unit}`;
return `Premalo: očekivano da ${i} bude ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Neispravan tekst: mora započinjati s "${n.prefix}"`;
if (n.format === "ends_with") return `Neispravan tekst: mora završavati s "${n.suffix}"`;
if (n.format === "includes") return `Neispravan tekst: mora sadržavati "${n.includes}"`;
if (n.format === "regex") return `Neispravan tekst: mora odgovarati uzorku ${n.pattern}`;
return `Neispravna ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Neispravan broj: mora biti višekratnik od ${e.divisor}`;
case "unrecognized_keys": return `Neprepoznat${e.keys.length > 1 ? "i ključevi" : " ključ"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Neispravan ključ u ${n[e.origin] ?? e.origin}`;
case "invalid_union": return "Neispravan unos";
case "invalid_element": return `Neispravna vrijednost u ${n[e.origin] ?? e.origin}`;
default: return `Neispravan unos`;
}
};
};
function hr_default() {
return { localeError: error$39() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hu.js
const error$38 = () => {
const e = {
string: {
unit: "karakter",
verb: "legyen"
},
file: {
unit: "byte",
verb: "legyen"
},
array: {
unit: "elem",
verb: "legyen"
},
set: {
unit: "elem",
verb: "legyen"
},
map: {
unit: "elem",
verb: "legyen"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "bemenet",
email: "email cím",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO időbélyeg",
date: "ISO dátum",
time: "ISO idő",
duration: "ISO időintervallum",
ipv4: "IPv4 cím",
ipv6: "IPv6 cím",
mac: "MAC cím",
cidrv4: "IPv4 tartomány",
cidrv6: "IPv6 tartomány",
base64: "base64-kódolt string",
base64url: "base64url-kódolt string",
json_string: "JSON string",
e164: "E.164 szám",
credit_card: "hitelkártyaszám",
currency_code: "pénznemkód",
iban: "IBAN",
jwt: "JWT",
template_literal: "bemenet"
};
const n = {
nan: "NaN",
number: "szám",
array: "tömb"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Érvénytelen bemenet: a várt érték instanceof ${e.expected}, a kapott érték ${i}`;
return `Érvénytelen bemenet: a várt érték ${t}, a kapott érték ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Érvénytelen bemenet: a várt érték ${stringifyPrimitive(e.values[0])}`;
return `Érvénytelen opció: valamelyik érték várt ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Túl nagy: ${e.origin ?? "érték"} mérete túl nagy ${t}${e.maximum.toString()} ${n.unit ?? "elem"}`;
return `Túl nagy: a bemeneti érték ${e.origin ?? "érték"} túl nagy: ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${t}${e.minimum.toString()} ${n.unit}`;
return `Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Érvénytelen string: "${n.prefix}" értékkel kell kezdődnie`;
if (n.format === "ends_with") return `Érvénytelen string: "${n.suffix}" értékkel kell végződnie`;
if (n.format === "includes") return `Érvénytelen string: "${n.includes}" értéket kell tartalmaznia`;
if (n.format === "regex") return `Érvénytelen string: ${n.pattern} mintának kell megfelelnie`;
return `Érvénytelen ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Érvénytelen szám: ${e.divisor} többszörösének kell lennie`;
case "unrecognized_keys": return `Ismeretlen kulcs${e.keys.length > 1 ? "s" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Érvénytelen kulcs ${e.origin}`;
case "invalid_union": return "Érvénytelen bemenet";
case "invalid_element": return `Érvénytelen érték: ${e.origin}`;
default: return `Érvénytelen bemenet`;
}
};
};
function hu_default() {
return { localeError: error$38() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hy.js
function getArmenianPlural(e, t, n) {
return Math.abs(e) === 1 ? t : n;
}
function withDefiniteArticle(e) {
if (!e) return "";
const t = [
"ա",
"ե",
"ը",
"ի",
"ո",
"ու",
"օ"
];
const n = e[e.length - 1];
return e + (t.includes(n) ? "ն" : "ը");
}
const error$37 = () => {
const e = {
string: {
unit: {
one: "նշան",
many: "նշաններ"
},
verb: "ունենալ"
},
file: {
unit: {
one: "բայթ",
many: "բայթեր"
},
verb: "ունենալ"
},
array: {
unit: {
one: "տարր",
many: "տարրեր"
},
verb: "ունենալ"
},
set: {
unit: {
one: "տարր",
many: "տարրեր"
},
verb: "ունենալ"
},
map: {
unit: {
one: "տարր",
many: "տարրեր"
},
verb: "ունենալ"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "մուտք",
email: "էլ. հասցե",
url: "URL",
emoji: "էմոջի",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO ամսաթիվ և ժամ",
date: "ISO ամսաթիվ",
time: "ISO ժամ",
duration: "ISO տևողություն",
ipv4: "IPv4 հասցե",
ipv6: "IPv6 հասցե",
mac: "MAC հասցե",
cidrv4: "IPv4 միջակայք",
cidrv6: "IPv6 միջակայք",
base64: "base64 ձևաչափով տող",
base64url: "base64url ձևաչափով տող",
json_string: "JSON տող",
e164: "E.164 համար",
credit_card: "կրեդիտ քարտի համար",
currency_code: "արժույթի կոդ",
iban: "IBAN",
jwt: "JWT",
template_literal: "մուտք"
};
const n = {
nan: "NaN",
number: "թիվ",
array: "զանգված"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Սխալ մուտքագրում․ սպասվում էր instanceof ${e.expected}, ստացվել է ${i}`;
return `Սխալ մուտքագրում․ սպասվում էր ${t}, ստացվել է ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Սխալ մուտքագրում․ սպասվում էր ${stringifyPrimitive(e.values[1])}`;
return `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) {
const r = getArmenianPlural(Number(e.maximum), n.unit.one, n.unit.many);
return `Չափազանց մեծ արժեք․ սպասվում է, որ ${withDefiniteArticle(e.origin ?? "արժեք")} կունենա ${t}${e.maximum.toString()} ${r}`;
}
return `Չափազանց մեծ արժեք․ սպասվում է, որ ${withDefiniteArticle(e.origin ?? "արժեք")} լինի ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) {
const r = getArmenianPlural(Number(e.minimum), n.unit.one, n.unit.many);
return `Չափազանց փոքր արժեք․ սպասվում է, որ ${withDefiniteArticle(e.origin)} կունենա ${t}${e.minimum.toString()} ${r}`;
}
return `Չափազանց փոքր արժեք․ սպասվում է, որ ${withDefiniteArticle(e.origin)} լինի ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Սխալ տող․ պետք է սկսվի "${n.prefix}"-ով`;
if (n.format === "ends_with") return `Սխալ տող․ պետք է ավարտվի "${n.suffix}"-ով`;
if (n.format === "includes") return `Սխալ տող․ պետք է պարունակի "${n.includes}"`;
if (n.format === "regex") return `Սխալ տող․ պետք է համապատասխանի ${n.pattern} ձևաչափին`;
return `Սխալ ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Սխալ թիվ․ պետք է բազմապատիկ լինի ${e.divisor}-ի`;
case "unrecognized_keys": return `Չճանաչված բանալի${e.keys.length > 1 ? "ներ" : ""}. ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Սխալ բանալի ${withDefiniteArticle(e.origin)}-ում`;
case "invalid_union": return "Սխալ մուտքագրում";
case "invalid_element": return `Սխալ արժեք ${withDefiniteArticle(e.origin)}-ում`;
default: return `Սխալ մուտքագրում`;
}
};
};
function hy_default() {
return { localeError: error$37() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/id.js
const error$36 = () => {
const e = {
string: {
unit: "karakter",
verb: "memiliki"
},
file: {
unit: "byte",
verb: "memiliki"
},
array: {
unit: "item",
verb: "memiliki"
},
set: {
unit: "item",
verb: "memiliki"
},
map: {
unit: "item",
verb: "memiliki"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "input",
email: "alamat email",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "tanggal dan waktu format ISO",
date: "tanggal format ISO",
time: "jam format ISO",
duration: "durasi format ISO",
ipv4: "alamat IPv4",
ipv6: "alamat IPv6",
mac: "alamat MAC",
cidrv4: "rentang alamat IPv4",
cidrv6: "rentang alamat IPv6",
base64: "string dengan enkode base64",
base64url: "string dengan enkode base64url",
json_string: "string JSON",
e164: "angka E.164",
credit_card: "nomor kartu kredit",
currency_code: "kode mata uang",
iban: "IBAN",
jwt: "JWT",
template_literal: "input"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${i}`;
return `Input tidak valid: diharapkan ${t}, diterima ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Input tidak valid: diharapkan ${stringifyPrimitive(e.values[0])}`;
return `Pilihan tidak valid: diharapkan salah satu dari ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Terlalu besar: diharapkan ${e.origin ?? "value"} memiliki ${t}${e.maximum.toString()} ${n.unit ?? "elemen"}`;
return `Terlalu besar: diharapkan ${e.origin ?? "value"} menjadi ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Terlalu kecil: diharapkan ${e.origin} memiliki ${t}${e.minimum.toString()} ${n.unit}`;
return `Terlalu kecil: diharapkan ${e.origin} menjadi ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `String tidak valid: harus dimulai dengan "${n.prefix}"`;
if (n.format === "ends_with") return `String tidak valid: harus berakhir dengan "${n.suffix}"`;
if (n.format === "includes") return `String tidak valid: harus menyertakan "${n.includes}"`;
if (n.format === "regex") return `String tidak valid: harus sesuai pola ${n.pattern}`;
return `${t[n.format] ?? e.format} tidak valid`;
}
case "not_multiple_of": return `Angka tidak valid: harus kelipatan dari ${e.divisor}`;
case "unrecognized_keys": return `Kunci tidak dikenali ${e.keys.length > 1 ? "s" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Kunci tidak valid di ${e.origin}`;
case "invalid_union": return "Input tidak valid";
case "invalid_element": return `Nilai tidak valid di ${e.origin}`;
default: return `Input tidak valid`;
}
};
};
function id_default() {
return { localeError: error$36() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/is.js
const error$35 = () => {
const e = {
string: {
unit: "stafi",
verb: "að hafa"
},
file: {
unit: "bæti",
verb: "að hafa"
},
array: {
unit: "hluti",
verb: "að hafa"
},
set: {
unit: "hluti",
verb: "að hafa"
},
map: {
unit: "hluti",
verb: "að hafa"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "gildi",
email: "netfang",
url: "vefslóð",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO dagsetning og tími",
date: "ISO dagsetning",
time: "ISO tími",
duration: "ISO tímalengd",
ipv4: "IPv4 address",
ipv6: "IPv6 address",
mac: "MAC address",
cidrv4: "IPv4 range",
cidrv6: "IPv6 range",
base64: "base64-encoded strengur",
base64url: "base64url-encoded strengur",
json_string: "JSON strengur",
e164: "E.164 tölugildi",
credit_card: "kreditkortanúmer",
currency_code: "gjaldmiðilskóði",
iban: "IBAN",
jwt: "JWT",
template_literal: "gildi"
};
const n = {
nan: "NaN",
number: "númer",
array: "fylki"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Rangt gildi: Þú slóst inn ${i} þar sem á að vera instanceof ${e.expected}`;
return `Rangt gildi: Þú slóst inn ${i} þar sem á að vera ${t}`;
}
case "invalid_value":
if (e.values.length === 1) return `Rangt gildi: gert ráð fyrir ${stringifyPrimitive(e.values[0])}`;
return `Ógilt val: má vera eitt af eftirfarandi ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Of stórt: gert er ráð fyrir að ${e.origin ?? "gildi"} hafi ${t}${e.maximum.toString()} ${n.unit ?? "hluti"}`;
return `Of stórt: gert er ráð fyrir að ${e.origin ?? "gildi"} sé ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Of lítið: gert er ráð fyrir að ${e.origin} hafi ${t}${e.minimum.toString()} ${n.unit}`;
return `Of lítið: gert er ráð fyrir að ${e.origin} sé ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Ógildur strengur: verður að byrja á "${n.prefix}"`;
if (n.format === "ends_with") return `Ógildur strengur: verður að enda á "${n.suffix}"`;
if (n.format === "includes") return `Ógildur strengur: verður að innihalda "${n.includes}"`;
if (n.format === "regex") return `Ógildur strengur: verður að fylgja mynstri ${n.pattern}`;
return `Rangt ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Röng tala: verður að vera margfeldi af ${e.divisor}`;
case "unrecognized_keys": return `Óþekkt ${e.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Rangur lykill í ${e.origin}`;
case "invalid_union": return "Rangt gildi";
case "invalid_element": return `Rangt gildi í ${e.origin}`;
default: return `Rangt gildi`;
}
};
};
function is_default() {
return { localeError: error$35() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/it.js
const error$34 = () => {
const e = {
string: {
unit: "caratteri",
verb: "avere"
},
file: {
unit: "byte",
verb: "avere"
},
array: {
unit: "elementi",
verb: "avere"
},
set: {
unit: "elementi",
verb: "avere"
},
map: {
unit: "elementi",
verb: "avere"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "input",
email: "indirizzo email",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "data e ora ISO",
date: "data ISO",
time: "ora ISO",
duration: "durata ISO",
ipv4: "indirizzo IPv4",
ipv6: "indirizzo IPv6",
mac: "indirizzo MAC",
cidrv4: "intervallo IPv4",
cidrv6: "intervallo IPv6",
base64: "stringa codificata in base64",
base64url: "URL codificata in base64",
json_string: "stringa JSON",
e164: "numero E.164",
credit_card: "numero di carta di credito",
currency_code: "codice valuta",
iban: "IBAN",
jwt: "JWT",
template_literal: "input"
};
const n = {
nan: "NaN",
number: "numero",
array: "vettore"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Input non valido: atteso instanceof ${e.expected}, ricevuto ${i}`;
return `Input non valido: atteso ${t}, ricevuto ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Input non valido: atteso ${stringifyPrimitive(e.values[0])}`;
return `Opzione non valida: atteso uno tra ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Troppo grande: ${e.origin ?? "valore"} deve avere ${t}${e.maximum.toString()} ${n.unit ?? "elementi"}`;
return `Troppo grande: ${e.origin ?? "valore"} deve essere ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Troppo piccolo: ${e.origin} deve avere ${t}${e.minimum.toString()} ${n.unit}`;
return `Troppo piccolo: ${e.origin} deve essere ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Stringa non valida: deve iniziare con "${n.prefix}"`;
if (n.format === "ends_with") return `Stringa non valida: deve terminare con "${n.suffix}"`;
if (n.format === "includes") return `Stringa non valida: deve includere "${n.includes}"`;
if (n.format === "regex") return `Stringa non valida: deve corrispondere al pattern ${n.pattern}`;
return `Input non valido: ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Numero non valido: deve essere un multiplo di ${e.divisor}`;
case "unrecognized_keys": return `Chiav${e.keys.length > 1 ? "i" : "e"} non riconosciut${e.keys.length > 1 ? "e" : "a"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Chiave non valida in ${e.origin}`;
case "invalid_union": return "Input non valido";
case "invalid_element": return `Valore non valido in ${e.origin}`;
default: return `Input non valido`;
}
};
};
function it_default() {
return { localeError: error$34() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ja.js
const error$33 = () => {
const e = {
string: {
unit: "文字",
verb: "である"
},
file: {
unit: "バイト",
verb: "である"
},
array: {
unit: "要素",
verb: "である"
},
set: {
unit: "要素",
verb: "である"
},
map: {
unit: "要素",
verb: "である"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "入力値",
email: "メールアドレス",
url: "URL",
emoji: "絵文字",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO日時",
date: "ISO日付",
time: "ISO時刻",
duration: "ISO期間",
ipv4: "IPv4アドレス",
ipv6: "IPv6アドレス",
mac: "MACアドレス",
cidrv4: "IPv4範囲",
cidrv6: "IPv6範囲",
base64: "base64エンコード文字列",
base64url: "base64urlエンコード文字列",
json_string: "JSON文字列",
e164: "E.164番号",
credit_card: "クレジットカード番号",
currency_code: "通貨コード",
iban: "IBAN",
jwt: "JWT",
template_literal: "入力値"
};
const n = {
nan: "NaN",
number: "数値",
array: "配列"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `無効な入力: instanceof ${e.expected}が期待されましたが、${i}が入力されました`;
return `無効な入力: ${t}が期待されましたが、${i}が入力されました`;
}
case "invalid_value":
if (e.values.length === 1) return `無効な入力: ${stringifyPrimitive(e.values[0])}が期待されました`;
return `無効な選択: ${joinValues(e.values, "、")}のいずれかである必要があります`;
case "too_big": {
const t = e.inclusive ? "以下である" : "より小さい";
const n = getSizing(e.origin);
if (n) return `大きすぎる値: ${e.origin ?? "値"}は${e.maximum.toString()}${n.unit ?? "要素"}${t}必要があります`;
return `大きすぎる値: ${e.origin ?? "値"}は${e.maximum.toString()}${t}必要があります`;
}
case "too_small": {
const t = e.inclusive ? "以上である" : "より大きい";
const n = getSizing(e.origin);
if (n) return `小さすぎる値: ${e.origin}は${e.minimum.toString()}${n.unit}${t}必要があります`;
return `小さすぎる値: ${e.origin}は${e.minimum.toString()}${t}必要があります`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `無効な文字列: "${n.prefix}"で始まる必要があります`;
if (n.format === "ends_with") return `無効な文字列: "${n.suffix}"で終わる必要があります`;
if (n.format === "includes") return `無効な文字列: "${n.includes}"を含む必要があります`;
if (n.format === "regex") return `無効な文字列: パターン${n.pattern}に一致する必要があります`;
return `無効な${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `無効な数値: ${e.divisor}の倍数である必要があります`;
case "unrecognized_keys": return `認識されていないキー${e.keys.length > 1 ? "群" : ""}: ${joinValues(e.keys, "、")}`;
case "invalid_key": return `${e.origin}内の無効なキー`;
case "invalid_union": return "無効な入力";
case "invalid_element": return `${e.origin}内の無効な値`;
default: return `無効な入力`;
}
};
};
function ja_default() {
return { localeError: error$33() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ka.js
const error$32 = () => {
const e = {
string: {
unit: "სიმბოლო",
verb: "უნდა შეიცავდეს"
},
file: {
unit: "ბაიტი",
verb: "უნდა შეიცავდეს"
},
array: {
unit: "ელემენტი",
verb: "უნდა შეიცავდეს"
},
set: {
unit: "ელემენტი",
verb: "უნდა შეიცავდეს"
},
map: {
unit: "ელემენტი",
verb: "უნდა შეიცავდეს"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "შეყვანა",
email: "ელ-ფოსტის მისამართი",
url: "URL",
emoji: "ემოჯი",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "თარიღი-დრო",
date: "თარიღი",
time: "დრო",
duration: "ხანგრძლივობა",
ipv4: "IPv4 მისამართი",
ipv6: "IPv6 მისამართი",
mac: "MAC მისამართი",
cidrv4: "IPv4 დიაპაზონი",
cidrv6: "IPv6 დიაპაზონი",
base64: "base64-კოდირებული ველი",
base64url: "base64url-კოდირებული ველი",
json_string: "JSON ველი",
e164: "E.164 ნომერი",
credit_card: "საკრედიტო ბარათის ნომერი",
currency_code: "ვალუტის კოდი",
iban: "IBAN",
jwt: "JWT",
template_literal: "შეყვანა"
};
const n = {
nan: "NaN",
number: "რიცხვი",
string: "ველი",
boolean: "ბულეანი",
function: "ფუნქცია",
array: "მასივი"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `არასწორი შეყვანა: მოსალოდნელი instanceof ${e.expected}, მიღებული ${i}`;
return `არასწორი შეყვანა: მოსალოდნელი ${t}, მიღებული ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `არასწორი შეყვანა: მოსალოდნელი ${stringifyPrimitive(e.values[0])}`;
return `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${joinValues(e.values, "|")}-დან`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `ზედმეტად დიდი: მოსალოდნელი ${e.origin ?? "მნიშვნელობა"} ${n.verb} ${t}${e.maximum.toString()} ${n.unit}`;
return `ზედმეტად დიდი: მოსალოდნელი ${e.origin ?? "მნიშვნელობა"} იყოს ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `ზედმეტად პატარა: მოსალოდნელი ${e.origin} ${n.verb} ${t}${e.minimum.toString()} ${n.unit}`;
return `ზედმეტად პატარა: მოსალოდნელი ${e.origin} იყოს ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `არასწორი ველი: უნდა იწყებოდეს "${n.prefix}"-ით`;
if (n.format === "ends_with") return `არასწორი ველი: უნდა მთავრდებოდეს "${n.suffix}"-ით`;
if (n.format === "includes") return `არასწორი ველი: უნდა შეიცავდეს "${n.includes}"-ს`;
if (n.format === "regex") return `არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${n.pattern}`;
return `არასწორი ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`;
case "unrecognized_keys": return `უცნობი გასაღებ${e.keys.length > 1 ? "ები" : "ი"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `არასწორი გასაღები ${e.origin}-ში`;
case "invalid_union": return "არასწორი შეყვანა";
case "invalid_element": return `არასწორი მნიშვნელობა ${e.origin}-ში`;
default: return `არასწორი შეყვანა`;
}
};
};
function ka_default() {
return { localeError: error$32() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/km.js
const error$31 = () => {
const e = {
string: {
unit: "តួអក្សរ",
verb: "គួរមាន"
},
file: {
unit: "បៃ",
verb: "គួរមាន"
},
array: {
unit: "ធាតុ",
verb: "គួរមាន"
},
set: {
unit: "ធាតុ",
verb: "គួរមាន"
},
map: {
unit: "ធាតុ",
verb: "គួរមាន"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ទិន្នន័យបញ្ចូល",
email: "អាសយដ្ឋានអ៊ីមែល",
url: "URL",
emoji: "សញ្ញាអារម្មណ៍",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "កាលបរិច្ឆេទ និងម៉ោង ISO",
date: "កាលបរិច្ឆេទ ISO",
time: "ម៉ោង ISO",
duration: "រយៈពេល ISO",
ipv4: "អាសយដ្ឋាន IPv4",
ipv6: "អាសយដ្ឋាន IPv6",
mac: "អាសយដ្ឋាន MAC",
cidrv4: "ដែនអាសយដ្ឋាន IPv4",
cidrv6: "ដែនអាសយដ្ឋាន IPv6",
base64: "ខ្សែអក្សរអ៊ិកូដ base64",
base64url: "ខ្សែអក្សរអ៊ិកូដ base64url",
json_string: "ខ្សែអក្សរ JSON",
e164: "លេខ E.164",
credit_card: "លេខប័ណ្ណឥណទាន",
currency_code: "កូដរូបិយប័ណ្ណ",
iban: "IBAN",
jwt: "JWT",
template_literal: "ទិន្នន័យបញ្ចូល"
};
const n = {
nan: "NaN",
number: "លេខ",
array: "អារេ (Array)",
null: "គ្មានតម្លៃ (null)"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${e.expected} ប៉ុន្តែទទួលបាន ${i}`;
return `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t} ប៉ុន្តែទទួលបាន ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${stringifyPrimitive(e.values[0])}`;
return `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `ធំពេក៖ ត្រូវការ ${e.origin ?? "តម្លៃ"} ${t} ${e.maximum.toString()} ${n.unit ?? "ធាតុ"}`;
return `ធំពេក៖ ត្រូវការ ${e.origin ?? "តម្លៃ"} ${t} ${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `តូចពេក៖ ត្រូវការ ${e.origin} ${t} ${e.minimum.toString()} ${n.unit}`;
return `តូចពេក៖ ត្រូវការ ${e.origin} ${t} ${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${n.prefix}"`;
if (n.format === "ends_with") return `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${n.suffix}"`;
if (n.format === "includes") return `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${n.includes}"`;
if (n.format === "regex") return `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${n.pattern}`;
return `មិនត្រឹមត្រូវ៖ ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`;
case "unrecognized_keys": return `រកឃើញសោមិនស្គាល់៖ ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;
case "invalid_union": return `ទិន្នន័យមិនត្រឹមត្រូវ`;
case "invalid_element": return `ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;
default: return `ទិន្នន័យមិនត្រឹមត្រូវ`;
}
};
};
function km_default() {
return { localeError: error$31() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/kh.js
/** @deprecated Use `km` instead. */
function kh_default() {
return km_default();
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/kn.js
const error$30 = () => {
const e = {
string: {
unit: "ಅಕ್ಷರಗಳು",
verb: "ಹೊಂದಲು"
},
file: {
unit: "ಬೈಟ್ಗಳು",
verb: "ಹೊಂದಲು"
},
array: {
unit: "ವಸ್ತುಗಳು",
verb: "ಹೊಂದಲು"
},
set: {
unit: "ವಸ್ತುಗಳು",
verb: "ಹೊಂದಲು"
},
map: {
unit: "entries",
verb: "ಹೊಂದಲು"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ಇನ್ಪುಟ್",
email: "email ವಿಳಾಸ",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO ದಿನಾಂಕದ ಸಮಯ",
date: "ISO ದಿನಾಂಕ",
time: "ISO ಸಮಯ",
duration: "ISO ಅವಧಿ",
ipv4: "IPv4 ವಿಳಾಸ",
ipv6: "IPv6 ವಿಳಾಸ",
mac: "MAC ವಿಳಾಸ",
cidrv4: "IPv4 ವ್ಯಾಪ್ತಿಯ",
cidrv6: "IPv6 ವ್ಯಾಪ್ತಿಯ",
base64: "base64-encodedಸ್ಟ್ರಿಂಗ್",
base64url: "base64url-encodedಸ್ಟ್ರಿಂಗ್",
json_string: "JSONಸ್ಟ್ರಿಂಗ್",
e164: "E.164 ಸಂಖ್ಯೆ",
credit_card: "ಕ್ರೆಡಿಟ್ ಕಾರ್ಡ್ ಸಂಖ್ಯೆ",
currency_code: "ಕರೆನ್ಸಿ ಕೋಡ್",
iban: "IBAN",
jwt: "JWT",
template_literal: "ಇನ್ಪುಟ್"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
return `ಅಮಾನ್ಯ ಇನ್ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t}, ಸ್ವೀಕರಿಸಿದನು ${n[r] ?? r}`;
}
case "invalid_value":
if (e.values.length === 1) return `ಅಮಾನ್ಯ ಇನ್ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${stringifyPrimitive(e.values[0])}`;
return `ಅಮಾನ್ಯ ಆಯ್ಕೆ: ಇವುಗಳಲ್ಲಿ ಒಂದನ್ನು ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${e.origin ?? "value"} ಹೊಂದಲು ${t}${e.maximum.toString()} ${n.unit ?? "ಅಂಶಗಳು"}`;
return `ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${e.origin ?? "value"} ಎಂದು ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${e.origin} ಹೊಂದಲು ${t}${e.minimum.toString()} ${n.unit}`;
return `ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${e.origin} ಎಂದು ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಪ್ರಾರಂಭಿಸಬೇಕು "${n.prefix}"`;
if (n.format === "ends_with") return `ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಕೊನೆಗೊಳ್ಳಬೇಕು "${n.suffix}"`;
if (n.format === "includes") return `ಅಮಾನ್ಯ ಸ್ಟ್ರಿಂಗ್: ಒಳಗೊಂಡಿರಬೇಕು "${n.includes}"`;
if (n.format === "regex") return `ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಮಾದರಿಗೆ ಹೊಂದಿಕೆಯಾಗಬೇಕು ${n.pattern}`;
return `ಅಮಾನ್ಯ ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `ಅಮಾನ್ಯ ಸಂಖ್ಯೆ: ಬಹುಸಂಖ್ಯೆಯಾಗಿರಬೇಕು ${e.divisor}`;
case "unrecognized_keys": return `ಗುರುತಿಸಲಾಗದ ಕೀ ${e.keys.length > 1 ? "s" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `ಅಮಾನ್ಯವಾದ ಕೀ ಇನ್ ${e.origin}`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `ಅಮಾನ್ಯ ತಾರತಮ್ಯ ಮೌಲ್ಯ. ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${e.options.map((e) => `'${e}'`).join(" | ")}`;
return "ಅಮಾನ್ಯ ಇನ್ಪುಟ್";
case "invalid_element": return `ರಲ್ಲಿ ಅಮಾನ್ಯ ಮೌಲ್ಯ ${e.origin}`;
default: return `ಅಮಾನ್ಯ ಇನ್ಪುಟ್`;
}
};
};
function kn_default() {
return { localeError: error$30() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ko.js
const error$29 = () => {
const e = {
string: {
unit: "문자",
verb: "to have"
},
file: {
unit: "바이트",
verb: "to have"
},
array: {
unit: "개",
verb: "to have"
},
set: {
unit: "개",
verb: "to have"
},
map: {
unit: "개",
verb: "to have"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "입력",
email: "이메일 주소",
url: "URL",
emoji: "이모지",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO 날짜시간",
date: "ISO 날짜",
time: "ISO 시간",
duration: "ISO 기간",
ipv4: "IPv4 주소",
ipv6: "IPv6 주소",
mac: "MAC 주소",
cidrv4: "IPv4 범위",
cidrv6: "IPv6 범위",
base64: "base64 인코딩 문자열",
base64url: "base64url 인코딩 문자열",
json_string: "JSON 문자열",
e164: "E.164 번호",
credit_card: "신용카드 번호",
currency_code: "통화 코드",
iban: "IBAN",
jwt: "JWT",
template_literal: "입력"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `잘못된 입력: 예상 타입은 instanceof ${e.expected}, 받은 타입은 ${i}입니다`;
return `잘못된 입력: 예상 타입은 ${t}, 받은 타입은 ${i}입니다`;
}
case "invalid_value":
if (e.values.length === 1) return `잘못된 입력: 값은 ${stringifyPrimitive(e.values[0])} 이어야 합니다`;
return `잘못된 옵션: ${joinValues(e.values, "또는 ")} 중 하나여야 합니다`;
case "too_big": {
const t = e.inclusive ? "이하" : "미만";
const n = t === "미만" ? "이어야 합니다" : "여야 합니다";
const r = getSizing(e.origin);
const i = r?.unit ?? "요소";
if (r) return `${e.origin ?? "값"}이 너무 큽니다: ${e.maximum.toString()}${i} ${t}${n}`;
return `${e.origin ?? "값"}이 너무 큽니다: ${e.maximum.toString()} ${t}${n}`;
}
case "too_small": {
const t = e.inclusive ? "이상" : "초과";
const n = t === "이상" ? "이어야 합니다" : "여야 합니다";
const r = getSizing(e.origin);
const i = r?.unit ?? "요소";
if (r) return `${e.origin ?? "값"}이 너무 작습니다: ${e.minimum.toString()}${i} ${t}${n}`;
return `${e.origin ?? "값"}이 너무 작습니다: ${e.minimum.toString()} ${t}${n}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `잘못된 문자열: "${n.prefix}"(으)로 시작해야 합니다`;
if (n.format === "ends_with") return `잘못된 문자열: "${n.suffix}"(으)로 끝나야 합니다`;
if (n.format === "includes") return `잘못된 문자열: "${n.includes}"을(를) 포함해야 합니다`;
if (n.format === "regex") return `잘못된 문자열: 정규식 ${n.pattern} 패턴과 일치해야 합니다`;
return `잘못된 ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `잘못된 숫자: ${e.divisor}의 배수여야 합니다`;
case "unrecognized_keys": return `인식할 수 없는 키: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `잘못된 키: ${e.origin}`;
case "invalid_union": return `잘못된 입력`;
case "invalid_element": return `잘못된 값: ${e.origin}`;
default: return `잘못된 입력`;
}
};
};
function ko_default() {
return { localeError: error$29() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/lt.js
const capitalizeFirstCharacter = (e) => {
return e.charAt(0).toUpperCase() + e.slice(1);
};
function getUnitTypeFromNumber(e) {
const t = Math.abs(e);
const n = t % 10;
const r = t % 100;
if (r >= 11 && r <= 19 || n === 0) return "many";
if (n === 1) return "one";
return "few";
}
const error$28 = () => {
const e = {
string: {
unit: {
one: "simbolis",
few: "simboliai",
many: "simbolių"
},
verb: {
smaller: {
inclusive: "turi būti ne ilgesnė kaip",
notInclusive: "turi būti trumpesnė kaip"
},
bigger: {
inclusive: "turi būti ne trumpesnė kaip",
notInclusive: "turi būti ilgesnė kaip"
}
}
},
file: {
unit: {
one: "baitas",
few: "baitai",
many: "baitų"
},
verb: {
smaller: {
inclusive: "turi būti ne didesnis kaip",
notInclusive: "turi būti mažesnis kaip"
},
bigger: {
inclusive: "turi būti ne mažesnis kaip",
notInclusive: "turi būti didesnis kaip"
}
}
},
array: {
unit: {
one: "elementą",
few: "elementus",
many: "elementų"
},
verb: {
smaller: {
inclusive: "turi turėti ne daugiau kaip",
notInclusive: "turi turėti mažiau kaip"
},
bigger: {
inclusive: "turi turėti ne mažiau kaip",
notInclusive: "turi turėti daugiau kaip"
}
}
},
set: {
unit: {
one: "elementą",
few: "elementus",
many: "elementų"
},
verb: {
smaller: {
inclusive: "turi turėti ne daugiau kaip",
notInclusive: "turi turėti mažiau kaip"
},
bigger: {
inclusive: "turi turėti ne mažiau kaip",
notInclusive: "turi turėti daugiau kaip"
}
}
}
};
function getSizing(t, n, r, i) {
const a = e[t] ?? null;
if (a === null) return a;
return {
unit: a.unit[n],
verb: a.verb[i][r ? "inclusive" : "notInclusive"]
};
}
const t = {
regex: "įvestis",
email: "el. pašto adresas",
url: "URL",
emoji: "jaustukas",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO data ir laikas",
date: "ISO data",
time: "ISO laikas",
duration: "ISO trukmė",
ipv4: "IPv4 adresas",
ipv6: "IPv6 adresas",
mac: "MAC adresas",
cidrv4: "IPv4 tinklo prefiksas (CIDR)",
cidrv6: "IPv6 tinklo prefiksas (CIDR)",
base64: "base64 užkoduota eilutė",
base64url: "base64url užkoduota eilutė",
json_string: "JSON eilutė",
e164: "E.164 numeris",
credit_card: "kredito kortelės numeris",
currency_code: "valiutos kodas",
iban: "IBAN",
jwt: "JWT",
template_literal: "įvestis"
};
const n = {
nan: "NaN",
number: "skaičius",
bigint: "sveikasis skaičius",
string: "eilutė",
boolean: "loginė reikšmė",
undefined: "neapibrėžta reikšmė",
function: "funkcija",
symbol: "simbolis",
array: "masyvas",
object: "objektas",
null: "nulinė reikšmė"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Gautas tipas ${i}, o tikėtasi - instanceof ${e.expected}`;
return `Gautas tipas ${i}, o tikėtasi - ${t}`;
}
case "invalid_value":
if (e.values.length === 1) return `Privalo būti ${stringifyPrimitive(e.values[0])}`;
return `Privalo būti vienas iš ${joinValues(e.values, "|")} pasirinkimų`;
case "too_big": {
const t = n[e.origin] ?? e.origin;
const r = getSizing(e.origin, getUnitTypeFromNumber(Number(e.maximum)), e.inclusive ?? false, "smaller");
if (r?.verb) return `${capitalizeFirstCharacter(t ?? e.origin ?? "reikšmė")} ${r.verb} ${e.maximum.toString()} ${r.unit ?? "elementų"}`;
const i = e.inclusive ? "ne didesnis kaip" : "mažesnis kaip";
return `${capitalizeFirstCharacter(t ?? e.origin ?? "reikšmė")} turi būti ${i} ${e.maximum.toString()} ${r?.unit}`;
}
case "too_small": {
const t = n[e.origin] ?? e.origin;
const r = getSizing(e.origin, getUnitTypeFromNumber(Number(e.minimum)), e.inclusive ?? false, "bigger");
if (r?.verb) return `${capitalizeFirstCharacter(t ?? e.origin ?? "reikšmė")} ${r.verb} ${e.minimum.toString()} ${r.unit ?? "elementų"}`;
const i = e.inclusive ? "ne mažesnis kaip" : "didesnis kaip";
return `${capitalizeFirstCharacter(t ?? e.origin ?? "reikšmė")} turi būti ${i} ${e.minimum.toString()} ${r?.unit}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Eilutė privalo prasidėti "${n.prefix}"`;
if (n.format === "ends_with") return `Eilutė privalo pasibaigti "${n.suffix}"`;
if (n.format === "includes") return `Eilutė privalo įtraukti "${n.includes}"`;
if (n.format === "regex") return `Eilutė privalo atitikti ${n.pattern}`;
return `Neteisingas ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Skaičius privalo būti ${e.divisor} kartotinis.`;
case "unrecognized_keys": return `Neatpažint${e.keys.length > 1 ? "i" : "as"} rakt${e.keys.length > 1 ? "ai" : "as"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return "Rastas klaidingas raktas";
case "invalid_union": return "Klaidinga įvestis";
case "invalid_element": {
const t = n[e.origin] ?? e.origin;
return `${capitalizeFirstCharacter(t ?? e.origin ?? "reikšmė")} turi klaidingą įvestį`;
}
default: return "Klaidinga įvestis";
}
};
};
function lt_default() {
return { localeError: error$28() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/mk.js
const error$27 = () => {
const e = {
string: {
unit: "знаци",
verb: "да имаат"
},
file: {
unit: "бајти",
verb: "да имаат"
},
array: {
unit: "ставки",
verb: "да имаат"
},
set: {
unit: "ставки",
verb: "да имаат"
},
map: {
unit: "ставки",
verb: "да имаат"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "внес",
email: "адреса на е-пошта",
url: "URL",
emoji: "емоџи",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO датум и време",
date: "ISO датум",
time: "ISO време",
duration: "ISO времетраење",
ipv4: "IPv4 адреса",
ipv6: "IPv6 адреса",
mac: "MAC адреса",
cidrv4: "IPv4 опсег",
cidrv6: "IPv6 опсег",
base64: "base64-енкодирана низа",
base64url: "base64url-енкодирана низа",
json_string: "JSON низа",
e164: "E.164 број",
credit_card: "број на кредитна картичка",
currency_code: "код на валута",
iban: "IBAN",
jwt: "JWT",
template_literal: "внес"
};
const n = {
nan: "NaN",
number: "број",
array: "низа"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Грешен внес: се очекува instanceof ${e.expected}, примено ${i}`;
return `Грешен внес: се очекува ${t}, примено ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Invalid input: expected ${stringifyPrimitive(e.values[0])}`;
return `Грешана опција: се очекува една ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Премногу голем: се очекува ${e.origin ?? "вредноста"} да има ${t}${e.maximum.toString()} ${n.unit ?? "елементи"}`;
return `Премногу голем: се очекува ${e.origin ?? "вредноста"} да биде ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Премногу мал: се очекува ${e.origin} да има ${t}${e.minimum.toString()} ${n.unit}`;
return `Премногу мал: се очекува ${e.origin} да биде ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Неважечка низа: мора да започнува со "${n.prefix}"`;
if (n.format === "ends_with") return `Неважечка низа: мора да завршува со "${n.suffix}"`;
if (n.format === "includes") return `Неважечка низа: мора да вклучува "${n.includes}"`;
if (n.format === "regex") return `Неважечка низа: мора да одгоара на патернот ${n.pattern}`;
return `Invalid ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Грешен број: мора да биде делив со ${e.divisor}`;
case "unrecognized_keys": return `${e.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Грешен клуч во ${e.origin}`;
case "invalid_union": return "Грешен внес";
case "invalid_element": return `Грешна вредност во ${e.origin}`;
default: return `Грешен внес`;
}
};
};
function mk_default() {
return { localeError: error$27() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ms.js
const error$26 = () => {
const e = {
string: {
unit: "aksara",
verb: "mempunyai"
},
file: {
unit: "bait",
verb: "mempunyai"
},
array: {
unit: "elemen",
verb: "mempunyai"
},
set: {
unit: "elemen",
verb: "mempunyai"
},
map: {
unit: "elemen",
verb: "mempunyai"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "input",
email: "alamat e-mel",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "tarikh masa ISO",
date: "tarikh ISO",
time: "masa ISO",
duration: "tempoh ISO",
ipv4: "alamat IPv4",
ipv6: "alamat IPv6",
mac: "alamat MAC",
cidrv4: "julat IPv4",
cidrv6: "julat IPv6",
base64: "string dikodkan base64",
base64url: "string dikodkan base64url",
json_string: "string JSON",
e164: "nombor E.164",
credit_card: "nombor kad kredit",
currency_code: "kod mata wang",
iban: "IBAN",
jwt: "JWT",
template_literal: "input"
};
const n = {
nan: "NaN",
number: "nombor"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Input tidak sah: dijangka instanceof ${e.expected}, diterima ${i}`;
return `Input tidak sah: dijangka ${t}, diterima ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Input tidak sah: dijangka ${stringifyPrimitive(e.values[0])}`;
return `Pilihan tidak sah: dijangka salah satu daripada ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Terlalu besar: dijangka ${e.origin ?? "nilai"} ${n.verb} ${t}${e.maximum.toString()} ${n.unit ?? "elemen"}`;
return `Terlalu besar: dijangka ${e.origin ?? "nilai"} adalah ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Terlalu kecil: dijangka ${e.origin} ${n.verb} ${t}${e.minimum.toString()} ${n.unit}`;
return `Terlalu kecil: dijangka ${e.origin} adalah ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `String tidak sah: mesti bermula dengan "${n.prefix}"`;
if (n.format === "ends_with") return `String tidak sah: mesti berakhir dengan "${n.suffix}"`;
if (n.format === "includes") return `String tidak sah: mesti mengandungi "${n.includes}"`;
if (n.format === "regex") return `String tidak sah: mesti sepadan dengan corak ${n.pattern}`;
return `${t[n.format] ?? e.format} tidak sah`;
}
case "not_multiple_of": return `Nombor tidak sah: perlu gandaan ${e.divisor}`;
case "unrecognized_keys": return `Kunci tidak dikenali: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Kunci tidak sah dalam ${e.origin}`;
case "invalid_union": return "Input tidak sah";
case "invalid_element": return `Nilai tidak sah dalam ${e.origin}`;
default: return `Input tidak sah`;
}
};
};
function ms_default() {
return { localeError: error$26() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ne.js
const error$25 = () => {
const e = {
string: {
unit: "अक्षर",
verb: "हुनुपर्छ"
},
file: {
unit: "बाइट",
verb: "हुनुपर्छ"
},
array: {
unit: "तत्व",
verb: "हुनुपर्छ"
},
set: {
unit: "तत्व",
verb: "हुनुपर्छ"
},
map: {
unit: "प्रविष्टि",
verb: "हुनुपर्छ"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "इनपुट",
email: "इमेल ठेगाना",
url: "URL",
emoji: "इमोजी",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO मिति र समय",
date: "ISO मिति",
time: "ISO समय",
duration: "ISO अवधि",
ipv4: "IPv4 ठेगाना",
ipv6: "IPv6 ठेगाना",
mac: "MAC ठेगाना",
cidrv4: "IPv4 दायरा",
cidrv6: "IPv6 दायरा",
base64: "base64-इन्कोड गरिएको स्ट्रिङ",
base64url: "base64url-इन्कोड गरिएको स्ट्रिङ",
json_string: "JSON स्ट्रिङ",
e164: "E.164 नम्बर",
credit_card: "क्रेडिट कार्ड नम्बर",
currency_code: "मुद्रा कोड",
iban: "IBAN",
jwt: "JWT",
template_literal: "इनपुट"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
return `अमान्य इनपुट: अपेक्षित ${t}, प्राप्त ${n[r] ?? r}`;
}
case "invalid_value":
if (e.values.length === 1) return `अमान्य इनपुट: अपेक्षित ${stringifyPrimitive(e.values[0])}`;
return `अमान्य विकल्प: अपेक्षित मानहरू मध्ये एक ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `धेरै ठूलो: ${e.origin ?? "मान"} मा ${t}${e.maximum.toString()} ${n.unit} ${n.verb}`;
return `धेरै ठूलो: ${e.origin ?? "मान"} ${t}${e.maximum.toString()} हुनुपर्छ`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `धेरै सानो: ${e.origin} मा ${t}${e.minimum.toString()} ${n.unit} ${n.verb}`;
return `धेरै सानो: ${e.origin} ${t}${e.minimum.toString()} हुनुपर्छ`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `अमान्य स्ट्रिङ: "${n.prefix}" बाट सुरु हुनुपर्छ`;
if (n.format === "ends_with") return `अमान्य स्ट्रिङ: "${n.suffix}" मा समाप्त हुनुपर्छ`;
if (n.format === "includes") return `अमान्य स्ट्रिङ: "${n.includes}" समावेश हुनुपर्छ`;
if (n.format === "regex") return `अमान्य स्ट्रिङ: ढाँचा ${n.pattern} सँग मेल खानुपर्छ`;
return `अमान्य ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `अमान्य संख्या: ${e.divisor} को गुणज हुनुपर्छ`;
case "unrecognized_keys": return `अपरिचित कुञ्जी${e.keys.length > 1 ? "हरू" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `अमान्य कुञ्जी: ${e.origin} मा`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `अमान्य डिस्क्रिमिनेटर मान: अपेक्षित ${e.options.map((e) => `'${e}'`).join(" | ")}`;
return "अमान्य इनपुट";
case "invalid_element": return `अमान्य मान: ${e.origin} मा`;
default: return `अमान्य इनपुट`;
}
};
};
function ne_default() {
return { localeError: error$25() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/nl.js
const error$24 = () => {
const e = {
string: {
unit: "tekens",
verb: "heeft"
},
file: {
unit: "bytes",
verb: "heeft"
},
array: {
unit: "elementen",
verb: "heeft"
},
set: {
unit: "elementen",
verb: "heeft"
},
map: {
unit: "elementen",
verb: "heeft"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "invoer",
email: "emailadres",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO datum en tijd",
date: "ISO datum",
time: "ISO tijd",
duration: "ISO duur",
ipv4: "IPv4-adres",
ipv6: "IPv6-adres",
mac: "MAC-adres",
cidrv4: "IPv4-bereik",
cidrv6: "IPv6-bereik",
base64: "base64-gecodeerde tekst",
base64url: "base64 URL-gecodeerde tekst",
json_string: "JSON string",
e164: "E.164-nummer",
credit_card: "creditcardnummer",
currency_code: "valutacode",
iban: "IBAN",
jwt: "JWT",
template_literal: "invoer"
};
const n = {
nan: "NaN",
number: "getal"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${i}`;
return `Ongeldige invoer: verwacht ${t}, ontving ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Ongeldige invoer: verwacht ${stringifyPrimitive(e.values[0])}`;
return `Ongeldige optie: verwacht één van ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
const r = e.origin === "date" ? "laat" : e.origin === "string" ? "lang" : "groot";
if (n) return `Te ${r}: verwacht dat ${e.origin ?? "waarde"} ${t}${e.maximum.toString()} ${n.unit ?? "elementen"} ${n.verb}`;
return `Te ${r}: verwacht dat ${e.origin ?? "waarde"} ${t}${e.maximum.toString()} is`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
const r = e.origin === "date" ? "vroeg" : e.origin === "string" ? "kort" : "klein";
if (n) return `Te ${r}: verwacht dat ${e.origin} ${t}${e.minimum.toString()} ${n.unit} ${n.verb}`;
return `Te ${r}: verwacht dat ${e.origin} ${t}${e.minimum.toString()} is`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Ongeldige tekst: moet met "${n.prefix}" beginnen`;
if (n.format === "ends_with") return `Ongeldige tekst: moet op "${n.suffix}" eindigen`;
if (n.format === "includes") return `Ongeldige tekst: moet "${n.includes}" bevatten`;
if (n.format === "regex") return `Ongeldige tekst: moet overeenkomen met patroon ${n.pattern}`;
return `Ongeldig: ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;
case "unrecognized_keys": return `Onbekende key${e.keys.length > 1 ? "s" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Ongeldige key in ${e.origin}`;
case "invalid_union": return "Ongeldige invoer";
case "invalid_element": return `Ongeldige waarde in ${e.origin}`;
default: return `Ongeldige invoer`;
}
};
};
function nl_default() {
return { localeError: error$24() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/nn.js
const error$23 = () => {
const e = {
string: {
unit: "teikn",
verb: "å ha"
},
file: {
unit: "bytes",
verb: "å ha"
},
array: {
unit: "element",
verb: "å innehalde"
},
set: {
unit: "element",
verb: "å innehalde"
},
map: {
unit: "element",
verb: "å innehalde"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "input",
email: "e-postadresse",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO dato- og klokkeslett",
date: "ISO-dato",
time: "ISO-klokkeslett",
duration: "ISO-varigheit",
ipv4: "IPv4-adresse",
ipv6: "IPv6-adresse",
mac: "MAC-adresse",
cidrv4: "IPv4-spekter",
cidrv6: "IPv6-spekter",
base64: "base64-enkoda streng",
base64url: "base64url-enkoda streng",
json_string: "JSON-streng",
e164: "E.164-nummer",
credit_card: "kredittkortnummer",
currency_code: "valutakode",
iban: "IBAN",
jwt: "JWT",
template_literal: "input"
};
const n = {
nan: "NaN",
number: "tal",
array: "liste"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Ugyldig input: forventa instanceof ${e.expected}, fekk ${i}`;
return `Ugyldig input: forventa ${t}, fekk ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Ugyldig verdi: forventa ${stringifyPrimitive(e.values[0])}`;
return `Ugyldig val: forventa eitt av ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `For stor(t): forventa ${e.origin ?? "value"} til å ha ${t}${e.maximum.toString()} ${n.unit ?? "element"}`;
return `For stor(t): forventa ${e.origin ?? "value"} til å ha ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `For lite(n): forventa ${e.origin} til å ha ${t}${e.minimum.toString()} ${n.unit}`;
return `For lite(n): forventa ${e.origin} til å ha ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Ugyldig streng: må starte med "${n.prefix}"`;
if (n.format === "ends_with") return `Ugyldig streng: må slutte med "${n.suffix}"`;
if (n.format === "includes") return `Ugyldig streng: må innehalde "${n.includes}"`;
if (n.format === "regex") return `Ugyldig streng: må matche mønsteret ${n.pattern}`;
return `Ugyldig ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Ugyldig tal: må vere eit multiplum av ${e.divisor}`;
case "unrecognized_keys": return `${e.keys.length > 1 ? "Ukjende nøklar" : "Ukjend nøkkel"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Ugyldig nøkkel i ${e.origin}`;
case "invalid_union": return "Ugyldig input";
case "invalid_element": return `Ugyldig verdi i ${e.origin}`;
default: return `Ugyldig input`;
}
};
};
function nn_default() {
return { localeError: error$23() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/no.js
const error$22 = () => {
const e = {
string: {
unit: "tegn",
verb: "å ha"
},
file: {
unit: "bytes",
verb: "å ha"
},
array: {
unit: "elementer",
verb: "å inneholde"
},
set: {
unit: "elementer",
verb: "å inneholde"
},
map: {
unit: "elementer",
verb: "å inneholde"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "input",
email: "e-postadresse",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO dato- og klokkeslett",
date: "ISO-dato",
time: "ISO-klokkeslett",
duration: "ISO-varighet",
ipv4: "IPv4-adresse",
ipv6: "IPv6-adresse",
mac: "MAC-adresse",
cidrv4: "IPv4-spekter",
cidrv6: "IPv6-spekter",
base64: "base64-enkodet streng",
base64url: "base64url-enkodet streng",
json_string: "JSON-streng",
e164: "E.164-nummer",
credit_card: "kredittkortnummer",
currency_code: "valutakode",
iban: "IBAN",
jwt: "JWT",
template_literal: "input"
};
const n = {
nan: "NaN",
number: "tall",
array: "liste"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Ugyldig input: forventet instanceof ${e.expected}, fikk ${i}`;
return `Ugyldig input: forventet ${t}, fikk ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Ugyldig verdi: forventet ${stringifyPrimitive(e.values[0])}`;
return `Ugyldig valg: forventet en av ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `For stor(t): forventet ${e.origin ?? "value"} til å ha ${t}${e.maximum.toString()} ${n.unit ?? "elementer"}`;
return `For stor(t): forventet ${e.origin ?? "value"} til å ha ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `For lite(n): forventet ${e.origin} til å ha ${t}${e.minimum.toString()} ${n.unit}`;
return `For lite(n): forventet ${e.origin} til å ha ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Ugyldig streng: må starte med "${n.prefix}"`;
if (n.format === "ends_with") return `Ugyldig streng: må ende med "${n.suffix}"`;
if (n.format === "includes") return `Ugyldig streng: må inneholde "${n.includes}"`;
if (n.format === "regex") return `Ugyldig streng: må matche mønsteret ${n.pattern}`;
return `Ugyldig ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Ugyldig tall: må være et multiplum av ${e.divisor}`;
case "unrecognized_keys": return `${e.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Ugyldig nøkkel i ${e.origin}`;
case "invalid_union": return "Ugyldig input";
case "invalid_element": return `Ugyldig verdi i ${e.origin}`;
default: return `Ugyldig input`;
}
};
};
function no_default() {
return { localeError: error$22() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ota.js
const error$21 = () => {
const e = {
string: {
unit: "harf",
verb: "olmalıdır"
},
file: {
unit: "bayt",
verb: "olmalıdır"
},
array: {
unit: "unsur",
verb: "olmalıdır"
},
set: {
unit: "unsur",
verb: "olmalıdır"
},
map: {
unit: "unsur",
verb: "olmalıdır"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "giren",
email: "epostagâh",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO hengâmı",
date: "ISO tarihi",
time: "ISO zamanı",
duration: "ISO müddeti",
ipv4: "IPv4 nişânı",
ipv6: "IPv6 nişânı",
mac: "MAC nişânı",
cidrv4: "IPv4 menzili",
cidrv6: "IPv6 menzili",
base64: "base64-şifreli metin",
base64url: "base64url-şifreli metin",
json_string: "JSON metin",
e164: "E.164 sayısı",
credit_card: "i'tibâr kartı numarası",
currency_code: "para birimi kodu",
iban: "IBAN",
jwt: "JWT",
template_literal: "giren"
};
const n = {
nan: "NaN",
number: "numara",
array: "saf",
null: "gayb"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Fâsit giren: umulan instanceof ${e.expected}, alınan ${i}`;
return `Fâsit giren: umulan ${t}, alınan ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Fâsit giren: umulan ${stringifyPrimitive(e.values[0])}`;
return `Fâsit tercih: mûteberler ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Fazla büyük: ${e.origin ?? "value"}, ${t}${e.maximum.toString()} ${n.unit ?? "elements"} sahip olmalıydı.`;
return `Fazla büyük: ${e.origin ?? "value"}, ${t}${e.maximum.toString()} olmalıydı.`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Fazla küçük: ${e.origin}, ${t}${e.minimum.toString()} ${n.unit} sahip olmalıydı.`;
return `Fazla küçük: ${e.origin}, ${t}${e.minimum.toString()} olmalıydı.`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Fâsit metin: "${n.prefix}" ile başlamalı.`;
if (n.format === "ends_with") return `Fâsit metin: "${n.suffix}" ile bitmeli.`;
if (n.format === "includes") return `Fâsit metin: "${n.includes}" ihtivâ etmeli.`;
if (n.format === "regex") return `Fâsit metin: ${n.pattern} nakşına uymalı.`;
return `Fâsit ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Fâsit sayı: ${e.divisor} katı olmalıydı.`;
case "unrecognized_keys": return `Tanınmayan anahtar ${e.keys.length > 1 ? "s" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} için tanınmayan anahtar var.`;
case "invalid_union": return "Giren tanınamadı.";
case "invalid_element": return `${e.origin} için tanınmayan kıymet var.`;
default: return `Kıymet tanınamadı.`;
}
};
};
function ota_default() {
return { localeError: error$21() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ps.js
const error$20 = () => {
const e = {
string: {
unit: "توکي",
verb: "ولري"
},
file: {
unit: "بایټس",
verb: "ولري"
},
array: {
unit: "توکي",
verb: "ولري"
},
set: {
unit: "توکي",
verb: "ولري"
},
map: {
unit: "توکي",
verb: "ولري"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ورودي",
email: "بریښنالیک",
url: "یو آر ال",
emoji: "ایموجي",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "نیټه او وخت",
date: "نېټه",
time: "وخت",
duration: "موده",
ipv4: "د IPv4 پته",
ipv6: "د IPv6 پته",
mac: "د MAC پته",
cidrv4: "د IPv4 ساحه",
cidrv6: "د IPv6 ساحه",
base64: "base64-encoded متن",
base64url: "base64url-encoded متن",
json_string: "JSON متن",
e164: "د E.164 شمېره",
credit_card: "د کریډیټ کارت شمیره",
currency_code: "د اسعارو کوډ",
iban: "IBAN",
jwt: "JWT",
template_literal: "ورودي"
};
const n = {
nan: "NaN",
number: "عدد",
array: "ارې"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `ناسم ورودي: باید instanceof ${e.expected} وای, مګر ${i} ترلاسه شو`;
return `ناسم ورودي: باید ${t} وای, مګر ${i} ترلاسه شو`;
}
case "invalid_value":
if (e.values.length === 1) return `ناسم ورودي: باید ${stringifyPrimitive(e.values[0])} وای`;
return `ناسم انتخاب: باید یو له ${joinValues(e.values, "|")} څخه وای`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `ډیر لوی: ${e.origin ?? "ارزښت"} باید ${t}${e.maximum.toString()} ${n.unit ?? "عنصرونه"} ولري`;
return `ډیر لوی: ${e.origin ?? "ارزښت"} باید ${t}${e.maximum.toString()} وي`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `ډیر کوچنی: ${e.origin} باید ${t}${e.minimum.toString()} ${n.unit} ولري`;
return `ډیر کوچنی: ${e.origin} باید ${t}${e.minimum.toString()} وي`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `ناسم متن: باید د "${n.prefix}" سره پیل شي`;
if (n.format === "ends_with") return `ناسم متن: باید د "${n.suffix}" سره پای ته ورسيږي`;
if (n.format === "includes") return `ناسم متن: باید "${n.includes}" ولري`;
if (n.format === "regex") return `ناسم متن: باید د ${n.pattern} سره مطابقت ولري`;
return `${t[n.format] ?? e.format} ناسم دی`;
}
case "not_multiple_of": return `ناسم عدد: باید د ${e.divisor} مضرب وي`;
case "unrecognized_keys": return `ناسم ${e.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `ناسم کلیډ په ${e.origin} کې`;
case "invalid_union": return `ناسمه ورودي`;
case "invalid_element": return `ناسم عنصر په ${e.origin} کې`;
default: return `ناسمه ورودي`;
}
};
};
function ps_default() {
return { localeError: error$20() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pl.js
const error$19 = () => {
const e = {
string: {
unit: "znaków",
verb: "mieć"
},
file: {
unit: "bajtów",
verb: "mieć"
},
array: {
unit: "elementów",
verb: "mieć"
},
set: {
unit: "elementów",
verb: "mieć"
},
map: {
unit: "elementów",
verb: "mieć"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "wyrażenie",
email: "adres email",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "data i godzina w formacie ISO",
date: "data w formacie ISO",
time: "godzina w formacie ISO",
duration: "czas trwania ISO",
ipv4: "adres IPv4",
ipv6: "adres IPv6",
mac: "adres MAC",
cidrv4: "zakres IPv4",
cidrv6: "zakres IPv6",
base64: "ciąg znaków zakodowany w formacie base64",
base64url: "ciąg znaków zakodowany w formacie base64url",
json_string: "ciąg znaków w formacie JSON",
e164: "liczba E.164",
credit_card: "numer karty kredytowej",
currency_code: "kod waluty",
iban: "IBAN",
jwt: "JWT",
template_literal: "wejście"
};
const n = {
nan: "NaN",
number: "liczba",
array: "tablica"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Nieprawidłowe dane wejściowe: oczekiwano instanceof ${e.expected}, otrzymano ${i}`;
return `Nieprawidłowe dane wejściowe: oczekiwano ${t}, otrzymano ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Nieprawidłowe dane wejściowe: oczekiwano ${stringifyPrimitive(e.values[0])}`;
return `Nieprawidłowa opcja: oczekiwano jednej z wartości ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Za duża wartość: oczekiwano, że ${e.origin ?? "wartość"} będzie mieć ${t}${e.maximum.toString()} ${n.unit ?? "elementów"}`;
return `Zbyt duż(y/a/e): oczekiwano, że ${e.origin ?? "wartość"} będzie wynosić ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Za mała wartość: oczekiwano, że ${e.origin ?? "wartość"} będzie mieć ${t}${e.minimum.toString()} ${n.unit ?? "elementów"}`;
return `Zbyt mał(y/a/e): oczekiwano, że ${e.origin ?? "wartość"} będzie wynosić ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Nieprawidłowy ciąg znaków: musi zaczynać się od "${n.prefix}"`;
if (n.format === "ends_with") return `Nieprawidłowy ciąg znaków: musi kończyć się na "${n.suffix}"`;
if (n.format === "includes") return `Nieprawidłowy ciąg znaków: musi zawierać "${n.includes}"`;
if (n.format === "regex") return `Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${n.pattern}`;
return `Nieprawidłow(y/a/e) ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`;
case "unrecognized_keys": return `Nierozpoznane klucze${e.keys.length > 1 ? "s" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Nieprawidłowy klucz w ${e.origin}`;
case "invalid_union": return "Nieprawidłowe dane wejściowe";
case "invalid_element": return `Nieprawidłowa wartość w ${e.origin}`;
default: return `Nieprawidłowe dane wejściowe`;
}
};
};
function pl_default() {
return { localeError: error$19() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pt.js
const error$18 = () => {
const e = {
string: { unit: "caracteres" },
file: { unit: "bytes" },
array: { unit: "elementos" },
set: { unit: "elementos" },
map: { unit: "entradas" }
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "a entrada",
email: "o endereço de e-mail",
url: "o URL",
emoji: "o emoji",
uuid: "o UUID",
uuidv4: "o UUIDv4",
uuidv6: "o UUIDv6",
nanoid: "o nanoid",
guid: "o GUID",
cuid: "o cuid",
cuid2: "o cuid2",
ulid: "o ULID",
xid: "o XID",
ksuid: "o KSUID",
datetime: "a data e hora ISO",
date: "a data ISO",
time: "a hora ISO",
duration: "a duração ISO",
ipv4: "o endereço IPv4",
ipv6: "o endereço IPv6",
mac: "o endereço MAC",
cidrv4: "o intervalo de endereços IPv4",
cidrv6: "o intervalo de endereços IPv6",
base64: "o texto codificado em base64",
base64url: "o texto codificado em base64url",
json_string: "o texto JSON",
e164: "o número E.164",
credit_card: "o número de cartão de crédito",
currency_code: "o código de moeda",
iban: "o IBAN",
jwt: "o JWT",
template_literal: "a entrada"
};
const n = {
masculine: {
definite: "o",
indefinite: "um"
},
feminine: {
definite: "a",
indefinite: "uma"
}
};
const r = {
string: {
name: "texto",
articles: n.masculine
},
number: {
name: "número",
articles: n.masculine
},
int: {
name: "número inteiro",
articles: n.masculine
},
boolean: {
name: "valor booleano",
articles: n.masculine
},
bigint: {
name: "número bigint",
articles: n.masculine
},
symbol: {
name: "símbolo",
articles: n.masculine
},
undefined: {
name: "valor \"undefined\"",
articles: n.masculine
},
null: {
name: "valor \"nulo\"",
articles: n.masculine
},
never: {
name: "valor \"never\"",
articles: n.masculine
},
void: {
name: "valor \"void\"",
articles: n.masculine
},
date: {
name: "data",
articles: n.feminine
},
array: {
name: "vetor",
articles: n.masculine
},
object: {
name: "objeto",
articles: n.masculine
},
tuple: {
name: "tuplo",
articles: n.masculine
},
record: {
name: "registo",
articles: n.masculine
},
map: {
name: "mapa",
articles: n.masculine
},
set: {
name: "conjunto",
articles: n.masculine
},
file: {
name: "ficheiro",
articles: n.masculine
},
nonoptional: {
name: "valor não opcional",
articles: n.masculine
},
nan: {
name: "valor \"NaN\"",
articles: n.masculine
},
function: {
name: "função",
articles: n.feminine
}
};
function translateOriginWithArticle(e, t) {
const i = r[e] ?? {
name: `valor "${e}"`,
articles: n.masculine
};
return `${i.articles[t]} ${i.name}`;
}
return (e) => {
switch (e.code) {
case "invalid_type": return `Entrada inválida: esperava ${translateOriginWithArticle(e.expected, "indefinite")}, recebeu ${translateOriginWithArticle(parsedType(e.input), "indefinite")}`;
case "invalid_value":
if (e.values.length === 1) return `Entrada inválida: esperava ${stringifyPrimitive(e.values[0])}`;
return `Opção inválida: esperava uma das seguintes opções: ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Demasiado grande: esperava que ${translateOriginWithArticle(e.origin, "definite")} tivesse ${t} ${e.maximum.toString()} ${n.unit ?? "elementos"}`;
return `Demasiado grande: esperava que ${translateOriginWithArticle(e.origin, "definite")} fosse ${t} ${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Demasiado pequeno: esperava que ${translateOriginWithArticle(e.origin, "definite")} tivesse ${t} ${e.minimum.toString()} ${n.unit ?? "elementos"}`;
return `Demasiado pequeno: esperava que ${translateOriginWithArticle(e.origin, "definite")} fosse ${t} ${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Texto inválido: deve começar por "${n.prefix}"`;
if (n.format === "ends_with") return `Texto inválido: deve terminar em "${n.suffix}"`;
if (n.format === "includes") return `Texto inválido: deve incluir "${n.includes}"`;
if (n.format === "regex") return `Texto inválido: deve corresponder ao padrão ${n.pattern}`;
return `Formato d${t[n.format] ?? e.format} inválido`;
}
case "not_multiple_of": return `Número inválido: deve ser múltiplo de ${e.divisor}`;
case "unrecognized_keys": {
const t = e.keys.length > 1 ? "s" : "";
return `Chave${t} inválida${t}: ${joinValues(e.keys, ", ")}`;
}
case "invalid_key": return `Entrada inválida n${translateOriginWithArticle(e.origin, "definite")}`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `Valor de discriminação inválido. Esperava ${e.options.map((e) => `'${e}'`).join(" | ")}`;
return "Entrada inválida";
case "invalid_element": return `Entrada inválida n${translateOriginWithArticle(e.origin, "definite")}`;
default: return `Entrada inválida`;
}
};
};
function pt_default() {
return { localeError: error$18() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pt-BR.js
const error$17 = () => {
const e = {
string: { unit: "caracteres" },
file: { unit: "bytes" },
array: { unit: "elementos" },
set: { unit: "elementos" },
map: { unit: "entradas" }
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "a entrada",
email: "o endereço de e-mail",
url: "o URL",
emoji: "o emoji",
uuid: "o UUID",
uuidv4: "o UUIDv4",
uuidv6: "o UUIDv6",
nanoid: "o nanoid",
guid: "o GUID",
cuid: "o cuid",
cuid2: "o cuid2",
ulid: "o ULID",
xid: "o XID",
ksuid: "o KSUID",
datetime: "a data e hora ISO",
date: "a data ISO",
time: "a hora ISO",
duration: "a duração ISO",
ipv4: "o endereço IPv4",
ipv6: "o endereço IPv6",
mac: "o endereço MAC",
cidrv4: "a faixa de endereços IPv4",
cidrv6: "a faixa de endereços IPv6",
base64: "o texto codificado em base64",
base64url: "o texto codificado em base64url",
json_string: "o texto JSON",
e164: "o número E.164",
credit_card: "o número de cartão de crédito",
currency_code: "o código de moeda",
iban: "o IBAN",
jwt: "o JWT",
template_literal: "a entrada"
};
const n = {
masculine: {
definite: "o",
indefinite: "um"
},
feminine: {
definite: "a",
indefinite: "uma"
}
};
const r = {
string: {
name: "texto",
articles: n.masculine
},
number: {
name: "número",
articles: n.masculine
},
int: {
name: "número inteiro",
articles: n.masculine
},
boolean: {
name: "valor booleano",
articles: n.masculine
},
bigint: {
name: "número bigint",
articles: n.masculine
},
symbol: {
name: "símbolo",
articles: n.masculine
},
undefined: {
name: "valor \"undefined\"",
articles: n.masculine
},
null: {
name: "valor \"nulo\"",
articles: n.masculine
},
never: {
name: "valor \"never\"",
articles: n.masculine
},
void: {
name: "valor \"void\"",
articles: n.masculine
},
date: {
name: "data",
articles: n.feminine
},
array: {
name: "vetor",
articles: n.masculine
},
object: {
name: "objeto",
articles: n.masculine
},
tuple: {
name: "tupla",
articles: n.feminine
},
record: {
name: "registro",
articles: n.masculine
},
map: {
name: "mapa",
articles: n.masculine
},
set: {
name: "conjunto",
articles: n.masculine
},
file: {
name: "arquivo",
articles: n.masculine
},
nonoptional: {
name: "valor não opcional",
articles: n.masculine
},
nan: {
name: "valor \"NaN\"",
articles: n.masculine
},
function: {
name: "função",
articles: n.feminine
}
};
function translateOriginWithArticle(e, t) {
const i = r[e] ?? {
name: `valor "${e}"`,
articles: n.masculine
};
return `${i.articles[t]} ${i.name}`;
}
return (e) => {
switch (e.code) {
case "invalid_type": return `Entrada inválida: esperava ${translateOriginWithArticle(e.expected, "indefinite")}, recebeu ${translateOriginWithArticle(parsedType(e.input), "indefinite")}`;
case "invalid_value":
if (e.values.length === 1) return `Entrada inválida: esperava ${stringifyPrimitive(e.values[0])}`;
return `Opção inválida: esperava uma das seguintes opções: ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Grande demais: esperava que ${translateOriginWithArticle(e.origin, "definite")} tivesse ${t} ${e.maximum.toString()} ${n.unit ?? "elementos"}`;
return `Grande demais: esperava que ${translateOriginWithArticle(e.origin, "definite")} fosse ${t} ${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Pequeno demais: esperava que ${translateOriginWithArticle(e.origin, "definite")} tivesse ${t} ${e.minimum.toString()} ${n.unit ?? "elementos"}`;
return `Pequeno demais: esperava que ${translateOriginWithArticle(e.origin, "definite")} fosse ${t} ${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Texto inválido: deve começar com "${n.prefix}"`;
if (n.format === "ends_with") return `Texto inválido: deve terminar com "${n.suffix}"`;
if (n.format === "includes") return `Texto inválido: deve incluir "${n.includes}"`;
if (n.format === "regex") return `Texto inválido: deve corresponder ao padrão ${n.pattern}`;
return `Formato d${t[n.format] ?? e.format} inválido`;
}
case "not_multiple_of": return `Número inválido: deve ser múltiplo de ${e.divisor}`;
case "unrecognized_keys": {
const t = e.keys.length > 1 ? "s" : "";
return `Chave${t} inválida${t}: ${joinValues(e.keys, ", ")}`;
}
case "invalid_key": return `Entrada inválida n${translateOriginWithArticle(e.origin, "definite")}`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `Valor de discriminação inválido. Esperava ${e.options.map((e) => `'${e}'`).join(" | ")}`;
return "Entrada inválida";
case "invalid_element": return `Entrada inválida n${translateOriginWithArticle(e.origin, "definite")}`;
default: return `Entrada inválida`;
}
};
};
function pt_BR_default() {
return { localeError: error$17() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ro.js
const error$16 = () => {
const e = {
string: {
unit: "caractere",
verb: "să aibă"
},
file: {
unit: "octeți",
verb: "să aibă"
},
array: {
unit: "elemente",
verb: "să aibă"
},
set: {
unit: "elemente",
verb: "să aibă"
},
map: {
unit: "intrări",
verb: "să aibă"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "intrare",
email: "adresă de email",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "dată și oră ISO",
date: "dată ISO",
time: "oră ISO",
duration: "durată ISO",
ipv4: "adresă IPv4",
ipv6: "adresă IPv6",
mac: "adresă MAC",
cidrv4: "interval IPv4",
cidrv6: "interval IPv6",
base64: "șir codat base64",
base64url: "șir codat base64url",
json_string: "șir JSON",
e164: "număr E.164",
credit_card: "număr de card de credit",
currency_code: "cod valutar",
iban: "IBAN",
jwt: "JWT",
template_literal: "intrare"
};
const n = {
nan: "NaN",
string: "șir",
number: "număr",
boolean: "boolean",
function: "funcție",
array: "matrice",
object: "obiect",
undefined: "nedefinit",
symbol: "simbol",
bigint: "număr mare",
void: "void",
never: "never",
map: "hartă",
set: "set"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
return `Intrare invalidă: așteptat ${t}, primit ${n[r] ?? r}`;
}
case "invalid_value":
if (e.values.length === 1) return `Intrare invalidă: așteptat ${stringifyPrimitive(e.values[0])}`;
return `Opțiune invalidă: așteptat una dintre ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Prea mare: așteptat ca ${e.origin ?? "valoarea"} ${n.verb} ${t}${e.maximum.toString()} ${n.unit ?? "elemente"}`;
return `Prea mare: așteptat ca ${e.origin ?? "valoarea"} să fie ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Prea mic: așteptat ca ${e.origin} ${n.verb} ${t}${e.minimum.toString()} ${n.unit}`;
return `Prea mic: așteptat ca ${e.origin} să fie ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Șir invalid: trebuie să înceapă cu "${n.prefix}"`;
if (n.format === "ends_with") return `Șir invalid: trebuie să se termine cu "${n.suffix}"`;
if (n.format === "includes") return `Șir invalid: trebuie să includă "${n.includes}"`;
if (n.format === "regex") return `Șir invalid: trebuie să se potrivească cu modelul ${n.pattern}`;
return `Format invalid: ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Număr invalid: trebuie să fie multiplu de ${e.divisor}`;
case "unrecognized_keys": return `Chei nerecunoscute: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Cheie invalidă în ${e.origin}`;
case "invalid_union": return "Intrare invalidă";
case "invalid_element": return `Valoare invalidă în ${e.origin}`;
default: return `Intrare invalidă`;
}
};
};
function ro_default() {
return { localeError: error$16() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ru.js
function getRussianPlural(e, t, n, r) {
const i = Math.abs(e);
const a = i % 10;
const o = i % 100;
if (o >= 11 && o <= 19) return r;
if (a === 1) return t;
if (a >= 2 && a <= 4) return n;
return r;
}
const error$15 = () => {
const e = {
string: {
unit: {
one: "символ",
few: "символа",
many: "символов"
},
verb: "иметь"
},
file: {
unit: {
one: "байт",
few: "байта",
many: "байт"
},
verb: "иметь"
},
array: {
unit: {
one: "элемент",
few: "элемента",
many: "элементов"
},
verb: "иметь"
},
set: {
unit: {
one: "элемент",
few: "элемента",
many: "элементов"
},
verb: "иметь"
},
map: {
unit: {
one: "элемент",
few: "элемента",
many: "элементов"
},
verb: "иметь"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ввод",
email: "email адрес",
url: "URL",
emoji: "эмодзи",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO дата и время",
date: "ISO дата",
time: "ISO время",
duration: "ISO длительность",
ipv4: "IPv4 адрес",
ipv6: "IPv6 адрес",
mac: "MAC адрес",
cidrv4: "IPv4 диапазон",
cidrv6: "IPv6 диапазон",
base64: "строка в формате base64",
base64url: "строка в формате base64url",
json_string: "JSON строка",
e164: "номер E.164",
credit_card: "номер кредитной карты",
currency_code: "код валюты",
iban: "IBAN",
jwt: "JWT",
template_literal: "ввод"
};
const n = {
nan: "NaN",
number: "число",
array: "массив"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Неверный ввод: ожидалось instanceof ${e.expected}, получено ${i}`;
return `Неверный ввод: ожидалось ${t}, получено ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Неверный ввод: ожидалось ${stringifyPrimitive(e.values[0])}`;
return `Неверный вариант: ожидалось одно из ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) {
const r = getRussianPlural(Number(e.maximum), n.unit.one, n.unit.few, n.unit.many);
return `Слишком большое значение: ожидалось, что ${e.origin ?? "значение"} будет иметь ${t}${e.maximum.toString()} ${r}`;
}
return `Слишком большое значение: ожидалось, что ${e.origin ?? "значение"} будет ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) {
const r = getRussianPlural(Number(e.minimum), n.unit.one, n.unit.few, n.unit.many);
return `Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${t}${e.minimum.toString()} ${r}`;
}
return `Слишком маленькое значение: ожидалось, что ${e.origin} будет ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Неверная строка: должна начинаться с "${n.prefix}"`;
if (n.format === "ends_with") return `Неверная строка: должна заканчиваться на "${n.suffix}"`;
if (n.format === "includes") return `Неверная строка: должна содержать "${n.includes}"`;
if (n.format === "regex") return `Неверная строка: должна соответствовать шаблону ${n.pattern}`;
return `Неверный ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Неверное число: должно быть кратным ${e.divisor}`;
case "unrecognized_keys": return `Нераспознанн${e.keys.length > 1 ? "ые" : "ый"} ключ${e.keys.length > 1 ? "и" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Неверный ключ в ${e.origin}`;
case "invalid_union": return "Неверные входные данные";
case "invalid_element": return `Неверное значение в ${e.origin}`;
default: return `Неверные входные данные`;
}
};
};
function ru_default() {
return { localeError: error$15() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sk.js
const error$14 = () => {
const e = {
string: {
unit: "znakov",
verb: "mať"
},
file: {
unit: "bajtov",
verb: "mať"
},
array: {
unit: "prvkov",
verb: "mať"
},
set: {
unit: "prvkov",
verb: "mať"
},
map: {
unit: "položiek",
verb: "mať"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "regulárny výraz",
email: "e-mailová adresa",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "dátum a čas vo formáte ISO",
date: "dátum vo formáte ISO",
time: "čas vo formáte ISO",
duration: "doba trvania ISO",
ipv4: "IPv4 adresa",
ipv6: "IPv6 adresa",
mac: "MAC adresa",
cidrv4: "rozsah IPv4",
cidrv6: "rozsah IPv6",
base64: "reťazec zakódovaný vo formáte base64",
base64url: "reťazec zakódovaný vo formáte base64url",
json_string: "reťazec vo formáte JSON",
e164: "číslo E.164",
credit_card: "číslo kreditnej karty",
currency_code: "kód meny",
iban: "IBAN",
jwt: "JWT",
template_literal: "vstup"
};
const n = {
nan: "NaN",
number: "číslo",
string: "reťazec",
function: "funkcia",
array: "pole"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Neplatný vstup: očakávané instanceof ${e.expected}, obdržané ${i}`;
return `Neplatný vstup: očakávané ${t}, obdržané ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Neplatný vstup: očakávané ${stringifyPrimitive(e.values[0])}`;
return `Neplatný vstup: očakávaná jedna z hodnôt ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Hodnota je príliš veľká: ${e.origin ?? "hodnota"} musí mať ${t}${e.maximum.toString()} ${n.unit ?? "prvkov"}`;
return `Hodnota je príliš veľká: ${e.origin ?? "hodnota"} musí byť ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Hodnota je príliš malá: ${e.origin ?? "hodnota"} musí mať ${t}${e.minimum.toString()} ${n.unit ?? "prvkov"}`;
return `Hodnota je príliš malá: ${e.origin ?? "hodnota"} musí byť ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Neplatný reťazec: musí začínať na "${n.prefix}"`;
if (n.format === "ends_with") return `Neplatný reťazec: musí končiť na "${n.suffix}"`;
if (n.format === "includes") return `Neplatný reťazec: musí obsahovať "${n.includes}"`;
if (n.format === "regex") return `Neplatný reťazec: musí zodpovedať vzoru ${n.pattern}`;
return `Neplatný formát ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Neplatné číslo: musí byť násobkom ${e.divisor}`;
case "unrecognized_keys": return `Neznáme klúče: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Neplatný klúč v ${e.origin}`;
case "invalid_union": return "Neplatný vstup";
case "invalid_element": return `Neplatná hodnota v ${e.origin}`;
default: return `Neplatný vstup`;
}
};
};
function sk_default() {
return { localeError: error$14() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sl.js
const error$13 = () => {
const e = {
string: {
unit: "znakov",
verb: "imeti"
},
file: {
unit: "bajtov",
verb: "imeti"
},
array: {
unit: "elementov",
verb: "imeti"
},
set: {
unit: "elementov",
verb: "imeti"
},
map: {
unit: "elementov",
verb: "imeti"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "vnos",
email: "e-poštni naslov",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO datum in čas",
date: "ISO datum",
time: "ISO čas",
duration: "ISO trajanje",
ipv4: "IPv4 naslov",
ipv6: "IPv6 naslov",
mac: "MAC naslov",
cidrv4: "obseg IPv4",
cidrv6: "obseg IPv6",
base64: "base64 kodiran niz",
base64url: "base64url kodiran niz",
json_string: "JSON niz",
e164: "E.164 številka",
credit_card: "številka kreditne kartice",
currency_code: "koda valute",
iban: "IBAN",
jwt: "JWT",
template_literal: "vnos"
};
const n = {
nan: "NaN",
number: "število",
array: "tabela"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Neveljaven vnos: pričakovano instanceof ${e.expected}, prejeto ${i}`;
return `Neveljaven vnos: pričakovano ${t}, prejeto ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Neveljaven vnos: pričakovano ${stringifyPrimitive(e.values[0])}`;
return `Neveljavna možnost: pričakovano eno izmed ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Preveliko: pričakovano, da bo ${e.origin ?? "vrednost"} imelo ${t}${e.maximum.toString()} ${n.unit ?? "elementov"}`;
return `Preveliko: pričakovano, da bo ${e.origin ?? "vrednost"} ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Premajhno: pričakovano, da bo ${e.origin} imelo ${t}${e.minimum.toString()} ${n.unit}`;
return `Premajhno: pričakovano, da bo ${e.origin} ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Neveljaven niz: mora se začeti z "${n.prefix}"`;
if (n.format === "ends_with") return `Neveljaven niz: mora se končati z "${n.suffix}"`;
if (n.format === "includes") return `Neveljaven niz: mora vsebovati "${n.includes}"`;
if (n.format === "regex") return `Neveljaven niz: mora ustrezati vzorcu ${n.pattern}`;
return `Neveljaven ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Neveljavno število: mora biti večkratnik ${e.divisor}`;
case "unrecognized_keys": return `Neprepoznan${e.keys.length > 1 ? "i ključi" : " ključ"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Neveljaven ključ v ${e.origin}`;
case "invalid_union": return "Neveljaven vnos";
case "invalid_element": return `Neveljavna vrednost v ${e.origin}`;
default: return "Neveljaven vnos";
}
};
};
function sl_default() {
return { localeError: error$13() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sv.js
const error$12 = () => {
const e = {
string: {
unit: "tecken",
verb: "att ha"
},
file: {
unit: "bytes",
verb: "att ha"
},
array: {
unit: "objekt",
verb: "att innehålla"
},
set: {
unit: "objekt",
verb: "att innehålla"
},
map: {
unit: "objekt",
verb: "att innehålla"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "reguljärt uttryck",
email: "e-postadress",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO-datum och tid",
date: "ISO-datum",
time: "ISO-tid",
duration: "ISO-varaktighet",
ipv4: "IPv4-adress",
ipv6: "IPv6-adress",
mac: "MAC-adress",
cidrv4: "IPv4-spektrum",
cidrv6: "IPv6-spektrum",
base64: "base64-kodad sträng",
base64url: "base64url-kodad sträng",
json_string: "JSON-sträng",
e164: "E.164-nummer",
credit_card: "kreditkortsnummer",
currency_code: "valutakod",
iban: "IBAN",
jwt: "JWT",
template_literal: "mall-literal"
};
const n = {
nan: "NaN",
number: "antal",
array: "lista"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Ogiltig inmatning: förväntat instanceof ${e.expected}, fick ${i}`;
return `Ogiltig inmatning: förväntat ${t}, fick ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Ogiltig inmatning: förväntat ${stringifyPrimitive(e.values[0])}`;
return `Ogiltigt val: förväntade en av ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `För stor(t): förväntade ${e.origin ?? "värdet"} att ha ${t}${e.maximum.toString()} ${n.unit ?? "element"}`;
return `För stor(t): förväntat ${e.origin ?? "värdet"} att ha ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `För lite(t): förväntade ${e.origin ?? "värdet"} att ha ${t}${e.minimum.toString()} ${n.unit}`;
return `För lite(t): förväntade ${e.origin ?? "värdet"} att ha ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Ogiltig sträng: måste börja med "${n.prefix}"`;
if (n.format === "ends_with") return `Ogiltig sträng: måste sluta med "${n.suffix}"`;
if (n.format === "includes") return `Ogiltig sträng: måste innehålla "${n.includes}"`;
if (n.format === "regex") return `Ogiltig sträng: måste matcha mönstret "${n.pattern}"`;
return `Ogiltig(t) ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Ogiltigt tal: måste vara en multipel av ${e.divisor}`;
case "unrecognized_keys": return `${e.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Ogiltig nyckel i ${e.origin ?? "värdet"}`;
case "invalid_union": return "Ogiltig input";
case "invalid_element": return `Ogiltigt värde i ${e.origin ?? "värdet"}`;
default: return `Ogiltig input`;
}
};
};
function sv_default() {
return { localeError: error$12() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ta.js
const error$11 = () => {
const e = {
string: {
unit: "எழுத்துக்கள்",
verb: "கொண்டிருக்க வேண்டும்"
},
file: {
unit: "பைட்டுகள்",
verb: "கொண்டிருக்க வேண்டும்"
},
array: {
unit: "உறுப்புகள்",
verb: "கொண்டிருக்க வேண்டும்"
},
set: {
unit: "உறுப்புகள்",
verb: "கொண்டிருக்க வேண்டும்"
},
map: {
unit: "உறுப்புகள்",
verb: "கொண்டிருக்க வேண்டும்"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "உள்ளீடு",
email: "மின்னஞ்சல் முகவரி",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO தேதி நேரம்",
date: "ISO தேதி",
time: "ISO நேரம்",
duration: "ISO கால அளவு",
ipv4: "IPv4 முகவரி",
ipv6: "IPv6 முகவரி",
mac: "MAC முகவரி",
cidrv4: "IPv4 வரம்பு",
cidrv6: "IPv6 வரம்பு",
base64: "base64-encoded சரம்",
base64url: "base64url-encoded சரம்",
json_string: "JSON சரம்",
e164: "E.164 எண்",
credit_card: "கடன் அட்டை எண்",
currency_code: "நாணயக் குறியீடு",
iban: "IBAN",
jwt: "JWT",
template_literal: "input"
};
const n = {
nan: "NaN",
number: "எண்",
array: "அணி",
null: "வெறுமை"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${e.expected}, பெறப்பட்டது ${i}`;
return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t}, பெறப்பட்டது ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${stringifyPrimitive(e.values[0])}`;
return `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${joinValues(e.values, "|")} இல் ஒன்று`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin ?? "மதிப்பு"} ${t}${e.maximum.toString()} ${n.unit ?? "உறுப்புகள்"} ஆக இருக்க வேண்டும்`;
return `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin ?? "மதிப்பு"} ${t}${e.maximum.toString()} ஆக இருக்க வேண்டும்`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${t}${e.minimum.toString()} ${n.unit} ஆக இருக்க வேண்டும்`;
return `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${t}${e.minimum.toString()} ஆக இருக்க வேண்டும்`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `தவறான சரம்: "${n.prefix}" இல் தொடங்க வேண்டும்`;
if (n.format === "ends_with") return `தவறான சரம்: "${n.suffix}" இல் முடிவடைய வேண்டும்`;
if (n.format === "includes") return `தவறான சரம்: "${n.includes}" ஐ உள்ளடக்க வேண்டும்`;
if (n.format === "regex") return `தவறான சரம்: ${n.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;
return `தவறான ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`;
case "unrecognized_keys": return `அடையாளம் தெரியாத விசை${e.keys.length > 1 ? "கள்" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} இல் தவறான விசை`;
case "invalid_union": return "தவறான உள்ளீடு";
case "invalid_element": return `${e.origin} இல் தவறான மதிப்பு`;
default: return `தவறான உள்ளீடு`;
}
};
};
function ta_default() {
return { localeError: error$11() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tg.js
const error$10 = () => {
const e = {
string: {
unit: "аломат",
verb: "дошта бошад"
},
file: {
unit: "байт",
verb: "дошта бошад"
},
array: {
unit: "унсур",
verb: "дошта бошад"
},
set: {
unit: "унсур",
verb: "дошта бошад"
},
map: {
unit: "сабт",
verb: "дошта бошад"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "вуруд",
email: "суроғаи email",
url: "URL",
emoji: "эмоҷи",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "санаву вақти ISO",
date: "санаи ISO",
time: "вақти ISO",
duration: "давомнокии ISO",
ipv4: "суроғаи IPv4",
ipv6: "суроғаи IPv6",
mac: "суроғаи MAC",
cidrv4: "маҳдудаи IPv4",
cidrv6: "маҳдудаи IPv6",
base64: "сатри дар формати base64",
base64url: "сатри дар формати base64url",
json_string: "сатри JSON",
e164: "рақами E.164",
credit_card: "рақами корти кредитӣ",
currency_code: "рамзи асъор",
iban: "IBAN",
jwt: "JWT",
template_literal: "вуруд"
};
const n = {
nan: "NaN",
number: "рақам",
string: "сатр",
array: "массив",
object: "объект",
date: "сана"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
return `Вуруди нодуруст: ${t} интизор мерафт, ${n[r] ?? r} гирифта шуд`;
}
case "invalid_value":
if (e.values.length === 1) return `Вуруди нодуруст: ${stringifyPrimitive(e.values[0])} интизор мерафт`;
return `Интихоби нодуруст: яке аз ${joinValues(e.values, "|")} интизор мерафт`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Хеле калон: ${e.origin ?? "қимат"} бояд ${t}${e.maximum.toString()} ${n.unit} ${n.verb}`;
return `Хеле калон: ${e.origin ?? "қимат"} бояд ${t}${e.maximum.toString()} бошад`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Хеле хурд: ${e.origin} бояд ${t}${e.minimum.toString()} ${n.unit} ${n.verb}`;
return `Хеле хурд: ${e.origin} бояд ${t}${e.minimum.toString()} бошад`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Сатри нодуруст: бояд бо "${n.prefix}" оғоз шавад`;
if (n.format === "ends_with") return `Сатри нодуруст: бояд бо "${n.suffix}" анҷом ёбад`;
if (n.format === "includes") return `Сатри нодуруст: бояд "${n.includes}"-ро дар бар гирад`;
if (n.format === "regex") return `Сатри нодуруст: бояд ба намунаи ${n.pattern} мувофиқат кунад`;
return `${t[n.format] ?? e.format}-и нодуруст`;
}
case "not_multiple_of": return `Рақами нодуруст: бояд ба ${e.divisor} бе бақия тақсим шавад`;
case "unrecognized_keys": return `Калид${e.keys.length > 1 ? "ҳои" : "и"} номаълум: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Калиди нодуруст дар ${e.origin}`;
case "invalid_union":
if (e.options && Array.isArray(e.options) && e.options.length > 0) return `Қимати нодурусти дискриминатор: ${e.options.map((e) => `'${e}'`).join(" | ")} интизор мерафт`;
return "Вуруди нодуруст";
case "invalid_element": return `Қимати нодуруст дар ${e.origin}`;
default: return `Вуруди нодуруст`;
}
};
};
function tg_default() {
return { localeError: error$10() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/th.js
const error$9 = () => {
const e = {
string: {
unit: "ตัวอักษร",
verb: "ควรมี"
},
file: {
unit: "ไบต์",
verb: "ควรมี"
},
array: {
unit: "รายการ",
verb: "ควรมี"
},
set: {
unit: "รายการ",
verb: "ควรมี"
},
map: {
unit: "รายการ",
verb: "ควรมี"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ข้อมูลที่ป้อน",
email: "ที่อยู่อีเมล",
url: "URL",
emoji: "อิโมจิ",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "วันที่เวลาแบบ ISO",
date: "วันที่แบบ ISO",
time: "เวลาแบบ ISO",
duration: "ช่วงเวลาแบบ ISO",
ipv4: "ที่อยู่ IPv4",
ipv6: "ที่อยู่ IPv6",
mac: "ที่อยู่ MAC",
cidrv4: "ช่วง IP แบบ IPv4",
cidrv6: "ช่วง IP แบบ IPv6",
base64: "ข้อความแบบ Base64",
base64url: "ข้อความแบบ Base64 สำหรับ URL",
json_string: "ข้อความแบบ JSON",
e164: "เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",
credit_card: "หมายเลขบัตรเครดิต",
currency_code: "รหัสสกุลเงิน",
iban: "IBAN",
jwt: "โทเคน JWT",
template_literal: "ข้อมูลที่ป้อน"
};
const n = {
nan: "NaN",
number: "ตัวเลข",
array: "อาร์เรย์ (Array)",
null: "ไม่มีค่า (null)"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${e.expected} แต่ได้รับ ${i}`;
return `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t} แต่ได้รับ ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `ค่าไม่ถูกต้อง: ควรเป็น ${stringifyPrimitive(e.values[0])}`;
return `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "ไม่เกิน" : "น้อยกว่า";
const n = getSizing(e.origin);
if (n) return `เกินกำหนด: ${e.origin ?? "ค่า"} ควรมี${t} ${e.maximum.toString()} ${n.unit ?? "รายการ"}`;
return `เกินกำหนด: ${e.origin ?? "ค่า"} ควรมี${t} ${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? "อย่างน้อย" : "มากกว่า";
const n = getSizing(e.origin);
if (n) return `น้อยกว่ากำหนด: ${e.origin} ควรมี${t} ${e.minimum.toString()} ${n.unit}`;
return `น้อยกว่ากำหนด: ${e.origin} ควรมี${t} ${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${n.prefix}"`;
if (n.format === "ends_with") return `รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${n.suffix}"`;
if (n.format === "includes") return `รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${n.includes}" อยู่ในข้อความ`;
if (n.format === "regex") return `รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${n.pattern}`;
return `รูปแบบไม่ถูกต้อง: ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`;
case "unrecognized_keys": return `พบคีย์ที่ไม่รู้จัก: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `คีย์ไม่ถูกต้องใน ${e.origin}`;
case "invalid_union": return "ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";
case "invalid_element": return `ข้อมูลไม่ถูกต้องใน ${e.origin}`;
default: return `ข้อมูลไม่ถูกต้อง`;
}
};
};
function th_default() {
return { localeError: error$9() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tk.js
const error$8 = () => {
const e = {
string: {
unit: "simwol",
verb: "bolmaly"
},
file: {
unit: "baýt",
verb: "bolmaly"
},
array: {
unit: "elementler",
verb: "bolmaly"
},
set: {
unit: "elementler",
verb: "bolmaly"
},
map: {
unit: "elementler",
verb: "bolmaly"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "giriş",
email: "e-poçta salgysy",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO sene we wagt",
date: "ISO sene",
time: "ISO wagt",
duration: "ISO wagt aralygy",
ipv4: "IPv4 salgysy",
ipv6: "IPv6 salgysy",
mac: "MAC salgysy",
cidrv4: "IPv4 aralygy",
cidrv6: "IPv6 aralygy",
base64: "base64 bilen şifrlenen setir",
base64url: "base64url bilen şifrlenen setir",
json_string: "JSON setiri",
e164: "E.164 nomeri",
credit_card: "kredit kartynyň nomeri",
currency_code: "walýuta kody",
iban: "IBAN",
jwt: "JWT",
template_literal: "şablon"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
return `Nädogry baha: garaşylan ${t} ýerine ${n[r] ?? r} alyndy`;
}
case "invalid_value":
if (e.values.length === 1) return `Nädogry baha: ${stringifyPrimitive(e.values[0])} bolmaly`;
return `Nädogry saýlaw: aşakdakylardan biri bolmaly: ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Has uly: garaşylýan ${e.origin ?? "baha"} ${t} ${e.maximum.toString()} ${n.unit ?? "element"}`;
return `Has uly: garaşylýan ${e.origin ?? "baha"} ${t} ${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Has kiçi: garaşylýan ${e.origin} ${t} ${e.minimum.toString()} ${n.unit}`;
return `Has kiçi: garaşylýan ${e.origin} ${t} ${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Nädogry setir: "${n.prefix}" bilen başlamaly`;
if (n.format === "ends_with") return `Nädogry setir: "${n.suffix}" bilen gutarmaly`;
if (n.format === "includes") return `Nädogry setir: "${n.includes}" saklamaly`;
if (n.format === "regex") return `Nädogry setir: ${n.pattern} nusga laýyk bolmaly`;
return `Nädogry ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Nädogry san: ${e.divisor} bilen galyndysyz bölünmeli`;
case "unrecognized_keys": return `Tanalmaýan açar${e.keys.length > 1 ? "lar" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} içinde nädogry açar`;
case "invalid_union": return "Nädogry baha";
case "invalid_element": return `${e.origin} içinde nädogry baha`;
default: return `Nädogry baha`;
}
};
};
function tk_default() {
return { localeError: error$8() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tr.js
const error$7 = () => {
const e = {
string: {
unit: "karakter",
verb: "olmalı"
},
file: {
unit: "bayt",
verb: "olmalı"
},
array: {
unit: "öğe",
verb: "olmalı"
},
set: {
unit: "öğe",
verb: "olmalı"
},
map: {
unit: "öğe",
verb: "olmalı"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "girdi",
email: "e-posta adresi",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO tarih ve saat",
date: "ISO tarih",
time: "ISO saat",
duration: "ISO süre",
ipv4: "IPv4 adresi",
ipv6: "IPv6 adresi",
mac: "MAC adresi",
cidrv4: "IPv4 aralığı",
cidrv6: "IPv6 aralığı",
base64: "base64 ile şifrelenmiş metin",
base64url: "base64url ile şifrelenmiş metin",
json_string: "JSON dizesi",
e164: "E.164 sayısı",
credit_card: "kredi kartı numarası",
currency_code: "para birimi kodu",
iban: "IBAN",
jwt: "JWT",
template_literal: "Şablon dizesi"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Geçersiz değer: beklenen instanceof ${e.expected}, alınan ${i}`;
return `Geçersiz değer: beklenen ${t}, alınan ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Geçersiz değer: beklenen ${stringifyPrimitive(e.values[0])}`;
return `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Çok büyük: beklenen ${e.origin ?? "değer"} ${t}${e.maximum.toString()} ${n.unit ?? "öğe"}`;
return `Çok büyük: beklenen ${e.origin ?? "değer"} ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Çok küçük: beklenen ${e.origin} ${t}${e.minimum.toString()} ${n.unit}`;
return `Çok küçük: beklenen ${e.origin} ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Geçersiz metin: "${n.prefix}" ile başlamalı`;
if (n.format === "ends_with") return `Geçersiz metin: "${n.suffix}" ile bitmeli`;
if (n.format === "includes") return `Geçersiz metin: "${n.includes}" içermeli`;
if (n.format === "regex") return `Geçersiz metin: ${n.pattern} desenine uymalı`;
return `Geçersiz ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`;
case "unrecognized_keys": return `Tanınmayan anahtar${e.keys.length > 1 ? "lar" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} içinde geçersiz anahtar`;
case "invalid_union": return "Geçersiz değer";
case "invalid_element": return `${e.origin} içinde geçersiz değer`;
default: return `Geçersiz değer`;
}
};
};
function tr_default() {
return { localeError: error$7() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/uk.js
const error$6 = () => {
const e = {
string: {
unit: "символів",
verb: "матиме"
},
file: {
unit: "байтів",
verb: "матиме"
},
array: {
unit: "елементів",
verb: "матиме"
},
set: {
unit: "елементів",
verb: "матиме"
},
map: {
unit: "елементів",
verb: "матиме"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "вхідні дані",
email: "адреса електронної пошти",
url: "URL",
emoji: "емодзі",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "дата та час ISO",
date: "дата ISO",
time: "час ISO",
duration: "тривалість ISO",
ipv4: "адреса IPv4",
ipv6: "адреса IPv6",
mac: "адреса MAC",
cidrv4: "діапазон IPv4",
cidrv6: "діапазон IPv6",
base64: "рядок у кодуванні base64",
base64url: "рядок у кодуванні base64url",
json_string: "рядок JSON",
e164: "номер E.164",
credit_card: "номер кредитної картки",
currency_code: "код валюти",
iban: "IBAN",
jwt: "JWT",
template_literal: "вхідні дані"
};
const n = {
nan: "NaN",
number: "число",
array: "масив"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Неправильні вхідні дані: очікується instanceof ${e.expected}, отримано ${i}`;
return `Неправильні вхідні дані: очікується ${t}, отримано ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Неправильні вхідні дані: очікується ${stringifyPrimitive(e.values[0])}`;
return `Неправильна опція: очікується одне з ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Занадто велике: очікується, що ${e.origin ?? "значення"} ${n.verb} ${t}${e.maximum.toString()} ${n.unit ?? "елементів"}`;
return `Занадто велике: очікується, що ${e.origin ?? "значення"} буде ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Занадто мале: очікується, що ${e.origin} ${n.verb} ${t}${e.minimum.toString()} ${n.unit}`;
return `Занадто мале: очікується, що ${e.origin} буде ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Неправильний рядок: повинен починатися з "${n.prefix}"`;
if (n.format === "ends_with") return `Неправильний рядок: повинен закінчуватися на "${n.suffix}"`;
if (n.format === "includes") return `Неправильний рядок: повинен містити "${n.includes}"`;
if (n.format === "regex") return `Неправильний рядок: повинен відповідати шаблону ${n.pattern}`;
return `Неправильний ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Неправильне число: повинно бути кратним ${e.divisor}`;
case "unrecognized_keys": return `Нерозпізнаний ключ${e.keys.length > 1 ? "і" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Неправильний ключ у ${e.origin}`;
case "invalid_union": return "Неправильні вхідні дані";
case "invalid_element": return `Неправильне значення у ${e.origin}`;
default: return `Неправильні вхідні дані`;
}
};
};
function uk_default() {
return { localeError: error$6() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ua.js
/** @deprecated Use `uk` instead. */
function ua_default() {
return uk_default();
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ur.js
const error$5 = () => {
const e = {
string: {
unit: "حروف",
verb: "ہونا"
},
file: {
unit: "بائٹس",
verb: "ہونا"
},
array: {
unit: "آئٹمز",
verb: "ہونا"
},
set: {
unit: "آئٹمز",
verb: "ہونا"
},
map: {
unit: "آئٹمز",
verb: "ہونا"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ان پٹ",
email: "ای میل ایڈریس",
url: "یو آر ایل",
emoji: "ایموجی",
uuid: "یو یو آئی ڈی",
uuidv4: "یو یو آئی ڈی وی 4",
uuidv6: "یو یو آئی ڈی وی 6",
nanoid: "نینو آئی ڈی",
guid: "جی یو آئی ڈی",
cuid: "سی یو آئی ڈی",
cuid2: "سی یو آئی ڈی 2",
ulid: "یو ایل آئی ڈی",
xid: "ایکس آئی ڈی",
ksuid: "کے ایس یو آئی ڈی",
datetime: "آئی ایس او ڈیٹ ٹائم",
date: "آئی ایس او تاریخ",
time: "آئی ایس او وقت",
duration: "آئی ایس او مدت",
ipv4: "آئی پی وی 4 ایڈریس",
ipv6: "آئی پی وی 6 ایڈریس",
mac: "ایم اے سی ایڈریس",
cidrv4: "آئی پی وی 4 رینج",
cidrv6: "آئی پی وی 6 رینج",
base64: "بیس 64 ان کوڈڈ سٹرنگ",
base64url: "بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",
json_string: "جے ایس او این سٹرنگ",
e164: "ای 164 نمبر",
credit_card: "کریڈٹ کارڈ نمبر",
currency_code: "کرنسی کوڈ",
iban: "IBAN",
jwt: "جے ڈبلیو ٹی",
template_literal: "ان پٹ"
};
const n = {
nan: "NaN",
number: "نمبر",
array: "آرے",
null: "نل"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `غلط ان پٹ: instanceof ${e.expected} متوقع تھا، ${i} موصول ہوا`;
return `غلط ان پٹ: ${t} متوقع تھا، ${i} موصول ہوا`;
}
case "invalid_value":
if (e.values.length === 1) return `غلط ان پٹ: ${stringifyPrimitive(e.values[0])} متوقع تھا`;
return `غلط آپشن: ${joinValues(e.values, "|")} میں سے ایک متوقع تھا`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `بہت بڑا: ${e.origin ?? "ویلیو"} کے ${t}${e.maximum.toString()} ${n.unit ?? "عناصر"} ہونے متوقع تھے`;
return `بہت بڑا: ${e.origin ?? "ویلیو"} کا ${t}${e.maximum.toString()} ہونا متوقع تھا`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `بہت چھوٹا: ${e.origin} کے ${t}${e.minimum.toString()} ${n.unit} ہونے متوقع تھے`;
return `بہت چھوٹا: ${e.origin} کا ${t}${e.minimum.toString()} ہونا متوقع تھا`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `غلط سٹرنگ: "${n.prefix}" سے شروع ہونا چاہیے`;
if (n.format === "ends_with") return `غلط سٹرنگ: "${n.suffix}" پر ختم ہونا چاہیے`;
if (n.format === "includes") return `غلط سٹرنگ: "${n.includes}" شامل ہونا چاہیے`;
if (n.format === "regex") return `غلط سٹرنگ: پیٹرن ${n.pattern} سے میچ ہونا چاہیے`;
return `غلط ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`;
case "unrecognized_keys": return `غیر تسلیم شدہ کی${e.keys.length > 1 ? "ز" : ""}: ${joinValues(e.keys, "، ")}`;
case "invalid_key": return `${e.origin} میں غلط کی`;
case "invalid_union": return "غلط ان پٹ";
case "invalid_element": return `${e.origin} میں غلط ویلیو`;
default: return `غلط ان پٹ`;
}
};
};
function ur_default() {
return { localeError: error$5() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/uz.js
const error$4 = () => {
const e = {
string: {
unit: "belgi",
verb: "bo‘lishi kerak"
},
file: {
unit: "bayt",
verb: "bo‘lishi kerak"
},
array: {
unit: "element",
verb: "bo‘lishi kerak"
},
set: {
unit: "element",
verb: "bo‘lishi kerak"
},
map: {
unit: "yozuv",
verb: "bo‘lishi kerak"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "kirish",
email: "elektron pochta manzili",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO sana va vaqti",
date: "ISO sana",
time: "ISO vaqt",
duration: "ISO davomiylik",
ipv4: "IPv4 manzil",
ipv6: "IPv6 manzil",
mac: "MAC manzil",
cidrv4: "IPv4 diapazon",
cidrv6: "IPv6 diapazon",
base64: "base64 kodlangan satr",
base64url: "base64url kodlangan satr",
json_string: "JSON satr",
e164: "E.164 raqam",
credit_card: "kredit karta raqami",
currency_code: "valyuta kodi",
iban: "IBAN",
jwt: "JWT",
template_literal: "kirish"
};
const n = {
nan: "NaN",
number: "raqam",
array: "massiv"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Noto‘g‘ri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${i}`;
return `Noto‘g‘ri kirish: kutilgan ${t}, qabul qilingan ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Noto‘g‘ri kirish: kutilgan ${stringifyPrimitive(e.values[0])}`;
return `Noto‘g‘ri variant: quyidagilardan biri kutilgan ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Juda katta: kutilgan ${e.origin ?? "qiymat"} ${t}${e.maximum.toString()} ${n.unit} ${n.verb}`;
return `Juda katta: kutilgan ${e.origin ?? "qiymat"} ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Juda kichik: kutilgan ${e.origin} ${t}${e.minimum.toString()} ${n.unit} ${n.verb}`;
return `Juda kichik: kutilgan ${e.origin} ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Noto‘g‘ri satr: "${n.prefix}" bilan boshlanishi kerak`;
if (n.format === "ends_with") return `Noto‘g‘ri satr: "${n.suffix}" bilan tugashi kerak`;
if (n.format === "includes") return `Noto‘g‘ri satr: "${n.includes}" ni o‘z ichiga olishi kerak`;
if (n.format === "regex") return `Noto‘g‘ri satr: ${n.pattern} shabloniga mos kelishi kerak`;
return `Noto‘g‘ri ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Noto‘g‘ri raqam: ${e.divisor} ning karralisi bo‘lishi kerak`;
case "unrecognized_keys": return `Noma’lum kalit${e.keys.length > 1 ? "lar" : ""}: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} dagi kalit noto‘g‘ri`;
case "invalid_union": return "Noto‘g‘ri kirish";
case "invalid_element": return `${e.origin} da noto‘g‘ri qiymat`;
default: return `Noto‘g‘ri kirish`;
}
};
};
function uz_default() {
return { localeError: error$4() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/vi.js
const error$3 = () => {
const e = {
string: {
unit: "ký tự",
verb: "có"
},
file: {
unit: "byte",
verb: "có"
},
array: {
unit: "phần tử",
verb: "có"
},
set: {
unit: "phần tử",
verb: "có"
},
map: {
unit: "phần tử",
verb: "có"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "đầu vào",
email: "địa chỉ email",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ngày giờ ISO",
date: "ngày ISO",
time: "giờ ISO",
duration: "khoảng thời gian ISO",
ipv4: "địa chỉ IPv4",
ipv6: "địa chỉ IPv6",
mac: "địa chỉ MAC",
cidrv4: "dải IPv4",
cidrv6: "dải IPv6",
base64: "chuỗi mã hóa base64",
base64url: "chuỗi mã hóa base64url",
json_string: "chuỗi JSON",
e164: "số E.164",
credit_card: "số thẻ tín dụng",
currency_code: "mã tiền tệ",
iban: "IBAN",
jwt: "JWT",
template_literal: "đầu vào"
};
const n = {
nan: "NaN",
number: "số",
array: "mảng"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Đầu vào không hợp lệ: mong đợi instanceof ${e.expected}, nhận được ${i}`;
return `Đầu vào không hợp lệ: mong đợi ${t}, nhận được ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Đầu vào không hợp lệ: mong đợi ${stringifyPrimitive(e.values[0])}`;
return `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Quá lớn: mong đợi ${e.origin ?? "giá trị"} ${n.verb} ${t}${e.maximum.toString()} ${n.unit ?? "phần tử"}`;
return `Quá lớn: mong đợi ${e.origin ?? "giá trị"} ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Quá nhỏ: mong đợi ${e.origin} ${n.verb} ${t}${e.minimum.toString()} ${n.unit}`;
return `Quá nhỏ: mong đợi ${e.origin} ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Chuỗi không hợp lệ: phải bắt đầu bằng "${n.prefix}"`;
if (n.format === "ends_with") return `Chuỗi không hợp lệ: phải kết thúc bằng "${n.suffix}"`;
if (n.format === "includes") return `Chuỗi không hợp lệ: phải bao gồm "${n.includes}"`;
if (n.format === "regex") return `Chuỗi không hợp lệ: phải khớp với mẫu ${n.pattern}`;
return `${t[n.format] ?? e.format} không hợp lệ`;
}
case "not_multiple_of": return `Số không hợp lệ: phải là bội số của ${e.divisor}`;
case "unrecognized_keys": return `Khóa không được nhận dạng: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Khóa không hợp lệ trong ${e.origin}`;
case "invalid_union": return "Đầu vào không hợp lệ";
case "invalid_element": return `Giá trị không hợp lệ trong ${e.origin}`;
default: return `Đầu vào không hợp lệ`;
}
};
};
function vi_default() {
return { localeError: error$3() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/zh-CN.js
const error$2 = () => {
const e = {
string: {
unit: "字符",
verb: "包含"
},
file: {
unit: "字节",
verb: "包含"
},
array: {
unit: "项",
verb: "包含"
},
set: {
unit: "项",
verb: "包含"
},
map: {
unit: "项",
verb: "包含"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "输入",
email: "电子邮件",
url: "URL",
emoji: "表情符号",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO日期时间",
date: "ISO日期",
time: "ISO时间",
duration: "ISO时长",
ipv4: "IPv4地址",
ipv6: "IPv6地址",
mac: "MAC地址",
cidrv4: "IPv4网段",
cidrv6: "IPv6网段",
base64: "base64编码字符串",
base64url: "base64url编码字符串",
json_string: "JSON字符串",
e164: "E.164号码",
credit_card: "信用卡号",
currency_code: "货币代码",
iban: "IBAN",
jwt: "JWT",
template_literal: "输入"
};
const n = {
nan: "NaN",
number: "数字",
array: "数组",
null: "空值(null)"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `无效输入:期望 instanceof ${e.expected},实际接收 ${i}`;
return `无效输入:期望 ${t},实际接收 ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `无效输入:期望 ${stringifyPrimitive(e.values[0])}`;
return `无效选项:期望以下之一 ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `数值过大:期望 ${e.origin ?? "值"} ${t}${e.maximum.toString()} ${n.unit ?? "个元素"}`;
return `数值过大:期望 ${e.origin ?? "值"} ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `数值过小:期望 ${e.origin} ${t}${e.minimum.toString()} ${n.unit}`;
return `数值过小:期望 ${e.origin} ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `无效字符串:必须以 "${n.prefix}" 开头`;
if (n.format === "ends_with") return `无效字符串:必须以 "${n.suffix}" 结尾`;
if (n.format === "includes") return `无效字符串:必须包含 "${n.includes}"`;
if (n.format === "regex") return `无效字符串:必须满足正则表达式 ${n.pattern}`;
return `无效${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `无效数字:必须是 ${e.divisor} 的倍数`;
case "unrecognized_keys": return `出现未知的键(key): ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `${e.origin} 中的键(key)无效`;
case "invalid_union": return "无效输入";
case "invalid_element": return `${e.origin} 中包含无效值(value)`;
default: return `无效输入`;
}
};
};
function zh_CN_default() {
return { localeError: error$2() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/zh-TW.js
const error$1 = () => {
const e = {
string: {
unit: "字元",
verb: "擁有"
},
file: {
unit: "位元組",
verb: "擁有"
},
array: {
unit: "項目",
verb: "擁有"
},
set: {
unit: "項目",
verb: "擁有"
},
map: {
unit: "項目",
verb: "擁有"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "輸入",
email: "郵件地址",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO 日期時間",
date: "ISO 日期",
time: "ISO 時間",
duration: "ISO 期間",
ipv4: "IPv4 位址",
ipv6: "IPv6 位址",
mac: "MAC 位址",
cidrv4: "IPv4 範圍",
cidrv6: "IPv6 範圍",
base64: "base64 編碼字串",
base64url: "base64url 編碼字串",
json_string: "JSON 字串",
e164: "E.164 數值",
credit_card: "信用卡號",
currency_code: "貨幣代碼",
iban: "IBAN",
jwt: "JWT",
template_literal: "輸入"
};
const n = { nan: "NaN" };
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `無效的輸入值:預期為 instanceof ${e.expected},但收到 ${i}`;
return `無效的輸入值:預期為 ${t},但收到 ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `無效的輸入值:預期為 ${stringifyPrimitive(e.values[0])}`;
return `無效的選項:預期為以下其中之一 ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `數值過大:預期 ${e.origin ?? "值"} 應為 ${t}${e.maximum.toString()} ${n.unit ?? "個元素"}`;
return `數值過大:預期 ${e.origin ?? "值"} 應為 ${t}${e.maximum.toString()}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `數值過小:預期 ${e.origin} 應為 ${t}${e.minimum.toString()} ${n.unit}`;
return `數值過小:預期 ${e.origin} 應為 ${t}${e.minimum.toString()}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `無效的字串:必須以 "${n.prefix}" 開頭`;
if (n.format === "ends_with") return `無效的字串:必須以 "${n.suffix}" 結尾`;
if (n.format === "includes") return `無效的字串:必須包含 "${n.includes}"`;
if (n.format === "regex") return `無效的字串:必須符合格式 ${n.pattern}`;
return `無效的 ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `無效的數字:必須為 ${e.divisor} 的倍數`;
case "unrecognized_keys": return `無法識別的鍵值${e.keys.length > 1 ? "們" : ""}:${joinValues(e.keys, "、")}`;
case "invalid_key": return `${e.origin} 中有無效的鍵值`;
case "invalid_union": return "無效的輸入值";
case "invalid_element": return `${e.origin} 中有無效的值`;
default: return `無效的輸入值`;
}
};
};
function zh_TW_default() {
return { localeError: error$1() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/yo.js
const error = () => {
const e = {
string: {
unit: "àmi",
verb: "ní"
},
file: {
unit: "bytes",
verb: "ní"
},
array: {
unit: "nkan",
verb: "ní"
},
set: {
unit: "nkan",
verb: "ní"
},
map: {
unit: "nkan",
verb: "ní"
}
};
function getSizing(t) {
return e[t] ?? null;
}
const t = {
regex: "ẹ̀rọ ìbáwọlé",
email: "àdírẹ́sì ìmẹ́lì",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "àkókò ISO",
date: "ọjọ́ ISO",
time: "àkókò ISO",
duration: "àkókò tó pé ISO",
ipv4: "àdírẹ́sì IPv4",
ipv6: "àdírẹ́sì IPv6",
mac: "àdírẹ́sì MAC",
cidrv4: "àgbègbè IPv4",
cidrv6: "àgbègbè IPv6",
base64: "ọ̀rọ̀ tí a kọ́ ní base64",
base64url: "ọ̀rọ̀ base64url",
json_string: "ọ̀rọ̀ JSON",
e164: "nọ́mbà E.164",
credit_card: "nọmba kaadi gbese",
currency_code: "koodu owó",
iban: "IBAN",
jwt: "JWT",
template_literal: "ẹ̀rọ ìbáwọlé"
};
const n = {
nan: "NaN",
number: "nọ́mbà",
array: "akopọ"
};
return (e) => {
switch (e.code) {
case "invalid_type": {
const t = n[e.expected] ?? e.expected;
const r = parsedType(e.input);
const i = n[r] ?? r;
if (/^[A-Z]/.test(e.expected)) return `Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${e.expected}, àmọ̀ a rí ${i}`;
return `Ìbáwọlé aṣìṣe: a ní láti fi ${t}, àmọ̀ a rí ${i}`;
}
case "invalid_value":
if (e.values.length === 1) return `Ìbáwọlé aṣìṣe: a ní láti fi ${stringifyPrimitive(e.values[0])}`;
return `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${joinValues(e.values, "|")}`;
case "too_big": {
const t = e.inclusive ? "<=" : "<";
const n = getSizing(e.origin);
if (n) return `Tó pọ̀ jù: a ní láti jẹ́ pé ${e.origin ?? "iye"} ${n.verb} ${t}${e.maximum} ${n.unit}`;
return `Tó pọ̀ jù: a ní láti jẹ́ ${t}${e.maximum}`;
}
case "too_small": {
const t = e.inclusive ? ">=" : ">";
const n = getSizing(e.origin);
if (n) return `Kéré ju: a ní láti jẹ́ pé ${e.origin} ${n.verb} ${t}${e.minimum} ${n.unit}`;
return `Kéré ju: a ní láti jẹ́ ${t}${e.minimum}`;
}
case "invalid_format": {
const n = e;
if (n.format === "starts_with") return `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${n.prefix}"`;
if (n.format === "ends_with") return `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${n.suffix}"`;
if (n.format === "includes") return `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${n.includes}"`;
if (n.format === "regex") return `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${n.pattern}`;
return `Aṣìṣe: ${t[n.format] ?? e.format}`;
}
case "not_multiple_of": return `Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${e.divisor}`;
case "unrecognized_keys": return `Bọtìnì àìmọ̀: ${joinValues(e.keys, ", ")}`;
case "invalid_key": return `Bọtìnì aṣìṣe nínú ${e.origin}`;
case "invalid_union": return "Ìbáwọlé aṣìṣe";
case "invalid_element": return `Iye aṣìṣe nínú ${e.origin}`;
default: return "Ìbáwọlé aṣìṣe";
}
};
};
function yo_default() {
return { localeError: error() };
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/index.js
var locales_exports = /* @__PURE__ */ __exportAll({
ar: () => ar_default,
az: () => az_default,
be: () => be_default,
bg: () => bg_default,
bn: () => bn_default,
ca: () => ca_default,
ckb: () => ckb_default,
cs: () => cs_default,
da: () => da_default,
de: () => de_default,
el: () => el_default,
en: () => en_default,
eo: () => eo_default,
es: () => es_default,
fa: () => fa_default,
fi: () => fi_default,
fr: () => fr_default,
frCA: () => fr_CA_default,
gu: () => gu_default,
he: () => he_default,
hi: () => hi_default,
hr: () => hr_default,
hu: () => hu_default,
hy: () => hy_default,
id: () => id_default,
is: () => is_default,
it: () => it_default,
ja: () => ja_default,
ka: () => ka_default,
kh: () => kh_default,
km: () => km_default,
kn: () => kn_default,
ko: () => ko_default,
lt: () => lt_default,
mk: () => mk_default,
ms: () => ms_default,
ne: () => ne_default,
nl: () => nl_default,
nn: () => nn_default,
no: () => no_default,
ota: () => ota_default,
pl: () => pl_default,
ps: () => ps_default,
pt: () => pt_default,
ptBR: () => pt_BR_default,
ro: () => ro_default,
ru: () => ru_default,
sk: () => sk_default,
sl: () => sl_default,
sv: () => sv_default,
ta: () => ta_default,
tg: () => tg_default,
th: () => th_default,
tk: () => tk_default,
tr: () => tr_default,
ua: () => ua_default,
uk: () => uk_default,
ur: () => ur_default,
uz: () => uz_default,
vi: () => vi_default,
yo: () => yo_default,
zhCN: () => zh_CN_default,
zhTW: () => zh_TW_default
});
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema-generator.js
/**
* Legacy class-based interface for JSON Schema generation.
* This class wraps the new functional implementation to provide backward compatibility.
*
* @deprecated Use the `toJSONSchema` function instead for new code.
*
* @example
* ```typescript
* // Legacy usage (still supported)
* const gen = new JSONSchemaGenerator({ target: "draft-07" });
* gen.process(schema);
* const result = gen.emit(schema);
*
* // Preferred modern usage
* const result = toJSONSchema(schema, { target: "draft-07" });
* ```
*/
var JSONSchemaGenerator = class {
/** @deprecated Access via ctx instead */
get metadataRegistry() {
return this.ctx.metadataRegistry;
}
/** @deprecated Access via ctx instead */
get target() {
return this.ctx.target;
}
/** @deprecated Access via ctx instead */
get unrepresentable() {
return this.ctx.unrepresentable;
}
/** @deprecated Access via ctx instead */
get override() {
return this.ctx.override;
}
/** @deprecated Access via ctx instead */
get io() {
return this.ctx.io;
}
/** @deprecated Access via ctx instead */
get counter() {
return this.ctx.counter;
}
set counter(e) {
this.ctx.counter = e;
}
/** @deprecated Access via ctx instead */
get seen() {
return this.ctx.seen;
}
constructor(e) {
let t = e?.target ?? "draft-2020-12";
if (t === "draft-4") t = "draft-04";
if (t === "draft-7") t = "draft-07";
this.ctx = initializeContext({
processors: allProcessors,
target: t,
...e?.metadata && { metadata: e.metadata },
...e?.unrepresentable && { unrepresentable: e.unrepresentable },
...e?.override && { override: e.override },
...e?.io && { io: e.io }
});
}
/**
* Process a schema to prepare it for JSON Schema generation.
* This must be called before emit().
*/
process(e, t = {
path: [],
schemaPath: []
}) {
return processSchema(e, this.ctx, t);
}
/**
* Emit the final JSON Schema after processing.
* Must call process() first.
*/
emit(e, t) {
if (t) {
if (t.cycles) this.ctx.cycles = t.cycles;
if (t.reused) this.ctx.reused = t.reused;
if (t.external) this.ctx.external = t.external;
}
this.ctx.sharedDefsExtractedFor = void 0;
this.ctx.sharedEmitDoneFor = void 0;
extractDefs(this.ctx, e);
const { "~standard": n, ...r } = finalize(this.ctx, e);
return r;
}
};
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema.js
var json_schema_exports = /* @__PURE__ */ __exportAll({});
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/index.js
var core_exports = /* @__PURE__ */ __exportAll({
$ZodAny: () => $ZodAny,
$ZodArray: () => $ZodArray,
$ZodAsyncError: () => $ZodAsyncError,
$ZodBase64: () => $ZodBase64,
$ZodBase64URL: () => $ZodBase64URL,
$ZodBigInt: () => $ZodBigInt,
$ZodBigIntFormat: () => $ZodBigIntFormat,
$ZodBoolean: () => $ZodBoolean,
$ZodCIDRv4: () => $ZodCIDRv4,
$ZodCIDRv6: () => $ZodCIDRv6,
$ZodCUID: () => $ZodCUID,
$ZodCUID2: () => $ZodCUID2,
$ZodCatch: () => $ZodCatch,
$ZodCheck: () => $ZodCheck,
$ZodCheckBigIntFormat: () => $ZodCheckBigIntFormat,
$ZodCheckEndsWith: () => $ZodCheckEndsWith,
$ZodCheckGreaterThan: () => $ZodCheckGreaterThan,
$ZodCheckIncludes: () => $ZodCheckIncludes,
$ZodCheckLengthEquals: () => $ZodCheckLengthEquals,
$ZodCheckLessThan: () => $ZodCheckLessThan,
$ZodCheckLowerCase: () => $ZodCheckLowerCase,
$ZodCheckMaxLength: () => $ZodCheckMaxLength,
$ZodCheckMaxSize: () => $ZodCheckMaxSize,
$ZodCheckMimeType: () => $ZodCheckMimeType,
$ZodCheckMinLength: () => $ZodCheckMinLength,
$ZodCheckMinSize: () => $ZodCheckMinSize,
$ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
$ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
$ZodCheckOverwrite: () => $ZodCheckOverwrite,
$ZodCheckProperties: () => $ZodCheckProperties,
$ZodCheckProperty: () => $ZodCheckProperty,
$ZodCheckRegex: () => $ZodCheckRegex,
$ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
$ZodCheckStartsWith: () => $ZodCheckStartsWith,
$ZodCheckStringFormat: () => $ZodCheckStringFormat,
$ZodCheckUpperCase: () => $ZodCheckUpperCase,
$ZodCodec: () => $ZodCodec,
$ZodCreditCard: () => $ZodCreditCard,
$ZodCustom: () => $ZodCustom,
$ZodCustomStringFormat: () => $ZodCustomStringFormat,
$ZodCyclicError: () => $ZodCyclicError,
$ZodDate: () => $ZodDate,
$ZodDefault: () => $ZodDefault,
$ZodDiscriminatedUnion: () => $ZodDiscriminatedUnion,
$ZodE164: () => $ZodE164,
$ZodEmail: () => $ZodEmail,
$ZodEmoji: () => $ZodEmoji,
$ZodEncodeError: () => $ZodEncodeError,
$ZodEnum: () => $ZodEnum,
$ZodError: () => $ZodError,
$ZodExactOptional: () => $ZodExactOptional,
$ZodFile: () => $ZodFile,
$ZodFunction: () => $ZodFunction,
$ZodGUID: () => $ZodGUID,
$ZodIBAN: () => $ZodIBAN,
$ZodIPv4: () => $ZodIPv4,
$ZodIPv6: () => $ZodIPv6,
$ZodISODate: () => $ZodISODate,
$ZodISODateTime: () => $ZodISODateTime,
$ZodISODuration: () => $ZodISODuration,
$ZodISOTime: () => $ZodISOTime,
$ZodIntersection: () => $ZodIntersection,
$ZodJWT: () => $ZodJWT,
$ZodKSUID: () => $ZodKSUID,
$ZodLazy: () => $ZodLazy,
$ZodLiteral: () => $ZodLiteral,
$ZodMAC: () => $ZodMAC,
$ZodMap: () => $ZodMap,
$ZodNaN: () => $ZodNaN,
$ZodNanoID: () => $ZodNanoID,
$ZodNever: () => $ZodNever,
$ZodNonOptional: () => $ZodNonOptional,
$ZodNull: () => $ZodNull,
$ZodNullable: () => $ZodNullable,
$ZodNumber: () => $ZodNumber,
$ZodNumberFormat: () => $ZodNumberFormat,
$ZodObject: () => $ZodObject,
$ZodObjectJIT: () => $ZodObjectJIT,
$ZodOptional: () => $ZodOptional,
$ZodPipe: () => $ZodPipe,
$ZodPrefault: () => $ZodPrefault,
$ZodPreprocess: () => $ZodPreprocess,
$ZodPromise: () => $ZodPromise,
$ZodReadonly: () => $ZodReadonly,
$ZodRealError: () => $ZodRealError,
$ZodRecord: () => $ZodRecord,
$ZodRegistry: () => $ZodRegistry,
$ZodSet: () => $ZodSet,
$ZodString: () => $ZodString,
$ZodStringFormat: () => $ZodStringFormat,
$ZodSuccess: () => $ZodSuccess,
$ZodSymbol: () => $ZodSymbol,
$ZodTemplateLiteral: () => $ZodTemplateLiteral,
$ZodTransform: () => $ZodTransform,
$ZodTuple: () => $ZodTuple,
$ZodType: () => $ZodType,
$ZodULID: () => $ZodULID,
$ZodURL: () => $ZodURL,
$ZodUUID: () => $ZodUUID,
$ZodUndefined: () => $ZodUndefined,
$ZodUnion: () => $ZodUnion,
$ZodUnknown: () => $ZodUnknown,
$ZodVoid: () => $ZodVoid,
$ZodXID: () => $ZodXID,
$ZodXor: () => $ZodXor,
$brand: () => $brand,
$constructor: () => $constructor,
$input: () => $input,
$output: () => $output,
Doc: () => Doc,
INVALID: () => INVALID,
JSONSchema: () => json_schema_exports,
JSONSchemaGenerator: () => JSONSchemaGenerator,
NEVER: () => NEVER,
TimePrecision: () => TimePrecision,
URL_BAD_FORMAT: () => 1,
URL_UNPARSEABLE: () => 2,
ZodCompileAsyncError: () => ZodCompileAsyncError,
ZodCompileUnsupportedError: () => ZodCompileUnsupportedError,
_any: () => _any,
_array: () => _array,
_base64: () => _base64,
_base64url: () => _base64url,
_bigint: () => _bigint,
_boolean: () => _boolean,
_catch: () => _catch,
_check: () => _check,
_cidrv4: () => _cidrv4,
_cidrv6: () => _cidrv6,
_coercedBigint: () => _coercedBigint,
_coercedBoolean: () => _coercedBoolean,
_coercedDate: () => _coercedDate,
_coercedNumber: () => _coercedNumber,
_coercedString: () => _coercedString,
_creditCard: () => _creditCard,
_cuid: () => _cuid,
_cuid2: () => _cuid2,
_custom: () => _custom,
_date: () => _date,
_decode: () => _decode,
_decodeAsync: () => _decodeAsync,
_default: () => _default,
_discriminatedUnion: () => _discriminatedUnion,
_e164: () => _e164,
_email: () => _email,
_emoji: () => _emoji,
_encode: () => _encode,
_encodeAsync: () => _encodeAsync,
_endsWith: () => _endsWith,
_enum: () => _enum,
_file: () => _file,
_float32: () => _float32,
_float64: () => _float64,
_gt: () => _gt,
_gte: () => _gte,
_guid: () => _guid,
_iban: () => _iban,
_includes: () => _includes,
_int: () => _int,
_int32: () => _int32,
_int64: () => _int64,
_intersection: () => _intersection,
_ipv4: () => _ipv4,
_ipv6: () => _ipv6,
_isoDate: () => _isoDate,
_isoDateTime: () => _isoDateTime,
_isoDuration: () => _isoDuration,
_isoTime: () => _isoTime,
_jwt: () => _jwt,
_ksuid: () => _ksuid,
_lazy: () => _lazy,
_length: () => _length,
_literal: () => _literal,
_lowercase: () => _lowercase,
_lt: () => _lt,
_lte: () => _lte,
_mac: () => _mac,
_map: () => _map,
_max: () => _lte,
_maxLength: () => _maxLength,
_maxSize: () => _maxSize,
_mime: () => _mime,
_min: () => _gte,
_minLength: () => _minLength,
_minSize: () => _minSize,
_multipleOf: () => _multipleOf,
_nan: () => _nan,
_nanoid: () => _nanoid,
_nativeEnum: () => _nativeEnum,
_negative: () => _negative,
_never: () => _never,
_nonnegative: () => _nonnegative,
_nonoptional: () => _nonoptional,
_nonpositive: () => _nonpositive,
_normalize: () => _normalize,
_null: () => _null,
_nullable: () => _nullable,
_number: () => _number,
_optional: () => _optional,
_overwrite: () => _overwrite,
_parse: () => _parse,
_parseAsync: () => _parseAsync,
_pipe: () => _pipe,
_positive: () => _positive,
_promise: () => _promise,
_properties: () => _properties,
_property: () => _property,
_readonly: () => _readonly,
_record: () => _record,
_refine: () => _refine,
_regex: () => _regex,
_safeDecode: () => _safeDecode,
_safeDecodeAsync: () => _safeDecodeAsync,
_safeEncode: () => _safeEncode,
_safeEncodeAsync: () => _safeEncodeAsync,
_safeParse: () => _safeParse,
_safeParseAsync: () => _safeParseAsync,
_set: () => _set,
_size: () => _size,
_slugify: () => _slugify,
_startsWith: () => _startsWith,
_string: () => _string,
_stringFormat: () => _stringFormat,
_stringbool: () => _stringbool,
_success: () => _success,
_superRefine: () => _superRefine,
_symbol: () => _symbol,
_templateLiteral: () => _templateLiteral,
_toLowerCase: () => _toLowerCase,
_toUpperCase: () => _toUpperCase,
_transform: () => _transform,
_trim: () => _trim,
_tuple: () => _tuple,
_uint32: () => _uint32,
_uint64: () => _uint64,
_ulid: () => _ulid,
_undefined: () => _undefined,
_union: () => _union,
_unknown: () => _unknown,
_uppercase: () => _uppercase,
_url: () => _url,
_uuid: () => _uuid,
_uuidv4: () => _uuidv4,
_uuidv6: () => _uuidv6,
_uuidv7: () => _uuidv7,
_void: () => _void,
_xid: () => _xid,
_xor: () => _xor,
base64Charset: () => base64Charset,
base64urlCharset: () => base64urlCharset,
canParseURL: () => canParseURL,
clone: () => clone,
compile: () => compile,
compileFn: () => compileFn,
config: () => config,
createStandardJSONSchemaMethod: () => createStandardJSONSchemaMethod,
createToJSONSchemaMethod: () => createToJSONSchemaMethod,
decode: () => decode,
decodeAsync: () => decodeAsync,
describe: () => describe,
encode: () => encode,
encodeAsync: () => encodeAsync,
extractDefs: () => extractDefs,
finalize: () => finalize,
flattenError: () => flattenError,
formatError: () => formatError,
getDiscriminatedOption: () => getDiscriminatedOption,
globalConfig: () => globalConfig,
globalRegistry: () => globalRegistry,
handleUnrepresentable: () => handleUnrepresentable,
initializeContext: () => initializeContext,
isBackEdge: () => isBackEdge,
isRecursiveSchema: () => isRecursiveSchema,
isValidBase64: () => isValidBase64,
isValidBase64URL: () => isValidBase64URL,
isValidCIDRv6: () => isValidCIDRv6,
isValidCreditCard: () => isValidCreditCard,
isValidIBAN: () => isValidIBAN,
isValidIPv6: () => isValidIPv6,
isValidJWT: () => isValidJWT,
locales: () => locales_exports,
memoizer: () => memoizer,
mergeValues: () => mergeValues,
meta: () => meta,
parse: () => parse,
parseAsync: () => parseAsync,
parseURLObject: () => parseURLObject,
prettifyError: () => prettifyError,
process: () => processSchema,
processSchema: () => processSchema,
regexes: () => regexes_exports,
registry: () => registry,
safeDecode: () => safeDecode,
safeDecodeAsync: () => safeDecodeAsync,
safeEncode: () => safeEncode,
safeEncodeAsync: () => safeEncodeAsync,
safeParse: () => safeParse,
safeParseAsync: () => safeParseAsync,
standardProps: () => standardProps,
stripTabAndNewline: () => stripTabAndNewline,
toDotPath: () => toDotPath,
toJSONSchema: () => toJSONSchema,
toZod: () => toZod,
treeifyError: () => treeifyError,
urlHostnameOk: () => urlHostnameOk,
urlProtocolOk: () => urlProtocolOk,
util: () => util_exports,
validate: () => validate,
validateAsync: () => validateAsync,
validateURL: () => validateURL,
version: () => version,
withParser: () => withParser
});
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/checks.js
var checks_exports = /* @__PURE__ */ __exportAll({
endsWith: () => _endsWith,
gt: () => _gt,
gte: () => _gte,
includes: () => _includes,
length: () => _length,
lowercase: () => _lowercase,
lt: () => _lt,
lte: () => _lte,
maxLength: () => _maxLength,
maxSize: () => _maxSize,
mime: () => _mime,
minLength: () => _minLength,
minSize: () => _minSize,
multipleOf: () => _multipleOf,
negative: () => _negative,
nonnegative: () => _nonnegative,
nonpositive: () => _nonpositive,
normalize: () => _normalize,
overwrite: () => _overwrite,
positive: () => _positive,
properties: () => _properties,
property: () => _property,
regex: () => _regex,
size: () => _size,
slugify: () => _slugify,
startsWith: () => _startsWith,
toLowerCase: () => _toLowerCase,
toUpperCase: () => _toUpperCase,
trim: () => _trim,
uppercase: () => _uppercase
});
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/from-json-schema.js
const z = {
...schemas_exports,
...checks_exports,
iso: iso_exports
};
const RECOGNIZED_KEYS = /*@__PURE__*/ new Set([
"$schema",
"$ref",
"$defs",
"definitions",
"$id",
"id",
"$comment",
"$anchor",
"$vocabulary",
"$dynamicRef",
"$dynamicAnchor",
"type",
"enum",
"const",
"anyOf",
"oneOf",
"allOf",
"not",
"properties",
"required",
"additionalProperties",
"patternProperties",
"propertyNames",
"minProperties",
"maxProperties",
"items",
"prefixItems",
"additionalItems",
"minItems",
"maxItems",
"uniqueItems",
"contains",
"minContains",
"maxContains",
"minLength",
"maxLength",
"pattern",
"format",
"minimum",
"maximum",
"exclusiveMinimum",
"exclusiveMaximum",
"multipleOf",
"description",
"default",
"contentEncoding",
"contentMediaType",
"contentSchema",
"unevaluatedItems",
"unevaluatedProperties",
"if",
"then",
"else",
"dependentSchemas",
"dependentRequired",
"nullable",
"readOnly"
]);
function detectVersion(e, t) {
const n = e.$schema;
if (n === "https://json-schema.org/draft/2020-12/schema") return "draft-2020-12";
if (n === "http://json-schema.org/draft-07/schema#") return "draft-7";
if (n === "http://json-schema.org/draft-04/schema#") return "draft-4";
return t ?? "draft-2020-12";
}
function applyMinItems(e, t) {
return e.map((e, n) => n < t ? e : e.optional());
}
function decodeJSONPointerSegment(e) {
return e.replace(/~1/g, "/").replace(/~0/g, "~");
}
function resolveRef(e, t) {
if (!e.startsWith("#")) throw new Error("External $ref is not supported, only local refs (#/...) are allowed");
const n = e.slice(1).split("/").filter(Boolean);
if (n.length === 0) return t.rootSchema;
const r = t.version === "draft-2020-12" ? "$defs" : "definitions";
if (n[0] === r) {
const r = n[1] === void 0 ? void 0 : decodeJSONPointerSegment(n[1]);
if (!r || !t.defs[r]) throw new Error(`Reference not found: ${e}`);
return t.defs[r];
}
throw new Error(`Reference not found: ${e}`);
}
/**
* Enforces the keywords that constrain an object's own keys — `propertyNames`,
* `minProperties`, `maxProperties` — before `objectSchema` runs. The guard has
* to see the raw input: an object parse drops `__proto__` and can add keys from
* a property `default`, so its output is not the set of names the instance
* actually carried.
*/
function checkObjectGuards(e, t) {
return z.transform((e) => e).check((n) => {
const r = n.value;
if (typeof r !== "object" || r === null || Array.isArray(r)) return;
const i = Object.getOwnPropertyNames(r);
if (t.minProperties !== void 0 && i.length < t.minProperties) n.issues.push({
origin: "object",
code: "too_small",
minimum: t.minProperties,
inclusive: true,
message: `Too small: expected object to have >=${t.minProperties} properties`,
input: r,
inst: e,
continue: true
});
if (t.maxProperties !== void 0 && i.length > t.maxProperties) n.issues.push({
origin: "object",
code: "too_big",
maximum: t.maxProperties,
inclusive: true,
message: `Too big: expected object to have <=${t.maxProperties} properties`,
input: r,
inst: e,
continue: true
});
if (t.keySchema) for (const e of i) {
const r = t.keySchema.safeParse(e);
if (r.success) continue;
n.issues.push({
code: "invalid_key",
origin: "record",
issues: r.error.issues,
input: e,
path: [e],
continue: true
});
}
}).pipe(e);
}
/**
* An injective string for JSON data: two values share a key exactly when `uniqueItems` calls them
* equal, so duplicate detection is a Map lookup rather than a pairwise walk. Strings and keys are
* length-prefixed so no value can spell another one. `null` means "never equal to anything" — a
* cycle or a NaN, neither of which JSON can express.
*/
function canonicalKey(e, t) {
if (e === null) return "z";
const n = typeof e;
if (n !== "object") {
if (n === "number" && Number.isNaN(e)) return null;
const t = String(e);
return `${n[0]}${t.length}:${t}`;
}
if (t.has(e)) return null;
t.add(e);
try {
if (Array.isArray(e)) {
const n = [];
for (const r of e) {
const e = canonicalKey(r, t);
if (e === null) return null;
n.push(e);
}
return `a${n.length}:[${n.join(",")}]`;
}
const n = Object.keys(e).sort();
const r = [];
for (const i of n) {
const n = canonicalKey(e[i], t);
if (n === null) return null;
r.push(`${i.length}:${i}=${n}`);
}
return `o${r.length}:{${r.join(",")}}`;
} finally {
t.delete(e);
}
}
const SCHEMA_KEYWORDS = /*@__PURE__*/ new Set([
"items",
"prefixItems",
"additionalItems",
"additionalProperties",
"contains",
"propertyNames",
"not",
"if",
"then",
"else",
"allOf",
"anyOf",
"oneOf",
"unevaluatedItems",
"unevaluatedProperties",
"contentSchema"
]);
const SCHEMA_MAP_KEYWORDS = /*@__PURE__*/ new Set([
"properties",
"patternProperties",
"dependentSchemas",
"dependencies",
"$defs",
"definitions"
]);
/**
* True when a subschema holds a `$ref` anywhere a schema can appear. Only those positions are
* walked: `$ref` under `default` or an `x-` annotation is instance data with an ordinary key, and
* reading it as a reference would drop a constraint that resolves perfectly well.
*/
function containsRef(e) {
if (typeof e !== "object" || e === null) return false;
if (Array.isArray(e)) return e.some(containsRef);
if (typeof e.$ref === "string") return true;
return Object.entries(e).some(([e, t]) => {
if (SCHEMA_KEYWORDS.has(e)) return containsRef(t);
if (!SCHEMA_MAP_KEYWORDS.has(e) || typeof t !== "object" || t === null) return false;
return Object.values(t).some(containsRef);
});
}
function plural(e) {
return e === 1 ? "element" : "elements";
}
/**
* Enforces `uniqueItems` and the `contains` family before `arraySchema` runs, for the same reason
* `checkObjectGuards` runs pre-pipe: an item parse can apply a nested `default`, so the parsed
* array is not the instance the keywords are defined over. A guard issue aborts the pipe, so
* `minItems`/`maxItems` are not also reported on the same parse — instance correctness is worth
* more than co-reporting two issues.
*/
function checkArrayGuards(e, t) {
return z.transform((e) => e).check((e) => {
const n = e.value;
if (!Array.isArray(n)) return;
if (t.uniqueItems === true) {
const t = /* @__PURE__ */ new Map();
for (let r = 0; r < n.length; r++) {
const i = canonicalKey(n[r], /* @__PURE__ */ new Set());
if (i === null) continue;
const a = t.get(i);
if (a === void 0) {
t.set(i, r);
continue;
}
e.issues.push({
code: "custom",
message: `Array items must be unique: element at index ${r} duplicates the one at index ${a}`,
input: n,
path: [r],
continue: true
});
}
}
if (t.containsSchema) {
const r = t.minContains ?? 1;
const i = t.maxContains !== void 0 ? t.maxContains + 1 : Number.POSITIVE_INFINITY;
let a = 0;
for (const e of n) if (t.containsSchema.safeParse(e).success && ++a >= i) break;
if (a < r) e.issues.push({
code: "custom",
message: `Array must contain at least ${r} matching ${plural(r)}; found ${a}`,
input: n,
continue: true
});
if (t.maxContains !== void 0 && a > t.maxContains) e.issues.push({
code: "custom",
message: `Array must contain at most ${t.maxContains} matching ${plural(t.maxContains)}`,
input: n,
continue: true
});
}
}).pipe(e);
}
function getTupleRest(e, t) {
if (e === false) return;
if (e === void 0 || e === true) return z.any();
return convertSchema(e, t);
}
const fullTime = /^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;
function convertBaseSchema(e, t) {
if (e.not !== void 0) {
if (typeof e.not === "object" && Object.keys(e.not).length === 0) return z.never();
throw new Error("not is not supported in Zod (except { not: {} } for never)");
}
if (e.unevaluatedItems !== void 0) throw new Error("unevaluatedItems is not supported");
if (e.unevaluatedProperties !== void 0) throw new Error("unevaluatedProperties is not supported");
if (e.if !== void 0 || e.then !== void 0 || e.else !== void 0) throw new Error("Conditional schemas (if/then/else) are not supported");
if (e.dependentSchemas !== void 0 || e.dependentRequired !== void 0) throw new Error("dependentSchemas and dependentRequired are not supported");
if (e.$ref) {
const n = e.$ref;
if (t.refs.has(n)) return t.refs.get(n);
if (t.processing.has(n)) return z.lazy(() => {
if (!t.refs.has(n)) throw new Error(`Circular reference not resolved: ${n}`);
return t.refs.get(n);
});
t.processing.add(n);
const r = convertSchema(resolveRef(n, t), t);
t.refs.set(n, r);
t.processing.delete(n);
return r;
}
if (e.enum !== void 0) {
const n = e.enum;
if (t.version === "openapi-3.0" && e.nullable === true && n.length === 1 && n[0] === null) return z.null();
if (n.length === 0) return z.never();
if (n.length === 1) return z.literal(n[0]);
if (n.every((e) => typeof e === "string")) return z.enum(n);
const r = n.map((e) => z.literal(e));
if (r.length < 2) return r[0];
return z.union([
r[0],
r[1],
...r.slice(2)
]);
}
if (e.const !== void 0) return z.literal(e.const);
const n = e.type;
if (Array.isArray(n)) {
const r = n.map((n) => {
return convertBaseSchema({
...e,
type: n
}, t);
});
if (r.length === 0) return z.never();
if (r.length === 1) return r[0];
return z.union(r);
}
if (!n) return z.any();
let r;
switch (n) {
case "string": {
let t = z.string();
if (e.format) {
const n = e.format;
if (n === "email") t = t.check(z.email());
else if (n === "uri" || n === "uri-reference") t = t.check(z.url());
else if (n === "uuid" || n === "guid") t = t.check(z.uuid());
else if (n === "date-time") t = t.check(z.iso.datetime({ offset: true }));
else if (n === "date") t = t.check(z.iso.date());
else if (n === "time") t = t.check(z.regex(fullTime));
else if (n === "duration") t = t.check(z.iso.duration());
else if (n === "hostname") t = t.check(z.hostname());
else if (n === "ipv4") t = t.check(z.ipv4());
else if (n === "ipv6") t = t.check(z.ipv6());
else if (n === "mac") t = t.check(z.mac());
else if (n === "cidr") t = t.check(z.cidrv4());
else if (n === "cidr-v6") t = t.check(z.cidrv6());
else if (n === "base64") t = t.check(z.base64());
else if (n === "base64url") t = t.check(z.base64url());
else if (n === "e164") t = t.check(z.e164());
else if (n === "credit_card") t = t.check(z.creditCard());
else if (n === "iban") t = t.check(z.iban());
else if (n === "jwt") t = t.check(z.jwt());
else if (n === "emoji") t = t.check(z.emoji());
else if (n === "nanoid") t = t.check(z.nanoid());
else if (n === "cuid") t = t.check(z.cuid());
else if (n === "cuid2") t = t.check(z.cuid2());
else if (n === "ulid") t = t.check(z.ulid());
else if (n === "xid") t = t.check(z.xid());
else if (n === "ksuid") t = t.check(z.ksuid());
}
if (typeof e.minLength === "number") t = t.min(e.minLength);
if (typeof e.maxLength === "number") t = t.max(e.maxLength);
if (e.pattern) t = t.regex(new RegExp(e.pattern));
r = t;
break;
}
case "number":
case "integer": {
let t = n === "integer" ? z.number().int() : z.number();
if (typeof e.minimum === "number" && e.exclusiveMinimum !== true) t = t.min(e.minimum);
if (typeof e.maximum === "number" && e.exclusiveMaximum !== true) t = t.max(e.maximum);
if (typeof e.exclusiveMinimum === "number") t = t.gt(e.exclusiveMinimum);
else if (e.exclusiveMinimum === true && typeof e.minimum === "number") t = t.gt(e.minimum);
if (typeof e.exclusiveMaximum === "number") t = t.lt(e.exclusiveMaximum);
else if (e.exclusiveMaximum === true && typeof e.maximum === "number") t = t.lt(e.maximum);
if (typeof e.multipleOf === "number") t = t.multipleOf(e.multipleOf);
r = t;
break;
}
case "boolean":
r = z.boolean();
break;
case "null":
r = z.null();
break;
case "object": {
const n = {};
const i = e.properties || {};
const a = new Set(e.required || []);
const o = typeof e.additionalProperties === "object" ? convertSchema(e.additionalProperties, t) : void 0;
for (const [e, r] of Object.entries(i)) {
const i = convertSchema(r, t);
assignProp(n, e, a.has(e) ? i : i.optional());
}
if (e.patternProperties) {
const i = e.patternProperties;
const a = Object.keys(i);
const o = [];
for (const e of a) {
const n = convertSchema(i[e], t);
const r = z.string().regex(new RegExp(e));
o.push(z.looseRecord(r, n));
}
const s = [];
if (Object.keys(n).length > 0) s.push(z.object(n).passthrough());
s.push(...o);
if (s.length === 0) r = z.object({}).passthrough();
else if (s.length === 1) r = s[0];
else {
let e = z.intersection(s[0], s[1]);
for (let t = 2; t < s.length; t++) e = z.intersection(e, s[t]);
r = e;
}
if (e.additionalProperties === false) {
const e = Object.keys(n);
const t = a.map((e) => new RegExp(e));
const i = r;
r = r.check((n) => {
if (!isPlainObject(n.value)) return;
const r = [];
for (const i of Object.keys(n.value)) {
if (e.includes(i)) continue;
if (t.some((e) => e.test(i))) continue;
r.push(i);
}
if (r.length) n.issues.push({
code: "unrecognized_keys",
keys: r,
input: n.value,
inst: i
});
});
}
} else {
const t = z.object(n);
if (e.additionalProperties === false) r = t.strict();
else if (o) r = t.catchall(o);
else r = t.passthrough();
}
const s = e.propertyNames !== void 0 && e.propertyNames !== true;
const c = typeof e.minProperties === "number" ? e.minProperties : void 0;
const l = typeof e.maxProperties === "number" ? e.maxProperties : void 0;
if (s || c !== void 0 || l !== void 0) {
let n;
if (s) n = convertSchema(typeof e.propertyNames === "object" && e.propertyNames.type === void 0 ? {
type: "string",
...e.propertyNames
} : e.propertyNames, t);
r = checkObjectGuards(r, {
keySchema: n,
minProperties: c,
maxProperties: l
});
}
break;
}
case "array": {
const n = e.prefixItems;
const i = e.items;
if (n && Array.isArray(n)) {
const a = typeof e.minItems === "number" ? e.minItems : 0;
const o = applyMinItems(n.map((e) => convertSchema(e, t)), a);
const s = !Array.isArray(i) ? getTupleRest(i, t) : void 0;
const c = z.tuple(o);
r = s ? c.rest(s) : c;
if (typeof e.minItems === "number") r = r.check(z.minLength(e.minItems));
if (typeof e.maxItems === "number") r = r.check(z.maxLength(e.maxItems));
} else if (Array.isArray(i)) {
const n = typeof e.minItems === "number" ? e.minItems : 0;
const a = applyMinItems(i.map((e) => convertSchema(e, t)), n);
const o = getTupleRest(e.additionalItems, t);
const s = z.tuple(a);
r = o ? s.rest(o) : s;
if (typeof e.minItems === "number") r = r.check(z.minLength(e.minItems));
if (typeof e.maxItems === "number") r = r.check(z.maxLength(e.maxItems));
} else if (i !== void 0) {
const n = convertSchema(i, t);
let a = z.array(n);
if (typeof e.minItems === "number") a = a.min(e.minItems);
if (typeof e.maxItems === "number") a = a.max(e.maxItems);
r = a;
} else r = z.array(z.any());
if (e.uniqueItems === true || e.contains !== void 0) r = checkArrayGuards(r, {
uniqueItems: e.uniqueItems === true,
containsSchema: e.contains !== void 0 ? convertSchema(e.contains, t) : void 0,
minContains: typeof e.minContains === "number" ? e.minContains : void 0,
maxContains: typeof e.maxContains === "number" ? e.maxContains : void 0
});
break;
}
default: throw new Error(`Unsupported type: ${n}`);
}
return r;
}
function convertSchema(e, t) {
if (typeof e === "boolean") return e ? z.any() : z.never();
let n = convertBaseSchema(e, t);
const r = e.type || e.enum !== void 0 || e.const !== void 0;
if (e.anyOf && Array.isArray(e.anyOf)) {
const i = e.anyOf.map((e) => convertSchema(e, t));
const a = z.union(i);
n = r ? z.intersection(n, a) : a;
}
if (e.oneOf && Array.isArray(e.oneOf)) {
const i = e.oneOf.map((e) => convertSchema(e, t));
const a = z.xor(i);
n = r ? z.intersection(n, a) : a;
}
if (e.allOf && Array.isArray(e.allOf)) {
if (e.allOf.length === 0) n = r ? n : z.any();
else {
let i = r ? n : convertSchema(e.allOf[0], t);
const a = r ? 0 : 1;
for (let n = a; n < e.allOf.length; n++) i = z.intersection(i, convertSchema(e.allOf[n], t));
n = i;
}
}
if (e.nullable === true && t.version === "openapi-3.0") n = z.nullable(n);
if (e.readOnly === true) n = z.readonly(n);
if (e.default !== void 0) n = n.default(e.default);
const i = {};
for (const t of [
"$id",
"id",
"$comment",
"$anchor",
"$vocabulary",
"$dynamicRef",
"$dynamicAnchor"
]) if (t in e) i[t] = e[t];
for (const t of [
"contentEncoding",
"contentMediaType",
"contentSchema"
]) if (t in e) i[t] = e[t];
if (e.type === "object" && e.$ref === void 0) {
if (e.propertyNames !== void 0 && !containsRef(e.propertyNames)) i.propertyNames = e.propertyNames;
for (const t of ["minProperties", "maxProperties"]) if (e[t] !== void 0) i[t] = e[t];
}
if (e.type === "array" && e.$ref === void 0) {
if (e.contains !== void 0 && !containsRef(e.contains)) i.contains = e.contains;
for (const t of [
"uniqueItems",
"minContains",
"maxContains"
]) if (e[t] !== void 0) i[t] = e[t];
}
for (const t of Object.keys(e)) if (!RECOGNIZED_KEYS.has(t)) assignProp(i, t, e[t]);
if (Object.keys(i).length > 0) t.registry.add(n, i);
if (e.description) n = n.describe(e.description);
return n;
}
/**
* Converts a JSON Schema to a Zod schema. This function should be considered semi-experimental. It's behavior is liable to change. */
function fromJSONSchema(e, t) {
if (typeof e === "boolean") return e ? z.any() : z.never();
let n;
try {
n = JSON.parse(JSON.stringify(e));
} catch {
throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
}
const r = {
version: detectVersion(n, t?.defaultTarget),
defs: n.$defs || n.definitions || {},
refs: /* @__PURE__ */ new Map(),
processing: /* @__PURE__ */ new Set(),
rootSchema: n,
registry: t?.registry ?? globalRegistry
};
return convertSchema(n, r);
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/visit.js
const RESOLVING = Symbol("z.visit/resolving");
function visit(e, t) {
const n = typeof t === "function" ? t : (e, n) => {
const r = t[e._zod.def.type];
return r ? r(e, n) : e;
};
const r = /* @__PURE__ */ new Map();
function run(e) {
const t = r.get(e);
if (t === RESOLVING) return new $ZodLazy({
type: "lazy",
getter: () => r.get(e)
});
if (t !== void 0) return t;
r.set(e, RESOLVING);
const i = mapInner(e);
const a = n(i, i !== e);
r.set(e, a);
return a;
}
function mapInner(e) {
const t = e._zod.def;
switch (t.type) {
case "object": {
const n = t.shape;
const r = Object.keys(n);
let i = false;
const a = {};
for (const e of r) {
const t = run(n[e]);
if (t !== n[e]) i = true;
a[e] = t;
}
let o = t.catchall;
if (t.catchall) {
o = run(t.catchall);
if (o !== t.catchall) i = true;
}
return i ? clone(e, {
...t,
shape: a,
catchall: o
}) : e;
}
case "array": {
const n = run(t.element);
return n === t.element ? e : clone(e, {
...t,
element: n
});
}
case "tuple": {
const n = t.items;
let r = false;
const i = [];
for (const e of n) {
const t = run(e);
if (t !== e) r = true;
i.push(t);
}
let a = t.rest;
if (t.rest) {
a = run(t.rest);
if (a !== t.rest) r = true;
}
return r ? clone(e, {
...t,
items: i,
rest: a
}) : e;
}
case "record":
case "map": {
const n = run(t.keyType);
const r = run(t.valueType);
return n === t.keyType && r === t.valueType ? e : clone(e, {
...t,
keyType: n,
valueType: r
});
}
case "set": {
const n = run(t.valueType);
return n === t.valueType ? e : clone(e, {
...t,
valueType: n
});
}
case "union": {
const n = t.options;
let r = false;
const i = [];
for (const e of n) {
const t = run(e);
if (t !== e) r = true;
i.push(t);
}
return r ? clone(e, {
...t,
options: i
}) : e;
}
case "intersection": {
const n = run(t.left);
const r = run(t.right);
return n === t.left && r === t.right ? e : clone(e, {
...t,
left: n,
right: r
});
}
case "optional":
case "nullable":
case "default":
case "prefault":
case "catch":
case "readonly":
case "nonoptional":
case "promise":
case "success": {
const n = run(t.innerType);
return n === t.innerType ? e : clone(e, {
...t,
innerType: n
});
}
case "pipe": {
const n = run(t.in);
const r = run(t.out);
return n === t.in && r === t.out ? e : clone(e, {
...t,
in: n,
out: r
});
}
case "function": {
const n = run(t.input);
const r = run(t.output);
return n === t.input && r === t.output ? e : clone(e, {
...t,
input: n,
output: r
});
}
case "lazy": {
const n = t.getter;
const { _cachedInner: r, ...i } = t;
return clone(e, {
...i,
getter: () => run(n())
});
}
case "template_literal":
case "string":
case "number":
case "int":
case "boolean":
case "bigint":
case "symbol":
case "undefined":
case "null":
case "void":
case "never":
case "any":
case "unknown":
case "date":
case "nan":
case "enum":
case "literal":
case "file":
case "transform":
case "custom": return e;
default: return e;
}
}
return run(e);
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/deep-partial.js
/** Returns a copy of the schema with every nested object's properties made optional. */
function deepPartial(e) {
return visit(e, {
object: (e) => e.partial(),
union: (e) => {
const t = e._zod.def;
return t.discriminator === void 0 ? e : union(t.options);
}
});
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/in-out.js
/** Appends a pipe's own checks to the side that replaces it, mirroring how `.check()` clones. */
function withChecks(e, t) {
if (!t?.length) return e;
const n = e._zod.def;
return clone(e, mergeDefs(n, { checks: [...n.checks ?? [], ...t] }), { parent: true });
}
/** The out side, carrying the pipe's own checks: those run against the decoded value, which is what `out` produces. */
function outSide(e) {
return withChecks(e.out, e.checks);
}
/** The in side. `z.preprocess` pipes a transform into a schema, and a bare transform validates nothing, so the schema it feeds is the real input side — the resolution `toJSONSchema` already makes for this case. */
function inSide(e) {
return e.in._zod.traits.has("$ZodTransform") ? outSide(e) : e.in;
}
/** Returns a copy of the schema with every pipe replaced by its input side. A codec's checks are dropped: they constrain the decoded value the input side never produces. */
function input(e) {
return visit(e, {
pipe: (e) => inSide(e._zod.def),
default: (e, t) => t ? optional(e._zod.def.innerType) : e,
catch: (e, t) => t ? e._zod.def.innerType : e
});
}
/** Returns a copy of the schema with every pipe replaced by its output side, carrying over the pipe's own checks. */
function output(e) {
return visit(e, {
pipe: (e) => outSide(e._zod.def),
prefault: (e, t) => t ? e._zod.def.innerType : e
});
}
//#endregion
//#region node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/external.js
var external_exports = /* @__PURE__ */ __exportAll({
$brand: () => $brand,
$input: () => $input,
$output: () => $output,
INVALID: () => INVALID,
NEVER: () => NEVER,
TimePrecision: () => TimePrecision,
ZodAny: () => ZodAny,
ZodArray: () => ZodArray,
ZodBase64: () => ZodBase64,
ZodBase64URL: () => ZodBase64URL,
ZodBigInt: () => ZodBigInt,
ZodBigIntFormat: () => ZodBigIntFormat,
ZodBoolean: () => ZodBoolean,
ZodCIDRv4: () => ZodCIDRv4,
ZodCIDRv6: () => ZodCIDRv6,
ZodCUID: () => ZodCUID,
ZodCUID2: () => ZodCUID2,
ZodCatch: () => ZodCatch,
ZodCodec: () => ZodCodec,
ZodCompileAsyncError: () => ZodCompileAsyncError,
ZodCompileUnsupportedError: () => ZodCompileUnsupportedError,
ZodCreditCard: () => ZodCreditCard,
ZodCustom: () => ZodCustom,
ZodCustomStringFormat: () => ZodCustomStringFormat,
ZodDate: () => ZodDate,
ZodDefault: () => ZodDefault,
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
ZodE164: () => ZodE164,
ZodEmail: () => ZodEmail,
ZodEmoji: () => ZodEmoji,
ZodEnum: () => ZodEnum,
ZodError: () => ZodError,
ZodExactOptional: () => ZodExactOptional,
ZodFile: () => ZodFile,
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
ZodFunction: () => ZodFunction,
ZodGUID: () => ZodGUID,
ZodIBAN: () => ZodIBAN,
ZodIPv4: () => ZodIPv4,
ZodIPv6: () => ZodIPv6,
ZodISODate: () => ZodISODate,
ZodISODateTime: () => ZodISODateTime,
ZodISODuration: () => ZodISODuration,
ZodISOTime: () => ZodISOTime,
ZodInstanceOf: () => ZodInstanceOf,
ZodIntersection: () => ZodIntersection,
ZodIssueCode: () => ZodIssueCode,
ZodJWT: () => ZodJWT,
ZodKSUID: () => ZodKSUID,
ZodLazy: () => ZodLazy,
ZodLiteral: () => ZodLiteral,
ZodMAC: () => ZodMAC,
ZodMap: () => ZodMap,
ZodNaN: () => ZodNaN,
ZodNanoID: () => ZodNanoID,
ZodNever: () => ZodNever,
ZodNonOptional: () => ZodNonOptional,
ZodNull: () => ZodNull,
ZodNullable: () => ZodNullable,
ZodNumber: () => ZodNumber,
ZodNumberFormat: () => ZodNumberFormat,
ZodObject: () => ZodObject,
ZodOptional: () => ZodOptional,
ZodPipe: () => ZodPipe,
ZodPrefault: () => ZodPrefault,
ZodPreprocess: () => ZodPreprocess,
ZodPromise: () => ZodPromise,
ZodReadonly: () => ZodReadonly,
ZodRealError: () => ZodRealError,
ZodRecord: () => ZodRecord,
ZodSet: () => ZodSet,
ZodString: () => ZodString,
ZodStringFormat: () => ZodStringFormat,
ZodSuccess: () => ZodSuccess,
ZodSymbol: () => ZodSymbol,
ZodTemplateLiteral: () => ZodTemplateLiteral,
ZodTransform: () => ZodTransform,
ZodTuple: () => ZodTuple,
ZodType: () => ZodType,
ZodULID: () => ZodULID,
ZodURL: () => ZodURL,
ZodUUID: () => ZodUUID,
ZodUndefined: () => ZodUndefined,
ZodUnion: () => ZodUnion,
ZodUnknown: () => ZodUnknown,
ZodVoid: () => ZodVoid,
ZodXID: () => ZodXID,
ZodXor: () => ZodXor,
_ZodString: () => _ZodString,
_default: () => _default$1,
_function: () => _function,
any: () => any,
array: () => array,
base64: () => base64,
base64url: () => base64url,
bigint: () => bigint,
boolean: () => boolean,
catch: () => _catch$1,
check: () => check,
cidrv4: () => cidrv4,
cidrv6: () => cidrv6,
clone: () => clone,
codec: () => codec,
coerce: () => coerce_exports,
compile: () => compile,
config: () => config,
core: () => core_exports,
creditCard: () => creditCard,
cuid: () => cuid,
cuid2: () => cuid2,
currencyCode: () => currencyCode,
custom: () => custom,
date: () => date,
decode: () => decode$1,
decodeAsync: () => decodeAsync$1,
deepPartial: () => deepPartial,
describe: () => describe$1,
discriminatedUnion: () => discriminatedUnion,
e164: () => e164,
email: () => email,
emoji: () => emoji,
encode: () => encode$1,
encodeAsync: () => encodeAsync$1,
endsWith: () => _endsWith,
enum: () => _enum$1,
exactOptional: () => exactOptional,
file: () => file,
flattenError: () => flattenError,
float32: () => float32,
float64: () => float64,
formatError: () => formatError,
fromJSONSchema: () => fromJSONSchema,
function: () => _function,
getDiscriminatedOption: () => getDiscriminatedOption,
getErrorMap: () => getErrorMap,
globalRegistry: () => globalRegistry,
gt: () => _gt,
gte: () => _gte,
guid: () => guid,
hash: () => hash,
hex: () => hex,
hostname: () => hostname,
httpUrl: () => httpUrl,
iban: () => iban,
includes: () => _includes,
input: () => input,
instanceof: () => _instanceof,
int: () => int,
int32: () => int32,
int64: () => int64,
intersection: () => intersection,
invertCodec: () => invertCodec,
ipv4: () => ipv4,
ipv6: () => ipv6,
iso: () => iso_exports,
json: () => json,
jwt: () => jwt,
keyof: () => keyof,
ksuid: () => ksuid,
lazy: () => lazy,
length: () => _length,
literal: () => literal,
locales: () => locales_exports,
looseObject: () => looseObject,
looseRecord: () => looseRecord,
lowercase: () => _lowercase,
lt: () => _lt,
lte: () => _lte,
mac: () => mac,
map: () => map,
maxLength: () => _maxLength,
maxSize: () => _maxSize,
memoizer: () => memoizer,
meta: () => meta$1,
mime: () => _mime,
minLength: () => _minLength,
minSize: () => _minSize,
multipleOf: () => _multipleOf,
nan: () => nan,
nanoid: () => nanoid,
nativeEnum: () => nativeEnum,
negative: () => _negative,
never: () => never,
nonnegative: () => _nonnegative,
nonoptional: () => nonoptional,
nonpositive: () => _nonpositive,
normalize: () => _normalize,
null: () => _null$1,
nullable: () => nullable,
nullish: () => nullish,
number: () => number,
object: () => object,
optional: () => optional,
output: () => output,
overwrite: () => _overwrite,
parse: () => parse$1,
parseAsync: () => parseAsync$1,
partialRecord: () => partialRecord,
pipe: () => pipe,
positive: () => _positive,
prefault: () => prefault,
preprocess: () => preprocess,
prettifyError: () => prettifyError,
promise: () => promise,
properties: () => _properties,
property: () => _property,
readonly: () => readonly,
record: () => record,
refine: () => refine,
regex: () => _regex,
regexes: () => regexes_exports,
registry: () => registry,
safeDecode: () => safeDecode$1,
safeDecodeAsync: () => safeDecodeAsync$1,
safeEncode: () => safeEncode$1,
safeEncodeAsync: () => safeEncodeAsync$1,
safeParse: () => safeParse$1,
safeParseAsync: () => safeParseAsync$1,
set: () => set,
setErrorMap: () => setErrorMap,
size: () => _size,
slugify: () => _slugify,
startsWith: () => _startsWith,
strictObject: () => strictObject,
string: () => string,
stringFormat: () => stringFormat,
stringbool: () => stringbool,
success: () => success,
superRefine: () => superRefine,
symbol: () => symbol,
templateLiteral: () => templateLiteral,
toJSONSchema: () => toJSONSchema,
toLowerCase: () => _toLowerCase,
toUpperCase: () => _toUpperCase,
toZod: () => toZod,
transform: () => transform,
treeifyError: () => treeifyError,
trim: () => _trim,
tuple: () => tuple,
uint32: () => uint32,
uint64: () => uint64,
ulid: () => ulid,
undefined: () => _undefined$1,
union: () => union,
unknown: () => unknown,
uppercase: () => _uppercase,
url: () => url,
util: () => util_exports,
uuid: () => uuid,
uuidv4: () => uuidv4,
uuidv6: () => uuidv6,
uuidv7: () => uuidv7,
validate: () => validate,
validateAsync: () => validateAsync,
void: () => _void$1,
withParser: () => withParser,
xid: () => xid,
xor: () => xor
});
//#endregion
export { external_exports as t };