1//#region \0rolldown/runtime.js 2var e = Object.defineProperty, t = (t, n) => { 3 let r = {}; 4 for (var i in t) e(r, i, { 5 get: t[i], 6 enumerable: !0 7 }); 8 return n || e(r, Symbol.toStringTag, { value: "Module" }), r; 9}, n, r = /*@__PURE__*/ Object.freeze({ status: "aborted" }); 10function i(e, t, n) { 11 var r; 12 function i(n, r) { 13 if (n._zod || Object.defineProperty(n, "_zod", { 14 value: { 15 def: r, 16 constr: s, 17 traits: /* @__PURE__ */ new Set() 18 }, 19 enumerable: !1 20 }), n._zod.traits.has(e)) return; 21 n._zod.traits.add(e), t(n, r); 22 let i = s.prototype, a = Object.keys(i); 23 for (let e = 0; e < a.length; e++) { 24 let t = a[e]; 25 t in n || (n[t] = i[t].bind(n)); 26 } 27 } 28 let a = (r = n == null ? void 0 : n.Parent) == null ? Object : r; 29 class o extends a {} 30 Object.defineProperty(o, "name", { value: e }); 31 function s(e) { 32 var t; 33 let r = n != null && n.Parent ? new o() : this; 34 i(r, e), (t = r._zod).deferred != null || (t.deferred = []); 35 for (let e of r._zod.deferred) e(); 36 return r; 37 } 38 return Object.defineProperty(s, "init", { value: i }), Object.defineProperty(s, Symbol.hasInstance, { value: (t) => { 39 var r; 40 return n != null && n.Parent && t instanceof n.Parent ? !0 : t == null || (r = t._zod) == null || (r = r.traits) == null ? void 0 : r.has(e); 41 } }), Object.defineProperty(s, "name", { value: e }), s; 42} 43var a = Symbol("zod_brand"), o = class extends Error { 44 constructor() { 45 super("Encountered Promise during synchronous parse. Use .parseAsync() instead."); 46 } 47}, s = class extends Error { 48 constructor(e) { 49 super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError"; 50 } 51}; 52(n = globalThis).__zod_globalConfig != null || (n.__zod_globalConfig = {}); 53var c = globalThis.__zod_globalConfig; 54function l(e) { 55 return e && Object.assign(c, e), c; 56} 57//#endregion 58//#region \0@[email protected]/helpers/esm/typeof.js 59function u(e) { 60 "@babel/helpers - typeof"; 61 return u = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) { 62 return typeof e; 63 } : function(e) { 64 return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; 65 }, u(e); 66} 67//#endregion 68//#region \0@[email protected]/helpers/esm/toPrimitive.js 69function d(e, t) { 70 if (u(e) != "object" || !e) return e; 71 var n = e[Symbol.toPrimitive]; 72 if (n !== void 0) { 73 var r = n.call(e, t || "default"); 74 if (u(r) != "object") return r; 75 throw TypeError("@@toPrimitive must return a primitive value."); 76 } 77 return (t === "string" ? String : Number)(e); 78} 79//#endregion 80//#region \0@[email protected]/helpers/esm/toPropertyKey.js 81function f(e) { 82 var t = d(e, "string"); 83 return u(t) == "symbol" ? t : t + ""; 84} 85//#endregion 86//#region \0@[email protected]/helpers/esm/defineProperty.js 87function p(e, t, n) { 88 return (t = f(t)) in e ? Object.defineProperty(e, t, { 89 value: n, 90 enumerable: !0, 91 configurable: !0, 92 writable: !0 93 }) : e[t] = n, e; 94} 95//#endregion 96//#region \0@[email protected]/helpers/esm/objectSpread2.js 97function m(e, t) { 98 var n = Object.keys(e); 99 if (Object.getOwnPropertySymbols) { 100 var r = Object.getOwnPropertySymbols(e); 101 t && (r = r.filter(function(t) { 102 return Object.getOwnPropertyDescriptor(e, t).enumerable; 103 })), n.push.apply(n, r); 104 } 105 return n; 106} 107function h(e) { 108 for (var t = 1; t < arguments.length; t++) { 109 var n = arguments[t] == null ? {} : arguments[t]; 110 t % 2 ? m(Object(n), !0).forEach(function(t) { 111 p(e, t, n[t]); 112 }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m(Object(n)).forEach(function(t) { 113 Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); 114 }); 115 } 116 return e; 117} 118//#endregion 119//#region \0@[email protected]/helpers/esm/objectWithoutPropertiesLoose.js 120function g(e, t) { 121 if (e == null) return {}; 122 var n = {}; 123 for (var r in e) if ({}.hasOwnProperty.call(e, r)) { 124 if (t.includes(r)) continue; 125 n[r] = e[r]; 126 } 127 return n; 128} 129//#endregion 130//#region \0@[email protected]/helpers/esm/objectWithoutProperties.js 131function ee(e, t) { 132 if (e == null) return {}; 133 var n, r, i = g(e, t); 134 if (Object.getOwnPropertySymbols) { 135 var a = Object.getOwnPropertySymbols(e); 136 for (r = 0; r < a.length; r++) n = a[r], t.includes(n) || {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]); 137 } 138 return i; 139} 140//#endregion 141//#region ../node_modules/zod/v4/core/util.js 142var te = /* @__PURE__ */ t({ 143 BIGINT_FORMAT_RANGES: () => Me, 144 Class: () => $e, 145 NUMBER_FORMAT_RANGES: () => je, 146 aborted: () => Be, 147 allowsEval: () => Se, 148 assert: () => se, 149 assertEqual: () => re, 150 assertIs: () => ae, 151 assertNever: () => oe, 152 assertNotEqual: () => ie, 153 assignProp: () => x, 154 base64ToUint8Array: () => qe, 155 base64urlToUint8Array: () => Ye, 156 cached: () => v, 157 captureStackTrace: () => be, 158 cleanEnum: () => Ke, 159 cleanRegex: () => ue, 160 clone: () => w,
161 cloneDef: () => me, 162 createTransparentProxy: () => ke, 163 defineLazy: () => b, 164 esc: () => ve, 165 escapeRegex: () => C, 166 explicitlyAborted: () => Ve, 167 extend: () => Fe, 168 finalizeIssue: () => O, 169 floatSafeRemainder: () => de, 170 getElementAtPath: () => he, 171 getEnumValues: () => ce, 172 getLengthableOrigin: () => We, 173 getParsedType: () => Ee, 174 getSizableOrigin: () => Ue, 175 hexToUint8Array: () => Ze, 176 isObject: () => xe, 177 isPlainObject: () => Ce, 178 issue: () => Ge, 179 joinValues: () => _, 180 jsonStringifyReplacer: () => le, 181 merge: () => Le, 182 mergeDefs: () => S, 183 normalizeParams: () => T, 184 nullish: () => y, 185 numKeys: () => Te, 186 objectClone: () => pe, 187 omit: () => Pe, 188 optionalKeys: () => Ae, 189 parsedType: () => k, 190 partial: () => Re, 191 pick: () => Ne, 192 prefixIssues: () => D, 193 primitiveTypes: () => Oe, 194 promiseAllObject: () => ge, 195 propertyKeyTypes: () => De, 196 randomString: () => _e, 197 required: () => ze, 198 safeExtend: () => Ie, 199 shallowClone: () => we, 200 slugify: () => ye, 201 stringifyPrimitive: () => E, 202 uint8ArrayToBase64: () => Je, 203 uint8ArrayToBase64url: () => Xe, 204 uint8ArrayToHex: () => Qe, 205 unwrapMessage: () => He 206}), ne = [ 207 "inst", 208 "continue", 209 "input" 210]; 211function re(e) { 212 return e; 213} 214function ie(e) { 215 return e; 216} 217function ae(e) {} 218function oe(e) { 219 throw Error("Unexpected value in exhaustive check"); 220} 221function se(e) {} 222function ce(e) { 223 let t = Object.values(e).filter((e) => typeof e == "number"); 224 return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t); 225} 226function _(e, t = "|") { 227 return e.map((e) => E(e)).join(t); 228} 229function le(e, t) { 230 return typeof t == "bigint" ? t.toString() : t; 231} 232function v(e) { 233 return { get value() { 234 { 235 let t = e(); 236 return Object.defineProperty(this, "value", { value: t }), t; 237 } 238 } }; 239} 240function y(e) { 241 return e == null; 242} 243function ue(e) { 244 let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length; 245 return e.slice(t, n); 246} 247function de(e, t) { 248 let n = e / t, r = Math.round(n), i = 2 ** -52 * Math.max(Math.abs(n), 1); 249 return Math.abs(n - r) < i ? 0 : n - r; 250} 251var fe = /* @__PURE__*/ Symbol("evaluating"); 252function b(e, t, n) { 253 let r; 254 Object.defineProperty(e, t, { 255 get() { 256 if (r !== fe) return r === void 0 && (r = fe, r = n()), r; 257 }, 258 set(n) { 259 Object.defineProperty(e, t, { value: n }); 260 }, 261 configurable: !0 262 }); 263} 264function pe(e) { 265 return Object.create(Object.getPrototypeOf(e), Object.getOwnPropertyDescriptors(e)); 266} 267function x(e, t, n) { 268 Object.defineProperty(e, t, { 269 value: n, 270 writable: !0, 271 enumerable: !0, 272 configurable: !0 273 }); 274} 275function S(...e) { 276 let t = {}; 277 for (let n of e) { 278 let e = Object.getOwnPropertyDescriptors(n); 279 Object.assign(t, e); 280 } 281 return Object.defineProperties({}, t); 282} 283function me(e) { 284 return S(e._zod.def); 285} 286function he(e, t) { 287 return t ? t.reduce((e, t) => e == null ? void 0 : e[t], e) : e; 288} 289function ge(e) { 290 let t = Object.keys(e), n = t.map((t) => e[t]); 291 return Promise.all(n).then((e) => { 292 let n = {}; 293 for (let r = 0; r < t.length; r++) n[t[r]] = e[r]; 294 return n; 295 }); 296} 297function _e(e = 10) { 298 let t = ""; 299 for (let n = 0; n < e; n++) t += "abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random() * 26)]; 300 return t; 301} 302function ve(e) { 303 return JSON.stringify(e); 304} 305function ye(e) { 306 return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, ""); 307} 308var be = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {}; 309function xe(e) { 310 return typeof e == "object" && !!e && !Array.isArray(e); 311} 312var Se = /* @__PURE__*/ v(() => { 313 var e; 314 if (c.jitless || typeof navigator < "u" && (e = navigator) != null && (e = e.userAgent) != null && e.includes("Cloudflare")) return !1; 315 try { 316 return Function(""), !0; 317 } catch (e) { 318 return !1; 319 } 320}); 321function Ce(e) { 322 if (xe(e) === !1) return !1; 323 let t = e.constructor; 324 if (t === void 0 || typeof t != "function") return !0; 325 let n = t.prototype; 326 return xe(n) !== !1 && Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") !== !1; 327} 328function we(e) { 329 return Ce(e) ? h({}, e) : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e; 330} 331function Te(e) { 332 let t = 0; 333 for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && t++; 334 return t; 335} 336var Ee = (e) => { 337 let t = typeof e; 338 switch (t) { 339 case "undefined": return "undefined"; 340 case "string": return "string"; 341 case "number": return Number.isNaN(e) ? "nan" : "number"; 342 case "boolean": return "boolean"; 343 case "function": return "function"; 344 case "bigint": return "bigint"; 345 case "symbol": return "symbol"; 346 case "object": return Array.isArray(e) ? "array" : e === null ? "null" : e.then && typeof e.then == "function" && e.catch && typeof e.catch == "function" ? "promise" : typeof Map < "u" && e instanceof Map ? "map" : typeof Set < "u" && e instanceof Set ? "set" : typeof Date < "u" && e instanceof Date ? "date" : typeof File < "u" && e instanceof File ? "file" : "object"; 347 default: throw Error(`Unknown data type: ${t}`); 348 } 349}, De = /* @__PURE__*/ new Set([ 350 "string", 351 "number", 352 "symbol" 353]), Oe = /* @__PURE__*/ new Set([ 354 "string", 355 "number", 356 "bigint", 357 "boolean", 358 "symbol", 359 "undefined" 360]); 361function C(e) { 362 return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); 363} 364function w(e, t, n) { 365 let r = new e._zod.constr(t == null ? e._zod.def : t); 366 return (!t || n != null && n.parent) && (r._zod.parent = e), r; 367} 368function T(e) { 369 let t = e; 370 if (!t) return {}; 371 if (typeof t == "string") return { error: () => t }; 372 if ((t == null ? void 0 : t.message) !== void 0) { 373 if ((t == null ? void 0 : t.error) !== void 0) throw Error("Cannot specify both `message` and `error` params"); 374 t.error = t.message; 375 } 376 return delete t.message, typeof t.error == "string" ? h(h({}, t), {}, { error: () => t.error }) : t; 377} 378function ke(e) { 379 let t; 380 return new Proxy({}, { 381 get(n, r, i) { 382 return t != null || (t = e()), Reflect.get(t, r, i); 383 }, 384 set(n, r, i, a) { 385 return t != null || (t = e()), Reflect.set(t, r, i, a); 386 }, 387 has(n, r) { 388 return t != null || (t = e()), Reflect.has(t, r); 389 }, 390 deleteProperty(n, r) { 391 return t != null || (t = e()), Reflect.deleteProperty(t, r); 392 }, 393 ownKeys(n) { 394 return t != null || (t = e()), Reflect.ownKeys(t); 395 }, 396 getOwnPropertyDescriptor(n, r) { 397 return t != null || (t = e()), Reflect.getOwnPropertyDescriptor(t, r); 398 }, 399 defineProperty(n, r, i) { 400 return t != null || (t = e()), Reflect.defineProperty(t, r, i); 401 } 402 }); 403} 404function E(e) { 405 return typeof e == "bigint" ? e.toString() + "n" : typeof e == "string" ? `"${e}"` : `${e}`; 406} 407function Ae(e) { 408 return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional"); 409} 410var je = { 411 safeint: [-(2 ** 53 - 1), 2 ** 53 - 1], 412 int32: [-2147483648, 2147483647], 413 uint32: [0, 4294967295], 414 float32: [-34028234663852886e22, 34028234663852886e22], 415 float64: [-Number.MAX_VALUE, Number.MAX_VALUE] 416}, Me = {
417 int64: [/* @__PURE__*/ BigInt("-9223372036854775808"), /* @__PURE__*/ BigInt("9223372036854775807")], 418 uint64: [/* @__PURE__*/ BigInt(0), /* @__PURE__*/ BigInt("18446744073709551615")] 419}; 420function Ne(e, t) { 421 let n = e._zod.def, r = n.checks; 422 if (r && r.length > 0) throw Error(".pick() cannot be used on object schemas containing refinements"); 423 return w(e, S(e._zod.def, { 424 get shape() { 425 let e = {}; 426 for (let r in t) { 427 if (!(r in n.shape)) throw Error(`Unrecognized key: "${r}"`); 428 t[r] && (e[r] = n.shape[r]); 429 } 430 return x(this, "shape", e), e; 431 }, 432 checks: [] 433 })); 434} 435function Pe(e, t) { 436 let n = e._zod.def, r = n.checks; 437 if (r && r.length > 0) throw Error(".omit() cannot be used on object schemas containing refinements"); 438 return w(e, S(e._zod.def, { 439 get shape() { 440 let r = h({}, e._zod.def.shape); 441 for (let e in t) { 442 if (!(e in n.shape)) throw Error(`Unrecognized key: "${e}"`); 443 t[e] && delete r[e]; 444 } 445 return x(this, "shape", r), r; 446 }, 447 checks: [] 448 })); 449} 450function Fe(e, t) { 451 if (!Ce(t)) throw Error("Invalid input to extend: expected a plain object"); 452 let n = e._zod.def.checks; 453 if (n && n.length > 0) { 454 let n = e._zod.def.shape; 455 for (let e in t) if (Object.getOwnPropertyDescriptor(n, e) !== void 0) throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead."); 456 } 457 return w(e, S(e._zod.def, { get shape() { 458 let n = h(h({}, e._zod.def.shape), t); 459 return x(this, "shape", n), n; 460 } })); 461} 462function Ie(e, t) { 463 if (!Ce(t)) throw Error("Invalid input to safeExtend: expected a plain object"); 464 return w(e, S(e._zod.def, { get shape() { 465 let n = h(h({}, e._zod.def.shape), t); 466 return x(this, "shape", n), n; 467 } })); 468} 469function Le(e, t) { 470 var n, r; 471 if ((n = e._zod.def.checks) != null && n.length) throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead."); 472 return w(e, S(e._zod.def, { 473 get shape() { 474 let n = h(h({}, e._zod.def.shape), t._zod.def.shape); 475 return x(this, "shape", n), n; 476 }, 477 get catchall() { 478 return t._zod.def.catchall; 479 }, 480 checks: (r = t._zod.def.checks) == null ? [] : r 481 })); 482} 483function Re(e, t, n) { 484 let r = t._zod.def.checks; 485 if (r && r.length > 0) throw Error(".partial() cannot be used on object schemas containing refinements"); 486 return w(t, S(t._zod.def, { 487 get shape() { 488 let r = t._zod.def.shape, i = h({}, r); 489 if (n) for (let t in n) { 490 if (!(t in r)) throw Error(`Unrecognized key: "${t}"`); 491 n[t] && (i[t] = e ? new e({ 492 type: "optional", 493 innerType: r[t] 494 }) : r[t]); 495 } 496 else for (let t in r) i[t] = e ? new e({ 497 type: "optional", 498 innerType: r[t] 499 }) : r[t]; 500 return x(this, "shape", i), i; 501 }, 502 checks: [] 503 })); 504} 505function ze(e, t, n) { 506 return w(t, S(t._zod.def, { get shape() { 507 let r = t._zod.def.shape, i = h({}, r); 508 if (n) for (let t in n) { 509 if (!(t in i)) throw Error(`Unrecognized key: "${t}"`); 510 n[t] && (i[t] = new e({ 511 type: "nonoptional", 512 innerType: r[t] 513 })); 514 } 515 else for (let t in r) i[t] = new e({ 516 type: "nonoptional", 517 innerType: r[t] 518 }); 519 return x(this, "shape", i), i; 520 } })); 521} 522function Be(e, t = 0) { 523 if (e.aborted === !0) return !0; 524 for (let r = t; r < e.issues.length; r++) { 525 var n; 526 if (((n = e.issues[r]) == null ? void 0 : n.continue) !== !0) return !0; 527 } 528 return !1; 529} 530function Ve(e, t = 0) { 531 if (e.aborted === !0) return !0; 532 for (let r = t; r < e.issues.length; r++) { 533 var n; 534 if (((n = e.issues[r]) == null ? void 0 : n.continue) === !1) return !0; 535 } 536 return !1; 537} 538function D(e, t) { 539 return t.map((t) => { 540 var n; 541 return (n = t).path != null || (n.path = []), t.path.unshift(e), t; 542 }); 543} 544function He(e) { 545 return typeof e == "string" ? e : e == null ? void 0 : e.message; 546} 547function O(e, t, n) { 548 var r, i, a, o, s, c, l, u, d; 549 let f = e.message ? e.message : (r = (i = (a = (o = He((s = e.inst) == null || (s = s._zod.def) == null || (c = s.error) == null ? void 0 : c.call(s, e))) == null ? He(t == null || (l = t.error) == null ? void 0 : l.call(t, e)) : o) == null ? He((u = n.customError) == null ? void 0 : u.call(n, e)) : a) == null ? He((d = n.localeError) == null ? void 0 : d.
549call(n, e)) : i) == null ? "Invalid input" : r, { inst: p, continue: m, input: h } = e, g = ee(e, ne); 550 return g.path != null || (g.path = []), g.message = f, t != null && t.reportInput && (g.input = h), g; 551} 552function Ue(e) { 553 return e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof File ? "file" : "unknown"; 554} 555function We(e) { 556 return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown"; 557} 558function k(e) { 559 let t = typeof e; 560 switch (t) { 561 case "number": return Number.isNaN(e) ? "nan" : "number"; 562 case "object": { 563 if (e === null) return "null"; 564 if (Array.isArray(e)) return "array"; 565 let t = e; 566 if (t && Object.getPrototypeOf(t) !== Object.prototype && "constructor" in t && t.constructor) return t.constructor.name; 567 } 568 } 569 return t; 570} 571function Ge(...e) { 572 let [t, n, r] = e; 573 return typeof t == "string" ? { 574 message: t, 575 code: "custom", 576 input: n, 577 inst: r 578 } : h({}, t); 579} 580function Ke(e) { 581 return Object.entries(e).filter(([e, t]) => Number.isNaN(Number.parseInt(e, 10))).map((e) => e[1]); 582} 583function qe(e) { 584 let t = atob(e), n = new Uint8Array(t.length); 585 for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e); 586 return n; 587} 588function Je(e) { 589 let t = ""; 590 for (let n = 0; n < e.length; n++) t += String.fromCharCode(e[n]); 591 return btoa(t); 592} 593function Ye(e) { 594 let t = e.replace(/-/g, "+").replace(/_/g, "/"); 595 return qe(t + "=".repeat((4 - t.length % 4) % 4)); 596} 597function Xe(e) { 598 return Je(e).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, ""); 599} 600function Ze(e) { 601 let t = e.replace(/^0x/, ""); 602 if (t.length % 2 != 0) throw Error("Invalid hex string length"); 603 let n = new Uint8Array(t.length / 2); 604 for (let e = 0; e < t.length; e += 2) n[e / 2] = Number.parseInt(t.slice(e, e + 2), 16); 605 return n; 606} 607function Qe(e) { 608 return Array.from(e).map((e) => e.toString(16).padStart(2, "0")).join(""); 609} 610var $e = class { 611 constructor(...e) {} 612}, et = (e, t) => { 613 e.name = "$ZodError", Object.defineProperty(e, "_zod", { 614 value: e._zod, 615 enumerable: !1 616 }), Object.defineProperty(e, "issues", { 617 value: t, 618 enumerable: !1 619 }), e.message = JSON.stringify(t, le, 2), Object.defineProperty(e, "toString", { 620 value: () => e.message, 621 enumerable: !1 622 }); 623}, tt = i("$ZodError", et), A = i("$ZodError", et, { Parent: Error }); 624function nt(e, t = (e) => e.message) { 625 let n = {}, r = []; 626 for (let i of e.issues) i.path.length > 0 ? (n[i.path[0]] = n[i.path[0]] || [], n[i.path[0]].push(t(i))) : r.push(t(i)); 627 return { 628 formErrors: r, 629 fieldErrors: n 630 }; 631} 632function rt(e, t = (e) => e.message) { 633 let n = { _errors: [] }, r = (e, i = []) => { 634 for (let a of e.issues) if (a.code === "invalid_union" && a.errors.length) a.errors.map((e) => r({ issues: e }, [...i, ...a.path])); 635 else if (a.code === "invalid_key") r({ issues: a.issues }, [...i, ...a.path]); 636 else if (a.code === "invalid_element") r({ issues: a.issues }, [...i, ...a.path]); 637 else { 638 let e = [...i, ...a.path]; 639 if (e.length === 0) n._errors.push(t(a)); 640 else { 641 let r = n, i = 0; 642 for (; i < e.length;) { 643 let n = e[i]; 644 i === e.length - 1 ? (r[n] = r[n] || { _errors: [] }, r[n]._errors.push(t(a))) : r[n] = r[n] || { _errors: [] }, r = r[n], i++; 645 } 646 } 647 } 648 }; 649 return r(e), n; 650} 651function it(e, t = (e) => e.message) { 652 let n = { errors: [] }, r = (e, i = []) => { 653 var a, o; 654 for (let s of e.issues) if (s.code === "invalid_union" && s.errors.length) s.errors.map((e) => r({ issues: e }, [...i, ...s.path])); 655 else if (s.code === "invalid_key") r({ issues: s.issues }, [...i, ...s.path]); 656 else if (s.code === "invalid_element") r({ issues: s.issues }, [...i, ...s.path]); 657 else { 658 let e = [...i, ...s.path]; 659 if (e.length === 0) { 660 n.errors.push(t(s)); 661 continue; 662 } 663 let r = n, c = 0; 664 for (; c < e.length;) { 665 let n = e[c], i = c === e.length - 1; 666 typeof n == "string" ? (r.properties != null || (r.properties = {}), (a = r.properties)[n] != null || (a[n] = { errors: [] }), r = r.properties[n]) : (r.items != null || (r.items = []), (o = r.items)[n] != null || (o[n] = { errors: [] }), r = r.items[n]), i && r.errors.push(t(s)), c++; 667 } 668 } 669 }; 670 return r(e), n; 671} 672function at(e) { 673 let t = [], n = e.map((e) => typeof e == "object" ? e.key : e); 674 for (let e of n) typeof e == "number" ? t.push(`[${e}]`) : typeof e == "symbol" ? t.push(`[${JSON.stringify(String(e))}]`) : /[^\w$]/.test(e) ? t.push(`[${JSON.stringify(e)}]`) : (t.length && t.push("."), t.push(e)); 675 return t.join(""); 676} 677function ot(e) { 678 let t = [], n = [...e.issues].sort((e, t) => { 679 var n, r; 680 return ((n = e.path) == null ? [] : n).length - ((r = t.path) == null ? [] : r).length; 681 }); 682 for (let e of n) { 683 var r; 684 t.push(`â ${e.message}`), (r = e.path) != null && r.length && t.push(` â at ${at(e.path)}`); 685 } 686 return t.join("\n"); 687} 688//#endregion 689//#region ../node_modules/zod/v4/core/parse.js 690var st = (e) => (t, n, r, i) => { 691 let a = r ? h(h({}, r), {}, { async: !1 }) : { async: !1 }, s = t._zod.run({ 692 value: n, 693 issues: [] 694 }, a); 695 if (s instanceof Promise) throw new o(); 696 if (s.issues.length) { 697 var c; 698 let t = new ((c = i == null ? void 0 : i.Err) == null ? e : c)(s.issues.map((e) => O(e, a, l()))); 699 throw be(t, i == null ? void 0 : i.callee), t; 700 } 701 return s.value; 702}, ct = /* @__PURE__*/ st(A), lt = (e) => async (t, n, r, i) => { 703 let a = r ? h(h({}, r), {}, { async: !0 }) : { async: !0 }, o = t._zod.run({ 704 value: n, 705 issues: [] 706 }, a); 707 if (o instanceof Promise && (o = await o), o.issues.length) { 708 var s; 709 let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => O(e, a, l()))); 710 throw be(t, i == null ? void 0 : i.callee), t; 711 } 712 return o.value; 713}, ut = /* @__PURE__*/ lt(A), dt = (e) => (t, n, r) => { 714 let i = r ? h(h({}, r), {}, { async: !1 }) : { async: !1 }, a = t._zod.run({ 715 value: n, 716 issues: [] 717 }, i); 718 if (a instanceof Promise) throw new o(); 719 return a.issues.length ? { 720 success: !1, 721 error: new (e == null ? tt : e)(a.issues.map((e) => O(e, i, l()))) 722 } : { 723 success: !0, 724 data: a.value 725 }; 726}, ft = /* @__PURE__*/ dt(A), pt = (e) => async (t, n, r) => { 727 let i = r ? h(h({}, r), {}, { async: !0 }) : { async: !0 }, a = t._zod.run({ 728 value: n, 729 issues: [] 730 }, i); 731 return a instanceof Promise && (a = await a), a.issues.length ? { 732 success: !1, 733 error: new e(a.issues.map((e) => O(e, i, l()))) 734 } : { 735 success: !0, 736 data: a.value 737 }; 738}, mt = /* @__PURE__*/ pt(A), ht = (e) => (t, n, r) => { 739 let i = r ? h(h({}, r), {}, { direction: "backward" }) : { direction: "backward" }; 740 return st(e)(t, n, i); 741}, gt = /* @__PURE__*/ ht(A), _t = (e) => (t, n, r) => st(e)(t, n, r), vt = /* @__PURE__*/ _t(A), yt = (e) => async (t, n, r) => { 742 let i = r ? h(h({}, r), {}, { direction: "backward" }) : { direction: "backward" }; 743 return lt(e)(t, n, i); 744}, bt = /* @__PURE__*/ yt(A), xt = (e) => async (t, n, r) => lt(e)(t, n, r), St = /* @__PURE__*/ xt(A), Ct = (e) => (t, n, r) => { 745 let i = r ? h(h({}, r), {}, { direction: "backward" }) : { direction: "backward" }; 746 return dt(e)(t, n, i); 747}, wt = /* @__PURE__*/ Ct(A), Tt = (e) => (t, n, r) => dt(e)(t, n, r), Et = /* @__PURE__*/ Tt(A), Dt = (e) => async (t, n, r) => { 748 let i = r ? h(h({}, r), {}, { direction: "backward" }) : { direction: "backward" }; 749 return pt(e)(t, n, i); 750}, Ot = /* @__PURE__*/ Dt(A), kt = (e) => async (t, n, r) => pt(e)(t, n, r), At = /* @__PURE__*/ kt(A), jt = /* @__PURE__ */ t({ 751 base64: () => an, 752 base64url: () => on, 753 bigint: () => _n, 754 boolean: () => bn, 755 browserEmail: () => Xt, 756 cidrv4: () => nn, 757 cidrv6: () => rn, 758 cuid: () => Mt, 759 cuid2: () => Nt, 760 date: () => fn, 761 datetime: () => hn, 762 domain: () => cn, 763 duration: () => Rt, 764 e164: () => un, 765 email: () => Gt, 766 emoji: () => Qt, 767 extendedDuration: () => zt, 768 guid: () => Bt, 769 hex: () => Tn, 770 hostname: () => sn, 771 html5Email: () => Kt, 772 httpProtocol: () => ln,
773 idnEmail: () => Yt, 774 integer: () => vn, 775 ipv4: () => $t, 776 ipv6: () => en, 777 ksuid: () => It, 778 lowercase: () => Cn, 779 mac: () => tn, 780 md5_base64: () => kn, 781 md5_base64url: () => An, 782 md5_hex: () => On, 783 nanoid: () => Lt, 784 null: () => xn, 785 number: () => yn, 786 rfc5322Email: () => qt, 787 sha1_base64: () => Mn, 788 sha1_base64url: () => Nn, 789 sha1_hex: () => jn, 790 sha256_base64: () => Fn, 791 sha256_base64url: () => In, 792 sha256_hex: () => Pn, 793 sha384_base64: () => Rn, 794 sha384_base64url: () => zn, 795 sha384_hex: () => Ln, 796 sha512_base64: () => Vn, 797 sha512_base64url: () => Hn, 798 sha512_hex: () => Bn, 799 string: () => gn, 800 time: () => mn, 801 ulid: () => Pt, 802 undefined: () => Sn, 803 unicodeEmail: () => Jt, 804 uppercase: () => wn, 805 uuid: () => Vt, 806 uuid4: () => Ht, 807 uuid6: () => Ut, 808 uuid7: () => Wt, 809 xid: () => Ft 810}), Mt = /^[cC][0-9a-z]{6,}$/, Nt = /^[0-9a-z]+$/, Pt = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Ft = /^[0-9a-vA-V]{20}$/, It = /^[A-Za-z0-9]{27}$/, Lt = /^[a-zA-Z0-9_-]{21}$/, Rt = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, zt = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Bt = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Vt = (e) => e ? RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Ht = /*@__PURE__*/ Vt(4), Ut = /*@__PURE__*/ Vt(6), Wt = /*@__PURE__*/ Vt(7), Gt = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Kt = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, qt = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Jt = RegExp("^[^\\s@\"]{1,64}@[^\\s@]{1,255}$", "u"), Yt = Jt, Xt = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Zt = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$"; 811function Qt() { 812 return new RegExp(Zt, "u"); 813} 814var $t = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, en = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, tn = (e) => { 815 let t = C(e == null ? ":" : e); 816 return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`); 817}, nn = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, rn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, an = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, on = /^[A-Za-z0-9_-]*$/, sn = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/, cn = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/, ln = /^https?$/, un = /^\+[1-9]\d{6,14}$/, dn = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", fn = /*@__PURE__*/ RegExp(`^${dn}$`); 818function pn(e) { 819 let t = "(?:[01]\\d|2[0-3]):[0-5]\\d"; 820 return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`; 821} 822function mn(e) { 823 return RegExp(`^${pn(e)}$`); 824} 825function hn(e) { 826 let t = pn({ precision: e.precision }), n = ["Z"]; 827 e.local && n.push(""), e.offset && n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)"); 828 let r = `${t}(?:${n.join("|")})`; 829 return RegExp(`^${dn}T(?:${r})$`); 830} 831var gn = (e) => { 832 var t, n; 833 let r = e ? `[\\s\\S]{${(t = e == null ? void 0 : e.minimum) == null ? 0 : t},${(n = e == null ? void 0 : e.maximum) == null ? "" : n}}` : "[\\s\\S]*"; 834 return RegExp(`^${r}$`); 835}, _n = /^-?\d+n?$/, vn = /^-?\d+$/, yn = /^-?\d+(?:\.\d+)?$/, bn = /^(?:true|false)$/i, xn = /^null$/i, Sn = /^undefined$/i, Cn = /^[^A-Z]*$/, wn = /^[^a-z]*$/, Tn = /^[0-9a-fA-F]*$/; 836function En(e, t) { 837 return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`); 838} 839function Dn(e) { 840 return RegExp(`^[A-Za-z0-9_-]{${e}}$`); 841} 842var On = /^[0-9a-fA-F]{32}$/, kn = /*@__PURE__*/ En(22, "=="), An = /*@__PURE__*/ Dn(22), jn = /^[0-9a-fA-F]{40}$/, Mn = /*@__PURE__*/ En(27, "="), Nn = /*@__PURE__*/ Dn(27), Pn = /^[0-9a-fA-F]{64}$/, Fn = /*@__PURE__*/ En(43, "="), In = /*@__PURE__*/ Dn(43), Ln = /^[0-9a-fA-F]{96}$/, Rn = /*@__PURE__*/ En(64, ""), zn = /*@__PURE__*/ Dn(64), Bn = /^[0-9a-fA-F]{128}$/, Vn = /*@__PURE__*/ En(86, "=="), Hn = /*@__PURE__*/ Dn(86), j = /*@__PURE__*/ i("$ZodCheck", (e, t) => { 843 var n; 844 e._zod != null || (e._zod = {}), e._zod.def = t, (n = e._zod).onattach != null || (n.onattach = []); 845}), Un = { 846 number: "number", 847 bigint: "bigint", 848 object: "date" 849}, Wn = /*@__PURE__*/ i("$ZodCheckLessThan", (e, t) => { 850 j.init(e, t); 851 let n = Un[typeof t.value]; 852 e._zod.onattach.push((e) => { 853 var n; 854 let r = e._zod.bag, i = (n = t.inclusive ? r.maximum : r.exclusiveMaximum) == null ? Infinity : n; 855 t.value < i && (t.inclusive ? r.maximum = t.value : r.exclusiveMaximum = t.value); 856 }), e._zod.check = (r) => { 857 (t.inclusive ? r.value <= t.value : r.value < t.value) || r.issues.push({ 858 origin: n, 859 code: "too_big", 860 maximum: typeof t.value == "object" ? t.value.getTime() : t.value,
861 input: r.value, 862 inclusive: t.inclusive, 863 inst: e, 864 continue: !t.abort 865 }); 866 }; 867}), Gn = /*@__PURE__*/ i("$ZodCheckGreaterThan", (e, t) => { 868 j.init(e, t); 869 let n = Un[typeof t.value]; 870 e._zod.onattach.push((e) => { 871 var n; 872 let r = e._zod.bag, i = (n = t.inclusive ? r.minimum : r.exclusiveMinimum) == null ? -Infinity : n; 873 t.value > i && (t.inclusive ? r.minimum = t.value : r.exclusiveMinimum = t.value); 874 }), e._zod.check = (r) => { 875 (t.inclusive ? r.value >= t.value : r.value > t.value) || r.issues.push({ 876 origin: n, 877 code: "too_small", 878 minimum: typeof t.value == "object" ? t.value.getTime() : t.value, 879 input: r.value, 880 inclusive: t.inclusive, 881 inst: e, 882 continue: !t.abort 883 }); 884 }; 885}), Kn = /*@__PURE__*/ i("$ZodCheckMultipleOf", (e, t) => { 886 j.init(e, t), e._zod.onattach.push((e) => { 887 var n; 888 (n = e._zod.bag).multipleOf != null || (n.multipleOf = t.value); 889 }), e._zod.check = (n) => { 890 if (typeof n.value != typeof t.value) throw Error("Cannot mix number and bigint in multiple_of check."); 891 (typeof n.value == "bigint" ? n.value % t.value === BigInt(0) : de(n.value, t.value) === 0) || n.issues.push({ 892 origin: typeof n.value, 893 code: "not_multiple_of", 894 divisor: t.value, 895 input: n.value, 896 inst: e, 897 continue: !t.abort 898 }); 899 }; 900}), qn = /*@__PURE__*/ i("$ZodCheckNumberFormat", (e, t) => { 901 var n; 902 j.init(e, t), t.format = t.format || "float64"; 903 let r = (n = t.format) == null ? void 0 : n.includes("int"), i = r ? "int" : "number", [a, o] = je[t.format]; 904 e._zod.onattach.push((e) => { 905 let n = e._zod.bag; 906 n.format = t.format, n.minimum = a, n.maximum = o, r && (n.pattern = vn); 907 }), e._zod.check = (n) => { 908 let s = n.value; 909 if (r) { 910 if (!Number.isInteger(s)) { 911 n.issues.push({ 912 expected: i, 913 format: t.format, 914 code: "invalid_type", 915 continue: !1, 916 input: s, 917 inst: e 918 }); 919 return; 920 } 921 if (!Number.isSafeInteger(s)) { 922 s > 0 ? n.issues.push({ 923 input: s, 924 code: "too_big", 925 maximum: 2 ** 53 - 1, 926 note: "Integers must be within the safe integer range.", 927 inst: e, 928 origin: i, 929 inclusive: !0, 930 continue: !t.abort 931 }) : n.issues.push({ 932 input: s, 933 code: "too_small", 934 minimum: -(2 ** 53 - 1), 935 note: "Integers must be within the safe integer range.", 936 inst: e, 937 origin: i, 938 inclusive: !0, 939 continue: !t.abort 940 }); 941 return; 942 } 943 } 944 s < a && n.issues.push({ 945 origin: "number", 946 input: s, 947 code: "too_small", 948 minimum: a, 949 inclusive: !0, 950 inst: e, 951 continue: !t.abort 952 }), s > o && n.issues.push({ 953 origin: "number", 954 input: s, 955 code: "too_big", 956 maximum: o, 957 inclusive: !0, 958 inst: e, 959 continue: !t.abort 960 }); 961 }; 962}), Jn = /*@__PURE__*/ i("$ZodCheckBigIntFormat", (e, t) => { 963 j.init(e, t); 964 let [n, r] = Me[t.format]; 965 e._zod.onattach.push((e) => { 966 let i = e._zod.bag; 967 i.format = t.format, i.minimum = n, i.maximum = r; 968 }), e._zod.check = (i) => { 969 let a = i.value; 970 a < n && i.issues.push({ 971 origin: "bigint", 972 input: a, 973 code: "too_small", 974 minimum: n, 975 inclusive: !0, 976 inst: e, 977 continue: !t.abort 978 }), a > r && i.issues.push({ 979 origin: "bigint", 980 input: a, 981 code: "too_big", 982 maximum: r, 983 inclusive: !0, 984 inst: e, 985 continue: !t.abort 986 }); 987 }; 988}), Yn = /*@__PURE__*/ i("$ZodCheckMaxSize", (e, t) => { 989 var n; 990 j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => { 991 let t = e.value; 992 return !y(t) && t.size !== void 0; 993 }), e._zod.onattach.push((e) => { 994 var n; 995 let r = (n = e._zod.bag.maximum) == null ? Infinity : n; 996 t.maximum < r && (e._zod.bag.maximum = t.maximum); 997 }), e._zod.check = (n) => { 998 let r = n.value; 999 r.size <= t.maximum || n.issues.push({ 1000 origin: Ue(r), 1001 code: "too_big", 1002 maximum: t.maximum, 1003 inclusive: !0, 1004 input: r, 1005 inst: e, 1006 continue: !t.abort 1007 }); 1008 }; 1009}), Xn = /*@__PURE__*/ i("$ZodCheckMinSize", (e, t) => { 1010 var n; 1011 j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => { 1012 let t = e.value; 1013 return !y(t) && t.size !== void 0; 1014 }), e._zod.onattach.push((e) => { 1015 var n; 1016 let r = (n = e._zod.bag.minimum) == null ? -Infinity : n; 1017 t.minimum > r && (e._zod.bag.minimum = t.minimum); 1018 }), e._zod.check = (n) => { 1019 let r = n.value; 1020 r.size >= t.minimum || n.issues.push({ 1021 origin: Ue(r), 1022 code: "too_small", 1023 minimum: t.minimum, 1024 inclusive: !0,
1025 input: r, 1026 inst: e, 1027 continue: !t.abort 1028 }); 1029 }; 1030}), Zn = /*@__PURE__*/ i("$ZodCheckSizeEquals", (e, t) => { 1031 var n; 1032 j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => { 1033 let t = e.value; 1034 return !y(t) && t.size !== void 0; 1035 }), e._zod.onattach.push((e) => { 1036 let n = e._zod.bag; 1037 n.minimum = t.size, n.maximum = t.size, n.size = t.size; 1038 }), e._zod.check = (n) => { 1039 let r = n.value, i = r.size; 1040 if (i === t.size) return; 1041 let a = i > t.size; 1042 n.issues.push(h(h({ origin: Ue(r) }, a ? { 1043 code: "too_big", 1044 maximum: t.size 1045 } : { 1046 code: "too_small", 1047 minimum: t.size 1048 }), {}, { 1049 inclusive: !0, 1050 exact: !0, 1051 input: n.value, 1052 inst: e, 1053 continue: !t.abort 1054 })); 1055 }; 1056}), Qn = /*@__PURE__*/ i("$ZodCheckMaxLength", (e, t) => { 1057 var n; 1058 j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => { 1059 let t = e.value; 1060 return !y(t) && t.length !== void 0; 1061 }), e._zod.onattach.push((e) => { 1062 var n; 1063 let r = (n = e._zod.bag.maximum) == null ? Infinity : n; 1064 t.maximum < r && (e._zod.bag.maximum = t.maximum); 1065 }), e._zod.check = (n) => { 1066 let r = n.value; 1067 if (r.length <= t.maximum) return; 1068 let i = We(r); 1069 n.issues.push({ 1070 origin: i, 1071 code: "too_big", 1072 maximum: t.maximum, 1073 inclusive: !0, 1074 input: r, 1075 inst: e, 1076 continue: !t.abort 1077 }); 1078 }; 1079}), $n = /*@__PURE__*/ i("$ZodCheckMinLength", (e, t) => { 1080 var n; 1081 j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => { 1082 let t = e.value; 1083 return !y(t) && t.length !== void 0; 1084 }), e._zod.onattach.push((e) => { 1085 var n; 1086 let r = (n = e._zod.bag.minimum) == null ? -Infinity : n; 1087 t.minimum > r && (e._zod.bag.minimum = t.minimum); 1088 }), e._zod.check = (n) => { 1089 let r = n.value; 1090 if (r.length >= t.minimum) return; 1091 let i = We(r); 1092 n.issues.push({ 1093 origin: i, 1094 code: "too_small", 1095 minimum: t.minimum, 1096 inclusive: !0, 1097 input: r, 1098 inst: e, 1099 continue: !t.abort 1100 }); 1101 }; 1102}), er = /*@__PURE__*/ i("$ZodCheckLengthEquals", (e, t) => { 1103 var n; 1104 j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => { 1105 let t = e.value; 1106 return !y(t) && t.length !== void 0; 1107 }), e._zod.onattach.push((e) => { 1108 let n = e._zod.bag; 1109 n.minimum = t.length, n.maximum = t.length, n.length = t.length; 1110 }), e._zod.check = (n) => { 1111 let r = n.value, i = r.length; 1112 if (i === t.length) return; 1113 let a = We(r), o = i > t.length; 1114 n.issues.push(h(h({ origin: a }, o ? { 1115 code: "too_big", 1116 maximum: t.length 1117 } : { 1118 code: "too_small", 1119 minimum: t.length 1120 }), {}, { 1121 inclusive: !0, 1122 exact: !0, 1123 input: n.value, 1124 inst: e, 1125 continue: !t.abort 1126 })); 1127 }; 1128}), tr = /*@__PURE__*/ i("$ZodCheckStringFormat", (e, t) => { 1129 var n, r; 1130 j.init(e, t), e._zod.onattach.push((e) => { 1131 let n = e._zod.bag; 1132 n.format = t.format, t.pattern && (n.patterns != null || (n.patterns = /* @__PURE__ */ new Set()), n.patterns.add(t.pattern)); 1133 }), t.pattern ? (n = e._zod).check != null || (n.check = (n) => { 1134 t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push(h(h({ 1135 origin: "string", 1136 code: "invalid_format", 1137 format: t.format, 1138 input: n.value 1139 }, t.pattern ? { pattern: t.pattern.toString() } : {}), {}, { 1140 inst: e, 1141 continue: !t.abort 1142 })); 1143 }) : (r = e._zod).check != null || (r.check = () => {}); 1144}), nr = /*@__PURE__*/ i("$ZodCheckRegex", (e, t) => { 1145 tr.init(e, t), e._zod.check = (n) => { 1146 t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({ 1147 origin: "string", 1148 code: "invalid_format", 1149 format: "regex", 1150 input: n.value, 1151 pattern: t.pattern.toString(), 1152 inst: e, 1153 continue: !t.abort 1154 }); 1155 }; 1156}), rr = /*@__PURE__*/ i("$ZodCheckLowerCase", (e, t) => { 1157 t.pattern != null || (t.pattern = Cn), tr.init(e, t); 1158}), ir = /*@__PURE__*/ i("$ZodCheckUpperCase", (e, t) => { 1159 t.pattern != null || (t.pattern = wn), tr.init(e, t); 1160}), ar = /*@__PURE__*/ i("$ZodCheckIncludes", (e, t) => { 1161 j.init(e, t); 1162 let n = C(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n); 1163 t.pattern = r, e._zod.onattach.push((e) => { 1164 let t = e._zod.bag; 1165 t.patterns != null || (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(r); 1166 }), e._zod.check = (n) => { 1167 n.value.includes(t.includes, t.position) || n.issues.push({ 1168 origin: "string",
1169 code: "invalid_format", 1170 format: "includes", 1171 includes: t.includes, 1172 input: n.value, 1173 inst: e, 1174 continue: !t.abort 1175 }); 1176 }; 1177}), or = /*@__PURE__*/ i("$ZodCheckStartsWith", (e, t) => { 1178 j.init(e, t); 1179 let n = RegExp(`^${C(t.prefix)}.*`); 1180 t.pattern != null || (t.pattern = n), e._zod.onattach.push((e) => { 1181 let t = e._zod.bag; 1182 t.patterns != null || (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(n); 1183 }), e._zod.check = (n) => { 1184 n.value.startsWith(t.prefix) || n.issues.push({ 1185 origin: "string", 1186 code: "invalid_format", 1187 format: "starts_with", 1188 prefix: t.prefix, 1189 input: n.value, 1190 inst: e, 1191 continue: !t.abort 1192 }); 1193 }; 1194}), sr = /*@__PURE__*/ i("$ZodCheckEndsWith", (e, t) => { 1195 j.init(e, t); 1196 let n = RegExp(`.*${C(t.suffix)}$`); 1197 t.pattern != null || (t.pattern = n), e._zod.onattach.push((e) => { 1198 let t = e._zod.bag; 1199 t.patterns != null || (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(n); 1200 }), e._zod.check = (n) => { 1201 n.value.endsWith(t.suffix) || n.issues.push({ 1202 origin: "string", 1203 code: "invalid_format", 1204 format: "ends_with", 1205 suffix: t.suffix, 1206 input: n.value, 1207 inst: e, 1208 continue: !t.abort 1209 }); 1210 }; 1211}); 1212function cr(e, t, n) { 1213 e.issues.length && t.issues.push(...D(n, e.issues)); 1214} 1215var lr = /*@__PURE__*/ i("$ZodCheckProperty", (e, t) => { 1216 j.init(e, t), e._zod.check = (e) => { 1217 let n = t.schema._zod.run({ 1218 value: e.value[t.property], 1219 issues: [] 1220 }, {}); 1221 if (n instanceof Promise) return n.then((n) => cr(n, e, t.property)); 1222 cr(n, e, t.property); 1223 }; 1224}), ur = /*@__PURE__*/ i("$ZodCheckMimeType", (e, t) => { 1225 j.init(e, t); 1226 let n = new Set(t.mime); 1227 e._zod.onattach.push((e) => { 1228 e._zod.bag.mime = t.mime; 1229 }), e._zod.check = (r) => { 1230 n.has(r.value.type) || r.issues.push({ 1231 code: "invalid_value", 1232 values: t.mime, 1233 input: r.value.type, 1234 inst: e, 1235 continue: !t.abort 1236 }); 1237 }; 1238}), dr = /*@__PURE__*/ i("$ZodCheckOverwrite", (e, t) => { 1239 j.init(e, t), e._zod.check = (e) => { 1240 e.value = t.tx(e.value); 1241 }; 1242}), fr = class { 1243 constructor(e = []) { 1244 this.content = [], this.indent = 0, this && (this.args = e); 1245 } 1246 indented(e) { 1247 this.indent += 1, e(this), --this.indent; 1248 } 1249 write(e) { 1250 if (typeof e == "function") { 1251 e(this, { execution: "sync" }), e(this, { execution: "async" }); 1252 return; 1253 } 1254 let t = e.split("\n").filter((e) => e), n = Math.min(...t.map((e) => e.length - e.trimStart().length)), r = t.map((e) => e.slice(n)).map((e) => " ".repeat(this.indent * 2) + e); 1255 for (let e of r) this.content.push(e); 1256 } 1257 compile() { 1258 var e, t, n; 1259 let r = Function, i = (e = this) == null ? void 0 : e.args, a = [...((t = (n = this) == null ? void 0 : n.content) == null ? [""] : t).map((e) => ` ${e}`)]; 1260 return new r(...i, a.join("\n")); 1261 } 1262}, pr = { 1263 major: 4, 1264 minor: 4, 1265 patch: 3 1266}, M = /*@__PURE__*/ i("$ZodType", (e, t) => { 1267 var n, r; 1268 e != null || (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = pr; 1269 let i = [...(n = e._zod.def.checks) == null ? [] : n]; 1270 e._zod.traits.has("$ZodCheck") && i.unshift(e); 1271 for (let t of i) for (let n of t._zod.onattach) n(e); 1272 if (i.length === 0) { 1273 var a; 1274 (r = e._zod).deferred != null || (r.deferred = []), (a = e._zod.deferred) == null || a.push(() => { 1275 e._zod.run = e._zod.parse; 1276 }); 1277 } else { 1278 let t = (e, t, n) => { 1279 let r = Be(e), i; 1280 for (let s of t) { 1281 if (s._zod.def.when) { 1282 if (Ve(e) || !s._zod.def.when(e)) continue; 1283 } else if (r) continue; 1284 let t = e.issues.length, c = s._zod.check(e); 1285 if (c instanceof Promise && (n == null ? void 0 : n.async) === !1) throw new o(); 1286 if (i || c instanceof Promise) { 1287 var a; 1288 i = ((a = i) == null ? Promise.resolve() : a).then(async () => { 1289 await c, e.issues.length !== t && (r || (r = Be(e, t))); 1290 }); 1291 } else { 1292 if (e.issues.length === t) continue; 1293 r || (r = Be(e, t)); 1294 } 1295 } 1296 return i ? i.then(() => e) : e; 1297 }, n = (n, r, a) => { 1298 if (Be(n)) return n.aborted = !0, n; 1299 let s = t(r, i, a); 1300 if (s instanceof Promise) { 1301 if (a.async === !1) throw new o(); 1302 return s.then((t) => e._zod.parse(t, a)); 1303 } 1304 return e._zod.parse(s, a); 1305 }; 1306 e._zod.run = (r, a) => { 1307 if (a.skipChecks) return e._zod.parse(r, a); 1308 if (a.direction === "backward") { 1309 let t = e._zod.parse({ 1310 value: r.value, 1311 issues: [] 1312 }, h(h({}, a), {}, { skipChecks: !0 })); 1313 return t instanceof Promise ? t.then((e) => n(e, r, a)) : n(t, r, a); 1314 } 1315 let s = e._zod.parse(r, a); 1316 if (s instanceof Promise) { 1317 if (a.async === !1) throw new o(); 1318 return s.then((e) => t(e, i, a)); 1319 } 1320 return t(s, i, a); 1321 }; 1322 } 1323 b(e, "~standard", () => ({ 1324 validate: (t) => { 1325 try { 1326 var n; 1327 let r = ft(e, t); 1328 return r.success ? { value: r.data } : { issues: (n = r.error) == null ? void 0 : n.issues }; 1329 } catch (n) { 1330 return mt(e, t).then((e) => { 1331 var t; 1332 return e.success ? { value: e.data } : { issues: (t = e.error) == null ? void 0 : t.issues }; 1333 }); 1334 } 1335 }, 1336 vendor: "zod", 1337 version: 1 1338 })); 1339}), mr = /*@__PURE__*/ i("$ZodString", (e, t) => { 1340 var n, r, i; 1341 M.init(e, t), e._zod.pattern = (n = [...(r = e == null || (i = e._zod.bag) == null ? void 0 : i.patterns) == null ? [] : r].pop()) == null ? gn(e._zod.bag) : n, e._zod.parse = (n, r) => { 1342 if (t.coerce) try {
1343 n.value = String(n.value); 1344 } catch (e) {} 1345 return typeof n.value == "string" || n.issues.push({ 1346 expected: "string", 1347 code: "invalid_type", 1348 input: n.value, 1349 inst: e 1350 }), n; 1351 }; 1352}), N = /*@__PURE__*/ i("$ZodStringFormat", (e, t) => { 1353 tr.init(e, t), mr.init(e, t); 1354}), hr = /*@__PURE__*/ i("$ZodGUID", (e, t) => { 1355 t.pattern != null || (t.pattern = Bt), N.init(e, t); 1356}), gr = /*@__PURE__*/ i("$ZodUUID", (e, t) => { 1357 if (t.version) { 1358 let e = { 1359 v1: 1, 1360 v2: 2, 1361 v3: 3, 1362 v4: 4, 1363 v5: 5, 1364 v6: 6, 1365 v7: 7, 1366 v8: 8 1367 }[t.version]; 1368 if (e === void 0) throw Error(`Invalid UUID version: "${t.version}"`); 1369 t.pattern != null || (t.pattern = Vt(e)); 1370 } else t.pattern != null || (t.pattern = Vt()); 1371 N.init(e, t); 1372}), _r = /*@__PURE__*/ i("$ZodEmail", (e, t) => { 1373 t.pattern != null || (t.pattern = Gt), N.init(e, t); 1374}), vr = /*@__PURE__*/ i("$ZodURL", (e, t) => { 1375 N.init(e, t), e._zod.check = (n) => { 1376 try { 1377 var r; 1378 let i = n.value.trim(); 1379 if (!t.normalize && ((r = t.protocol) == null ? void 0 : r.source) === ln.source && !/^https?:\/\//i.test(i)) { 1380 n.issues.push({ 1381 code: "invalid_format", 1382 format: "url", 1383 note: "Invalid URL format", 1384 input: n.value, 1385 inst: e, 1386 continue: !t.abort 1387 }); 1388 return; 1389 } 1390 let a = new URL(i); 1391 t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(a.hostname) || n.issues.push({ 1392 code: "invalid_format", 1393 format: "url", 1394 note: "Invalid hostname", 1395 pattern: t.hostname.source, 1396 input: n.value, 1397 inst: e, 1398 continue: !t.abort 1399 })), t.protocol && (t.protocol.lastIndex = 0, t.protocol.test(a.protocol.endsWith(":") ? a.protocol.slice(0, -1) : a.protocol) || n.issues.push({ 1400 code: "invalid_format", 1401 format: "url", 1402 note: "Invalid protocol", 1403 pattern: t.protocol.source, 1404 input: n.value, 1405 inst: e, 1406 continue: !t.abort 1407 })), n.value = t.normalize ? a.href : i; 1408 return; 1409 } catch (r) { 1410 n.issues.push({ 1411 code: "invalid_format", 1412 format: "url", 1413 input: n.value, 1414 inst: e, 1415 continue: !t.abort 1416 }); 1417 } 1418 }; 1419}), yr = /*@__PURE__*/ i("$ZodEmoji", (e, t) => { 1420 t.pattern != null || (t.pattern = Qt()), N.init(e, t); 1421}), br = /*@__PURE__*/ i("$ZodNanoID", (e, t) => { 1422 t.pattern != null || (t.pattern = Lt), N.init(e, t); 1423}), xr = /*@__PURE__*/ i("$ZodCUID", (e, t) => { 1424 t.pattern != null || (t.pattern = Mt), N.init(e, t); 1425}), Sr = /*@__PURE__*/ i("$ZodCUID2", (e, t) => { 1426 t.pattern != null || (t.pattern = Nt), N.init(e, t); 1427}), Cr = /*@__PURE__*/ i("$ZodULID", (e, t) => { 1428 t.pattern != null || (t.pattern = Pt), N.init(e, t); 1429}), wr = /*@__PURE__*/ i("$ZodXID", (e, t) => { 1430 t.pattern != null || (t.pattern = Ft), N.init(e, t); 1431}), Tr = /*@__PURE__*/ i("$ZodKSUID", (e, t) => { 1432 t.pattern != null || (t.pattern = It), N.init(e, t); 1433}), Er = /*@__PURE__*/ i("$ZodISODateTime", (e, t) => { 1434 t.pattern != null || (t.pattern = hn(t)), N.init(e, t); 1435}), Dr = /*@__PURE__*/ i("$ZodISODate", (e, t) => { 1436 t.pattern != null || (t.pattern = fn), N.init(e, t); 1437}), Or = /*@__PURE__*/ i("$ZodISOTime", (e, t) => { 1438 t.pattern != null || (t.pattern = mn(t)), N.init(e, t); 1439}), kr = /*@__PURE__*/ i("$ZodISODuration", (e, t) => { 1440 t.pattern != null || (t.pattern = Rt), N.init(e, t); 1441}), Ar = /*@__PURE__*/ i("$ZodIPv4", (e, t) => { 1442 t.pattern != null || (t.pattern = $t), N.init(e, t), e._zod.bag.format = "ipv4"; 1443}), jr = /*@__PURE__*/ i("$ZodIPv6", (e, t) => { 1444 t.pattern != null || (t.pattern = en), N.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => { 1445 try { 1446 new URL(`http://[${n.value}]`); 1447 } catch (r) { 1448 n.issues.push({ 1449 code: "invalid_format", 1450 format: "ipv6", 1451 input: n.value, 1452 inst: e, 1453 continue: !t.abort 1454 }); 1455 } 1456 }; 1457}), Mr = /*@__PURE__*/ i("$ZodMAC", (e, t) => { 1458 t.pattern != null || (t.pattern = tn(t.delimiter)), N.init(e, t), e._zod.bag.format = "mac"; 1459}), Nr = /*@__PURE__*/ i("$ZodCIDRv4", (e, t) => { 1460 t.pattern != null || (t.pattern = nn), N.init(e, t); 1461}), Pr = /*@__PURE__*/ i("$ZodCIDRv6", (e, t) => { 1462 t.pattern != null || (t.pattern = rn), N.init(e, t), e._zod.check = (n) => { 1463 let r = n.value.split("/"); 1464 try { 1465 if (r.length !== 2) throw Error(); 1466 let [e, t] = r; 1467 if (!t) throw Error(); 1468 let n = Number(t); 1469 if (`${n}` !== t || n < 0 || n > 128) throw Error(); 1470 new URL(`http://[${e}]`); 1471 } catch (r) { 1472 n.issues.push({
1473 code: "invalid_format", 1474 format: "cidrv6", 1475 input: n.value, 1476 inst: e, 1477 continue: !t.abort 1478 }); 1479 } 1480 }; 1481}); 1482function Fr(e) { 1483 if (e === "") return !0; 1484 if (/\s/.test(e) || e.length % 4 != 0) return !1; 1485 try { 1486 return atob(e), !0; 1487 } catch (e) { 1488 return !1; 1489 } 1490} 1491var Ir = /*@__PURE__*/ i("$ZodBase64", (e, t) => { 1492 t.pattern != null || (t.pattern = an), N.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => { 1493 Fr(n.value) || n.issues.push({ 1494 code: "invalid_format", 1495 format: "base64", 1496 input: n.value, 1497 inst: e, 1498 continue: !t.abort 1499 }); 1500 }; 1501}); 1502function Lr(e) { 1503 if (!on.test(e)) return !1; 1504 let t = e.replace(/[-_]/g, (e) => e === "-" ? "+" : "/"); 1505 return Fr(t.padEnd(Math.ceil(t.length / 4) * 4, "=")); 1506} 1507var Rr = /*@__PURE__*/ i("$ZodBase64URL", (e, t) => { 1508 t.pattern != null || (t.pattern = on), N.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => { 1509 Lr(n.value) || n.issues.push({ 1510 code: "invalid_format", 1511 format: "base64url", 1512 input: n.value, 1513 inst: e, 1514 continue: !t.abort 1515 }); 1516 }; 1517}), zr = /*@__PURE__*/ i("$ZodE164", (e, t) => { 1518 t.pattern != null || (t.pattern = un), N.init(e, t); 1519}); 1520function Br(e, t = null) { 1521 try { 1522 let n = e.split("."); 1523 if (n.length !== 3) return !1; 1524 let [r] = n; 1525 if (!r) return !1; 1526 let i = JSON.parse(atob(r)); 1527 return !("typ" in i && (i == null ? void 0 : i.typ) !== "JWT" || !i.alg || t && (!("alg" in i) || i.alg !== t)); 1528 } catch (e) { 1529 return !1; 1530 } 1531} 1532var Vr = /*@__PURE__*/ i("$ZodJWT", (e, t) => { 1533 N.init(e, t), e._zod.check = (n) => { 1534 Br(n.value, t.alg) || n.issues.push({ 1535 code: "invalid_format", 1536 format: "jwt", 1537 input: n.value, 1538 inst: e, 1539 continue: !t.abort 1540 }); 1541 }; 1542}), Hr = /*@__PURE__*/ i("$ZodCustomStringFormat", (e, t) => { 1543 N.init(e, t), e._zod.check = (n) => { 1544 t.fn(n.value) || n.issues.push({ 1545 code: "invalid_format", 1546 format: t.format, 1547 input: n.value, 1548 inst: e, 1549 continue: !t.abort 1550 }); 1551 }; 1552}), Ur = /*@__PURE__*/ i("$ZodNumber", (e, t) => { 1553 var n; 1554 M.init(e, t), e._zod.pattern = (n = e._zod.bag.pattern) == null ? yn : n, e._zod.parse = (n, r) => { 1555 if (t.coerce) try { 1556 n.value = Number(n.value); 1557 } catch (e) {} 1558 let i = n.value; 1559 if (typeof i == "number" && !Number.isNaN(i) && Number.isFinite(i)) return n; 1560 let a = typeof i == "number" ? Number.isNaN(i) ? "NaN" : Number.isFinite(i) ? void 0 : "Infinity" : void 0; 1561 return n.issues.push(h({ 1562 expected: "number", 1563 code: "invalid_type", 1564 input: i, 1565 inst: e 1566 }, a ? { received: a } : {})), n; 1567 }; 1568}), Wr = /*@__PURE__*/ i("$ZodNumberFormat", (e, t) => { 1569 qn.init(e, t), Ur.init(e, t); 1570}), Gr = /*@__PURE__*/ i("$ZodBoolean", (e, t) => { 1571 M.init(e, t), e._zod.pattern = bn, e._zod.parse = (n, r) => { 1572 if (t.coerce) try { 1573 n.value = !!n.value; 1574 } catch (e) {} 1575 let i = n.value; 1576 return typeof i == "boolean" || n.issues.push({ 1577 expected: "boolean", 1578 code: "invalid_type", 1579 input: i, 1580 inst: e 1581 }), n; 1582 }; 1583}), Kr = /*@__PURE__*/ i("$ZodBigInt", (e, t) => { 1584 M.init(e, t), e._zod.pattern = _n, e._zod.parse = (n, r) => { 1585 if (t.coerce) try { 1586 n.value = BigInt(n.value); 1587 } catch (e) {} 1588 return typeof n.value == "bigint" || n.issues.push({ 1589 expected: "bigint", 1590 code: "invalid_type", 1591 input: n.value, 1592 inst: e 1593 }), n; 1594 }; 1595}), qr = /*@__PURE__*/ i("$ZodBigIntFormat", (e, t) => { 1596 Jn.init(e, t), Kr.init(e, t); 1597}), Jr = /*@__PURE__*/ i("$ZodSymbol", (e, t) => { 1598 M.init(e, t), e._zod.parse = (t, n) => { 1599 let r = t.value; 1600 return typeof r == "symbol" || t.issues.push({ 1601 expected: "symbol", 1602 code: "invalid_type", 1603 input: r, 1604 inst: e 1605 }), t; 1606 }; 1607}), Yr = /*@__PURE__*/ i("$ZodUndefined", (e, t) => { 1608 M.init(e, t), e._zod.pattern = Sn, e._zod.values = /* @__PURE__ */ new Set([void 0]), e._zod.parse = (t, n) => { 1609 let r = t.value; 1610 return r === void 0 || t.issues.push({ 1611 expected: "undefined", 1612 code: "invalid_type", 1613 input: r, 1614 inst: e 1615 }), t; 1616 }; 1617}), Xr = /*@__PURE__*/ i("$ZodNull", (e, t) => { 1618 M.init(e, t), e._zod.pattern = xn, e._zod.values = /* @__PURE__ */ new Set([null]), e._zod.parse = (t, n) => { 1619 let r = t.value; 1620 return r === null || t.issues.push({ 1621 expected: "null",
1622 code: "invalid_type", 1623 input: r, 1624 inst: e 1625 }), t; 1626 }; 1627}), Zr = /*@__PURE__*/ i("$ZodAny", (e, t) => { 1628 M.init(e, t), e._zod.parse = (e) => e; 1629}), Qr = /*@__PURE__*/ i("$ZodUnknown", (e, t) => { 1630 M.init(e, t), e._zod.parse = (e) => e; 1631}), $r = /*@__PURE__*/ i("$ZodNever", (e, t) => { 1632 M.init(e, t), e._zod.parse = (t, n) => (t.issues.push({ 1633 expected: "never", 1634 code: "invalid_type", 1635 input: t.value, 1636 inst: e 1637 }), t); 1638}), ei = /*@__PURE__*/ i("$ZodVoid", (e, t) => { 1639 M.init(e, t), e._zod.parse = (t, n) => { 1640 let r = t.value; 1641 return r === void 0 || t.issues.push({ 1642 expected: "void", 1643 code: "invalid_type", 1644 input: r, 1645 inst: e 1646 }), t; 1647 }; 1648}), ti = /*@__PURE__*/ i("$ZodDate", (e, t) => { 1649 M.init(e, t), e._zod.parse = (n, r) => { 1650 if (t.coerce) try { 1651 n.value = new Date(n.value); 1652 } catch (e) {} 1653 let i = n.value, a = i instanceof Date; 1654 return a && !Number.isNaN(i.getTime()) || n.issues.push(h(h({ 1655 expected: "date", 1656 code: "invalid_type", 1657 input: i 1658 }, a ? { received: "Invalid Date" } : {}), {}, { inst: e })), n; 1659 }; 1660}); 1661function ni(e, t, n) { 1662 e.issues.length && t.issues.push(...D(n, e.issues)), t.value[n] = e.value; 1663} 1664var ri = /*@__PURE__*/ i("$ZodArray", (e, t) => { 1665 M.init(e, t), e._zod.parse = (n, r) => { 1666 let i = n.value; 1667 if (!Array.isArray(i)) return n.issues.push({ 1668 expected: "array", 1669 code: "invalid_type", 1670 input: i, 1671 inst: e 1672 }), n; 1673 n.value = Array(i.length); 1674 let a = []; 1675 for (let e = 0; e < i.length; e++) { 1676 let o = i[e], s = t.element._zod.run({ 1677 value: o, 1678 issues: [] 1679 }, r); 1680 s instanceof Promise ? a.push(s.then((t) => ni(t, n, e))) : ni(s, n, e); 1681 } 1682 return a.length ? Promise.all(a).then(() => n) : n; 1683 }; 1684}); 1685function ii(e, t, n, r, i, a) { 1686 let o = n in r; 1687 if (e.issues.length) { 1688 if (i && a && !o) return; 1689 t.issues.push(...D(n, e.issues)); 1690 } 1691 if (!o && !i) { 1692 e.issues.length || t.issues.push({ 1693 code: "invalid_type", 1694 expected: "nonoptional", 1695 input: void 0, 1696 path: [n] 1697 }); 1698 return; 1699 } 1700 e.value === void 0 ? o && (t.value[n] = void 0) : t.value[n] = e.value; 1701} 1702function ai(e) { 1703 let t = Object.keys(e.shape); 1704 for (let r of t) { 1705 var n; 1706 if (!((n = e.shape) != null && (n = n[r]) != null && (n = n._zod) != null && (n = n.traits) != null && n.has("$ZodType"))) throw Error(`Invalid element at key "${r}": expected a Zod schema`); 1707 } 1708 let r = Ae(e.shape); 1709 return h(h({}, e), {}, { 1710 keys: t, 1711 keySet: new Set(t), 1712 numKeys: t.length, 1713 optionalKeys: new Set(r) 1714 }); 1715} 1716function oi(e, t, n, r, i, a) { 1717 let o = [], s = i.keySet, c = i.catchall._zod, l = c.def.type, u = c.optin === "optional", d = c.optout === "optional"; 1718 for (let i in t) { 1719 if (i === "__proto__" || s.has(i)) continue; 1720 if (l === "never") { 1721 o.push(i); 1722 continue; 1723 } 1724 let a = c.run({ 1725 value: t[i], 1726 issues: [] 1727 }, r); 1728 a instanceof Promise ? e.push(a.then((e) => ii(e, n, i, t, u, d))) : ii(a, n, i, t, u, d); 1729 } 1730 return o.length && n.issues.push({ 1731 code: "unrecognized_keys", 1732 keys: o, 1733 input: t, 1734 inst: a 1735 }), e.length ? Promise.all(e).then(() => n) : n; 1736} 1737var si = /*@__PURE__*/ i("$ZodObject", (e, t) => { 1738 M.init(e, t); 1739 let n = Object.getOwnPropertyDescriptor(t, "shape"); 1740 if (!(n != null && n.get)) { 1741 let e = t.shape; 1742 Object.defineProperty(t, "shape", { get: () => { 1743 let n = h({}, e); 1744 return Object.defineProperty(t, "shape", { value: n }), n; 1745 } }); 1746 } 1747 let r = v(() => ai(t)); 1748 b(e._zod, "propValues", () => { 1749 let e = t.shape, n = {}; 1750 for (let t in e) { 1751 let r = e[t]._zod; 1752 if (r.values) { 1753 n[t] != null || (n[t] = /* @__PURE__ */ new Set()); 1754 for (let e of r.values) n[t].add(e); 1755 } 1756 } 1757 return n; 1758 }); 1759 let i = xe, a = t.catchall, o; 1760 e._zod.parse = (t, n) => { 1761 o != null || (o = r.value); 1762 let s = t.value; 1763 if (!i(s)) return t.issues.push({ 1764 expected: "object", 1765 code: "invalid_type", 1766 input: s, 1767 inst: e 1768 }), t; 1769 t.value = {}; 1770 let c = [], l = o.shape; 1771 for (let e of o.keys) { 1772 let r = l[e], i = r._zod.optin === "optional", a = r._zod.optout === "optional", o = r._zod.run({ 1773 value: s[e], 1774 issues: [] 1775 }, n); 1776 o instanceof Promise ? c.push(o.then((n) => ii(n, t, e, s, i, a))) : ii(o, t, e, s, i, a); 1777 } 1778 return a ? oi(c, s, t, n, r.value, e) : c.length ? Promise.all(c).then(() => t) : t; 1779 }; 1780}), ci = /*@__PURE__*/ i("$ZodObjectJIT", (e, t) => { 1781 si.init(e, t); 1782 let n = e._zod.parse, r = v(() => ai(t)), i = (e) => { 1783 let t = new fr([ 1784 "shape", 1785 "payload", 1786 "ctx" 1787 ]), n = r.value, i = (e) => { 1788 let t = ve(e); 1789 return `shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`; 1790 }; 1791 t.write("const input = payload.value;"); 1792 let a = Object.create(null), o = 0; 1793 for (let e of n.keys) a[e] = `key_${o++}`; 1794 t.write("const newResult = {};"); 1795 for (let r of n.keys) { 1796 var s, c; 1797 let n = a[r], o = ve(r), l = e[r], u = (l == null || (s = l._zod) == null ? void 0 : s.optin) === "optional", d = (l == null || (c = l._zod) == null ? void 0 : c.optout) === "optional"; 1798 t.write(`const ${n} = ${i(r)};`), u && d ? t.write(` 1799 if (${n}.issues.length) { 1800 if (${o} in input) { 1801 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 1802 ...iss, 1803 path: iss.path ? [${o}, ...iss.path] : [${o}] 1804 }))); 1805 } 1806 } 1807 1808 if (${n}.value === undefined) { 1809 if (${o} in input) { 1810 newResult[${o}] = undefined; 1811 } 1812 } else { 1813 newResult[${o}] = ${n}.value; 1814 } 1815 1816 `) : u ? t.write(` 1817 if (${n}.issues.length) { 1818 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 1819 ...iss, 1820 path: iss.path ? [${o}, ...iss.path] : [${o}] 1821 }))); 1822 } 1823 1824 if (${n}.value === undefined) { 1825 if (${o} in input) { 1826 newResult[${o}] = undefined; 1827 } 1828 } else { 1829 newResult[${o}] = ${n}.value; 1830 } 1831 1832 `) : t.write(` 1833 const ${n}_present = ${o} in input; 1834 if (${n}.issues.length) { 1835 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 1836 ...iss, 1837 path: iss.path ? [${o}, ...iss.path] : [${o}] 1838 }))); 1839 } 1840 if (!${n}_present && !${n}.issues.length) { 1841 payload.issues.push({
1842 code: "invalid_type", 1843 expected: "nonoptional", 1844 input: undefined, 1845 path: [${o}] 1846 }); 1847 } 1848 1849 if (${n}_present) { 1850 if (${n}.value === undefined) { 1851 newResult[${o}] = undefined; 1852 } else { 1853 newResult[${o}] = ${n}.value; 1854 } 1855 } 1856 1857 `); 1858 } 1859 t.write("payload.value = newResult;"), t.write("return payload;"); 1860 let l = t.compile(); 1861 return (t, n) => l(e, t, n); 1862 }, a, o = xe, s = !c.jitless, l = s && Se.value, u = t.catchall, d; 1863 e._zod.parse = (c, f) => { 1864 d != null || (d = r.value); 1865 let p = c.value; 1866 return o(p) ? s && l && (f == null ? void 0 : f.async) === !1 && f.jitless !== !0 ? (a || (a = i(t.shape)), c = a(c, f), u ? oi([], p, c, f, d, e) : c) : n(c, f) : (c.issues.push({ 1867 expected: "object", 1868 code: "invalid_type", 1869 input: p, 1870 inst: e 1871 }), c); 1872 }; 1873}); 1874function li(e, t, n, r) { 1875 for (let n of e) if (n.issues.length === 0) return t.value = n.value, t; 1876 let i = e.filter((e) => !Be(e)); 1877 return i.length === 1 ? (t.value = i[0].value, i[0]) : (t.issues.push({ 1878 code: "invalid_union", 1879 input: t.value, 1880 inst: n, 1881 errors: e.map((e) => e.issues.map((e) => O(e, r, l()))) 1882 }), t); 1883} 1884var ui = /*@__PURE__*/ i("$ZodUnion", (e, t) => { 1885 M.init(e, t), b(e._zod, "optin", () => t.options.some((e) => e._zod.optin === "optional") ? "optional" : void 0), b(e._zod, "optout", () => t.options.some((e) => e._zod.optout === "optional") ? "optional" : void 0), b(e._zod, "values", () => { 1886 if (t.options.every((e) => e._zod.values)) return new Set(t.options.flatMap((e) => Array.from(e._zod.values))); 1887 }), b(e._zod, "pattern", () => { 1888 if (t.options.every((e) => e._zod.pattern)) { 1889 let e = t.options.map((e) => e._zod.pattern); 1890 return RegExp(`^(${e.map((e) => ue(e.source)).join("|")})$`); 1891 } 1892 }); 1893 let n = t.options.length === 1 ? t.options[0]._zod.run : null; 1894 e._zod.parse = (r, i) => { 1895 if (n) return n(r, i); 1896 let a = !1, o = []; 1897 for (let e of t.options) { 1898 let t = e._zod.run({ 1899 value: r.value, 1900 issues: [] 1901 }, i); 1902 if (t instanceof Promise) o.push(t), a = !0; 1903 else { 1904 if (t.issues.length === 0) return t; 1905 o.push(t); 1906 } 1907 } 1908 return a ? Promise.all(o).then((t) => li(t, r, e, i)) : li(o, r, e, i); 1909 }; 1910}); 1911function di(e, t, n, r) { 1912 let i = e.filter((e) => e.issues.length === 0); 1913 return i.length === 1 ? (t.value = i[0].value, t) : (i.length === 0 ? t.issues.push({ 1914 code: "invalid_union", 1915 input: t.value, 1916 inst: n, 1917 errors: e.map((e) => e.issues.map((e) => O(e, r, l()))) 1918 }) : t.issues.push({ 1919 code: "invalid_union", 1920 input: t.value, 1921 inst: n, 1922 errors: [], 1923 inclusive: !1 1924 }), t); 1925} 1926var fi = /*@__PURE__*/ i("$ZodXor", (e, t) => { 1927 ui.init(e, t), t.inclusive = !1; 1928 let n = t.options.length === 1 ? t.options[0]._zod.run : null; 1929 e._zod.parse = (r, i) => { 1930 if (n) return n(r, i); 1931 let a = !1, o = []; 1932 for (let e of t.options) { 1933 let t = e._zod.run({ 1934 value: r.value, 1935 issues: [] 1936 }, i); 1937 t instanceof Promise ? (o.push(t), a = !0) : o.push(t); 1938 } 1939 return a ? Promise.all(o).then((t) => di(t, r, e, i)) : di(o, r, e, i); 1940 }; 1941}), pi = /*@__PURE__*/ i("$ZodDiscriminatedUnion", (e, t) => { 1942 t.inclusive = !1, ui.init(e, t); 1943 let n = e._zod.parse; 1944 b(e._zod, "propValues", () => { 1945 let e = {}; 1946 for (let n of t.options) { 1947 let r = n._zod.propValues; 1948 if (!r || Object.keys(r).length === 0) throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`); 1949 for (let [t, n] of Object.entries(r)) { 1950 e[t] || (e[t] = /* @__PURE__ */ new Set()); 1951 for (let r of n) e[t].add(r); 1952 } 1953 } 1954 return e; 1955 }); 1956 let r = v(() => { 1957 let e = t.options, n = /* @__PURE__ */ new Map(); 1958 for (let i of e) { 1959 var r; 1960 let e = (r = i._zod.propValues) == null ? void 0 : r[t.discriminator]; 1961 if (!e || e.size === 0) throw Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`); 1962 for (let t of e) { 1963 if (n.has(t)) throw Error(`Duplicate discriminator value "${String(t)}"`); 1964 n.set(t, i); 1965 } 1966 } 1967 return n; 1968 }); 1969 e._zod.parse = (i, a) => { 1970 let o = i.value; 1971 if (!xe(o)) return i.issues.push({
1972 code: "invalid_type", 1973 expected: "object", 1974 input: o, 1975 inst: e 1976 }), i; 1977 let s = r.value.get(o == null ? void 0 : o[t.discriminator]); 1978 return s ? s._zod.run(i, a) : t.unionFallback || a.direction === "backward" ? n(i, a) : (i.issues.push({ 1979 code: "invalid_union", 1980 errors: [], 1981 note: "No matching discriminator", 1982 discriminator: t.discriminator, 1983 options: Array.from(r.value.keys()), 1984 input: o, 1985 path: [t.discriminator], 1986 inst: e 1987 }), i); 1988 }; 1989}), mi = /*@__PURE__*/ i("$ZodIntersection", (e, t) => { 1990 M.init(e, t), e._zod.parse = (e, n) => { 1991 let r = e.value, i = t.left._zod.run({ 1992 value: r, 1993 issues: [] 1994 }, n), a = t.right._zod.run({ 1995 value: r, 1996 issues: [] 1997 }, n); 1998 return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([t, n]) => gi(e, t, n)) : gi(e, i, a); 1999 }; 2000}); 2001function hi(e, t) { 2002 if (e === t || e instanceof Date && t instanceof Date && +e == +t) return { 2003 valid: !0, 2004 data: e 2005 }; 2006 if (Ce(e) && Ce(t)) { 2007 let n = Object.keys(t), r = Object.keys(e).filter((e) => n.indexOf(e) !== -1), i = h(h({}, e), t); 2008 for (let n of r) { 2009 let r = hi(e[n], t[n]); 2010 if (!r.valid) return { 2011 valid: !1, 2012 mergeErrorPath: [n, ...r.mergeErrorPath] 2013 }; 2014 i[n] = r.data; 2015 } 2016 return { 2017 valid: !0, 2018 data: i 2019 }; 2020 } 2021 if (Array.isArray(e) && Array.isArray(t)) { 2022 if (e.length !== t.length) return { 2023 valid: !1, 2024 mergeErrorPath: [] 2025 }; 2026 let n = []; 2027 for (let r = 0; r < e.length; r++) { 2028 let i = e[r], a = t[r], o = hi(i, a); 2029 if (!o.valid) return { 2030 valid: !1, 2031 mergeErrorPath: [r, ...o.mergeErrorPath] 2032 }; 2033 n.push(o.data); 2034 } 2035 return { 2036 valid: !0, 2037 data: n 2038 }; 2039 } 2040 return { 2041 valid: !1, 2042 mergeErrorPath: [] 2043 }; 2044} 2045function gi(e, t, n) { 2046 let r = /* @__PURE__ */ new Map(), i; 2047 for (let n of t.issues) if (n.code === "unrecognized_keys") { 2048 i != null || (i = n); 2049 for (let e of n.keys) r.has(e) || r.set(e, {}), r.get(e).l = !0; 2050 } else e.issues.push(n); 2051 for (let t of n.issues) if (t.code === "unrecognized_keys") for (let e of t.keys) r.has(e) || r.set(e, {}), r.get(e).r = !0; 2052 else e.issues.push(t); 2053 let a = [...r].filter(([, e]) => e.l && e.r).map(([e]) => e); 2054 if (a.length && i && e.issues.push(h(h({}, i), {}, { keys: a })), Be(e)) return e; 2055 let o = hi(t.value, n.value); 2056 if (!o.valid) throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`); 2057 return e.value = o.data, e; 2058} 2059var _i = /*@__PURE__*/ i("$ZodTuple", (e, t) => { 2060 M.init(e, t); 2061 let n = t.items; 2062 e._zod.parse = (r, i) => { 2063 let a = r.value; 2064 if (!Array.isArray(a)) return r.issues.push({ 2065 input: a, 2066 inst: e, 2067 expected: "tuple", 2068 code: "invalid_type" 2069 }), r; 2070 r.value = []; 2071 let o = [], s = vi(n, "optin"), c = vi(n, "optout"); 2072 if (!t.rest) { 2073 if (a.length < s) return r.issues.push({ 2074 code: "too_small", 2075 minimum: s, 2076 inclusive: !0, 2077 input: a, 2078 inst: e, 2079 origin: "array" 2080 }), r; 2081 a.length > n.length && r.issues.push({ 2082 code: "too_big", 2083 maximum: n.length, 2084 inclusive: !0, 2085 input: a, 2086 inst: e, 2087 origin: "array" 2088 }); 2089 } 2090 let l = Array(n.length); 2091 for (let e = 0; e < n.length; e++) { 2092 let t = n[e]._zod.run({ 2093 value: a[e], 2094 issues: [] 2095 }, i); 2096 t instanceof Promise ? o.push(t.then((t) => { 2097 l[e] = t; 2098 })) : l[e] = t; 2099 } 2100 if (t.rest) { 2101 let e = n.length - 1, s = a.slice(n.length); 2102 for (let n of s) { 2103 e++; 2104 let a = t.rest._zod.run({ 2105 value: n, 2106 issues: [] 2107 }, i); 2108 a instanceof Promise ? o.push(a.then((t) => yi(t, r, e))) : yi(a, r, e); 2109 } 2110 } 2111 return o.length ? Promise.all(o).then(() => bi(l, r, n, a, c)) : bi(l, r, n, a, c); 2112 }; 2113}); 2114function vi(e, t) { 2115 for (let n = e.length - 1; n >= 0; n--) if (e[n]._zod[t] !== "optional") return n + 1; 2116 return 0; 2117} 2118function yi(e, t, n) { 2119 e.issues.length && t.issues.push(...D(n, e.issues)), t.value[n] = e.value; 2120} 2121function bi(e, t, n, r, i) { 2122 for (let a = 0; a < n.length; a++) { 2123 let n = e[a], o = a < r.length; 2124 if (n.issues.length) { 2125 if (!o && a >= i) { 2126 t.value.length = a; 2127 break; 2128 } 2129 t.issues.push(...D(a, n.issues)); 2130 } 2131 t.value[a] = n.value; 2132 } 2133 for (let e = t.value.length - 1; e >= r.length && n[e]._zod.optout === "optional" && t.value[e] === void 0; e--) t.value.length = e; 2134 return t; 2135} 2136var xi = /*@__PURE__*/ i("$ZodRecord", (e, t) => { 2137 M.init(e, t), e._zod.parse = (n, r) => { 2138 let i = n.value; 2139 if (!Ce(i)) return n.issues.push({ 2140 expected: "record",
2141 code: "invalid_type", 2142 input: i, 2143 inst: e 2144 }), n; 2145 let a = [], o = t.keyType._zod.values; 2146 if (o) { 2147 n.value = {}; 2148 let c = /* @__PURE__ */ new Set(); 2149 for (let s of o) if (typeof s == "string" || typeof s == "number" || typeof s == "symbol") { 2150 c.add(typeof s == "number" ? s.toString() : s); 2151 let o = t.keyType._zod.run({ 2152 value: s, 2153 issues: [] 2154 }, r); 2155 if (o instanceof Promise) throw Error("Async schemas not supported in object keys currently"); 2156 if (o.issues.length) { 2157 n.issues.push({ 2158 code: "invalid_key", 2159 origin: "record", 2160 issues: o.issues.map((e) => O(e, r, l())), 2161 input: s, 2162 path: [s], 2163 inst: e 2164 }); 2165 continue; 2166 } 2167 let u = o.value, d = t.valueType._zod.run({ 2168 value: i[s], 2169 issues: [] 2170 }, r); 2171 d instanceof Promise ? a.push(d.then((e) => { 2172 e.issues.length && n.issues.push(...D(s, e.issues)), n.value[u] = e.value; 2173 })) : (d.issues.length && n.issues.push(...D(s, d.issues)), n.value[u] = d.value); 2174 } 2175 let u; 2176 for (let e in i) if (!c.has(e)) { 2177 var s; 2178 u = (s = u) == null ? [] : s, u.push(e); 2179 } 2180 u && u.length > 0 && n.issues.push({ 2181 code: "unrecognized_keys", 2182 input: i, 2183 inst: e, 2184 keys: u 2185 }); 2186 } else { 2187 n.value = {}; 2188 for (let o of Reflect.ownKeys(i)) { 2189 if (o === "__proto__" || !Object.prototype.propertyIsEnumerable.call(i, o)) continue; 2190 let s = t.keyType._zod.run({ 2191 value: o, 2192 issues: [] 2193 }, r); 2194 if (s instanceof Promise) throw Error("Async schemas not supported in object keys currently"); 2195 if (typeof o == "string" && yn.test(o) && s.issues.length) { 2196 let e = t.keyType._zod.run({ 2197 value: Number(o), 2198 issues: [] 2199 }, r); 2200 if (e instanceof Promise) throw Error("Async schemas not supported in object keys currently"); 2201 e.issues.length === 0 && (s = e); 2202 } 2203 if (s.issues.length) { 2204 t.mode === "loose" ? n.value[o] = i[o] : n.issues.push({ 2205 code: "invalid_key", 2206 origin: "record", 2207 issues: s.issues.map((e) => O(e, r, l())), 2208 input: o, 2209 path: [o], 2210 inst: e 2211 }); 2212 continue; 2213 } 2214 let c = t.valueType._zod.run({ 2215 value: i[o], 2216 issues: [] 2217 }, r); 2218 c instanceof Promise ? a.push(c.then((e) => { 2219 e.issues.length && n.issues.push(...D(o, e.issues)), n.value[s.value] = e.value; 2220 })) : (c.issues.length && n.issues.push(...D(o, c.issues)), n.value[s.value] = c.value); 2221 } 2222 } 2223 return a.length ? Promise.all(a).then(() => n) : n; 2224 }; 2225}), Si = /*@__PURE__*/ i("$ZodMap", (e, t) => { 2226 M.init(e, t), e._zod.parse = (n, r) => { 2227 let i = n.value; 2228 if (!(i instanceof Map)) return n.issues.push({ 2229 expected: "map", 2230 code: "invalid_type", 2231 input: i, 2232 inst: e 2233 }), n; 2234 let a = []; 2235 n.value = /* @__PURE__ */ new Map(); 2236 for (let [o, s] of i) { 2237 let c = t.keyType._zod.run({ 2238 value: o, 2239 issues: [] 2240 }, r), l = t.valueType._zod.run({ 2241 value: s, 2242 issues: [] 2243 }, r); 2244 c instanceof Promise || l instanceof Promise ? a.push(Promise.all([c, l]).then(([t, a]) => { 2245 Ci(t, a, n, o, i, e, r); 2246 })) : Ci(c, l, n, o, i, e, r); 2247 } 2248 return a.length ? Promise.all(a).then(() => n) : n; 2249 }; 2250}); 2251function Ci(e, t, n, r, i, a, o) { 2252 e.issues.length && (De.has(typeof r) ? n.issues.push(...D(r, e.issues)) : n.issues.push({ 2253 code: "invalid_key", 2254 origin: "map", 2255 input: i, 2256 inst: a, 2257 issues: e.issues.map((e) => O(e, o, l())) 2258 })), t.issues.length && (De.has(typeof r) ? n.issues.push(...D(r, t.issues)) : n.issues.push({ 2259 origin: "map", 2260 code: "invalid_element", 2261 input: i, 2262 inst: a, 2263 key: r, 2264 issues: t.issues.map((e) => O(e, o, l())) 2265 })), n.value.set(e.value, t.value); 2266} 2267var wi = /*@__PURE__*/ i("$ZodSet", (e, t) => { 2268 M.init(e, t), e._zod.parse = (n, r) => { 2269 let i = n.value; 2270 if (!(i instanceof Set)) return n.issues.push({ 2271 input: i, 2272 inst: e, 2273 expected: "set", 2274 code: "invalid_type" 2275 }), n; 2276 let a = []; 2277 n.value = /* @__PURE__ */ new Set(); 2278 for (let e of i) { 2279 let i = t.valueType._zod.run({ 2280 value: e, 2281 issues: [] 2282 }, r); 2283 i instanceof Promise ? a.push(i.then((e) => Ti(e, n))) : Ti(i, n); 2284 } 2285 return a.length ? Promise.all(a).then(() => n) : n; 2286 }; 2287}); 2288function Ti(e, t) { 2289 e.issues.length && t.issues.push(...e.issues), t.value.add(e.value); 2290} 2291var Ei = /*@__PURE__*/ i("$ZodEnum", (e, t) => { 2292 M.init(e, t); 2293 let n = ce(t.entries), r = new Set(n); 2294 e._zod.values = r, e._zod.pattern = RegExp(`^(${n.filter((e) => De.has(typeof e)).map((e) => typeof e == "string" ? C(e) : e.toString()).join("|")})$`), e._zod.parse = (t, i) => { 2295 let a = t.value; 2296 return r.has(a) || t.issues.push({
vendor: 4,882 bytes, lines 2297-2399
2297 code: "invalid_value", 2298 values: n, 2299 input: a, 2300 inst: e 2301 }), t; 2302 }; 2303}), Di = /*@__PURE__*/ i("$ZodLiteral", (e, t) => { 2304 if (M.init(e, t), t.values.length === 0) throw Error("Cannot create literal schema with no valid values"); 2305 let n = new Set(t.values); 2306 e._zod.values = n, e._zod.pattern = RegExp(`^(${t.values.map((e) => typeof e == "string" ? C(e) : e ? C(e.toString()) : String(e)).join("|")})$`), e._zod.parse = (r, i) => { 2307 let a = r.value; 2308 return n.has(a) || r.issues.push({ 2309 code: "invalid_value", 2310 values: t.values, 2311 input: a, 2312 inst: e 2313 }), r; 2314 }; 2315}), Oi = /*@__PURE__*/ i("$ZodFile", (e, t) => { 2316 M.init(e, t), e._zod.parse = (t, n) => { 2317 let r = t.value; 2318 return r instanceof File || t.issues.push({ 2319 expected: "file", 2320 code: "invalid_type", 2321 input: r, 2322 inst: e 2323 }), t; 2324 }; 2325}), ki = /*@__PURE__*/ i("$ZodTransform", (e, t) => { 2326 M.init(e, t), e._zod.optin = "optional", e._zod.parse = (n, r) => { 2327 if (r.direction === "backward") throw new s(e.constructor.name); 2328 let i = t.transform(n.value, n); 2329 if (r.async) return (i instanceof Promise ? i : Promise.resolve(i)).then((e) => (n.value = e, n.fallback = !0, n)); 2330 if (i instanceof Promise) throw new o(); 2331 return n.value = i, n.fallback = !0, n; 2332 }; 2333}); 2334function Ai(e, t) { 2335 return t === void 0 && (e.issues.length || e.fallback) ? { 2336 issues: [], 2337 value: void 0 2338 } : e; 2339} 2340var ji = /*@__PURE__*/ i("$ZodOptional", (e, t) => { 2341 M.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", b(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), b(e._zod, "pattern", () => { 2342 let e = t.innerType._zod.pattern; 2343 return e ? RegExp(`^(${ue(e.source)})?$`) : void 0; 2344 }), e._zod.parse = (e, n) => { 2345 if (t.innerType._zod.optin === "optional") { 2346 let r = e.value, i = t.innerType._zod.run(e, n); 2347 return i instanceof Promise ? i.then((e) => Ai(e, r)) : Ai(i, r); 2348 } 2349 return e.value === void 0 ? e : t.innerType._zod.run(e, n); 2350 }; 2351}), Mi = /*@__PURE__*/ i("$ZodExactOptional", (e, t) => { 2352 ji.init(e, t), b(e._zod, "values", () => t.innerType._zod.values), b(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (e, n) => t.innerType._zod.run(e, n); 2353}), Ni = /*@__PURE__*/ i("$ZodNullable", (e, t) => { 2354 M.init(e, t), b(e._zod, "optin", () => t.innerType._zod.optin), b(e._zod, "optout", () => t.innerType._zod.optout), b(e._zod, "pattern", () => { 2355 let e = t.innerType._zod.pattern; 2356 return e ? RegExp(`^(${ue(e.source)}|null)$`) : void 0; 2357 }), b(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (e, n) => e.value === null ? e : t.innerType._zod.run(e, n); 2358}), Pi = /*@__PURE__*/ i("$ZodDefault", (e, t) => { 2359 M.init(e, t), e._zod.optin = "optional", b(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => { 2360 if (n.direction === "backward") return t.innerType._zod.run(e, n); 2361 if (e.value === void 0) return e.value = t.defaultValue, e; 2362 let r = t.innerType._zod.run(e, n); 2363 return r instanceof Promise ? r.then((e) => Fi(e, t)) : Fi(r, t); 2364 }; 2365}); 2366function Fi(e, t) { 2367 return e.value === void 0 && (e.value = t.defaultValue), e; 2368} 2369var Ii = /*@__PURE__*/ i("$ZodPrefault", (e, t) => { 2370 M.init(e, t), e._zod.optin = "optional", b(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => (n.direction === "backward" || e.value === void 0 && (e.value = t.defaultValue), t.innerType._zod.run(e, n)); 2371}), Li = /*@__PURE__*/ i("$ZodNonOptional", (e, t) => { 2372 M.init(e, t), b(e._zod, "values", () => { 2373 let e = t.innerType._zod.values; 2374 return e ? new Set([...e].filter((e) => e !== void 0)) : void 0; 2375 }), e._zod.parse = (n, r) => { 2376 let i = t.innerType._zod.run(n, r); 2377 return i instanceof Promise ? i.then((t) => Ri(t, e)) : Ri(i, e); 2378 }; 2379}); 2380function Ri(e, t) { 2381 return !e.issues.length && e.value === void 0 && e.issues.push({ 2382 code: "invalid_type", 2383 expected: "nonoptional", 2384 input: e.value, 2385 inst: t 2386 }), e; 2387} 2388var zi = /*@__PURE__*/ i("$ZodSuccess", (e, t) => { 2389 M.init(e, t), e._zod.parse = (e, n) => { 2390 if (n.direction === "backward") throw new s("ZodSuccess"); 2391 let r = t.innerType._zod.run(e, n); 2392 return r instanceof Promise ? r.then((t) => (e.value = t.issues.length === 0, e)) : (e.value = r.issues.length === 0, e); 2393 }; 2394}), Bi = /*@__PURE__*/ i("$ZodCatch", (e, t) => { 2395 M.init(e, t), e._zod.optin = "optional", b(e._zod, "optout", () => t.innerType._zod.optout), b(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => { 2396 if (n.direction === "backward") return t.innerType._zod.run(e, n); 2397 let r = t.innerType._zod.run(e, n); 2398 return r instanceof Promise ? r.then((r) => (e.value = r.value, r.issues.length && (e.value = t.catchValue(h(h({}, e), {}, { 2399 error: { issues: r.issues.map((e) => O(e, n, l())) },
2400 input: e.value 2401 })), e.issues = [], e.fallback = !0), e)) : (e.value = r.value, r.issues.length && (e.value = t.catchValue(h(h({}, e), {}, { 2402 error: { issues: r.issues.map((e) => O(e, n, l())) }, 2403 input: e.value 2404 })), e.issues = [], e.fallback = !0), e); 2405 }; 2406}), Vi = /*@__PURE__*/ i("$ZodNaN", (e, t) => { 2407 M.init(e, t), e._zod.parse = (t, n) => ((typeof t.value != "number" || !Number.isNaN(t.value)) && t.issues.push({ 2408 input: t.value, 2409 inst: e, 2410 expected: "nan", 2411 code: "invalid_type" 2412 }), t); 2413}), Hi = /*@__PURE__*/ i("$ZodPipe", (e, t) => { 2414 M.init(e, t), b(e._zod, "values", () => t.in._zod.values), b(e._zod, "optin", () => t.in._zod.optin), b(e._zod, "optout", () => t.out._zod.optout), b(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (e, n) => { 2415 if (n.direction === "backward") { 2416 let r = t.out._zod.run(e, n); 2417 return r instanceof Promise ? r.then((e) => Ui(e, t.in, n)) : Ui(r, t.in, n); 2418 } 2419 let r = t.in._zod.run(e, n); 2420 return r instanceof Promise ? r.then((e) => Ui(e, t.out, n)) : Ui(r, t.out, n); 2421 }; 2422}); 2423function Ui(e, t, n) { 2424 return e.issues.length ? (e.aborted = !0, e) : t._zod.run({ 2425 value: e.value, 2426 issues: e.issues, 2427 fallback: e.fallback 2428 }, n); 2429} 2430var Wi = /*@__PURE__*/ i("$ZodCodec", (e, t) => { 2431 M.init(e, t), b(e._zod, "values", () => t.in._zod.values), b(e._zod, "optin", () => t.in._zod.optin), b(e._zod, "optout", () => t.out._zod.optout), b(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (e, n) => { 2432 if ((n.direction || "forward") === "forward") { 2433 let r = t.in._zod.run(e, n); 2434 return r instanceof Promise ? r.then((e) => Gi(e, t, n)) : Gi(r, t, n); 2435 } 2436 { 2437 let r = t.out._zod.run(e, n); 2438 return r instanceof Promise ? r.then((e) => Gi(e, t, n)) : Gi(r, t, n); 2439 } 2440 }; 2441}); 2442function Gi(e, t, n) { 2443 if (e.issues.length) return e.aborted = !0, e; 2444 if ((n.direction || "forward") === "forward") { 2445 let r = t.transform(e.value, e); 2446 return r instanceof Promise ? r.then((r) => Ki(e, r, t.out, n)) : Ki(e, r, t.out, n); 2447 } 2448 { 2449 let r = t.reverseTransform(e.value, e); 2450 return r instanceof Promise ? r.then((r) => Ki(e, r, t.in, n)) : Ki(e, r, t.in, n); 2451 } 2452} 2453function Ki(e, t, n, r) { 2454 return e.issues.length ? (e.aborted = !0, e) : n._zod.run({ 2455 value: t, 2456 issues: e.issues 2457 }, r); 2458} 2459var qi = /*@__PURE__*/ i("$ZodPreprocess", (e, t) => { 2460 Hi.init(e, t); 2461}), Ji = /*@__PURE__*/ i("$ZodReadonly", (e, t) => { 2462 M.init(e, t), b(e._zod, "propValues", () => t.innerType._zod.propValues), b(e._zod, "values", () => t.innerType._zod.values), b(e._zod, "optin", () => { 2463 var e; 2464 return (e = t.innerType) == null || (e = e._zod) == null ? void 0 : e.optin; 2465 }), b(e._zod, "optout", () => { 2466 var e; 2467 return (e = t.innerType) == null || (e = e._zod) == null ? void 0 : e.optout; 2468 }), e._zod.parse = (e, n) => { 2469 if (n.direction === "backward") return t.innerType._zod.run(e, n); 2470 let r = t.innerType._zod.run(e, n); 2471 return r instanceof Promise ? r.then(Yi) : Yi(r); 2472 }; 2473}); 2474function Yi(e) { 2475 return e.value = Object.freeze(e.value), e; 2476} 2477var Xi = /*@__PURE__*/ i("$ZodTemplateLiteral", (e, t) => { 2478 M.init(e, t); 2479 let n = []; 2480 for (let e of t.parts) if (typeof e == "object" && e) { 2481 if (!e._zod.pattern) throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`); 2482 let t = e._zod.pattern instanceof RegExp ? e._zod.pattern.source : e._zod.pattern; 2483 if (!t) throw Error(`Invalid template literal part: ${e._zod.traits}`); 2484 let r = +!!t.startsWith("^"), i = t.endsWith("$") ? t.length - 1 : t.length; 2485 n.push(t.slice(r, i)); 2486 } else if (e === null || Oe.has(typeof e)) n.push(C(`${e}`)); 2487 else throw Error(`Invalid template literal part: ${e}`); 2488 e._zod.pattern = RegExp(`^${n.join("")}$`), e._zod.parse = (n, r) => { 2489 if (typeof n.value != "string") return n.issues.push({ 2490 input: n.value, 2491 inst: e, 2492 expected: "string", 2493 code: "invalid_type" 2494 }), n; 2495 if (e._zod.pattern.lastIndex = 0, !e._zod.pattern.test(n.value)) { 2496 var i; 2497 return n.issues.push({ 2498 input: n.value, 2499 inst: e, 2500 code: "invalid_format", 2501 format: (i = t.format) == null ? "template_literal" : i, 2502 pattern: e._zod.pattern.source 2503 }), n; 2504 } 2505 return n; 2506 }; 2507}), Zi = /*@__PURE__*/ i("$ZodFunction", (e, t) => (M.init(e, t), e._def = t, e._zod.def = t, e.implement = (t) => { 2508 if (typeof t != "function") throw Error("implement() must be called with a function"); 2509 return function(...n) { 2510 let r = e._def.input ? ct(e._def.input, n) : n, i = Reflect.apply(t, this, r); 2511 return e._def.output ? ct(e._def.output, i) : i; 2512 }; 2513}, e.implementAsync = (t) => { 2514 if (typeof t != "function") throw Error("implementAsync() must be called with a function"); 2515 return async function(...n) { 2516 let r = e._def.input ? await ut(e._def.input, n) : n, i = await Reflect.apply(t, this, r); 2517 return e._def.output ? await ut(e._def.output, i) : i; 2518 }; 2519}, e._zod.parse = (t, n) => typeof t.value == "function" ? (t.value = e._def.output && e._def.output._zod.def.type === "promise" ? e.implementAsync(t.value) : e.implement(t.value), t) : (t.issues.push({
2520 code: "invalid_type", 2521 expected: "function", 2522 input: t.value, 2523 inst: e 2524}), t), e.input = (...t) => { 2525 let n = e.constructor; 2526 return Array.isArray(t[0]) ? new n({ 2527 type: "function", 2528 input: new _i({ 2529 type: "tuple", 2530 items: t[0], 2531 rest: t[1] 2532 }), 2533 output: e._def.output 2534 }) : new n({ 2535 type: "function", 2536 input: t[0], 2537 output: e._def.output 2538 }); 2539}, e.output = (t) => { 2540 let n = e.constructor; 2541 return new n({ 2542 type: "function", 2543 input: e._def.input, 2544 output: t 2545 }); 2546}, e)), Qi = /*@__PURE__*/ i("$ZodPromise", (e, t) => { 2547 M.init(e, t), e._zod.parse = (e, n) => Promise.resolve(e.value).then((e) => t.innerType._zod.run({ 2548 value: e, 2549 issues: [] 2550 }, n)); 2551}), $i = /*@__PURE__*/ i("$ZodLazy", (e, t) => { 2552 M.init(e, t), b(e._zod, "innerType", () => { 2553 let e = t; 2554 return e._cachedInner || (e._cachedInner = t.getter()), e._cachedInner; 2555 }), b(e._zod, "pattern", () => { 2556 var t; 2557 return (t = e._zod.innerType) == null || (t = t._zod) == null ? void 0 : t.pattern; 2558 }), b(e._zod, "propValues", () => { 2559 var t; 2560 return (t = e._zod.innerType) == null || (t = t._zod) == null ? void 0 : t.propValues; 2561 }), b(e._zod, "optin", () => { 2562 var t, n; 2563 return (t = (n = e._zod.innerType) == null || (n = n._zod) == null ? void 0 : n.optin) == null ? void 0 : t; 2564 }), b(e._zod, "optout", () => { 2565 var t, n; 2566 return (t = (n = e._zod.innerType) == null || (n = n._zod) == null ? void 0 : n.optout) == null ? void 0 : t; 2567 }), e._zod.parse = (t, n) => e._zod.innerType._zod.run(t, n); 2568}), ea = /*@__PURE__*/ i("$ZodCustom", (e, t) => { 2569 j.init(e, t), M.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => { 2570 let r = n.value, i = t.fn(r); 2571 if (i instanceof Promise) return i.then((t) => ta(t, n, r, e)); 2572 ta(i, n, r, e); 2573 }; 2574}); 2575function ta(e, t, n, r) { 2576 if (!e) { 2577 var i; 2578 let e = { 2579 code: "custom", 2580 input: n, 2581 inst: r, 2582 path: [...(i = r._zod.def.path) == null ? [] : i], 2583 continue: !r._zod.def.abort 2584 }; 2585 r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(Ge(e)); 2586 } 2587} 2588//#endregion 2589//#region ../node_modules/zod/v4/locales/ar.js 2590var na = () => { 2591 let e = { 2592 string: { 2593 unit: "ØØ±Ù", 2594 verb: "Ø£Ù ÙØÙÙ" 2595 }, 2596 file: { 2597 unit: "Ø¨Ø§ÙØª", 2598 verb: "Ø£Ù ÙØÙÙ" 2599 }, 2600 array: { 2601 unit: "Ø¹ÙØµØ±", 2602 verb: "Ø£Ù ÙØÙÙ" 2603 }, 2604 set: { 2605 unit: "Ø¹ÙØµØ±", 2606 verb: "Ø£Ù ÙØÙÙ" 2607 } 2608 }; 2609 function t(t) { 2610 var n; 2611 return (n = e[t]) == null ? null : n; 2612 } 2613 let n = { 2614 regex: "٠دخÙ", 2615 email: "Ø¨Ø±ÙØ¯ Ø¥ÙÙØªØ±ÙÙÙ", 2616 url: "رابط", 2617 emoji: "Ø¥ÙÙ ÙØ¬Ù", 2618 uuid: "UUID", 2619 uuidv4: "UUIDv4", 2620 uuidv6: "UUIDv6", 2621 nanoid: "nanoid", 2622 guid: "GUID", 2623 cuid: "cuid", 2624 cuid2: "cuid2", 2625 ulid: "ULID", 2626 xid: "XID", 2627 ksuid: "KSUID", 2628 datetime: "ØªØ§Ø±ÙØ® ÙÙÙØª Ø¨Ù Ø¹ÙØ§Ø± ISO", 2629 date: "ØªØ§Ø±ÙØ® Ø¨Ù Ø¹ÙØ§Ø± ISO", 2630 time: "ÙÙØª Ø¨Ù Ø¹ÙØ§Ø± ISO", 2631 duration: "٠دة Ø¨Ù Ø¹ÙØ§Ø± ISO", 2632 ipv4: "عÙÙØ§Ù IPv4", 2633 ipv6: "عÙÙØ§Ù IPv6", 2634 cidrv4: "Ù Ø¯Ù Ø¹ÙØ§ÙÙÙ Ø¨ØµÙØºØ© IPv4", 2635 cidrv6: "Ù Ø¯Ù Ø¹ÙØ§ÙÙÙ Ø¨ØµÙØºØ© IPv6", 2636 base64: "ÙÙØµ Ø¨ØªØ±Ù ÙØ² base64-encoded", 2637 base64url: "ÙÙØµ Ø¨ØªØ±Ù ÙØ² base64url-encoded", 2638 json_string: "ÙÙØµ عÙÙ ÙÙØ¦Ø© JSON", 2639 e164: "رÙÙ ÙØ§ØªÙ Ø¨Ù Ø¹ÙØ§Ø± E.164", 2640 jwt: "JWT", 2641 template_literal: "٠دخÙ" 2642 }, r = { nan: "NaN" }; 2643 return (e) => { 2644 switch (e.code) { 2645 case "invalid_type": { 2646 var i, a; 2647 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 2648 return /^[A-Z]/.test(e.expected) ? `Ù Ø¯Ø®ÙØ§Øª ØºÙØ± Ù ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠instanceof ${e.expected}Ø ÙÙÙ٠ت٠إدخا٠${o}` : `Ù Ø¯Ø®ÙØ§Øª ØºÙØ± Ù ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠${t}Ø ÙÙÙ٠ت٠إدخا٠${o}`; 2649 } 2650 case "invalid_value": return e.values.length === 1 ? `Ù Ø¯Ø®ÙØ§Øª ØºÙØ± Ù ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠${E(e.values[0])}` : `Ø§Ø®ØªÙØ§Ø± ØºÙØ± Ù ÙØ¨ÙÙ: ÙØªÙÙØ¹ Ø§ÙØªÙاء Ø£ØØ¯ ÙØ°Ù Ø§ÙØ®Ùارات: ${_(e.values, "|")}`; 2651 case "too_big": { 2652 var o, s, c; 2653 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 2654 return r ? ` Ø£ÙØ¨Ø± ٠٠اÙÙØ§Ø²Ù : ÙÙØªØ±Ø¶ أ٠تÙÙÙ ${(o = e.origin) == null ? "اÙÙÙÙ Ø©" : o} ${n} ${e.maximum.toString()} ${(s = r.unit) == null ? "Ø¹ÙØµØ±" : s}` : `Ø£ÙØ¨Ø± ٠٠اÙÙØ§Ø²Ù : ÙÙØªØ±Ø¶ أ٠تÙÙÙ ${(c = e.origin) == null ? "اÙÙÙÙ Ø©" : c} ${n} ${e.maximum.toString()}`; 2655 } 2656 case "too_small": { 2657 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 2658 return r ? `أصغر ٠٠اÙÙØ§Ø²Ù : ÙÙØªØ±Ø¶ ÙÙ ${e.origin} Ø£Ù ÙÙÙÙ ${n} ${e.minimum.toString()} ${r.unit}` : `أصغر ٠٠اÙÙØ§Ø²Ù : ÙÙØªØ±Ø¶ ÙÙ ${e.origin} Ø£Ù ÙÙÙÙ ${n} ${e.minimum.toString()}`; 2659 } 2660 case "invalid_format": { 2661 var l; 2662 let t = e; 2663 return t.format === "starts_with" ? `ÙÙØµ ØºÙØ± Ù ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØ¨Ø¯Ø£ ب٠"${e.prefix}"` : t.format === "ends_with" ? `ÙÙØµ ØºÙØ± Ù ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙÙØªÙ٠ب٠"${t.suffix}"` : t.format === "includes" ? `ÙÙØµ ØºÙØ± Ù ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØªØ¶Ù ÙÙÙ "${t.includes}"` : t.format === "regex" ? `ÙÙØµ ØºÙØ± Ù ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØ·Ø§Ø¨Ù اÙÙÙ Ø· ${t.pattern}` : `${(l = n[t.format]) == null ? e.format : l} ØºÙØ± Ù ÙØ¨ÙÙ`; 2664 } 2665 case "not_multiple_of": return `رÙÙ ØºÙØ± Ù ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ Ù Ù Ù Ø¶Ø§Ø¹ÙØ§Øª ${e.divisor}`; 2666 case "unrecognized_keys": return `٠عرÙ${e.keys.length > 1 ? "ات" : ""} ØºØ±ÙØ¨${e.keys.length > 1 ? "Ø©" : ""}: ${_(e.keys, "Ø ")}`; 2667 case "invalid_key": return `Ù Ø¹Ø±Ù ØºÙØ± Ù ÙØ¨ÙÙ ÙÙ ${e.origin}`; 2668 case "invalid_union": return "Ù Ø¯Ø®Ù ØºÙØ± Ù ÙØ¨ÙÙ"; 2669 case "invalid_element": return `Ù Ø¯Ø®Ù ØºÙØ± Ù ÙØ¨ÙÙ ÙÙ ${e.origin}`; 2670 default: return "Ù Ø¯Ø®Ù ØºÙØ± Ù ÙØ¨ÙÙ"; 2671 } 2672 }; 2673}; 2674function ra() { 2675 return { localeError: na() }; 2676} 2677//#endregion 2678//#region ../node_modules/zod/v4/locales/az.js 2679var ia = () => { 2680 let e = { 2681 string: { 2682 unit: "simvol", 2683 verb: "olmalıdır" 2684 }, 2685 file: { 2686 unit: "bayt", 2687 verb: "olmalıdır" 2688 }, 2689 array: { 2690 unit: "element", 2691 verb: "olmalıdır" 2692 }, 2693 set: { 2694 unit: "element", 2695 verb: "olmalıdır" 2696 } 2697 }; 2698 function t(t) { 2699 var n; 2700 return (n = e[t]) == null ? null : n; 2701 } 2702 let n = { 2703 regex: "input", 2704 email: "email address", 2705 url: "URL", 2706 emoji: "emoji", 2707 uuid: "UUID", 2708 uuidv4: "UUIDv4", 2709 uuidv6: "UUIDv6", 2710 nanoid: "nanoid", 2711 guid: "GUID", 2712 cuid: "cuid", 2713 cuid2: "cuid2", 2714 ulid: "ULID", 2715 xid: "XID", 2716 ksuid: "KSUID", 2717 datetime: "ISO datetime", 2718 date: "ISO date", 2719 time: "ISO time", 2720 duration: "ISO duration", 2721 ipv4: "IPv4 address", 2722 ipv6: "IPv6 address", 2723 cidrv4: "IPv4 range", 2724 cidrv6: "IPv6 range", 2725 base64: "base64-encoded string", 2726 base64url: "base64url-encoded string", 2727 json_string: "JSON string", 2728 e164: "E.164 number", 2729 jwt: "JWT", 2730 template_literal: "input" 2731 }, r = { nan: "NaN" }; 2732 return (e) => { 2733 switch (e.code) { 2734 case "invalid_type": { 2735 var i, a; 2736 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 2737 return /^[A-Z]/.test(e.expected) ? `YanlıŠdÉyÉr: gözlÉnilÉn instanceof ${e.expected}, daxil olan ${o}` : `YanlıŠdÉyÉr: gözlÉnilÉn ${t}, daxil olan ${o}`; 2738 } 2739 case "invalid_value": return e.values.length === 1 ? `YanlıŠdÉyÉr: gözlÉnilÉn ${E(e.values[0])}` : `YanlıŠseçim: aÅaÄıdakılardan biri olmalıdır: ${_(e.values, "|")}`; 2740 case "too_big": { 2741 var o, s, c; 2742 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 2743 return r ? `Ãox böyük: gözlÉnilÉn ${(o = e.origin) == null ? "dÉyÉr" : o} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "element" : s}` : `Ãox böyük: gözlÉnilÉn ${(c = e.origin) == null ? "dÉyÉr" : c} ${n}${e.maximum.toString()}`; 2744 } 2745 case "too_small": { 2746 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 2747 return r ? `Ãox kiçik: gözlÉnilÉn ${e.origin} ${n}${e.minimum.toString()} ${r.unit}` : `Ãox kiçik: gözlÉnilÉn ${e.origin} ${n}${e.minimum.toString()}`; 2748 } 2749 case "invalid_format": { 2750 var l; 2751 let t = e; 2752 return t.format === "starts_with" ? `YanlıŠmÉtn: "${t.prefix}" ilÉ baÅlamalıdır` : t.format === "ends_with" ? `YanlıŠmÉtn: "${t.suffix}" ilÉ bitmÉlidir` : t.format === "includes" ? `YanlıŠmÉtn: "${t.includes}" daxil olmalıdır` : t.format === "regex" ? `YanlıŠmÉtn: ${t.pattern} Åablonuna uyÄun olmalıdır` : `YanlıŠ${(l = n[t.format]) == null ? e.format : l}`; 2753 } 2754 case "not_multiple_of": return `YanlıŠÉdÉd: ${e.divisor} ilÉ bölünÉ bilÉn olmalıdır`; 2755 case "unrecognized_keys": return `Tanınmayan açar${e.keys.length > 1 ? "lar" : ""}: ${_(e.keys, ", ")}`; 2756 case "invalid_key": return `${e.origin} daxilindÉ yanlıŠaçar`; 2757 case "invalid_union": return "YanlıŠdÉyÉr"; 2758 case "invalid_element": return `${e.origin} daxilindÉ yanlıŠdÉyÉr`; 2759 default: return "YanlıŠdÉyÉr"; 2760 } 2761 }; 2762}; 2763function aa() { 2764 return { localeError: ia() }; 2765} 2766//#endregion 2767//#region ../node_modules/zod/v4/locales/be.js 2768function oa(e, t, n, r) { 2769 let i = Math.abs(e), a = i % 10, o = i % 100; 2770 return o >= 11 && o <= 19 ? r : a === 1 ? t : a >= 2 && a <= 4 ? n : r; 2771} 2772var sa = () => { 2773 let e = { 2774 string: { 2775 unit: { 2776 one: "ÑÑмвал", 2777 few: "ÑÑмвалÑ", 2778 many: "ÑÑмвалаÑ" 2779 }, 2780 verb: "меÑÑ" 2781 }, 2782 array: { 2783 unit: { 2784 one: "ÑлеменÑ", 2785 few: "ÑлеменÑÑ", 2786 many: "ÑлеменÑаÑ" 2787 }, 2788 verb: "меÑÑ" 2789 }, 2790 set: { 2791 unit: { 2792 one: "ÑлеменÑ", 2793 few: "ÑлеменÑÑ", 2794 many: "ÑлеменÑаÑ" 2795 }, 2796 verb: "меÑÑ" 2797 }, 2798 file: { 2799 unit: { 2800 one: "байÑ", 2801 few: "байÑÑ", 2802 many: "байÑаÑ" 2803 }, 2804 verb: "меÑÑ" 2805 } 2806 }; 2807 function t(t) { 2808 var n; 2809 return (n = e[t]) == null ? null : n; 2810 } 2811 let n = { 2812 regex: "Ñвод", 2813 email: "email адÑаÑ", 2814 url: "URL", 2815 emoji: "ÑмодзÑ", 2816 uuid: "UUID", 2817 uuidv4: "UUIDv4", 2818 uuidv6: "UUIDv6", 2819 nanoid: "nanoid", 2820 guid: "GUID", 2821 cuid: "cuid", 2822 cuid2: "cuid2", 2823 ulid: "ULID", 2824 xid: "XID", 2825 ksuid: "KSUID", 2826 datetime: "ISO даÑа Ñ ÑаÑ", 2827 date: "ISO даÑа", 2828 time: "ISO ÑаÑ", 2829 duration: "ISO пÑаÑÑглаÑÑÑ", 2830 ipv4: "IPv4 адÑаÑ", 2831 ipv6: "IPv6 адÑаÑ", 2832 cidrv4: "IPv4 дÑÑпазон", 2833 cidrv6: "IPv6 дÑÑпазон", 2834 base64: "Ñадок Ñ ÑаÑмаÑе base64", 2835 base64url: "Ñадок Ñ ÑаÑмаÑе base64url", 2836 json_string: "JSON Ñадок", 2837 e164: "нÑÐ¼Ð°Ñ E.164", 2838 jwt: "JWT", 2839 template_literal: "Ñвод" 2840 }, r = { 2841 nan: "NaN", 2842 number: "лÑк", 2843 array: "маÑÑÑ" 2844 }; 2845 return (e) => { 2846 switch (e.code) { 2847 case "invalid_type": { 2848 var i, a; 2849 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 2850 return /^[A-Z]/.test(e.expected) ? `ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакаÑÑÑ instanceof ${e.expected}, аÑÑÑмана ${o}` : `ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакаÑÑÑ ${t}, аÑÑÑмана ${o}`; 2851 } 2852 case "invalid_value": return e.values.length === 1 ? `ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакалаÑÑ ${E(e.values[0])}` : `ÐÑпÑавÑлÑÐ½Ñ Ð²Ð°ÑÑÑнÑ: ÑакаÑÑÑ Ð°Ð´Ð·Ñн з ${_(e.values, "|")}`; 2853 case "too_big": { 2854 var o; 2855 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 2856 if (r) { 2857 var s; 2858 let t = oa(Number(e.maximum), r.unit.one, r.unit.few, r.unit.many); 2859 return `ÐанадÑа вÑлÑкÑ: ÑакалаÑÑ, ÑÑо ${(s = e.origin) == null ? "знаÑÑнне" : s} павÑнна ${r.verb} ${n}${e.maximum.toString()} ${t}`; 2860 } 2861 return `ÐанадÑа вÑлÑкÑ: ÑакалаÑÑ, ÑÑо ${(o = e.origin) == null ? "знаÑÑнне" : o} павÑнна бÑÑÑ ${n}${e.maximum.toString()}`; 2862 } 2863 case "too_small": { 2864 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 2865 if (r) { 2866 let t = oa(Number(e.minimum), r.unit.one, r.unit.few, r.unit.many); 2867 return `ÐанадÑа малÑ: ÑакалаÑÑ, ÑÑо ${e.origin} павÑнна ${r.verb} ${n}${e.minimum.toString()} ${t}`; 2868 } 2869 return `ÐанадÑа малÑ: ÑакалаÑÑ, ÑÑо ${e.origin} павÑнна бÑÑÑ ${n}${e.minimum.toString()}`; 2870 } 2871 case "invalid_format": { 2872 var c; 2873 let t = e; 2874 return t.format === "starts_with" ? `ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен паÑÑнаÑÑа з "${t.prefix}"` : t.format === "ends_with" ? `ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен заканÑваÑÑа на "${t.suffix}"` : t.format === "includes" ? `ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен змÑÑÑаÑÑ "${t.includes}"` : t.format === "regex" ? `ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен адпавÑдаÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${t.pattern}` : `ÐÑпÑавÑлÑÐ½Ñ ${(c = n[t.format]) == null ? e.format : c}`; 2875 } 2876 case "not_multiple_of": return `ÐÑпÑавÑлÑÐ½Ñ Ð»Ñк: павÑнен бÑÑÑ ÐºÑаÑнÑм ${e.divisor}`; 2877 case "unrecognized_keys": return `ÐеÑаÑÐ¿Ð°Ð·Ð½Ð°Ð½Ñ ${e.keys.length > 1 ? "клÑÑÑ" : "клÑÑ"}: ${_(e.keys, ", ")}`; 2878 case "invalid_key": return `ÐÑпÑавÑлÑÐ½Ñ ÐºÐ»ÑÑ Ñ ${e.origin}`; 2879 case "invalid_union": return "ÐÑпÑавÑлÑÐ½Ñ Ñвод"; 2880 case "invalid_element": return `ÐÑпÑавÑлÑнае знаÑÑнне Ñ ${e.origin}`; 2881 default: return "ÐÑпÑавÑлÑÐ½Ñ Ñвод"; 2882 } 2883 }; 2884}; 2885function ca() { 2886 return { localeError: sa() }; 2887} 2888//#endregion 2889//#region ../node_modules/zod/v4/locales/bg.js 2890var la = () => { 2891 let e = { 2892 string: { 2893 unit: "Ñимвола", 2894 verb: "да ÑÑдÑÑжа" 2895 }, 2896 file: { 2897 unit: "байÑа", 2898 verb: "да ÑÑдÑÑжа" 2899 }, 2900 array: { 2901 unit: "елеменÑа", 2902 verb: "да ÑÑдÑÑжа" 2903 }, 2904 set: { 2905 unit: "елеменÑа", 2906 verb: "да ÑÑдÑÑжа" 2907 } 2908 }; 2909 function t(t) { 2910 var n; 2911 return (n = e[t]) == null ? null : n; 2912 } 2913 let n = { 2914 regex: "Ð²Ñ Ð¾Ð´", 2915 email: "имейл адÑеÑ", 2916 url: "URL", 2917 emoji: "емоджи", 2918 uuid: "UUID", 2919 uuidv4: "UUIDv4", 2920 uuidv6: "UUIDv6", 2921 nanoid: "nanoid", 2922 guid: "GUID", 2923 cuid: "cuid", 2924 cuid2: "cuid2", 2925 ulid: "ULID", 2926 xid: "XID", 2927 ksuid: "KSUID", 2928 datetime: "ISO вÑеме", 2929 date: "ISO даÑа", 2930 time: "ISO вÑеме", 2931 duration: "ISO пÑодÑлжиÑелноÑÑ", 2932 ipv4: "IPv4 адÑеÑ", 2933 ipv6: "IPv6 адÑеÑ", 2934 cidrv4: "IPv4 диапазон", 2935 cidrv6: "IPv6 диапазон", 2936 base64: "base64-кодиÑан низ", 2937 base64url: "base64url-кодиÑан низ", 2938 json_string: "JSON низ", 2939 e164: "E.164 номеÑ", 2940 jwt: "JWT", 2941 template_literal: "Ð²Ñ Ð¾Ð´" 2942 }, r = { 2943 nan: "NaN", 2944 number: "ÑиÑло", 2945 array: "маÑив" 2946 }; 2947 return (e) => { 2948 switch (e.code) { 2949 case "invalid_type": { 2950 var i, a; 2951 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 2952 return /^[A-Z]/.test(e.expected) ? `Ðевалиден Ð²Ñ Ð¾Ð´: оÑакван instanceof ${e.expected}, полÑÑен ${o}` : `Ðевалиден Ð²Ñ Ð¾Ð´: оÑакван ${t}, полÑÑен ${o}`; 2953 } 2954 case "invalid_value": return e.values.length === 1 ? `Ðевалиден Ð²Ñ Ð¾Ð´: оÑакван ${E(e.values[0])}` : `Ðевалидна опÑиÑ: оÑаквано едно Ð¾Ñ ${_(e.values, "|")}`; 2955 case "too_big": { 2956 var o, s, c; 2957 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 2958 return r ? `ТвÑÑде голÑмо: оÑаква Ñе ${(o = e.origin) == null ? "ÑÑойноÑÑ" : o} да ÑÑдÑÑжа ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "елеменÑа" : s}` : `ТвÑÑде голÑмо: оÑаква Ñе ${(c = e.origin) == null ? "ÑÑойноÑÑ" : c} да бÑде ${n}${e.maximum.toString()}`; 2959 } 2960 case "too_small": { 2961 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 2962 return r ? `ТвÑÑде малко: оÑаква Ñе ${e.origin} да ÑÑдÑÑжа ${n}${e.minimum.toString()} ${r.unit}` : `ТвÑÑде малко: оÑаква Ñе ${e.origin} да бÑде ${n}${e.minimum.toString()}`; 2963 } 2964 case "invalid_format": { 2965 var l; 2966 let t = e; 2967 if (t.format === "starts_with") return `Ðевалиден низ: ÑÑÑбва да запоÑва Ñ "${t.prefix}"`; 2968 if (t.format === "ends_with") return `Ðевалиден низ: ÑÑÑбва да завÑÑÑва Ñ "${
2968t.suffix}"`; 2969 if (t.format === "includes") return `Ðевалиден низ: ÑÑÑбва да вклÑÑва "${t.includes}"`; 2970 if (t.format === "regex") return `Ðевалиден низ: ÑÑÑбва да ÑÑвпада Ñ ${t.pattern}`; 2971 let r = "Ðевалиден"; 2972 return t.format === "emoji" && (r = "Ðевалидно"), t.format === "datetime" && (r = "Ðевалидно"), t.format === "date" && (r = "Ðевалидна"), t.format === "time" && (r = "Ðевалидно"), t.format === "duration" && (r = "Ðевалидна"), `${r} ${(l = n[t.format]) == null ? e.format : l}`; 2973 } 2974 case "not_multiple_of": return `Ðевалидно ÑиÑло: ÑÑÑбва да бÑде кÑаÑно на ${e.divisor}`; 2975 case "unrecognized_keys": return `ÐеÑазпознаÑ${e.keys.length > 1 ? "и" : ""} клÑÑ${e.keys.length > 1 ? "ове" : ""}: ${_(e.keys, ", ")}`; 2976 case "invalid_key": return `Ðевалиден клÑÑ Ð² ${e.origin}`; 2977 case "invalid_union": return "Ðевалиден Ð²Ñ Ð¾Ð´"; 2978 case "invalid_element": return `Ðевалидна ÑÑойноÑÑ Ð² ${e.origin}`; 2979 default: return "Ðевалиден Ð²Ñ Ð¾Ð´"; 2980 } 2981 }; 2982}; 2983function ua() { 2984 return { localeError: la() }; 2985} 2986//#endregion 2987//#region ../node_modules/zod/v4/locales/ca.js 2988var da = () => { 2989 let e = { 2990 string: { 2991 unit: "carà cters", 2992 verb: "contenir" 2993 }, 2994 file: { 2995 unit: "bytes", 2996 verb: "contenir" 2997 }, 2998 array: { 2999 unit: "elements", 3000 verb: "contenir" 3001 }, 3002 set: { 3003 unit: "elements", 3004 verb: "contenir" 3005 } 3006 }; 3007 function t(t) { 3008 var n; 3009 return (n = e[t]) == null ? null : n; 3010 } 3011 let n = { 3012 regex: "entrada", 3013 email: "adreça electrònica", 3014 url: "URL", 3015 emoji: "emoji", 3016 uuid: "UUID", 3017 uuidv4: "UUIDv4", 3018 uuidv6: "UUIDv6", 3019 nanoid: "nanoid", 3020 guid: "GUID", 3021 cuid: "cuid", 3022 cuid2: "cuid2", 3023 ulid: "ULID", 3024 xid: "XID", 3025 ksuid: "KSUID", 3026 datetime: "data i hora ISO", 3027 date: "data ISO", 3028 time: "hora ISO", 3029 duration: "durada ISO", 3030 ipv4: "adreça IPv4", 3031 ipv6: "adreça IPv6", 3032 cidrv4: "rang IPv4", 3033 cidrv6: "rang IPv6", 3034 base64: "cadena codificada en base64", 3035 base64url: "cadena codificada en base64url", 3036 json_string: "cadena JSON", 3037 e164: "número E.164", 3038 jwt: "JWT", 3039 template_literal: "entrada" 3040 }, r = { nan: "NaN" }; 3041 return (e) => { 3042 switch (e.code) { 3043 case "invalid_type": { 3044 var i, a; 3045 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3046 return /^[A-Z]/.test(e.expected) ? `Tipus invà lid: s'esperava instanceof ${e.expected}, s'ha rebut ${o}` : `Tipus invà lid: s'esperava ${t}, s'ha rebut ${o}`; 3047 } 3048 case "invalid_value": return e.values.length === 1 ? `Valor invà lid: s'esperava ${E(e.values[0])}` : `Opció invà lida: s'esperava una de ${_(e.values, " o ")}`; 3049 case "too_big": { 3050 var o, s, c; 3051 let n = e.inclusive ? "com a mà xim" : "menys de", r = t(e.origin); 3052 return r ? `Massa gran: s'esperava que ${(o = e.origin) == null ? "el valor" : o} contingués ${n} ${e.maximum.toString()} ${(s = r.unit) == null ? "elements" : s}` : `Massa gran: s'esperava que ${(c = e.origin) == null ? "el valor" : c} fos ${n} ${e.maximum.toString()}`; 3053 } 3054 case "too_small": { 3055 let n = e.inclusive ? "com a mÃnim" : "més de", r = t(e.origin); 3056 return r ? `Massa petit: s'esperava que ${e.origin} contingués ${n} ${e.minimum.toString()} ${r.unit}` : `Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`; 3057 } 3058 case "invalid_format": { 3059 var l; 3060 let t = e; 3061 return t.format === "starts_with" ? `Format invà lid: ha de començar amb "${t.prefix}"` : t.format === "ends_with" ? `Format invà lid: ha d'acabar amb "${t.suffix}"` : t.format === "includes" ? `Format invà lid: ha d'incloure "${t.includes}"` : t.format === "regex" ? `Format invà lid: ha de coincidir amb el patró ${t.pattern}` : `Format invà lid per a ${(l = n[t.format]) == null ? e.format : l}`; 3062 } 3063 case "not_multiple_of": return `Número invà lid: ha de ser múltiple de ${e.divisor}`; 3064 case "unrecognized_keys": return `Clau${e.keys.length > 1 ? "s" : ""} no reconeguda${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 3065 case "invalid_key": return `Clau invà lida a ${e.origin}`;
3066 case "invalid_union": return "Entrada invà lida"; 3067 case "invalid_element": return `Element invà lid a ${e.origin}`; 3068 default: return "Entrada invà lida"; 3069 } 3070 }; 3071}; 3072function fa() { 3073 return { localeError: da() }; 3074} 3075//#endregion 3076//#region ../node_modules/zod/v4/locales/cs.js 3077var pa = () => { 3078 let e = { 3079 string: { 3080 unit: "znaků", 3081 verb: "mÃt" 3082 }, 3083 file: { 3084 unit: "bajtů", 3085 verb: "mÃt" 3086 }, 3087 array: { 3088 unit: "prvků", 3089 verb: "mÃt" 3090 }, 3091 set: { 3092 unit: "prvků", 3093 verb: "mÃt" 3094 } 3095 }; 3096 function t(t) { 3097 var n; 3098 return (n = e[t]) == null ? null : n; 3099 } 3100 let n = { 3101 regex: "regulárnà výraz", 3102 email: "e-mailová adresa", 3103 url: "URL", 3104 emoji: "emoji", 3105 uuid: "UUID", 3106 uuidv4: "UUIDv4", 3107 uuidv6: "UUIDv6", 3108 nanoid: "nanoid", 3109 guid: "GUID", 3110 cuid: "cuid", 3111 cuid2: "cuid2", 3112 ulid: "ULID", 3113 xid: "XID", 3114 ksuid: "KSUID", 3115 datetime: "datum a Äas ve formátu ISO", 3116 date: "datum ve formátu ISO", 3117 time: "Äas ve formátu ISO", 3118 duration: "doba trvánà ISO", 3119 ipv4: "IPv4 adresa", 3120 ipv6: "IPv6 adresa", 3121 cidrv4: "rozsah IPv4", 3122 cidrv6: "rozsah IPv6", 3123 base64: "ÅetÄzec zakódovaný ve formátu base64", 3124 base64url: "ÅetÄzec zakódovaný ve formátu base64url", 3125 json_string: "ÅetÄzec ve formátu JSON", 3126 e164: "ÄÃslo E.164", 3127 jwt: "JWT", 3128 template_literal: "vstup" 3129 }, r = { 3130 nan: "NaN", 3131 number: "ÄÃslo", 3132 string: "ÅetÄzec", 3133 function: "funkce", 3134 array: "pole" 3135 }; 3136 return (e) => { 3137 switch (e.code) { 3138 case "invalid_type": { 3139 var i, a; 3140 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3141 return /^[A-Z]/.test(e.expected) ? `Neplatný vstup: oÄekáváno instanceof ${e.expected}, obdrženo ${o}` : `Neplatný vstup: oÄekáváno ${t}, obdrženo ${o}`; 3142 } 3143 case "invalid_value": return e.values.length === 1 ? `Neplatný vstup: oÄekáváno ${E(e.values[0])}` : `Neplatná možnost: oÄekávána jedna z hodnot ${_(e.values, "|")}`; 3144 case "too_big": { 3145 var o; 3146 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 3147 if (r) { 3148 var s, c; 3149 return `Hodnota je pÅÃliÅ¡ velká: ${(s = e.origin) == null ? "hodnota" : s} musà mÃt ${n}${e.maximum.toString()} ${(c = r.unit) == null ? "prvků" : c}`; 3150 } 3151 return `Hodnota je pÅÃliÅ¡ velká: ${(o = e.origin) == null ? "hodnota" : o} musà být ${n}${e.maximum.toString()}`; 3152 } 3153 case "too_small": { 3154 var l; 3155 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 3156 if (r) { 3157 var u, d; 3158 return `Hodnota je pÅÃliÅ¡ malá: ${(u = e.origin) == null ? "hodnota" : u} musà mÃt ${n}${e.minimum.toString()} ${(d = r.unit) == null ? "prvků" : d}`; 3159 } 3160 return `Hodnota je pÅÃliÅ¡ malá: ${(l = e.origin) == null ? "hodnota" : l} musà být ${n}${e.minimum.toString()}`; 3161 } 3162 case "invalid_format": { 3163 var f; 3164 let t = e; 3165 return t.format === "starts_with" ? `Neplatný ÅetÄzec: musà zaÄÃnat na "${t.prefix}"` : t.format === "ends_with" ? `Neplatný ÅetÄzec: musà konÄit na "${t.suffix}"` : t.format === "includes" ? `Neplatný ÅetÄzec: musà obsahovat "${t.includes}"` : t.format === "regex" ? `Neplatný ÅetÄzec: musà odpovÃdat vzoru ${t.pattern}` : `Neplatný formát ${(f = n[t.format]) == null ? e.format : f}`; 3166 } 3167 case "not_multiple_of": return `Neplatné ÄÃslo: musà být násobkem ${e.divisor}`; 3168 case "unrecognized_keys": return `Neznámé klÃÄe: ${_(e.keys, ", ")}`; 3169 case "invalid_key": return `Neplatný klÃÄ v ${e.origin}`; 3170 case "invalid_union": return "Neplatný vstup"; 3171 case "invalid_element": return `Neplatná hodnota v ${e.origin}`; 3172 default: return "Neplatný vstup"; 3173 } 3174 }; 3175}; 3176function ma() { 3177 return { localeError: pa() }; 3178} 3179//#endregion 3180//#region ../node_modules/zod/v4/locales/da.js 3181var ha = () => { 3182 let e = { 3183 string: { 3184 unit: "tegn", 3185 verb: "havde" 3186 }, 3187 file: { 3188 unit: "bytes", 3189 verb: "havde" 3190 }, 3191 array: { 3192 unit: "elementer", 3193 verb: "indeholdt" 3194 }, 3195 set: { 3196 unit: "elementer", 3197 verb: "indeholdt" 3198 } 3199 }; 3200 function t(t) { 3201 var n; 3202 return (n = e[t]) == null ? null : n; 3203 } 3204 let n = { 3205 regex: "input", 3206 email: "e-mailadresse", 3207 url: "URL", 3208 emoji: "emoji", 3209 uuid: "UUID", 3210 uuidv4: "UUIDv4", 3211 uuidv6: "UUIDv6", 3212 nanoid: "nanoid", 3213 guid: "GUID", 3214 cuid: "cuid", 3215 cuid2: "cuid2", 3216 ulid: "ULID", 3217 xid: "XID", 3218 ksuid: "KSUID", 3219 datetime: "ISO dato- og klokkeslæt", 3220 date: "ISO-dato", 3221 time: "ISO-klokkeslæt", 3222 duration: "ISO-varighed", 3223 ipv4: "IPv4-omrÃ¥de", 3224 ipv6: "IPv6-omrÃ¥de", 3225 cidrv4: "IPv4-spektrum", 3226 cidrv6: "IPv6-spektrum", 3227 base64: "base64-kodet streng", 3228 base64url: "base64url-kodet streng", 3229 json_string: "JSON-streng", 3230 e164: "E.164-nummer", 3231 jwt: "JWT", 3232 template_literal: "input" 3233 }, r = { 3234 nan: "NaN", 3235 string: "streng", 3236 number: "tal", 3237 boolean: "boolean", 3238 array: "liste", 3239 object: "objekt", 3240 set: "sæt", 3241 file: "fil" 3242 }; 3243 return (e) => { 3244 switch (e.code) { 3245 case "invalid_type": { 3246 var i, a; 3247 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3248 return /^[A-Z]/.test(e.expected) ? `Ugyldigt input: forventede instanceof ${e.expected}, fik ${o}` : `Ugyldigt input: forventede ${t}, fik ${o}`; 3249 } 3250 case "invalid_value": return e.values.length === 1 ? `Ugyldig værdi: forventede ${E(e.values[0])}` : `Ugyldigt valg: forventede en af følgende ${_(e.values, "|")}`; 3251 case "too_big": { 3252 var o, s; 3253 let n = e.inclusive ? "<=" : "<", i = t(e.origin), a = (o = r[e.origin]) == null ? e.origin : o; 3254 return i ? `For stor: forventede ${a == null ? "value" : a} ${i.verb} ${n} ${e.maximum.toString()} ${(s = i.unit) == null ? "elementer" : s}` : `For stor: forventede ${a == null ? "value" : a} havde ${n} ${e.maximum.toString()}`; 3255 } 3256 case "too_small": { 3257 var c; 3258 let n = e.inclusive ? ">=" : ">", i = t(e.origin), a = (c = r[e.origin]) == null ? e.origin : c; 3259 return i ? `For lille: forventede ${a} ${i.verb} ${n} ${e.minimum.toString()} ${i.unit}` : `For lille: forventede ${a} havde ${n} ${e.minimum.toString()}`; 3260 } 3261 case "invalid_format": { 3262 var l; 3263 let t = e; 3264 return t.format === "starts_with" ? `Ugyldig streng: skal starte med "${t.prefix}"` : t.format === "ends_with" ? `Ugyldig streng: skal ende med "${t.suffix}"` : t.format === "includes" ? `Ugyldig streng: skal indeholde "${t.includes}"` : t.format === "regex" ? `Ugyldig streng: skal matche mønsteret ${t.pattern}` : `Ugyldig ${(l = n[t.format]) == null ? e.format : l}`; 3265 } 3266 case "not_multiple_of": return `Ugyldigt tal: skal være deleligt med ${e.divisor}`; 3267 case "unrecognized_keys": return `${e.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${_(e.keys, ", ")}`; 3268 case "invalid_key": return `Ugyldig nøgle i ${e.origin}`; 3269 case "invalid_union": return "Ugyldigt input: matcher ingen af de tilladte typer"; 3270 case "invalid_element": return `Ugyldig værdi i ${e.origin}`; 3271 default: return "Ugyldigt input"; 3272 } 3273 }; 3274}; 3275function ga() { 3276 return { localeError: ha() }; 3277} 3278//#endregion 3279//#region ../node_modules/zod/v4/locales/de.js 3280var _a = () => { 3281 let e = { 3282 string: { 3283 unit: "Zeichen", 3284 verb: "zu haben" 3285 }, 3286 file: { 3287 unit: "Bytes", 3288 verb: "zu haben" 3289 }, 3290 array: { 3291 unit: "Elemente", 3292 verb: "zu haben" 3293 }, 3294 set: { 3295 unit: "Elemente", 3296 verb: "zu haben" 3297 } 3298 }; 3299 function t(t) { 3300 var n; 3301 return (n = e[t]) == null ? null : n; 3302 } 3303 let n = { 3304 regex: "Eingabe", 3305 email: "E-Mail-Adresse", 3306 url: "URL", 3307 emoji: "Emoji", 3308 uuid: "UUID", 3309 uuidv4: "UUIDv4", 3310 uuidv6: "UUIDv6", 3311 nanoid: "nanoid", 3312 guid: "GUID", 3313 cuid: "cuid", 3314 cuid2: "cuid2", 3315 ulid: "ULID", 3316 xid: "XID", 3317 ksuid: "KSUID", 3318 datetime: "ISO-Datum und -Uhrzeit", 3319 date: "ISO-Datum", 3320 time: "ISO-Uhrzeit", 3321 duration: "ISO-Dauer", 3322 ipv4: "IPv4-Adresse", 3323 ipv6: "IPv6-Adresse", 3324 cidrv4: "IPv4-Bereich", 3325 cidrv6: "IPv6-Bereich", 3326 base64: "Base64-codierter String", 3327 base64url: "Base64-URL-codierter String", 3328 json_string: "JSON-String", 3329 e164: "E.164-Nummer", 3330 jwt: "JWT", 3331 template_literal: "Eingabe" 3332 }, r = { 3333 nan: "NaN", 3334 number: "Zahl", 3335 array: "Array" 3336 }; 3337 return (e) => { 3338 switch (e.code) { 3339 case "invalid_type": { 3340 var i, a; 3341 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3342 return /^[A-Z]/.test(e.expected) ? `Ungültige Eingabe: erwartet instanceof ${e.expected}, erhalten ${o}` : `Ungültige Eingabe: erwartet ${t}, erhalten ${o}`; 3343 } 3344 case "invalid_value": return e.values.length === 1 ? `Ungültige Eingabe: erwartet ${E(e.values[0])}` : `Ungültige Option: erwartet eine von ${_(e.values, "|")}`; 3345 case "too_big": { 3346 var o, s, c; 3347 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 3348 return r ? `Zu groÃ: erwartet, dass ${(o = e.origin) == null ? "Wert" : o} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "Elemente" : s} hat` : `Zu groÃ: erwartet, dass ${(c = e.origin) == null ? "Wert" : c} ${n}${e.maximum.toString()} ist`; 3349 } 3350 case "too_small": { 3351 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 3352 return r ? `Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${r.unit} hat` : `Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`; 3353 } 3354 case "invalid_format": { 3355 var l; 3356 let t = e; 3357 return t.format === "starts_with" ? `Ungültiger String: muss mit "${t.prefix}" beginnen` : t.format === "ends_with" ? `Ungültiger String: muss mit "${t.suffix}" enden` : t.format === "includes" ? `Ungültiger String: muss "${t.includes}" enthalten` : t.format === "regex" ? `Ungültiger String: muss dem Muster ${t.pattern} entsprechen` : `Ungültig: ${(l = n[t.format]) == null ? e.format : l}`; 3358 } 3359 case "not_multiple_of": return `Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`; 3360 case "unrecognized_keys": return `${e.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${_(e.keys, ", ")}`; 3361 case "invalid_key": return `Ungültiger Schlüssel in ${e.origin}`; 3362 case "invalid_union": return "Ungültige Eingabe"; 3363 case "invalid_element": return `Ungültiger Wert in ${e.origin}`; 3364 default: return "Ungültige Eingabe"; 3365 } 3366 }; 3367}; 3368function va() { 3369 return { localeError: _a() }; 3370} 3371//#endregion 3372//#region ../node_modules/zod/v4/locales/el.js 3373var ya = () => { 3374 let e = { 3375 string: { 3376 unit: "ÏαÏακÏήÏεÏ", 3377 verb: "να ÎÏει" 3378 }, 3379 file: { 3380 unit: "bytes", 3381 verb: "να ÎÏει" 3382 }, 3383 array: { 3384 unit: "ÏÏοιÏεία", 3385 verb: "να ÎÏει" 3386 }, 3387 set: { 3388 unit: "ÏÏοιÏεία", 3389 verb: "να ÎÏει" 3390 }, 3391 map: { 3392 unit: "καÏαÏÏÏήÏειÏ", 3393 verb: "να ÎÏει" 3394 } 3395 }; 3396 function t(t) { 3397 var n; 3398 return (n = e[t]) == null ? null : n; 3399 } 3400 let n = { 3401 regex: "είÏοδοÏ", 3402 email: "διεÏÎ¸Ï Î½Ïη email", 3403 url: "URL", 3404 emoji: "emoji", 3405 uuid: "UUID", 3406 uuidv4: "UUIDv4", 3407 uuidv6: "UUIDv6", 3408 nanoid: "nanoid", 3409 guid: "GUID", 3410 cuid: "cuid", 3411 cuid2: "cuid2", 3412 ulid: "ULID", 3413 xid: "XID", 3414 ksuid: "KSUID", 3415 datetime: "ISO ημεÏομηνία και ÏÏα", 3416 date: "ISO ημεÏομηνία", 3417 time: "ISO ÏÏα", 3418 duration: "ISO διάÏκεια", 3419 ipv4: "διεÏÎ¸Ï Î½Ïη IPv4", 3420 ipv6: "διεÏÎ¸Ï Î½Ïη IPv6", 3421 mac: "διεÏÎ¸Ï Î½Ïη MAC", 3422 cidrv4: "εÏÏÎ¿Ï IPv4", 3423 cidrv6: "εÏÏÎ¿Ï IPv6", 3424 base64: "ÏÏ Î¼Î²Î¿Î»Î¿ÏειÏά κÏδικοÏοιημÎνη Ïε base64", 3425 base64url: "ÏÏ Î¼Î²Î¿Î»Î¿ÏειÏά κÏδικοÏοιημÎνη Ïε base64url", 3426 json_string: "ÏÏ Î¼Î²Î¿Î»Î¿ÏειÏά JSON", 3427 e164: "αÏιθμÏÏ E.164", 3428 jwt: "JWT", 3429 template_literal: "είÏοδοÏ" 3430 }, r = { nan: "NaN" }; 3431 return (e) => { 3432 switch (e.code) { 3433 case "invalid_type": { 3434 var i, a; 3435 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3436 return typeof e.expected == "string" && /^[A-Z]/.test(e.expected) ? `Îη ÎÎ³ÎºÏ Ïη είÏοδοÏ: αναμενÏÏαν instanceof ${e.expected}, λήÏθηκε ${o}` : `Îη ÎÎ³ÎºÏ Ïη είÏοδοÏ: αναμενÏÏαν ${t}, λήÏθηκε ${o}`; 3437 } 3438 case "invalid_value": return e.values.length === 1 ? `Îη ÎÎ³ÎºÏ Ïη είÏοδοÏ: αναμενÏÏαν ${E(e.values[0])}` : `Îη ÎÎ³ÎºÏ Ïη εÏιλογή: αναμενÏÏαν Îνα αÏÏ ${_(e.values, "|")}`; 3439 case "too_big": { 3440 var o, s, c; 3441 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 3442 return r ? `Î Î¿Î»Ï Î¼ÎµÎ³Î¬Î»Î¿: αναμενÏÏαν ${(o = e.origin) == null ? "Ïιμή" : o} να ÎÏει ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "ÏÏοιÏεία" : s}` : `Î Î¿Î»Ï Î¼ÎµÎ³Î¬Î»Î¿: αναμενÏÏαν ${(c = e.origin) == null ? "Ïιμή" : c} να είναι ${n}${e.maximum.toString()}`; 3443 } 3444 case "too_small": { 3445 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 3446 return r ? `Î Î¿Î»Ï Î¼Î¹ÎºÏÏ: αναμενÏÏαν ${e.origin} να ÎÏει ${n}${e.minimum.toString()} ${r.unit}` : `Î Î¿Î»Ï Î¼Î¹ÎºÏÏ: αναμενÏÏαν ${e.origin} να είναι ${n}${e.minimum.toString()}`; 3447 } 3448 case "invalid_format": { 3449 var l; 3450 let t = e; 3451 return t.format === "starts_with" ? `Îη ÎÎ³ÎºÏ Ïη ÏÏ Î¼Î²Î¿Î»Î¿ÏειÏά: ÏÏÎÏει να ξεκινά με "${t.prefix}"` : t.format === "ends_with" ? `Îη ÎÎ³ÎºÏ Ïη ÏÏ Î¼Î²Î¿Î»Î¿ÏειÏά: ÏÏÎÏει να ÏελειÏνει με "${t.suffix}"` : t.format === "includes" ? `Îη ÎÎ³ÎºÏ Ïη ÏÏ Î¼Î²Î¿Î»Î¿ÏειÏά: ÏÏÎÏει να ÏεÏιÎÏει "${t.includes}"` : t.format === "regex" ? `Îη ÎÎ³ÎºÏ Ïη ÏÏ Î¼Î²Î¿Î»Î¿ÏειÏά: ÏÏÎÏει να ÏαιÏιάζει με Ïο μοÏίβο ${t.pattern}` : `Îη ÎÎ³ÎºÏ Ïο: ${(l = n[t.format]) == null ? e.format : l}`; 3452 } 3453 case "not_multiple_of": return `Îη ÎÎ³ÎºÏ ÏÎ¿Ï Î±ÏιθμÏÏ: ÏÏÎÏει να είναι ÏολλαÏλάÏιο ÏÎ¿Ï ${e.divisor}`; 3454 case "unrecognized_keys": return `ÎγνÏÏÏ${e.keys.length > 1 ? "α" : "ο"} κλειδ${e.keys.length > 1 ? "ιά" : "ί"}: ${_(e.keys, ", ")}`; 3455 case "invalid_key": return `Îη ÎÎ³ÎºÏ Ïο κλειδί ÏÏο ${e.origin}`; 3456 case "invalid_union": return "Îη ÎÎ³ÎºÏ Ïη είÏοδοÏ"; 3457 case "invalid_element": return `Îη ÎÎ³ÎºÏ Ïη Ïιμή ÏÏο ${e.origin}`; 3458 default: return "Îη ÎÎ³ÎºÏ Ïη είÏοδοÏ"; 3459 } 3460 }; 3461}; 3462function ba() { 3463 return { localeError: ya() }; 3464} 3465//#endregion 3466//#region ../node_modules/zod/v4/locales/en.js 3467var xa = () => { 3468 let e = { 3469 string: { 3470 unit: "characters", 3471 verb: "to have" 3472 }, 3473 file: { 3474 unit: "bytes", 3475 verb: "to have" 3476 }, 3477 array: { 3478 unit: "items", 3479 verb: "to have" 3480 }, 3481 set: { 3482 unit: "items", 3483 verb: "to have" 3484 }, 3485 map: { 3486 unit: "entries", 3487 verb: "to have" 3488 } 3489 }; 3490 function t(t) { 3491 var n; 3492 return (n = e[t]) == null ? null : n; 3493 } 3494 let n = { 3495 regex: "input", 3496 email: "email address", 3497 url: "URL", 3498 emoji: "emoji", 3499 uuid: "UUID", 3500 uuidv4: "UUIDv4", 3501 uuidv6: "UUIDv6", 3502 nanoid: "nanoid", 3503 guid: "GUID", 3504 cuid: "cuid", 3505 cuid2: "cuid2", 3506 ulid: "ULID", 3507 xid: "XID", 3508 ksuid: "KSUID", 3509 datetime: "ISO datetime", 3510 date: "ISO date", 3511 time: "ISO time", 3512 duration: "ISO duration", 3513 ipv4: "IPv4 address", 3514 ipv6: "IPv6 address", 3515 mac: "MAC address", 3516 cidrv4: "IPv4 range", 3517 cidrv6: "IPv6 range", 3518 base64: "base64-encoded string", 3519 base64url: "base64url-encoded string", 3520 json_string: "JSON string", 3521 e164: "E.164 number", 3522 jwt: "JWT", 3523 template_literal: "input" 3524 }, r = { nan: "NaN" }; 3525 return (e) => { 3526 switch (e.code) { 3527 case "invalid_type": { 3528 var i, a; 3529 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input); 3530 return `Invalid input: expected ${t}, received ${(a = r[n]) == null ? n : a}`; 3531 } 3532 case "invalid_value": return e.values.length === 1 ? `Invalid input: expected ${E(e.values[0])}` : `Invalid option: expected one of ${_(e.values, "|")}`; 3533 case "too_big": { 3534 var o, s, c; 3535 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 3536 return r ? `Too big: expected ${(o = e.origin) == null ? "value" : o} to have ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elements" : s}` : `Too big: expected ${(c = e.origin) == null ? "value" : c} to be ${n}${e.maximum.toString()}`; 3537 } 3538 case "too_small": { 3539 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 3540 return r ? `Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r
3540.unit}` : `Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`; 3541 } 3542 case "invalid_format": { 3543 var l; 3544 let t = e; 3545 return t.format === "starts_with" ? `Invalid string: must start with "${t.prefix}"` : t.format === "ends_with" ? `Invalid string: must end with "${t.suffix}"` : t.format === "includes" ? `Invalid string: must include "${t.includes}"` : t.format === "regex" ? `Invalid string: must match pattern ${t.pattern}` : `Invalid ${(l = n[t.format]) == null ? e.format : l}`; 3546 } 3547 case "not_multiple_of": return `Invalid number: must be a multiple of ${e.divisor}`; 3548 case "unrecognized_keys": return `Unrecognized key${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 3549 case "invalid_key": return `Invalid key in ${e.origin}`; 3550 case "invalid_union": return e.options && Array.isArray(e.options) && e.options.length > 0 ? `Invalid discriminator value. Expected ${e.options.map((e) => `'${e}'`).join(" | ")}` : "Invalid input"; 3551 case "invalid_element": return `Invalid value in ${e.origin}`; 3552 default: return "Invalid input"; 3553 } 3554 }; 3555}; 3556function Sa() { 3557 return { localeError: xa() }; 3558} 3559//#endregion 3560//#region ../node_modules/zod/v4/locales/eo.js 3561var Ca = () => { 3562 let e = { 3563 string: { 3564 unit: "karaktrojn", 3565 verb: "havi" 3566 }, 3567 file: { 3568 unit: "bajtojn", 3569 verb: "havi" 3570 }, 3571 array: { 3572 unit: "elementojn", 3573 verb: "havi" 3574 }, 3575 set: { 3576 unit: "elementojn", 3577 verb: "havi" 3578 } 3579 }; 3580 function t(t) { 3581 var n; 3582 return (n = e[t]) == null ? null : n; 3583 } 3584 let n = { 3585 regex: "enigo", 3586 email: "retadreso", 3587 url: "URL", 3588 emoji: "emoÄio", 3589 uuid: "UUID", 3590 uuidv4: "UUIDv4", 3591 uuidv6: "UUIDv6", 3592 nanoid: "nanoid", 3593 guid: "GUID", 3594 cuid: "cuid", 3595 cuid2: "cuid2", 3596 ulid: "ULID", 3597 xid: "XID", 3598 ksuid: "KSUID", 3599 datetime: "ISO-datotempo", 3600 date: "ISO-dato", 3601 time: "ISO-tempo", 3602 duration: "ISO-daÅro", 3603 ipv4: "IPv4-adreso", 3604 ipv6: "IPv6-adreso", 3605 cidrv4: "IPv4-rango", 3606 cidrv6: "IPv6-rango", 3607 base64: "64-ume kodita karaktraro", 3608 base64url: "URL-64-ume kodita karaktraro", 3609 json_string: "JSON-karaktraro", 3610 e164: "E.164-nombro", 3611 jwt: "JWT", 3612 template_literal: "enigo" 3613 }, r = { 3614 nan: "NaN", 3615 number: "nombro", 3616 array: "tabelo", 3617 null: "senvalora" 3618 }; 3619 return (e) => { 3620 switch (e.code) { 3621 case "invalid_type": { 3622 var i, a; 3623 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3624 return /^[A-Z]/.test(e.expected) ? `Nevalida enigo: atendiÄis instanceof ${e.expected}, riceviÄis ${o}` : `Nevalida enigo: atendiÄis ${t}, riceviÄis ${o}`; 3625 } 3626 case "invalid_value": return e.values.length === 1 ? `Nevalida enigo: atendiÄis ${E(e.values[0])}` : `Nevalida opcio: atendiÄis unu el ${_(e.values, "|")}`; 3627 case "too_big": { 3628 var o, s, c; 3629 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 3630 return r ? `Tro granda: atendiÄis ke ${(o = e.origin) == null ? "valoro" : o} havu ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elementojn" : s}` : `Tro granda: atendiÄis ke ${(c = e.origin) == null ? "valoro" : c} havu ${n}${e.maximum.toString()}`; 3631 } 3632 case "too_small": { 3633 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 3634 return r ? `Tro malgranda: atendiÄis ke ${e.origin} havu ${n}${e.minimum.toString()} ${r.unit}` : `Tro malgranda: atendiÄis ke ${e.origin} estu ${n}${e.minimum.toString()}`; 3635 } 3636 case "invalid_format": { 3637 var l; 3638 let t = e; 3639 return t.format === "starts_with" ? `Nevalida karaktraro: devas komenciÄi per "${t.prefix}"` : t.format === "ends_with" ? `Nevalida karaktraro: devas finiÄi per "${t.suffix}"` : t.format === "includes" ? `Nevalida karaktraro: devas inkluzivi "${t.includes}"` : t.format === "regex" ? `Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}` : `Nevalida ${(l = n[t.format]) == null ? e.format : l}`; 3640 } 3641 case "not_multiple_of": return `Nevalida nombro: devas esti oblo de ${e.divisor}`; 3642 case "unrecognized_keys": return `Nekonata${e.keys.length > 1 ? "j" : ""} Ålosilo${e.keys.length > 1 ? "j" : ""}: ${_(e.keys, ", ")}`; 3643 case "invalid_key": return `Nevalida Ålosilo en ${e.origin}`; 3644 case "invalid_union": return "Nevalida enigo"; 3645 case "invalid_element": return `Nevalida valoro en ${e.origin}`; 3646 default: return "Nevalida enigo"; 3647 } 3648 }; 3649}; 3650function wa() { 3651 return { localeError: Ca() }; 3652} 3653//#endregion 3654//#region ../node_modules/zod/v4/locales/es.js 3655var Ta = () => { 3656 let e = { 3657 string: { 3658 unit: "caracteres", 3659 verb: "tener" 3660 }, 3661 file: { 3662 unit: "bytes", 3663 verb: "tener" 3664 }, 3665 array: { 3666 unit: "elementos", 3667 verb: "tener" 3668 }, 3669 set: { 3670 unit: "elementos", 3671 verb: "tener" 3672 } 3673 }; 3674 function t(t) { 3675 var n; 3676 return (n = e[t]) == null ? null : n; 3677 } 3678 let n = { 3679 regex: "entrada", 3680 email: "dirección de correo electrónico", 3681 url: "URL", 3682 emoji: "emoji", 3683 uuid: "UUID", 3684 uuidv4: "UUIDv4", 3685 uuidv6: "UUIDv6", 3686 nanoid: "nanoid", 3687 guid: "GUID", 3688 cuid: "cuid", 3689 cuid2: "cuid2", 3690 ulid: "ULID", 3691 xid: "XID", 3692 ksuid: "KSUID", 3693 datetime: "fecha y hora ISO", 3694 date: "fecha ISO", 3695 time: "hora ISO", 3696 duration: "duración ISO", 3697 ipv4: "dirección IPv4", 3698 ipv6: "dirección IPv6", 3699 cidrv4: "rango IPv4", 3700 cidrv6: "rango IPv6", 3701 base64: "cadena codificada en base64", 3702 base64url: "URL codificada en base64", 3703 json_string: "cadena JSON", 3704 e164: "número E.164", 3705 jwt: "JWT", 3706 template_literal: "entrada" 3707 }, r = { 3708 nan: "NaN", 3709 string: "texto", 3710 number: "número", 3711 boolean: "booleano", 3712 array: "arreglo", 3713 object: "objeto", 3714 set: "conjunto", 3715 file: "archivo", 3716 date: "fecha", 3717 bigint: "número grande", 3718 symbol: "sÃmbolo", 3719 undefined: "indefinido", 3720 null: "nulo", 3721 function: "función", 3722 map: "mapa", 3723 record: "registro", 3724 tuple: "tupla", 3725 enum: "enumeración", 3726 union: "unión", 3727 literal: "literal", 3728 promise: "promesa", 3729 void: "vacÃo", 3730 never: "nunca", 3731 unknown: "desconocido", 3732 any: "cualquiera" 3733 }; 3734 return (e) => { 3735 switch (e.code) { 3736 case "invalid_type": { 3737 var i, a; 3738 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3739 return /^[A-Z]/.test(e.expected) ? `Entrada inválida: se esperaba instanceof ${e.expected}, recibido ${o}` : `Entrada inválida: se esperaba ${t}, recibido ${o}`; 3740 } 3741 case "invalid_value": return e.values.length === 1 ? `Entrada inválida: se esperaba ${E(e.values[0])}` : `Opción inválida: se esperaba una de ${_(e.values, "|")}`; 3742 case "too_big": { 3743 var o, s; 3744 let n = e.inclusive ? "<=" : "<", i = t(e.origin), a = (o = r[e.origin]) == null ? e.origin : o; 3745 return i ? `Demasiado grande: se esperaba que ${a == null ? "valor" : a} tuviera ${n}${e.maximum.toString()} ${(s = i.unit) == null ? "elementos" : s}` : `Demasiado grande: se esperaba que ${a == null ? "valor" : a} fuera ${n}${e.maximum.toString()}`; 3746 } 3747 case "too_small": { 3748 var c; 3749 let n = e.inclusive ? ">=" : ">", i = t(e.origin), a = (c = r[e.origin]) == null ? e.origin : c; 3750 return i ? `Demasiado pequeño: se esperaba que ${a} tuviera ${n}${e.minimum.toString()} ${i.unit}` : `Demasiado pequeño: se esperaba que ${a} fuera ${n}${e.minimum.toString()}`; 3751 } 3752 case "invalid_format": { 3753 var l; 3754 let t = e; 3755 return t.format === "starts_with" ? `Cadena inválida: debe comenzar con "${t.prefix}"` : t.format === "ends_with" ? `Cadena inválida: debe terminar en "${t.suffix}"` : t.format === "includes" ? `Cadena inválida: debe incluir "${t.includes}"` : t.format === "regex" ? `Cadena inválida: debe coincidir con el patrón ${t.pattern}` : `Inválido ${(l = n[t.format]) == null ? e.format : l}`; 3756 } 3757 case "not_multiple_of": return `Número inválido: debe ser múltiplo de ${e.divisor}`; 3758 case "unrecognized_keys": return `Llave${e.keys.length > 1 ? "s" : ""} desconocida${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 3759 case "invalid_key": 3760 var u; 3761 return `Llave inválida en ${(u = r[e.origin]) == null ? e.origin : u}`;
3762 case "invalid_union": return "Entrada inválida"; 3763 case "invalid_element": 3764 var d; 3765 return `Valor inválido en ${(d = r[e.origin]) == null ? e.origin : d}`; 3766 default: return "Entrada inválida"; 3767 } 3768 }; 3769}; 3770function Ea() { 3771 return { localeError: Ta() }; 3772} 3773//#endregion 3774//#region ../node_modules/zod/v4/locales/fa.js 3775var Da = () => { 3776 let e = { 3777 string: { 3778 unit: "کاراکتر", 3779 verb: "داشت٠باشد" 3780 }, 3781 file: { 3782 unit: "Ø¨Ø§ÛØª", 3783 verb: "داشت٠باشد" 3784 }, 3785 array: { 3786 unit: "Ø¢ÛØªÙ ", 3787 verb: "داشت٠باشد" 3788 }, 3789 set: { 3790 unit: "Ø¢ÛØªÙ ", 3791 verb: "داشت٠باشد" 3792 } 3793 }; 3794 function t(t) { 3795 var n; 3796 return (n = e[t]) == null ? null : n; 3797 } 3798 let n = { 3799 regex: "ÙØ±ÙدÛ", 3800 email: "آدرس اÛÙ ÛÙ", 3801 url: "URL", 3802 emoji: "اÛÙ ÙØ¬Û", 3803 uuid: "UUID", 3804 uuidv4: "UUIDv4", 3805 uuidv6: "UUIDv6", 3806 nanoid: "nanoid", 3807 guid: "GUID", 3808 cuid: "cuid", 3809 cuid2: "cuid2", 3810 ulid: "ULID", 3811 xid: "XID", 3812 ksuid: "KSUID", 3813 datetime: "ØªØ§Ø±ÛØ® Ù Ø²Ù Ø§Ù Ø§ÛØ²Ù", 3814 date: "ØªØ§Ø±ÛØ® Ø§ÛØ²Ù", 3815 time: "Ø²Ù Ø§Ù Ø§ÛØ²Ù", 3816 duration: "٠دت Ø²Ù Ø§Ù Ø§ÛØ²Ù", 3817 ipv4: "IPv4 آدرس", 3818 ipv6: "IPv6 آدرس", 3819 cidrv4: "IPv4 دا٠ÙÙ", 3820 cidrv6: "IPv6 دا٠ÙÙ", 3821 base64: "base64-encoded رشتÙ", 3822 base64url: "base64url-encoded رشتÙ", 3823 json_string: "JSON رشتÙ", 3824 e164: "E.164 عدد", 3825 jwt: "JWT", 3826 template_literal: "ÙØ±ÙدÛ" 3827 }, r = { 3828 nan: "NaN", 3829 number: "عدد", 3830 array: "آراÛÙ" 3831 }; 3832 return (e) => { 3833 switch (e.code) { 3834 case "invalid_type": { 3835 var i, a; 3836 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3837 return /^[A-Z]/.test(e.expected) ? `ÙØ±ÙØ¯Û ÙØ§Ù عتبر: Ù ÛâØ¨Ø§ÛØ³Øª instanceof ${e.expected} Ù ÛâØ¨ÙØ¯Ø ${o} Ø¯Ø±ÛØ§Ùت شد` : `ÙØ±ÙØ¯Û ÙØ§Ù عتبر: Ù ÛâØ¨Ø§ÛØ³Øª ${t} Ù ÛâØ¨ÙØ¯Ø ${o} Ø¯Ø±ÛØ§Ùت شد`; 3838 } 3839 case "invalid_value": return e.values.length === 1 ? `ÙØ±ÙØ¯Û ÙØ§Ù عتبر: Ù ÛâØ¨Ø§ÛØ³Øª ${E(e.values[0])} Ù ÛâØ¨ÙØ¯` : `گزÛÙÙ ÙØ§Ù عتبر: Ù ÛâØ¨Ø§ÛØ³Øª ÛÚ©Û Ø§Ø² ${_(e.values, "|")} Ù ÛâØ¨ÙØ¯`; 3840 case "too_big": { 3841 var o; 3842 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 3843 if (r) { 3844 var s, c; 3845 return `Ø®ÛÙÛ Ø¨Ø²Ø±Ú¯: ${(s = e.origin) == null ? "Ù ÙØ¯Ø§Ø±" : s} Ø¨Ø§ÛØ¯ ${n}${e.maximum.toString()} ${(c = r.unit) == null ? "Ø¹ÙØµØ±" : c} باشد`; 3846 } 3847 return `Ø®ÛÙÛ Ø¨Ø²Ø±Ú¯: ${(o = e.origin) == null ? "Ù ÙØ¯Ø§Ø±" : o} Ø¨Ø§ÛØ¯ ${n}${e.maximum.toString()} باشد`; 3848 } 3849 case "too_small": { 3850 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 3851 return r ? `Ø®ÛÙÛ Ú©ÙÚÚ©: ${e.origin} Ø¨Ø§ÛØ¯ ${n}${e.minimum.toString()} ${r.unit} باشد` : `Ø®ÛÙÛ Ú©ÙÚÚ©: ${e.origin} Ø¨Ø§ÛØ¯ ${n}${e.minimum.toString()} باشد`; 3852 } 3853 case "invalid_format": { 3854 var l; 3855 let t = e; 3856 return t.format === "starts_with" ? `Ø±Ø´ØªÙ ÙØ§Ù عتبر: Ø¨Ø§ÛØ¯ با "${t.prefix}" Ø´Ø±ÙØ¹ Ø´ÙØ¯` : t.format === "ends_with" ? `Ø±Ø´ØªÙ ÙØ§Ù عتبر: Ø¨Ø§ÛØ¯ با "${t.suffix}" ØªÙ Ø§Ù Ø´ÙØ¯` : t.format === "includes" ? `Ø±Ø´ØªÙ ÙØ§Ù عتبر: Ø¨Ø§ÛØ¯ شا٠٠"${t.includes}" باشد` : t.format === "regex" ? `Ø±Ø´ØªÙ ÙØ§Ù عتبر: Ø¨Ø§ÛØ¯ با اÙÚ¯ÙÛ ${t.pattern} Ù Ø·Ø§Ø¨ÙØª داشت٠باشد` : `${(l = n[t.format]) == null ? e.format : l} ÙØ§Ù عتبر`; 3857 } 3858 case "not_multiple_of": return `عدد ÙØ§Ù عتبر: Ø¨Ø§ÛØ¯ ٠ضرب ${e.divisor} باشد`; 3859 case "unrecognized_keys": return `Ú©ÙÛØ¯${e.keys.length > 1 ? "ÙØ§Û" : ""} ÙØ§Ø´Ùاس: ${_(e.keys, ", ")}`; 3860 case "invalid_key": return `Ú©ÙÛØ¯ ÙØ§Ø´Ùاس در ${e.origin}`; 3861 case "invalid_union": return "ÙØ±ÙØ¯Û ÙØ§Ù عتبر"; 3862 case "invalid_element": return `Ù ÙØ¯Ø§Ø± ÙØ§Ù عتبر در ${e.origin}`; 3863 default: return "ÙØ±ÙØ¯Û ÙØ§Ù عتبر"; 3864 } 3865 }; 3866}; 3867function Oa() { 3868 return { localeError: Da() }; 3869} 3870//#endregion 3871//#region ../node_modules/zod/v4/locales/fi.js 3872var ka = () => { 3873 let e = { 3874 string: { 3875 unit: "merkkiä", 3876 subject: "merkkijonon" 3877 }, 3878 file: { 3879 unit: "tavua",
3880 subject: "tiedoston" 3881 }, 3882 array: { 3883 unit: "alkiota", 3884 subject: "listan" 3885 }, 3886 set: { 3887 unit: "alkiota", 3888 subject: "joukon" 3889 }, 3890 number: { 3891 unit: "", 3892 subject: "luvun" 3893 }, 3894 bigint: { 3895 unit: "", 3896 subject: "suuren kokonaisluvun" 3897 }, 3898 int: { 3899 unit: "", 3900 subject: "kokonaisluvun" 3901 }, 3902 date: { 3903 unit: "", 3904 subject: "päivämäärän" 3905 } 3906 }; 3907 function t(t) { 3908 var n; 3909 return (n = e[t]) == null ? null : n; 3910 } 3911 let n = { 3912 regex: "säännöllinen lauseke", 3913 email: "sähköpostiosoite", 3914 url: "URL-osoite", 3915 emoji: "emoji", 3916 uuid: "UUID", 3917 uuidv4: "UUIDv4", 3918 uuidv6: "UUIDv6", 3919 nanoid: "nanoid", 3920 guid: "GUID", 3921 cuid: "cuid", 3922 cuid2: "cuid2", 3923 ulid: "ULID", 3924 xid: "XID", 3925 ksuid: "KSUID", 3926 datetime: "ISO-aikaleima", 3927 date: "ISO-päivämäärä", 3928 time: "ISO-aika", 3929 duration: "ISO-kesto", 3930 ipv4: "IPv4-osoite", 3931 ipv6: "IPv6-osoite", 3932 cidrv4: "IPv4-alue", 3933 cidrv6: "IPv6-alue", 3934 base64: "base64-koodattu merkkijono", 3935 base64url: "base64url-koodattu merkkijono", 3936 json_string: "JSON-merkkijono", 3937 e164: "E.164-luku", 3938 jwt: "JWT", 3939 template_literal: "templaattimerkkijono" 3940 }, r = { nan: "NaN" }; 3941 return (e) => { 3942 switch (e.code) { 3943 case "invalid_type": { 3944 var i, a; 3945 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 3946 return /^[A-Z]/.test(e.expected) ? `Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${o}` : `Virheellinen tyyppi: odotettiin ${t}, oli ${o}`; 3947 } 3948 case "invalid_value": return e.values.length === 1 ? `Virheellinen syöte: täytyy olla ${E(e.values[0])}` : `Virheellinen valinta: täytyy olla yksi seuraavista: ${_(e.values, "|")}`; 3949 case "too_big": { 3950 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 3951 return r ? `Liian suuri: ${r.subject} täytyy olla ${n}${e.maximum.toString()} ${r.unit}`.trim() : `Liian suuri: arvon täytyy olla ${n}${e.maximum.toString()}`; 3952 } 3953 case "too_small": { 3954 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 3955 return r ? `Liian pieni: ${r.subject} täytyy olla ${n}${e.minimum.toString()} ${r.unit}`.trim() : `Liian pieni: arvon täytyy olla ${n}${e.minimum.toString()}`; 3956 } 3957 case "invalid_format": { 3958 var o; 3959 let t = e; 3960 return t.format === "starts_with" ? `Virheellinen syöte: täytyy alkaa "${t.prefix}"` : t.format === "ends_with" ? `Virheellinen syöte: täytyy loppua "${t.suffix}"` : t.format === "includes" ? `Virheellinen syöte: täytyy sisältää "${t.includes}"` : t.format === "regex" ? `Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}` : `Virheellinen ${(o = n[t.format]) == null ? e.format : o}`; 3961 } 3962 case "not_multiple_of": return `Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`; 3963 case "unrecognized_keys": return `${e.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${_(e.keys, ", ")}`; 3964 case "invalid_key": return "Virheellinen avain tietueessa"; 3965 case "invalid_union": return "Virheellinen unioni"; 3966 case "invalid_element": return "Virheellinen arvo joukossa"; 3967 default: return "Virheellinen syöte"; 3968 } 3969 }; 3970}; 3971function Aa() { 3972 return { localeError: ka() }; 3973} 3974//#endregion 3975//#region ../node_modules/zod/v4/locales/fr.js 3976var ja = () => { 3977 let e = { 3978 string: { 3979 unit: "caractères", 3980 verb: "avoir" 3981 }, 3982 file: { 3983 unit: "octets", 3984 verb: "avoir" 3985 }, 3986 array: { 3987 unit: "éléments", 3988 verb: "avoir" 3989 }, 3990 set: { 3991 unit: "éléments", 3992 verb: "avoir" 3993 } 3994 }; 3995 function t(t) { 3996 var n; 3997 return (n = e[t]) == null ? null : n; 3998 } 3999 let n = { 4000 regex: "entrée", 4001 email: "adresse e-mail", 4002 url: "URL", 4003 emoji: "emoji", 4004 uuid: "UUID", 4005 uuidv4: "UUIDv4", 4006 uuidv6: "UUIDv6", 4007 nanoid: "nanoid", 4008 guid: "GUID", 4009 cuid: "cuid", 4010 cuid2: "cuid2", 4011 ulid: "ULID", 4012 xid: "XID", 4013 ksuid: "KSUID", 4014 datetime: "date et heure ISO", 4015 date: "date ISO", 4016 time: "heure ISO", 4017 duration: "durée ISO", 4018 ipv4: "adresse IPv4", 4019 ipv6: "adresse IPv6", 4020 cidrv4: "plage IPv4", 4021 cidrv6: "plage IPv6", 4022 base64: "chaîne encodée en base64", 4023 base64url: "chaîne encodée en base64url", 4024 json_string: "chaîne JSON", 4025 e164: "numéro E.164", 4026 jwt: "JWT", 4027 template_literal: "entrée" 4028 }, r = { 4029 string: "chaîne", 4030 number: "nombre", 4031 int: "entier", 4032 boolean: "booléen", 4033 bigint: "grand entier", 4034 symbol: "symbole", 4035 undefined: "indéfini", 4036 null: "null", 4037 never: "jamais", 4038 void: "vide", 4039 date: "date", 4040 array: "tableau", 4041 object: "objet", 4042 tuple: "tuple", 4043 record: "enregistrement", 4044 map: "carte", 4045 set: "ensemble", 4046 file: "fichier", 4047 nonoptional: "non-optionnel", 4048 nan: "NaN", 4049 function: "fonction" 4050 }; 4051 return (e) => { 4052 switch (e.code) { 4053 case "invalid_type": { 4054 var i, a; 4055 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 4056 return /^[A-Z]/.test(e.expected) ? `Entrée invalide : instanceof ${e.expected} attendu, ${o} reçu` : `Entrée invalide : ${t} attendu, ${o} reçu`; 4057 } 4058 case "invalid_value": return e.values.length === 1 ? `Entrée invalide : ${E(e.values[0])}
4058 attendu` : `Option invalide : une valeur parmi ${_(e.values, "|")} attendue`; 4059 case "too_big": { 4060 var o, s, c; 4061 let n = e.inclusive ? "<=" : "<", i = t(e.origin); 4062 return i ? `Trop grand : ${(o = r[e.origin]) == null ? "valeur" : o} doit ${i.verb} ${n}${e.maximum.toString()} ${(s = i.unit) == null ? "élément(s)" : s}` : `Trop grand : ${(c = r[e.origin]) == null ? "valeur" : c} doit être ${n}${e.maximum.toString()}`; 4063 } 4064 case "too_small": { 4065 var l, u; 4066 let n = e.inclusive ? ">=" : ">", i = t(e.origin); 4067 return i ? `Trop petit : ${(l = r[e.origin]) == null ? "valeur" : l} doit ${i.verb} ${n}${e.minimum.toString()} ${i.unit}` : `Trop petit : ${(u = r[e.origin]) == null ? "valeur" : u} doit être ${n}${e.minimum.toString()}`; 4068 } 4069 case "invalid_format": { 4070 var d; 4071 let t = e; 4072 return t.format === "starts_with" ? `Chaîne invalide : doit commencer par "${t.prefix}"` : t.format === "ends_with" ? `Chaîne invalide : doit se terminer par "${t.suffix}"` : t.format === "includes" ? `Chaîne invalide : doit inclure "${t.includes}"` : t.format === "regex" ? `Chaîne invalide : doit correspondre au modèle ${t.pattern}` : `${(d = n[t.format]) == null ? e.format : d} invalide`; 4073 } 4074 case "not_multiple_of": return `Nombre invalide : doit être un multiple de ${e.divisor}`; 4075 case "unrecognized_keys": return `Clé${e.keys.length > 1 ? "s" : ""} non reconnue${e.keys.length > 1 ? "s" : ""} : ${_(e.keys, ", ")}`; 4076 case "invalid_key": return `Clé invalide dans ${e.origin}`; 4077 case "invalid_union": return "Entrée invalide"; 4078 case "invalid_element": return `Valeur invalide dans ${e.origin}`;
4079 default: return "Entrée invalide"; 4080 } 4081 }; 4082}; 4083function Ma() { 4084 return { localeError: ja() }; 4085} 4086//#endregion 4087//#region ../node_modules/zod/v4/locales/fr-CA.js 4088var Na = () => { 4089 let e = { 4090 string: { 4091 unit: "caractères", 4092 verb: "avoir" 4093 }, 4094 file: { 4095 unit: "octets", 4096 verb: "avoir" 4097 }, 4098 array: { 4099 unit: "éléments", 4100 verb: "avoir" 4101 }, 4102 set: { 4103 unit: "éléments", 4104 verb: "avoir" 4105 } 4106 }; 4107 function t(t) { 4108 var n; 4109 return (n = e[t]) == null ? null : n; 4110 } 4111 let n = { 4112 regex: "entrée", 4113 email: "adresse courriel", 4114 url: "URL", 4115 emoji: "emoji", 4116 uuid: "UUID", 4117 uuidv4: "UUIDv4", 4118 uuidv6: "UUIDv6", 4119 nanoid: "nanoid", 4120 guid: "GUID", 4121 cuid: "cuid", 4122 cuid2: "cuid2", 4123 ulid: "ULID", 4124 xid: "XID", 4125 ksuid: "KSUID", 4126 datetime: "date-heure ISO", 4127 date: "date ISO", 4128 time: "heure ISO", 4129 duration: "durée ISO", 4130 ipv4: "adresse IPv4", 4131 ipv6: "adresse IPv6", 4132 cidrv4: "plage IPv4", 4133 cidrv6: "plage IPv6", 4134 base64: "chaîne encodée en base64", 4135 base64url: "chaîne encodée en base64url", 4136 json_string: "chaîne JSON", 4137 e164: "numéro E.164", 4138 jwt: "JWT", 4139 template_literal: "entrée" 4140 }, r = { nan: "NaN" }; 4141 return (e) => { 4142 switch (e.code) { 4143 case "invalid_type": { 4144 var i, a; 4145 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 4146 return /^[A-Z]/.test(e.expected) ? `Entrée invalide : attendu instanceof ${e.expected}, reçu ${o}` : `Entrée invalide : attendu ${t}, reçu ${o}`; 4147 } 4148 case "invalid_value": return e.values.length === 1 ? `Entrée invalide : attendu ${E(e.values[0])}
4148` : `Option invalide : attendu l'une des valeurs suivantes ${_(e.values, "|")}`; 4149 case "too_big": { 4150 var o, s; 4151 let n = e.inclusive ? "â¤" : "<", r = t(e.origin); 4152 return r ? `Trop grand : attendu que ${(o = e.origin) == null ? "la valeur" : o} ait ${n}${e.maximum.toString()} ${r.unit}` : `Trop grand : attendu que ${(s = e.origin) == null ? "la valeur" : s} soit ${n}${e.maximum.toString()}`; 4153 } 4154 case "too_small": { 4155 let n = e.inclusive ? "â¥" : ">", r = t(e.origin); 4156 return r ? `Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${r.unit}` : `Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`; 4157 } 4158 case "invalid_format": { 4159 var c; 4160 let t = e; 4161 return t.format === "starts_with" ? `Chaîne invalide : doit commencer par "${t.prefix}"` : t.format === "ends_with" ? `Chaîne invalide : doit se terminer par "${t.suffix}"` : t.format === "includes" ? `Chaîne invalide : doit inclure "${t.includes}"` : t.format === "regex" ? `Chaîne invalide : doit correspondre au motif ${t.pattern}` : `${(c = n[t.format]) == null ? e.format : c} invalide`; 4162 } 4163 case "not_multiple_of": return `Nombre invalide : doit être un multiple de ${e.divisor}`; 4164 case "unrecognized_keys": return `Clé${e.keys.length > 1 ? "s" : ""} non reconnue${e.keys.length > 1 ? "s" : ""} : ${_(e.keys, ", ")}`; 4165 case "invalid_key": return `Clé invalide dans ${e.origin}`; 4166 case "invalid_union": return "Entrée invalide"; 4167 case "invalid_element": return `Valeur invalide dans ${e.origin}`;
4168 default: return "Entrée invalide"; 4169 } 4170 }; 4171}; 4172function Pa() { 4173 return { localeError: Na() }; 4174} 4175//#endregion 4176//#region ../node_modules/zod/v4/locales/he.js 4177var Fa = () => { 4178 let e = { 4179 string: { 4180 label: "××ר××ת", 4181 gender: "f" 4182 }, 4183 number: { 4184 label: "×ספר", 4185 gender: "m" 4186 }, 4187 boolean: { 4188 label: "×¢×¨× ×××××× ×", 4189 gender: "m" 4190 }, 4191 bigint: { 4192 label: "BigInt", 4193 gender: "m" 4194 }, 4195 date: { 4196 label: "ת×ר××", 4197 gender: "m" 4198 }, 4199 array: { 4200 label: "×ער×", 4201 gender: "m" 4202 }, 4203 object: { 4204 label: "××××××§×", 4205 gender: "m" 4206 }, 4207 null: { 4208 label: "×¢×¨× ×¨××§ (null)", 4209 gender: "m" 4210 }, 4211 undefined: { 4212 label: "×¢×¨× ×× ××××ר (undefined)", 4213 gender: "m" 4214 }, 4215 symbol: { 4216 label: "ס××××× (Symbol)", 4217 gender: "m" 4218 }, 4219 function: { 4220 label: "פ×× ×§×¦××", 4221 gender: "f" 4222 }, 4223 map: { 4224 label: "××¤× (Map)", 4225 gender: "f" 4226 }, 4227 set: { 4228 label: "×§×××¦× (Set)", 4229 gender: "f" 4230 }, 4231 file: { 4232 label: "×§×××¥", 4233 gender: "m" 4234 }, 4235 promise: { 4236 label: "Promise", 4237 gender: "m" 4238 }, 4239 NaN: { 4240 label: "NaN", 4241 gender: "m" 4242 }, 4243 unknown: { 4244 label: "×¢×¨× ×× ××××¢", 4245 gender: "m" 4246 }, 4247 value: { 4248 label: "ער×", 4249 gender: "m" 4250 } 4251 }, t = { 4252 string: { 4253 unit: "ת××××", 4254 shortLabel: "קצר", 4255 longLabel: "×ר××" 4256 }, 4257 file: { 4258 unit: "××××××", 4259 shortLabel: "×§××", 4260 longLabel: "××××" 4261 }, 4262 array: { 4263 unit: "פר××××", 4264 shortLabel: "×§××", 4265 longLabel: "××××" 4266 }, 4267 set: { 4268 unit: "פר××××", 4269 shortLabel: "×§××", 4270 longLabel: "××××" 4271 }, 4272 number: { 4273 unit: "", 4274 shortLabel: "×§××", 4275 longLabel: "××××" 4276 } 4277 }, n = (t) => t ? e[t] : void 0, r = (t) => { 4278 let r = n(t); 4279 return r ? r.label : t == null ? e.unknown.label : t; 4280 }, i = (e) => `×${r(e)}`, a = (e) => { 4281 var t; 4282 let r = n(e); 4283 return ((t = r == null ? void 0 : r.gender) == null ? "m" : t) === "f" ? "צר××× ××××ת" : "צר×× ××××ת"; 4284 }, o = (e) => { 4285 var n; 4286 return e ? (n = t[e]) == null ? null : n : null; 4287 }, s = { 4288 regex: { 4289 label: "×§××", 4290 gender: "m" 4291 }, 4292 email: { 4293 label: "×ת××ת ××××××", 4294 gender: "f" 4295 }, 4296 url: { 4297 label: "×ת××ת רשת", 4298 gender: "f" 4299 }, 4300 emoji: { 4301 label: "×××××'×", 4302 gender: "m" 4303 }, 4304 uuid: { 4305 label: "UUID", 4306 gender: "m" 4307 }, 4308 nanoid: { 4309 label: "nanoid", 4310 gender: "m" 4311 }, 4312 guid: { 4313 label: "GUID", 4314 gender: "m" 4315 }, 4316 cuid: { 4317 label: "cuid", 4318 gender: "m" 4319 }, 4320 cuid2: { 4321 label: "cuid2", 4322 gender: "m" 4323 }, 4324 ulid: { 4325 label: "ULID", 4326 gender: "m" 4327 }, 4328 xid: { 4329 label: "XID", 4330 gender: "m" 4331 }, 4332 ksuid: { 4333 label: "KSUID", 4334 gender: "m" 4335 }, 4336 datetime: { 4337 label: "ת×ר×× ×××× ISO", 4338 gender: "m" 4339 }, 4340 date: { 4341 label: "ת×ר×× ISO", 4342 gender: "m" 4343 }, 4344 time: { 4345 label: "××× ISO", 4346 gender: "m" 4347 }, 4348 duration: { 4349 label: "××©× ××× ISO", 4350 gender: "m" 4351 }, 4352 ipv4: { 4353 label: "×ת××ת IPv4", 4354 gender: "f" 4355 }, 4356 ipv6: { 4357 label: "×ת××ת IPv6", 4358 gender: "f" 4359 }, 4360 cidrv4: { 4361 label: "×××× IPv4", 4362 gender: "m" 4363 }, 4364 cidrv6: { 4365 label: "×××× IPv6", 4366 gender: "m" 4367 }, 4368 base64: { 4369 label: "××ר××ת ××ס×ס 64", 4370 gender: "f" 4371 }, 4372 base64url: { 4373 label: "××ר××ת ××ס×ס 64 ××ת×××ת רשת", 4374 gender: "f" 4375 }, 4376 json_string: { 4377 label: "××ר××ת JSON", 4378 gender: "f" 4379 }, 4380 e164: { 4381 label: "×ספר E.164", 4382 gender: "m" 4383 }, 4384 jwt: { 4385 label: "JWT", 4386 gender: "m" 4387 }, 4388 ends_with: { 4389 label: "×§××", 4390 gender: "m" 4391 }, 4392 includes: { 4393 label: "×§××", 4394 gender: "m" 4395 }, 4396 lowercase: { 4397 label: "×§××", 4398 gender: "m" 4399 }, 4400 starts_with: { 4401 label: "×§××", 4402 gender: "m" 4403 }, 4404 uppercase: { 4405 label: "×§××", 4406 gender: "m" 4407 } 4408 }, c = { nan: "NaN" }; 4409 return (t) => { 4410 switch (t.code) { 4411 case "invalid_type": { 4412 var n, l, u, d; 4413 let i = t.expected, a = (n = c[i == null ? "" : i]) == null ? r(i) : n, o = k(t.input), s = (l = (u = c[o]) == null ? (d = e[o]) == null ? void 0 : d.label : u) == null ? o : l;
4414 return /^[A-Z]/.test(t.expected) ? `×§×× ×× ×ª×§××: צר×× ××××ת instanceof ${t.expected}, ×תק×× ${s}` : `×§×× ×× ×ª×§××: צר×× ××××ת ${a}, ×תק×× ${s}`; 4415 } 4416 case "invalid_value": { 4417 if (t.values.length === 1) return `×¢×¨× ×× ×ª×§××: ××¢×¨× ×××× ××××ת ${E(t.values[0])}`; 4418 let e = t.values.map((e) => E(e)); 4419 if (t.values.length === 2) return `×¢×¨× ×× ×ª×§××: ××פשר×××ת ××ת××××ת ×× ${e[0]} ×× ${e[1]}`; 4420 let n = e[e.length - 1]; 4421 return `×¢×¨× ×× ×ª×§××: ××פשר×××ת ××ת××××ת ×× ${e.slice(0, -1).join(", ")} ×× ${n}`; 4422 } 4423 case "too_big": { 4424 var f, p, m; 4425 let e = o(t.origin), n = i((f = t.origin) == null ? "value" : f); 4426 if (t.origin === "string") { 4427 var h, g; 4428 return `${(h = e == null ? void 0 : e.longLabel) == null ? "×ר××" : h} ×××: ${n} צר××× ××××× ${t.maximum.toString()} ${(g = e == null ? void 0 : e.unit) == null ? "" : g} ${t.inclusive ? "×× ×¤××ת" : "××× ×××תר"}`.trim(); 4429 } 4430 if (t.origin === "number") return `×××× ×××: ${n} צר×× ××××ת ${t.inclusive ? `×§×× ×× ×©××× ×-${t.maximum}` : `×§×× ×-${t.maximum}`}`; 4431 if (t.origin === "array" || t.origin === "set") { 4432 var ee, te; 4433 return `×××× ×××: ${n} ${t.origin === "set" ? "צר×××" : "צר××"} ××××× ${t.inclusive ? `${t.maximum} ${(ee = e == null ? void 0 : e.unit) == null ? "" : ee} ×× ×¤××ת` : `פ××ת ×-${t.maximum} ${(te = e == null ? void 0 : e.unit) == null ? "" : te}`}`.trim(); 4434 } 4435 let r = t.inclusive ? "<=" : "<", s = a((p = t.origin) == null ? "value" : p); 4436 return e != null && e.unit ? `${e.longLabel} ×××: ${n} ${s} ${r}${t.maximum.toString()} ${e.unit}` : `${(m = e == null ? void 0 : e.longLabel) == null ? "××××" : m} ×××: ${n} ${s} ${r}${t.maximum.toString()}`; 4437 } 4438 case "too_small": { 4439 var ne, re, ie; 4440 let e = o(t.origin), n = i((ne = t.origin) == null ? "value" : ne); 4441 if (t.origin === "string") { 4442 var ae, oe; 4443 return `${(ae = e == null ? void 0 : e.shortLabel) == null ? "קצר" : ae} ×××: ${n} צר××× ××××× ${t.minimum.toString()} ${(oe = e == null ? void 0 : e.unit) == null ? "" : oe} ${t.inclusive ? "×× ××תר" : "×פ××ת"}`.trim(); 4444 } 4445 if (t.origin === "number") return `×§×× ×××: ${n} צר×× ××××ת ${t.inclusive ? `×××× ×× ×©××× ×-${t.minimum}` : `×××× ×-${t.minimum}`}`; 4446 if (t.origin === "array" || t.origin === "set") { 4447 var se, ce; 4448 let r = t.origin === "set" ? "צר×××" : "צר××"; 4449 return t.minimum === 1 && t.inclusive ? `×§×× ×××: ${n} ${r} ××××× ${t.origin, "×פ××ת פר×× ×××"}` : `×§×× ×××: ${n} ${r} ××××× ${t.inclusive ? `${t.minimum} ${(se = e == null ? void 0 : e.unit) == null ? "" : se} ×× ××תר` : `××תר ×-${t.minimum} ${(ce = e == null ? void 0 : e.unit) == null ? "" : ce}`}`.trim(); 4450 } 4451 let r = t.inclusive ? ">=" : ">", s = a((re = t.origin) == null ? "value" : re); 4452 return e != null && e.unit ? `${e.shortLabel} ×××: ${n} ${s} ${r}${t.minimum.toString()} ${e.unit}` : `${(ie = e == null ? void 0 : e.shortLabel) == null ? "×§××" : ie} ×××: ${n} ${s} ${r}${t.minimum.toString()}`; 4453 } 4454 case "invalid_format": { 4455 var le, v; 4456 let e = t; 4457 if (e.format === "starts_with") return `×××ר××ת ××××ת ××ת××× × "${e.prefix}"`; 4458 if (e.format === "ends_with") return `×××ר××ת ××××ת ××סת××× × "${e.suffix}"`; 4459 if (e.format === "includes") return `×××ר××ת ××××ת ××××× "${e.includes}"`; 4460 if (e.format === "regex") return `×××ר××ת ××××ת ××ת××× ×ת×× ×ת ${e.pattern}`; 4461 let n = s[e.format]; 4462 return `${(le = n == null ? void 0 : n.label) == null ? e.format : le} ×× ${((v = n == null ? void 0 : n.gender) == null ? "m" : v) === "f" ? "תק×× ×" : "תק××"}`; 4463 } 4464 case "not_multiple_of": return `×ספר ×× ×ª×§××: ×××× ××××ת ××פ×× ×©× ${t.divisor}`; 4465 case "unrecognized_keys": return `×פת×${t.keys.length > 1 ? "×ת" : ""} ×× ××××${t.keys.length > 1 ? "××" : "×"}: ${_(t.keys, ", ")}`;
4466 case "invalid_key": return "ש×× ×× ×ª×§×× ×××××××§×"; 4467 case "invalid_union": return "×§×× ×× ×ª×§××"; 4468 case "invalid_element": 4469 var y; 4470 return `×¢×¨× ×× ×ª×§×× ×${i((y = t.origin) == null ? "array" : y)}`; 4471 default: return "×§×× ×× ×ª×§××"; 4472 } 4473 }; 4474}; 4475function Ia() { 4476 return { localeError: Fa() }; 4477} 4478//#endregion 4479//#region ../node_modules/zod/v4/locales/hr.js 4480var La = () => { 4481 let e = { 4482 string: { 4483 unit: "znakova", 4484 verb: "imati" 4485 }, 4486 file: { 4487 unit: "bajtova", 4488 verb: "imati" 4489 }, 4490 array: { 4491 unit: "stavki", 4492 verb: "imati" 4493 }, 4494 set: { 4495 unit: "stavki", 4496 verb: "imati" 4497 } 4498 }; 4499 function t(t) { 4500 var n; 4501 return (n = e[t]) == null ? null : n; 4502 } 4503 let n = { 4504 regex: "unos", 4505 email: "email adresa", 4506 url: "URL", 4507 emoji: "emoji", 4508 uuid: "UUID", 4509 uuidv4: "UUIDv4", 4510 uuidv6: "UUIDv6", 4511 nanoid: "nanoid", 4512 guid: "GUID", 4513 cuid: "cuid", 4514 cuid2: "cuid2", 4515 ulid: "ULID", 4516 xid: "XID", 4517 ksuid: "KSUID", 4518 datetime: "ISO datum i vrijeme", 4519 date: "ISO datum", 4520 time: "ISO vrijeme", 4521 duration: "ISO trajanje", 4522 ipv4: "IPv4 adresa", 4523 ipv6: "IPv6 adresa", 4524 cidrv4: "IPv4 raspon", 4525 cidrv6: "IPv6 raspon", 4526 base64: "base64 kodirani tekst", 4527 base64url: "base64url kodirani tekst", 4528 json_string: "JSON tekst", 4529 e164: "E.164 broj", 4530 jwt: "JWT", 4531 template_literal: "unos" 4532 }, r = { 4533 nan: "NaN", 4534 string: "tekst", 4535 number: "broj", 4536 boolean: "boolean", 4537 array: "niz", 4538 object: "objekt", 4539 set: "skup", 4540 file: "datoteka", 4541 date: "datum", 4542 bigint: "bigint", 4543 symbol: "simbol", 4544 undefined: "undefined", 4545 null: "null", 4546 function: "funkcija", 4547 map: "mapa" 4548 }; 4549 return (e) => { 4550 switch (e.code) { 4551 case "invalid_type": { 4552 var i, a; 4553 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 4554 return /^[A-Z]/.test(e.expected) ? `Neispravan unos: oÄekuje se instanceof ${e.expected}, a primljeno je ${o}` : `Neispravan unos: oÄekuje se ${t}, a primljeno je ${o}`; 4555 } 4556 case "invalid_value": return e.values.length === 1 ? `Neispravna vrijednost: oÄekivano ${E(e.values[0])}` : `Neispravna opcija: oÄekivano jedno od ${_(e.values, "|")}`; 4557 case "too_big": { 4558 var o, s; 4559 let n = e.inclusive ? "<=" : "<", i = t(e.origin), a = (o = r[e.origin]) == null ? e.origin : o; 4560 return i ? `Preveliko: oÄekivano da ${a == null ? "vrijednost" : a} ima ${n}${e.maximum.toString()} ${(s = i.unit) == null ? "elemenata" : s}` : `Preveliko: oÄekivano da ${a == null ? "vrijednost" : a} bude ${n}${e.maximum.toString()}`; 4561 } 4562 case "too_small": { 4563 var c; 4564 let n = e.inclusive ? ">=" : ">", i = t(e.origin), a = (c = r[e.origin]) == null ? e.origin : c; 4565 return i ? `Premalo: oÄekivano da ${a} ima ${n}${e.minimum.toString()} ${i.unit}` : `Premalo: oÄekivano da ${a} bude ${n}${e.minimum.toString()}`; 4566 } 4567 case "invalid_format": { 4568 var l; 4569 let t = e; 4570 return t.format === "starts_with" ? `Neispravan tekst: mora zapoÄinjati s "${t.prefix}"` : t.format === "ends_with" ? `Neispravan tekst: mora zavrÅ¡avati s "${t.suffix}"` : t.format === "includes" ? `Neispravan tekst: mora sadržavati "${t.includes}"` : t.format === "regex" ? `Neispravan tekst: mora odgovarati uzorku ${t.pattern}` : `Neispravna ${(l = n[t.format]) == null ? e.format : l}`; 4571 } 4572 case "not_multiple_of": return `Neispravan broj: mora biti viÅ¡ekratnik od ${e.divisor}`; 4573 case "unrecognized_keys": return `Neprepoznat${e.keys.length > 1 ? "i kljuÄevi" : " kljuÄ"}: ${_(e.keys, ", ")}`; 4574 case "invalid_key": 4575 var u; 4576 return `Neispravan kljuÄ u ${(u = r[e.origin]) == null ? e.origin : u}`; 4577 case "invalid_union": return "Neispravan unos"; 4578 case "invalid_element": 4579 var d; 4580 return `Neispravna vrijednost u ${(d = r[e.origin]) == null ? e.origin : d}`; 4581 default: return "Neispravan unos"; 4582 } 4583 }; 4584}; 4585function Ra() { 4586 return { localeError: La() }; 4587} 4588//#endregion 4589//#region ../node_modules/zod/v4/locales/hu.js 4590var za = () => { 4591 let e = { 4592 string: { 4593 unit: "karakter", 4594 verb: "legyen" 4595 }, 4596 file: { 4597 unit: "byte", 4598 verb: "legyen" 4599 }, 4600 array: { 4601 unit: "elem", 4602 verb: "legyen" 4603 }, 4604 set: { 4605 unit: "elem", 4606 verb: "legyen" 4607 } 4608 }; 4609 function t(t) { 4610 var n; 4611 return (n = e[t]) == null ? null : n; 4612 } 4613 let n = { 4614 regex: "bemenet", 4615 email: "email cÃm", 4616 url: "URL", 4617 emoji: "emoji", 4618 uuid: "UUID", 4619 uuidv4: "UUIDv4", 4620 uuidv6: "UUIDv6", 4621 nanoid: "nanoid", 4622 guid: "GUID", 4623 cuid: "cuid", 4624 cuid2: "cuid2", 4625 ulid: "ULID", 4626 xid: "XID", 4627 ksuid: "KSUID", 4628 datetime: "ISO idÅbélyeg", 4629 date: "ISO dátum", 4630 time: "ISO idÅ", 4631 duration: "ISO idÅintervallum", 4632 ipv4: "IPv4 cÃm", 4633 ipv6: "IPv6 cÃm", 4634 cidrv4: "IPv4 tartomány",
4635 cidrv6: "IPv6 tartomány", 4636 base64: "base64-kódolt string", 4637 base64url: "base64url-kódolt string", 4638 json_string: "JSON string", 4639 e164: "E.164 szám", 4640 jwt: "JWT", 4641 template_literal: "bemenet" 4642 }, r = { 4643 nan: "NaN", 4644 number: "szám", 4645 array: "tömb" 4646 }; 4647 return (e) => { 4648 switch (e.code) { 4649 case "invalid_type": { 4650 var i, a; 4651 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 4652 return /^[A-Z]/.test(e.expected) ? `Ãrvénytelen bemenet: a várt érték instanceof ${e.expected}, a kapott érték ${o}` : `Ãrvénytelen bemenet: a várt érték ${t}, a kapott érték ${o}`; 4653 } 4654 case "invalid_value": return e.values.length === 1 ? `Ãrvénytelen bemenet: a várt érték ${E(e.values[0])}` : `Ãrvénytelen opció: valamelyik érték várt ${_(e.values, "|")}`; 4655 case "too_big": { 4656 var o, s, c; 4657 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 4658 return r ? `Túl nagy: ${(o = e.origin) == null ? "érték" : o} mérete túl nagy ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elem" : s}` : `Túl nagy: a bemeneti érték ${(c = e.origin) == null ? "érték" : c} túl nagy: ${n}${e.maximum.toString()}`; 4659 } 4660 case "too_small": { 4661 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 4662 return r ? `Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${n}${e.minimum.toString()} ${r.unit}` : `Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${n}${e.minimum.toString()}`; 4663 } 4664 case "invalid_format": { 4665 var l; 4666 let t = e; 4667 return t.format === "starts_with" ? `Ãrvénytelen string: "${t.prefix}" értékkel kell kezdÅdnie` : t.format === "ends_with" ? `Ãrvénytelen string: "${t.suffix}" értékkel kell végzÅdnie` : t.format === "includes" ? `Ãrvénytelen string: "${t.includes}" értéket kell tartalmaznia` : t.format === "regex" ? `Ãrvénytelen string: ${t.pattern} mintának kell megfelelnie` : `Ãrvénytelen ${(l = n[t.format]) == null ? e.format : l}`; 4668 } 4669 case "not_multiple_of": return `Ãrvénytelen szám: ${e.divisor} többszörösének kell lennie`; 4670 case "unrecognized_keys": return `Ismeretlen kulcs${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 4671 case "invalid_key": return `Ãrvénytelen kulcs ${e.origin}`; 4672 case "invalid_union": return "Ãrvénytelen bemenet"; 4673 case "invalid_element": return `Ãrvénytelen érték: ${e.origin}`; 4674 default: return "Ãrvénytelen bemenet"; 4675 } 4676 }; 4677}; 4678function Ba() { 4679 return { localeError: za() }; 4680} 4681//#endregion 4682//#region ../node_modules/zod/v4/locales/hy.js 4683function Va(e, t, n) { 4684 return Math.abs(e) === 1 ? t : n; 4685} 4686function Ha(e) { 4687 if (!e) return ""; 4688 let t = [ 4689 "Õ¡", 4690 "Õ¥", 4691 "Õ¨", 4692 "Õ«", 4693 "Õ¸", 4694 "Õ¸Ö", 4695 "Ö " 4696 ], n = e[e.length - 1]; 4697 return e + (t.includes(n) ? "Õ¶" : "Õ¨"); 4698} 4699var Ua = () => { 4700 let e = { 4701 string: { 4702 unit: { 4703 one: "Õ¶Õ·Õ¡Õ¶", 4704 many: "Õ¶Õ·Õ¡Õ¶Õ¶Õ¥Ö" 4705 }, 4706 verb: "Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬" 4707 }, 4708 file: { 4709 unit: { 4710 one: "Õ¢Õ¡ÕµÕ©", 4711 many: "Õ¢Õ¡ÕµÕ©Õ¥Ö" 4712 }, 4713 verb: "Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬" 4714 }, 4715 array: { 4716 unit: { 4717 one: "Õ¿Õ¡ÖÖ", 4718 many: "Õ¿Õ¡ÖÖÕ¥Ö" 4719 }, 4720 verb: "Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬" 4721 }, 4722 set: { 4723 unit: { 4724 one: "Õ¿Õ¡ÖÖ", 4725 many: "Õ¿Õ¡ÖÖÕ¥Ö" 4726 }, 4727 verb: "Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬" 4728 } 4729 }; 4730 function t(t) { 4731 var n; 4732 return (n = e[t]) == null ? null : n; 4733 } 4734 let n = { 4735 regex: "Õ´Õ¸ÖÕ¿Ö", 4736 email: "Õ§Õ¬. Õ°Õ¡Õ½ÖÕ¥", 4737 url: "URL", 4738 emoji: "Õ§Õ´Õ¸Õ»Õ«", 4739 uuid: "UUID", 4740 uuidv4: "UUIDv4", 4741 uuidv6: "UUIDv6", 4742 nanoid: "nanoid", 4743 guid: "GUID", 4744 cuid: "cuid", 4745 cuid2: "cuid2", 4746 ulid: "ULID", 4747 xid: "XID", 4748 ksuid: "KSUID", 4749 datetime: "ISO Õ¡Õ´Õ½Õ¡Õ©Õ«Õ¾ Ö ÕªÕ¡Õ´", 4750 date: "ISO Õ¡Õ´Õ½Õ¡Õ©Õ«Õ¾", 4751 time: "ISO ÕªÕ¡Õ´", 4752 duration: "ISO Õ¿ÖÕ¸Õ²Õ¸ÖÕ©ÕµÕ¸ÖÕ¶", 4753 ipv4: "IPv4 Õ°Õ¡Õ½ÖÕ¥", 4754 ipv6: "IPv6 Õ°Õ¡Õ½ÖÕ¥", 4755 cidrv4: "IPv4 Õ´Õ«Õ»Õ¡Õ¯Õ¡ÕµÖ", 4756 cidrv6: "IPv6 Õ´Õ«Õ»Õ¡Õ¯Õ¡ÕµÖ", 4757 base64: "base64 Õ±ÖÕ¡Õ¹Õ¡ÖÕ¸Õ¾ Õ¿Õ¸Õ²", 4758 base64url: "base64url Õ±ÖÕ¡Õ¹Õ¡ÖÕ¸Õ¾ Õ¿Õ¸Õ²", 4759 json_string: "JSON Õ¿Õ¸Õ²", 4760 e164: "E.164 Õ°Õ¡Õ´Õ¡Ö", 4761 jwt: "JWT", 4762 template_literal: "Õ´Õ¸ÖÕ¿Ö" 4763 }, r = { 4764 nan: "NaN", 4765 number: "Õ©Õ«Õ¾", 4766 array: "Õ¦Õ¡Õ¶Õ£Õ¾Õ¡Õ®" 4767 }; 4768 return (e) => { 4769 switch (e.code) { 4770 case "invalid_type": { 4771 var i, a; 4772 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 4773 return /^[A-Z]/.test(e.expected) ? `ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö instanceof ${e.expected}, Õ½Õ¿Õ¡ÖÕ¾Õ¥Õ¬ Õ§ ${o}` : `ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö ${t}, Õ½Õ¿Õ¡ÖÕ¾Õ¥Õ¬ Õ§ ${o}`; 4774 } 4775 case "invalid_value": return e.values.length === 1 ? `ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö ${E(e.values[1])}` : `ÕÕÕ¡Õ¬ Õ¿Õ¡ÖÕ¢Õ¥Öակ⤠սպասվոÖÕ´ Õ§Ö Õ°Õ¥Õ¿ÖÕµÕ¡Õ¬Õ¶Õ¥ÖÕ«Ö Õ´Õ¥Õ¯Õ¨Õ ${_(e.values, "|")}`; 4776 case "too_big": { 4777 var o; 4778 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 4779 if (r) { 4780 var s; 4781 let t = Va(Number(e.maximum), r.unit.one, r.unit.many); 4782 return `ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö Õ´Õ¥Õ® Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${Ha((s = e.origin) == null ? "Õ¡ÖÕªÕ¥Ö" : s)} Õ¯Õ¸ÖÕ¶Õ¥Õ¶Õ¡ ${n}${e.maximum.toString()} ${t}`; 4783 } 4784 return `ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö Õ´Õ¥Õ® Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${Ha((o = e.origin) == null ? "Õ¡ÖÕªÕ¥Ö" : o)} Õ¬Õ«Õ¶Õ« ${n}${e.maximum.toString()}`; 4785 } 4786 case "too_small": { 4787 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 4788 if (r) { 4789 let t = Va(Number(e.minimum), r.unit.one, r.unit.many); 4790 return `ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö ÖÕ¸ÖÖ Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${Ha(e.origin)} Õ¯Õ¸ÖÕ¶Õ¥Õ¶Õ¡ ${n}${e.minimum.toString()} ${t}`; 4791 } 4792 return `ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö ÖÕ¸ÖÖ Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${Ha(e.origin)} Õ¬Õ«Õ¶Õ« ${n}${e.minimum.toString()}`; 4793 } 4794 case "invalid_format": { 4795 var c; 4796 let t = e; 4797 return t.format === "starts_with" ? `ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ½Õ¯Õ½Õ¾Õ« "${t.prefix}"-Õ¸Õ¾` : t.format === "ends_with" ? `ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ¡Õ¾Õ¡ÖÕ¿Õ¾Õ« "${t.suffix}"-Õ¸Õ¾` : t.format === "includes" ? `ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ ÕºÕ¡ÖÕ¸ÖÕ¶Õ¡Õ¯Õ« "${t.includes}"` : t.format === "regex" ? `ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ°Õ¡Õ´Õ¡ÕºÕ¡Õ¿Õ¡Õ½ÕÕ¡Õ¶Õ« ${t.pattern} Õ±ÖÕ¡Õ¹Õ¡ÖÕ«Õ¶` : `ÕÕÕ¡Õ¬ ${(c = n[t.format]) == null ? e.format : c}`; 4798 } 4799 case "not_multiple_of": return `ÕÕÕ¡Õ¬ Õ©Õ«Õ¾â¤ ÕºÕ¥Õ¿Ö Õ§ Õ¢Õ¡Õ¦Õ´Õ¡ÕºÕ¡Õ¿Õ«Õ¯ Õ¬Õ«Õ¶Õ« ${e.divisor}-Õ«`; 4800 case "unrecognized_keys": return `ÕÕ³Õ¡Õ¶Õ¡Õ¹Õ¾Õ¡Õ® Õ¢Õ¡Õ¶Õ¡Õ¬Õ«${e.keys.length > 1 ? "Õ¶Õ¥Ö" : ""}. ${_(e.keys, ", ")}`; 4801 case "invalid_key": return `ÕÕÕ¡Õ¬ Õ¢Õ¡Õ¶Õ¡Õ¬Õ« ${Ha(e.origin)}-Õ¸ÖÕ´`; 4802 case "invalid_union": return "ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸ÖÕ´"; 4803 case "invalid_element": return `ÕÕÕ¡Õ¬ Õ¡ÖÕªÕ¥Ö ${Ha(e.origin)}-Õ¸ÖÕ´`; 4804 default: return "ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸ÖÕ´"; 4805 } 4806 }; 4807}; 4808function Wa() { 4809 return { localeError: Ua() }; 4810} 4811//#endregion 4812//#region ../node_modules/zod/v4/locales/id.js 4813var Ga = () => { 4814 let e = { 4815 string: { 4816 unit: "karakter", 4817 verb: "memiliki" 4818 }, 4819 file: { 4820 unit: "byte", 4821 verb: "memiliki" 4822 }, 4823 array: { 4824 unit: "item", 4825 verb: "memiliki" 4826 }, 4827 set: { 4828 unit: "item", 4829 verb: "memiliki" 4830 } 4831 }; 4832 function t(t) { 4833 var n; 4834 return (n = e[t]) == null ? null : n; 4835 } 4836 let n = { 4837 regex: "input", 4838 email: "alamat email", 4839 url: "URL", 4840 emoji: "emoji", 4841 uuid: "UUID", 4842 uuidv4: "UUIDv4", 4843 uuidv6: "UUIDv6", 4844 nanoid: "nanoid", 4845 guid: "GUID", 4846 cuid: "cuid", 4847 cuid2: "cuid2", 4848 ulid: "ULID", 4849 xid: "XID", 4850 ksuid: "KSUID", 4851 datetime: "tanggal dan waktu format ISO", 4852 date: "tanggal format ISO", 4853 time: "jam format ISO", 4854 duration: "durasi format ISO", 4855 ipv4: "alamat IPv4", 4856 ipv6: "alamat IPv6", 4857 cidrv4: "rentang alamat IPv4", 4858 cidrv6: "rentang alamat IPv6", 4859 base64: "string dengan enkode base64", 4860 base64url: "string dengan enkode base64url", 4861 json_string: "string JSON", 4862 e164: "angka E.164", 4863 jwt: "JWT", 4864 template_literal: "input" 4865 }, r = { nan: "NaN" }; 4866 return (e) => { 4867 switch (e.code) { 4868 case "invalid_type": { 4869 var i, a; 4870 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 4871 return /^[A-Z]/.test(e.expected) ? `Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${o}` : `Input tidak valid: diharapkan ${t}, diterima ${o}`; 4872 } 4873 case "invalid_value": return e.values.length === 1 ? `Input tidak valid: diharapkan ${E(e.values[0])}` : `Pilihan tidak valid: diharapkan salah satu dari ${_(e.values, "|")}`; 4874 case "too_big": { 4875 var o, s, c; 4876 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 4877 return r ? `Terlalu besar: diharapkan ${(o = e.origin) == null ? "value" : o} memiliki ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elemen" : s}` : `Terlalu besar: diharapkan ${(c = e.origin) == null ? "value" : c} menjadi ${n}${e.maximum.toString()}`; 4878 } 4879 case "too_small": { 4880 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 4881 return r ? `Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${r.unit}` : `Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`; 4882 } 4883 case "invalid_format": { 4884 var l; 4885 let t = e; 4886 return t.format === "starts_with" ? `String tidak valid: harus dimulai dengan "${t.prefix}"` : t.format === "ends_with" ? `String tidak valid: harus berakhir dengan "${t.suffix}"` : t.format === "includes" ? `String tidak valid: harus menyertakan "${t.includes}"` : t.format === "regex" ? `String tidak valid: harus sesuai pola ${t.pattern}` : `${(l = n[t.format]) == null ? e.format : l} tidak valid`; 4887 } 4888 case "not_multiple_of": return `Angka tidak valid: harus kelipatan dari ${e.divisor}`; 4889 case "unrecognized_keys": return `Kunci tidak dikenali ${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 4890 case "invalid_key": return `Kunci tidak valid di ${e.origin}`; 4891 case "invalid_union": return "Input tidak valid"; 4892 case "invalid_element": return `Nilai tidak valid di ${e.origin}`; 4893 default: return "Input tidak valid"; 4894 } 4895 }; 4896}; 4897function Ka() { 4898 return { localeError: Ga() }; 4899} 4900//#endregion 4901//#region ../node_modules/zod/v4/locales/is.js 4902var qa = () => { 4903 let e = { 4904 string: { 4905 unit: "stafi", 4906 verb: "að hafa" 4907 }, 4908 file: { 4909 unit: "bæti", 4910 verb: "að hafa" 4911 }, 4912 array: { 4913 unit: "hluti", 4914 verb: "að hafa" 4915 }, 4916 set: { 4917 unit: "hluti", 4918 verb: "að hafa" 4919 } 4920 }; 4921 function t(t) { 4922 var n; 4923 return (n = e[t]) == null ? null : n; 4924 } 4925 let n = { 4926 regex: "gildi", 4927 email: "netfang", 4928 url: "vefslóð", 4929 emoji: "emoji", 4930 uuid: "UUID", 4931 uuidv4: "UUIDv4", 4932 uuidv6: "UUIDv6", 4933 nanoid: "nanoid", 4934 guid: "GUID", 4935 cuid: "cuid", 4936 cuid2: "cuid2", 4937 ulid: "ULID", 4938 xid: "XID", 4939 ksuid: "KSUID", 4940 datetime: "ISO dagsetning og tÃmi", 4941 date: "ISO dagsetning", 4942 time: "ISO tÃmi", 4943 duration: "ISO tÃmalengd", 4944 ipv4: "IPv4 address", 4945 ipv6: "IPv6 address", 4946 cidrv4: "IPv4 range", 4947 cidrv6: "IPv6 range", 4948 base64: "base64-encoded strengur", 4949 base64url: "base64url-encoded strengur", 4950 json_string: "JSON strengur", 4951 e164: "E.164 tölugildi", 4952 jwt: "JWT", 4953 template_literal: "gildi" 4954 }, r = { 4955 nan: "NaN", 4956 number: "númer", 4957 array: "fylki" 4958 }; 4959 return (e) => { 4960 switch (e.code) { 4961 case "invalid_type": { 4962 var i, a; 4963 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 4964 return /^[A-Z]/.test(e.expected) ? `Rangt gildi: Ãú slóst inn ${o} þar sem á að vera instanceof ${e.expected}` : `Rangt gildi: Ãú slóst inn ${o} þar sem á að vera ${t}`; 4965 } 4966 case "invalid_value": return e.values.length === 1 ? `Rangt gildi: gert ráð fyrir ${E(e.values[0])}` : `Ãgilt val: má vera eitt af eftirfarandi ${_(e.values, "|")}`; 4967 case "too_big": { 4968 var o, s, c; 4969 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 4970 return r ? `Of stórt: gert er ráð fyrir að ${(o = e.origin) == null ? "gildi" : o} hafi ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "hluti" : s}` : `Of stórt: gert er ráð fyrir að ${(c = e.origin) == null ? "gildi" : c} sé ${n}${e.maximum.toString()}`; 4971 } 4972 case "too_small": { 4973 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 4974 return r ? `Of lÃtið: gert er ráð fyrir að ${e.origin} hafi ${n}${e.minimum.toString()} ${r.unit}` : `Of lÃtið: gert er ráð fyrir að ${e.origin} sé ${n}${e.minimum.toString()}`; 4975 } 4976 case "invalid_format": { 4977 var l; 4978 let t = e; 4979 return t.format === "starts_with" ? `Ãgildur strengur: verður að byrja á "${t.prefix}"` : t.format === "ends_with" ? `Ãgildur strengur: verður að enda á "${t.suffix}"` : t.format === "includes" ? `Ãgildur strengur: verður að innihalda "${t.includes}"` : t.format === "regex" ? `Ãgildur strengur: verður að fylgja mynstri ${t.pattern}` : `Rangt ${(l = n[t.format]) == null ? e.format : l}`; 4980 } 4981 case "not_multiple_of": return `Röng tala: verður að vera margfeldi af ${e.divisor}`; 4982 case "unrecognized_keys": return `Ãþekkt ${e.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${_(e.keys, ", ")}`; 4983 case "invalid_key": return `Rangur lykill à ${e.origin}`; 4984 case "invalid_union": return "Rangt gildi"; 4985 case "invalid_element": return `Rangt gildi à ${e.origin}`; 4986 default: return "Rangt gildi"; 4987 } 4988 }; 4989}; 4990function Ja() { 4991 return { localeError: qa() }; 4992} 4993//#endregion 4994//#region ../node_modules/zod/v4/locales/it.js 4995var Ya = () => { 4996 let e = { 4997 string: { 4998 unit: "caratteri", 4999 verb: "avere" 5000 }, 5001 file: { 5002 unit: "byte", 5003 verb: "avere" 5004 }, 5005 array: { 5006 unit: "elementi", 5007 verb: "avere" 5008 }, 5009 set: { 5010 unit: "elementi", 5011 verb: "avere" 5012 } 5013 }; 5014 function t(t) { 5015 var n; 5016 return (n = e[t]) == null ? null : n; 5017 } 5018 let n = { 5019 regex: "input", 5020 email: "indirizzo email", 5021 url: "URL", 5022 emoji: "emoji", 5023 uuid: "UUID", 5024 uuidv4: "UUIDv4", 5025 uuidv6: "UUIDv6", 5026 nanoid: "nanoid", 5027 guid: "GUID", 5028 cuid: "cuid", 5029 cuid2: "cuid2", 5030 ulid: "ULID", 5031 xid: "XID", 5032 ksuid: "KSUID", 5033 datetime: "data e ora ISO", 5034 date: "data ISO", 5035 time: "ora ISO", 5036 duration: "durata ISO", 5037 ipv4: "indirizzo IPv4", 5038 ipv6: "indirizzo IPv6", 5039 cidrv4: "intervallo IPv4", 5040 cidrv6: "intervallo IPv6", 5041 base64: "stringa codificata in base64", 5042 base64url: "URL codificata in base64", 5043 json_string: "stringa JSON", 5044 e164: "numero E.164", 5045 jwt: "JWT", 5046 template_literal: "input" 5047 }, r = { 5048 nan: "NaN", 5049 number: "numero", 5050 array: "vettore" 5051 }; 5052 return (e) => { 5053 switch (e.code) { 5054 case "invalid_type": { 5055 var i, a; 5056 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5057 return /^[A-Z]/.test(e.expected) ? `Input non valido: atteso instanceof ${e.expected}, ricevuto ${o}` : `Input non valido: atteso ${t}, ricevuto ${o}`; 5058 } 5059 case "invalid_value": return e.values.length === 1 ? `Input non valido: atteso ${E(e.values[0])}` : `Opzione non valida: atteso uno tra ${_(e.values, "|")}`; 5060 case "too_big": { 5061 var o, s, c; 5062 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 5063 return r ? `Troppo grande: ${(o = e.origin) == null ? "valore" : o} deve avere ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elementi" : s}` : `Troppo grande: ${(c = e.origin) == null ? "valore" : c} deve essere ${n}${e.maximum.toString()}`; 5064 } 5065 case "too_small": { 5066 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 5067 return r ? `Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${r.unit}` : `Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`; 5068 } 5069 case "invalid_format": { 5070 var l; 5071 let t = e; 5072 return t.format === "starts_with" ? `Stringa non valida: deve iniziare con "${t.prefix}"` : t.format === "ends_with" ? `Stringa non valida: deve terminare con "${t.suffix}"` : t.format === "includes" ? `Stringa non valida: deve includere "${t.includes}"` : t.format === "regex" ? `Stringa non valida: deve corrispondere al pattern ${t.pattern}` : `Input non valido: ${(l = n[t.format]) == null ? e.format : l}`; 5073 } 5074 case "not_multiple_of": return `Numero non valido: deve essere un multiplo di ${e.divisor}`; 5075 case "unrecognized_keys": return `Chiav${e.keys.length > 1 ? "i" : "e"} non riconosciut${e.keys.length > 1 ? "e" : "a"}: ${_(e.keys, ", ")}`; 5076 case "invalid_key": return `Chiave non valida in ${e.origin}`; 5077 case "invalid_union": return "Input non valido"; 5078 case "invalid_element": return `Valore no
5078n valido in ${e.origin}`; 5079 default: return "Input non valido"; 5080 } 5081 }; 5082}; 5083function Xa() { 5084 return { localeError: Ya() }; 5085} 5086//#endregion 5087//#region ../node_modules/zod/v4/locales/ja.js 5088var Za = () => { 5089 let e = { 5090 string: { 5091 unit: "æå", 5092 verb: "ã§ãã" 5093 }, 5094 file: { 5095 unit: "ãã¤ã", 5096 verb: "ã§ãã" 5097 }, 5098 array: { 5099 unit: "è¦ç´ ", 5100 verb: "ã§ãã" 5101 }, 5102 set: { 5103 unit: "è¦ç´ ", 5104 verb: "ã§ãã" 5105 } 5106 }; 5107 function t(t) { 5108 var n; 5109 return (n = e[t]) == null ? null : n; 5110 } 5111 let n = { 5112 regex: "å ¥åå¤", 5113 email: "ã¡ã¼ã«ã¢ãã¬ã¹", 5114 url: "URL", 5115 emoji: "çµµæå", 5116 uuid: "UUID", 5117 uuidv4: "UUIDv4", 5118 uuidv6: "UUIDv6", 5119 nanoid: "nanoid", 5120 guid: "GUID", 5121 cuid: "cuid", 5122 cuid2: "cuid2", 5123 ulid: "ULID", 5124 xid: "XID", 5125 ksuid: "KSUID", 5126 datetime: "ISOæ¥æ", 5127 date: "ISOæ¥ä»", 5128 time: "ISOæå»", 5129 duration: "ISOæé", 5130 ipv4: "IPv4ã¢ãã¬ã¹", 5131 ipv6: "IPv6ã¢ãã¬ã¹", 5132 cidrv4: "IPv4ç¯å²", 5133 cidrv6: "IPv6ç¯å²", 5134 base64: "base64ã¨ã³ã³ã¼ãæåå", 5135 base64url: "base64urlã¨ã³ã³ã¼ãæåå", 5136 json_string: "JSONæåå", 5137 e164: "E.164çªå·", 5138 jwt: "JWT", 5139 template_literal: "å ¥åå¤" 5140 }, r = { 5141 nan: "NaN", 5142 number: "æ°å¤", 5143 array: "é å" 5144 }; 5145 return (e) => { 5146 switch (e.code) { 5147 case "invalid_type": { 5148 var i, a; 5149 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5150 return /^[A-Z]/.test(e.expected) ? `ç¡å¹ãªå ¥å: instanceof ${e.expected}ãæå¾ ããã¾ãããã${o}ãå ¥åããã¾ãã` : `ç¡å¹ãªå ¥å: ${t}ãæå¾ ããã¾ãããã${o}ãå ¥åããã¾ãã`; 5151 } 5152 case "invalid_value": return e.values.length === 1 ? `ç¡å¹ãªå ¥å: ${E(e.values[0])}ãæå¾ ããã¾ãã` : `ç¡å¹ãªé¸æ: ${_(e.values, "ã")}ã®ããããã§ããå¿ è¦ãããã¾ã`; 5153 case "too_big": { 5154 var o, s, c; 5155 let n = e.inclusive ? "以ä¸ã§ãã" : "ããå°ãã", r = t(e.origin); 5156 return r ? `大ããããå¤: ${(o = e.origin) == null ? "å¤" : o}ã¯${e.maximum.toString()}${(s = r.unit) == null ? "è¦ç´ " : s}${n}å¿ è¦ãããã¾ã` : `大ããããå¤: ${(c = e.origin) == null ? "å¤" : c}ã¯${e.maximum.toString()}${n}å¿ è¦ãããã¾ã`; 5157 } 5158 case "too_small": { 5159 let n = e.inclusive ? "以ä¸ã§ãã" : "ãã大ãã", r = t(e.origin); 5160 return r ? `å°ããããå¤: ${e.origin}ã¯${e.minimum.toString()}${r.unit}${n}å¿ è¦ãããã¾ã` : `å°ããããå¤: ${e.origin}ã¯${e.minimum.toString()}${n}å¿ è¦ãããã¾ã`; 5161 } 5162 case "invalid_format": { 5163 var l; 5164 let t = e; 5165 return t.format === "starts_with" ? `ç¡å¹ãªæåå: "${t.prefix}"ã§å§ã¾ãå¿ è¦ãããã¾ã` : t.format === "ends_with" ? `ç¡å¹ãªæåå: "${t.suffix}"ã§çµããå¿ è¦ãããã¾ã` : t.format === "includes" ? `ç¡å¹ãªæåå: "${t.includes}"ãå«ãå¿ è¦ãããã¾ã` : t.format === "regex" ? `ç¡å¹ãªæåå: ãã¿ã¼ã³${t.pattern}ã«ä¸è´ããå¿ è¦ãããã¾ã` : `ç¡å¹ãª${(l = n[t.format]) == null ? e.format : l}`; 5166 } 5167 case "not_multiple_of": return `ç¡å¹ãªæ°å¤: ${e.divisor}ã®åæ°ã§ããå¿ è¦ãããã¾ã`; 5168 case "unrecognized_keys": return `èªèããã¦ããªããã¼${e.keys.length > 1 ? "群" : ""}: ${_(e.keys, "ã")}`; 5169 case "invalid_key": return `${e.origin}å ã®ç¡å¹ãªãã¼`; 5170 case "invalid_union": return "ç¡å¹ãªå ¥å"; 5171 case "invalid_element": return `${e.origin}å ã®ç¡å¹ãªå¤`; 5172 default: return "ç¡å¹ãªå ¥å"; 5173 } 5174 }; 5175}; 5176function Qa() { 5177 return { localeError: Za() }; 5178} 5179//#endregion 5180//#region ../node_modules/zod/v4/locales/ka.js 5181var $a = () => { 5182 let e = { 5183 string: { 5184 unit: "á¡áááááá", 5185 verb: "á£ááá á¨áááªááááá¡" 5186 }, 5187 file: { 5188 unit: "áááá¢á", 5189 verb: "á£ááá á¨áááªááááá¡" 5190 }, 5191 array: { 5192 unit: "ááááááá¢á", 5193 verb: "á£ááá á¨áááªááááá¡" 5194 }, 5195 set: { 5196 unit: "ááááááá¢á", 5197 verb: "á£ááá á¨áááªááááá¡" 5198 } 5199 }; 5200 function t(t) { 5201 var n; 5202 return (n = e[t]) == null ? null : n; 5203 } 5204 let n = { 5205 regex: "á¨áá§áááá", 5206 email: "áá-á¤áá¡á¢áá¡ ááá¡áááá áá", 5207 url: "URL", 5208 emoji: "áááá¯á", 5209 uuid: "UUID", 5210 uuidv4: "UUIDv4", 5211 uuidv6: "UUIDv6", 5212 nanoid: "nanoid", 5213 guid: "GUID", 5214 cuid: "cuid", 5215 cuid2: "cuid2", 5216 ulid: "ULID", 5217 xid: "XID", 5218 ksuid: "KSUID", 5219 datetime: "ááá áá¦á-áá á", 5220 date: "ááá áá¦á", 5221 time: "áá á", 5222 duration: "á®áááá á«áááááá", 5223 ipv4: "IPv4 ááá¡áááá áá", 5224 ipv6: "IPv6 ááá¡áááá áá", 5225 cidrv4: "IPv4 ááááááááá", 5226 cidrv6: "IPv6 ááááááááá", 5227 base64: "base64-ááááá ááá£áá áááá", 5228 base64url: "base64url-ááááá ááá£áá áááá", 5229 json_string: "JSON áááá", 5230 e164: "E.164 ááááá á", 5231 jwt: "JWT", 5232 template_literal: "á¨áá§áááá" 5233 }, r = { 5234 nan: "NaN", 5235 number: "á ááªá®áá", 5236 string: "áááá", 5237 boolean: "áá£ááááá", 5238 function: "á¤á£áá¥áªáá", 5239 array: "ááá¡ááá" 5240 }; 5241 return (e) => { 5242 switch (e.code) { 5243 case "invalid_type": { 5244 var i, a; 5245 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5246 return /^[A-Z]/.test(e.expected) ? `áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá instanceof ${e.expected}, ááá¦ááá£áá ${o}` : `áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá ${t}, ááá¦ááá£áá ${o}`; 5247 } 5248 case "invalid_value": return e.values.length === 1 ? `áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá ${E(e.values[0])}` : `áá áá¡á¬áá á ááá áááá¢á: ááá¡ááááááááá áá á-áá áá ${_(e.values, "|")}-ááá`; 5249 case "too_big": { 5250 var o, s; 5251 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 5252 return r ? `áááááá¢áá áááá: ááá¡áááááááá ${(
5252o = e.origin) == null ? "áááá¨ááááááá" : o} ${r.verb} ${n}${e.maximum.toString()} ${r.unit}` : `áááááá¢áá áááá: ááá¡áááááááá ${(s = e.origin) == null ? "áááá¨ááááááá" : s} áá§áá¡ ${n}${e.maximum.toString()}`; 5253 } 5254 case "too_small": { 5255 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 5256 return r ? `áááááá¢áá ááá¢áá á: ááá¡áááááááá ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` : `áááááá¢áá ááá¢áá á: ááá¡áááááááá ${e.origin} áá§áá¡ ${n}${e.minimum.toString()}`; 5257 } 5258 case "invalid_format": { 5259 var c; 5260 let t = e; 5261 return t.format === "starts_with" ? `áá áá¡á¬áá á áááá: á£ááá áá¬á§áááááá¡ "${t.prefix}"-áá` : t.format === "ends_with" ? `áá áá¡á¬áá á áááá: á£ááá ááááá ááááááá¡ "${t.suffix}"-áá` : t.format === "includes" ? `áá áá¡á¬áá á áááá: á£ááá á¨áááªááááá¡ "${t.includes}"-á¡` : t.format === "regex" ? `áá áá¡á¬áá á áááá: á£ááá á¨ááá¡áááááááááá¡ á¨áááááá¡ ${t.pattern}` : `áá áá¡á¬áá á ${(c = n[t.format]) == null ? e.format : c}`; 5262 } 5263 case "not_multiple_of": return `áá áá¡á¬áá á á ááªá®áá: á£ááá áá§áá¡ ${e.divisor}-áá¡ á¯áá ááá`; 5264 case "unrecognized_keys": return `á£áªáááá ááá¡áá¦áá${e.keys.length > 1 ? "ááá" : "á"}: ${_(e.keys, ", ")}`; 5265 case "invalid_key": return `áá áá¡á¬áá á ááá¡áá¦ááá ${e.origin}-á¨á`; 5266 case "invalid_union": return "áá áá¡á¬áá á á¨áá§áááá"; 5267 case "invalid_element": return `áá áá¡á¬áá á áááá¨ááááááá ${e.origin}-á¨á`; 5268 default: return "áá áá¡á¬áá á á¨áá§áááá"; 5269 } 5270 }; 5271}; 5272function eo() { 5273 return { localeError: $a() }; 5274} 5275//#endregion 5276//#region ../node_modules/zod/v4/locales/km.js 5277var to = () => { 5278 let e = { 5279 string: { 5280 unit: "áá½á¢áááá", 5281 verb: "áá½ááá¶á" 5282 }, 5283 file: { 5284 unit: "áá", 5285 verb: "áá½ááá¶á" 5286 }, 5287 array: { 5288 unit: "áá¶áá»", 5289 verb: "áá½ááá¶á" 5290 }, 5291 set: { 5292 unit: "áá¶áá»", 5293 verb: "áá½ááá¶á" 5294 } 5295 }; 5296 function t(t) { 5297 var n; 5298 return (n = e[t]) == null ? null : n; 5299 } 5300 let n = { 5301 regex: "áá·áááááááááá á¼á", 5302 email: "á¢á¶áááááá¶áá¢áá¸ááá", 5303 url: "URL", 5304 emoji: "ááááá¶á¢á¶áááááá", 5305 uuid: "UUID", 5306 uuidv4: "UUIDv4", 5307 uuidv6: "UUIDv6", 5308 nanoid: "nanoid", 5309 guid: "GUID", 5310 cuid: "cuid", 5311 cuid2: "cuid2", 5312 ulid: "ULID", 5313 xid: "XID", 5314 ksuid: "KSUID", 5315 datetime: "áá¶áááá·á áááá áá·ááááá ISO", 5316 date: "áá¶áááá·á áááá ISO", 5317 time: "áááá ISO", 5318 duration: "áááááá ISO", 5319 ipv4: "á¢á¶áááááá¶á IPv4", 5320 ipv6: "á¢á¶áááááá¶á IPv6", 5321 cidrv4: "áááá¢á¶áááááá¶á IPv4", 5322 cidrv6: "áááá¢á¶áááááá¶á IPv6", 5323 base64: "ááááá¢ááááá¢áá·áá¼á base64", 5324 base64url: "ááááá¢ááááá¢áá·áá¼á base64url", 5325 json_string: "ááááá¢áááá JSON", 5326 e164: "ááá E.164", 5327 jwt: "JWT", 5328 template_literal: "áá·áááááááááá á¼á" 5329 }, r = { 5330 nan: "NaN", 5331 number: "ááá", 5332 array: "á¢á¶áá (Array)", 5333 null: "áááá¶áááááá (null)" 5334 }; 5335 return (e) => { 5336 switch (e.code) { 5337 case "invalid_type": { 5338 var i, a; 5339 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5340 return /^[A-Z]/.test(e.expected) ? `áá·áááááááááá á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á instanceof ${e.expected} ááá»ááááááá½ááá¶á ${o}` : `áá·áááááááááá á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á ${t} ááá»ááááááá½ááá¶á ${o}`; 5341 } 5342 case "invalid_value": return e.values.length === 1 ? `áá·áááááááááá á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á ${E(e.values[0])}` : `ááááá¾ááá·ááááá¹ááááá¼áá áááá¼ááá¶áá½ááááá»áá áááá ${_(e.values, "|")}`; 5343 case "too_big": { 5344 var o, s, c; 5345 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 5346 return r ? `áááááá áááá¼ááá¶á ${(o = e.origin) == null ? "ááááá" : o} ${n} ${e.maximum.toString()} ${(s = r.unit) == null ? "áá¶áá»" : s}` : `áááááá áááá¼ááá¶á ${(c = e.origin) == null ? "ááááá" : c} ${n} ${e.maximum.toString()}`; 5347 } 5348 case "too_small": { 5349 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 5350 return r ? `áá¼á áááá áááá¼ááá¶á ${e.origin} ${n} ${e.minimum.toString()} ${r.unit}` : `áá¼á áááá áááá¼ááá¶á ${e.origin} ${n} ${e.minimum.toString()}`; 5351 } 5352 case "invalid_format": { 5353 var l; 5354 let t = e; 5355 return t.format === "starts_with" ? `ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼áá á¶áááááá¾áááá "${t.prefix}"` : t.format === "ends_with" ? `ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááááá ááááá "${t.suffix}"` : t.format === "includes" ? `ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááá¶á "${t.includes}"` : t.format === "regex" ? `ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááááááá¼áááááá¹áááááááááááá¶áááááá ${t.pattern}` : `áá·ááááá¹ááááá¼áá ${(l = n[t.format]) == null ? e.format : l}`; 5356 } 5357 case "not_multiple_of": return `ááááá·ááááá¹ááááá¼áá áááá¼ááááá¶áá á»áá»ááá ${e.divisor}`; 5358 case "unrecognized_keys": return `áááá¾ááááá·ááááá¶ááá ${_(e.keys, ", ")}`; 5359 case "invalid_key": return `áááá·ááááá¹ááááá¼ááá áááá»á ${e.origin}`; 5360 case "invalid_union": return "áá·áááááááá·ááááá¹ááááá¼á"; 5361 case "invalid_element": return `áá·áááááááá·ááááá¹ááááá¼ááá áááá»á ${e.origin}`; 5362 default: return "áá·áááááááá·ááááá¹ááááá¼á"; 5363 } 5364 }; 5365}; 5366function no() { 5367 return { localeError: to() }; 5368} 5369//#endregion 5370//#region ../node_modules/zod/v4/locales/kh.js 5371function ro() { 5372 return no(); 5373} 5374//#endregion 5375//#region ../node_modules/zod/v4/locales/ko.js 5376var io = () => { 5377 let e = { 5378 string: { 5379 unit: "문ì", 5380 verb: "to have" 5381 }, 5382 file: { 5383 unit: "ë°ì´í¸", 5384 verb: "to have" 5385 }, 5386 array: { 5387 unit: "ê°", 5388 verb: "to have" 5389 }, 5390 set: { 5391 unit: "ê°", 5392 verb: "to have" 5393 } 5394 }; 5395 function t(t) { 5396 var n; 5397 return (n = e[t]) == null ? null : n; 5398 } 5399 let n = { 5400 regex: "ì ë ¥", 5401 email: "ì´ë©ì¼ 주ì", 5402 url: "URL", 5403 emoji: "ì´ëª¨ì§", 5404 uuid: "UUID", 5405 uuidv4: "UUIDv4", 5406 uuidv6: "UUIDv6", 5407 nanoid: "nanoid", 5408 guid: "GUID", 5409 cuid: "cuid", 5410 cuid2: "cuid2", 5411 ulid: "ULID", 5412 xid: "XID", 5413 ksuid: "KSUID", 5414 datetime: "ISO ë ì§ìê°", 5415 date: "ISO ë ì§", 5416 time: "ISO ìê°", 5417 duration: "ISO 기ê°", 5418 ipv4: "IPv4 주ì", 5419 ipv6: "IPv6 주ì",
5420 cidrv4: "IPv4 ë²ì", 5421 cidrv6: "IPv6 ë²ì", 5422 base64: "base64 ì¸ì½ë© 문ìì´", 5423 base64url: "base64url ì¸ì½ë© 문ìì´", 5424 json_string: "JSON 문ìì´", 5425 e164: "E.164 ë²í¸", 5426 jwt: "JWT", 5427 template_literal: "ì ë ¥" 5428 }, r = { nan: "NaN" }; 5429 return (e) => { 5430 switch (e.code) { 5431 case "invalid_type": { 5432 var i, a; 5433 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5434 return /^[A-Z]/.test(e.expected) ? `ì못ë ì ë ¥: ìì íì ì instanceof ${e.expected}, ë°ì íì ì ${o}ì ëë¤` : `ì못ë ì ë ¥: ìì íì ì ${t}, ë°ì íì ì ${o}ì ëë¤`; 5435 } 5436 case "invalid_value": return e.values.length === 1 ? `ì못ë ì ë ¥: ê°ì ${E(e.values[0])} ì´ì´ì¼ í©ëë¤` : `ì못ë ìµì : ${_(e.values, "ëë ")} ì¤ íëì¬ì¼ í©ëë¤`; 5437 case "too_big": { 5438 var o, s, c; 5439 let n = e.inclusive ? "ì´í" : "미ë§", r = n === "미ë§" ? "ì´ì´ì¼ í©ëë¤" : "ì¬ì¼ í©ëë¤", i = t(e.origin), a = (o = i == null ? void 0 : i.unit) == null ? "ìì" : o; 5440 return i ? `${(s = e.origin) == null ? "ê°" : s}ì´ ë무 í½ëë¤: ${e.maximum.toString()}${a} ${n}${r}` : `${(c = e.origin) == null ? "ê°" : c}ì´ ë무 í½ëë¤: ${e.maximum.toString()} ${n}${r}`; 5441 } 5442 case "too_small": { 5443 var l, u; 5444 let n = e.inclusive ? "ì´ì" : "ì´ê³¼", r = n === "ì´ì" ? "ì´ì´ì¼ í©ëë¤" : "ì¬ì¼ í©ëë¤", i = t(e.origin), a = (l = i == null ? void 0 : i.unit) == null ? "ìì" : l; 5445 if (i) { 5446 var d; 5447 return `${(d = e.origin) == null ? "ê°" : d}ì´ ë무 ììµëë¤: ${e.minimum.toString()}${a} ${n}${r}`; 5448 } 5449 return `${(u = e.origin) == null ? "ê°" : u}ì´ ë무 ììµëë¤: ${e.minimum.toString()} ${n}${r}`; 5450 } 5451 case "invalid_format": { 5452 var f; 5453 let t = e; 5454 return t.format === "starts_with" ? `ì못ë 문ìì´: "${t.prefix}"(ì¼)ë¡ ììí´ì¼ í©ëë¤` : t.format === "ends_with" ? `ì못ë 문ìì´: "${t.suffix}"(ì¼)ë¡ ëëì¼ í©ëë¤` : t.format === "includes" ? `ì못ë 문ìì´: "${t.includes}"ì(를) í¬í¨í´ì¼ í©ëë¤` : t.format === "regex" ? `ì못ë 문ìì´: ì ê·ì ${t.pattern} í¨í´ê³¼ ì¼ì¹í´ì¼ í©ëë¤` : `ì못ë ${(f = n[t.format]) == null ? e.format : f}`; 5455 } 5456 case "not_multiple_of": return `ì못ë ì«ì: ${e.divisor}ì ë°°ìì¬ì¼ í©ëë¤`; 5457 case "unrecognized_keys": return `ì¸ìí ì ìë í¤: ${_(e.keys, ", ")}`; 5458 case "invalid_key": return `ì못ë í¤: ${e.origin}`; 5459 case "invalid_union": return "ì못ë ì ë ¥"; 5460 case "invalid_element": return `ì못ë ê°: ${e.origin}`; 5461 default: return "ì못ë ì ë ¥"; 5462 } 5463 }; 5464}; 5465function ao() { 5466 return { localeError: io() }; 5467} 5468//#endregion 5469//#region ../node_modules/zod/v4/locales/lt.js 5470var oo = (e) => e.charAt(0).toUpperCase() + e.slice(1); 5471function so(e) { 5472 let t = Math.abs(e), n = t % 10, r = t % 100; 5473 return r >= 11 && r <= 19 || n === 0 ? "many" : n === 1 ? "one" : "few"; 5474} 5475var co = () => { 5476 let e = { 5477 string: { 5478 unit: { 5479 one: "simbolis", 5480 few: "simboliai", 5481 many: "simbolių" 5482 }, 5483 verb: { 5484 smaller: { 5485 inclusive: "turi bÅ«ti ne ilgesnÄ kaip", 5486 notInclusive: "turi bÅ«ti trumpesnÄ kaip" 5487 }, 5488 bigger: { 5489 inclusive: "turi bÅ«ti ne trumpesnÄ kaip", 5490 notInclusive: "turi bÅ«ti ilgesnÄ kaip" 5491 } 5492 } 5493 }, 5494 file: { 5495 unit: { 5496 one: "baitas", 5497 few: "baitai", 5498 many: "baitų" 5499 }, 5500 verb: { 5501 smaller: { 5502 inclusive: "turi bÅ«ti ne didesnis kaip", 5503 notInclusive: "turi bÅ«ti mažesnis kaip" 5504 }, 5505 bigger: { 5506 inclusive: "turi bÅ«ti ne mažesnis kaip", 5507 notInclusive: "turi bÅ«ti didesnis kaip" 5508 } 5509 } 5510 }, 5511 array: { 5512 unit: { 5513 one: "elementÄ ", 5514 few: "elementus", 5515 many: "elementų" 5516 }, 5517 verb: { 5518 smaller: { 5519 inclusive: "turi turÄti ne daugiau kaip", 5520 notInclusive: "turi turÄti mažiau kaip" 5521 }, 5522 bigger: { 5523 inclusive: "turi turÄti ne mažiau kaip", 5524 notInclusive: "turi turÄti daugiau kaip" 5525 } 5526 } 5527 }, 5528 set: { 5529 unit: { 5530 one: "elementÄ ", 5531 few: "elementus", 5532 many: "elementų" 5533 }, 5534 verb: { 5535 smaller: { 5536 inclusive: "turi turÄti ne daugiau kaip", 5537 notInclusive: "turi turÄti mažiau kaip" 5538 }, 5539 bigger: { 5540 inclusive: "turi turÄti ne mažiau kaip", 5541 notInclusive: "turi turÄti daugiau kaip" 5542 } 5543 } 5544 } 5545 }; 5546 function t(t, n, r, i) { 5547 var a; 5548 let o = (a = e[t]) == null ? null : a; 5549 return o === null ? o : { 5550 unit: o.unit[n], 5551 verb: o.verb[i][r ? "inclusive" : "notInclusive"] 5552 }; 5553 } 5554 let n = { 5555 regex: "įvestis", 5556 email: "el. paÅ¡to adresas", 5557 url: "URL", 5558 emoji: "jaustukas", 5559 uuid: "UUID", 5560 uuidv4: "UUIDv4", 5561 uuidv6: "UUIDv6", 5562 nanoid: "nanoid", 5563 guid: "GUID", 5564 cuid: "cuid", 5565 cuid2: "cuid2", 5566 ulid: "ULID", 5567 xid: "XID", 5568 ksuid: "KSUID", 5569 datetime: "ISO data ir laikas", 5570 date: "ISO data", 5571 time: "ISO laikas", 5572 duration: "ISO trukmÄ", 5573 ipv4: "IPv4 adresas", 5574 ipv6: "IPv6 adresas", 5575 cidrv4: "IPv4 tinklo prefiksas (CIDR)", 5576 cidrv6: "IPv6 tinklo prefiksas (CIDR)", 5577 base64: "base64 užkoduota eilutÄ", 5578 base64url: "base64url užkoduota eilutÄ", 5579 json_string: "JSON eilutÄ", 5580 e164: "E.164 numeris", 5581 jwt: "JWT", 5582 template_literal: "įvestis" 5583 }, r = { 5584 nan: "NaN", 5585 number: "skaiÄius", 5586 bigint: "sveikasis skaiÄius", 5587 string: "eilutÄ", 5588 boolean: "loginÄ reikÅ¡mÄ", 5589 undefined: "neapibrÄžta reikÅ¡mÄ", 5590 function: "funkcija", 5591 symbol: "simbolis", 5592 array: "masyvas", 5593 object: "objektas", 5594 null: "nulinÄ reikÅ¡mÄ" 5595 }; 5596 return (e) => { 5597 switch (e.code) { 5598 case "invalid_type": { 5599 var i, a; 5600 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5601 return /^[A-Z]/.test(e.expected) ? `Gautas tipas ${o}, o tikÄtasi - instanceof ${e.expected}` : `Gautas tipas ${o}, o tikÄtasi - ${t}`; 5602 } 5603 case "invalid_value": return e.values.length === 1 ? `Privalo bÅ«ti ${E(e.values[0])}` : `Privalo bÅ«ti vienas iÅ¡ ${_(e.values, "|")} pasirinkimų`; 5604 case "too_big": { 5605 var o, s, c, l, u; 5606 let n = (o = r[e.origin]) == null ? e.origin : o, i = t(e.origin, so(Number(e.maximum)), (s = e.inclusive) != null && s, "smaller"); 5607 if (i != null && i.verb) return `${oo((c = n == null ? e.origin : n) == null ? "reikÅ¡mÄ" : c)} ${i.verb} ${e.maximum.toString()} ${(l = i.unit) == null ? "elementų" : l}`; 5608 let a = e.inclusive ? "ne didesnis kaip" : "mažesnis kaip"; 5609 return `${oo((u = n == null ? e.origin : n) == null ? "reikÅ¡mÄ" : u)} turi bÅ«ti ${a} ${e.maximum.toString()} ${i == null ? void 0 : i.unit}`; 5610 } 5611 case "too_small": { 5612 var d, f, p, m, h; 5613 let n = (d = r[e.origin]) == null ? e.origin : d, i = t(e.origin, so(Number(e.minimum)), (f = e.inclusive) != null && f, "bigger"); 5614 if (i != null && i.verb) return `${oo((p = n == null ? e.origin : n) == null ? "reikÅ¡mÄ" : p)} ${i.verb} ${e.minimum.toString()} ${(m = i.unit) == null ? "elementų" : m}`; 5615 let a = e.inclusive ? "ne mažesnis kaip" : "didesnis kaip"; 5616 return `${oo((h = n == null ? e.origin : n) == null ? "reikÅ¡mÄ" : h)} turi bÅ«ti ${a} ${e.minimum.toString()} ${i == null ? void 0 : i.unit}`; 5617 } 5618 case "invalid_format": { 5619 var g; 5620 let t = e; 5621 return t.format === "starts_with" ? `EilutÄ privalo prasidÄti "${t.prefix}"` : t.format === "ends_with" ? `EilutÄ privalo pasibaigti "${t.suffix}"` : t.format === "includes" ? `EilutÄ privalo įtraukti "${t.includes}"` : t.format === "regex" ? `EilutÄ privalo atitikti ${t.pattern}` : `Neteisingas ${(g = n[t.format]) == null ? e.format : g}`; 5622 } 5623 case "not_multiple_of": return `SkaiÄius privalo bÅ«ti ${e.divisor} kartotinis.`; 5624 case "unrecognized_keys": return `Neatpažint${e.keys.length > 1 ? "i" : "as"} rakt${e.keys.length > 1 ? "ai" : "as"}: ${_(e.keys, ", ")}`; 5625 case "invalid_key": return "Rastas klaidingas raktas"; 5626 case "invalid_union": return "Klaidinga įvestis"; 5627 case "invalid_element": { 5628 var ee, te; 5629 let t = (ee = r[e.origin]) == null ? e.origin : ee; 5630 return `${oo((te = t == null ? e.origin : t) == null ? "reikÅ¡mÄ" : te)} turi klaidingÄ Ä¯vestį`; 5631 } 5632 default: return "Klaidinga įvestis"; 5633 } 5634 }; 5635}; 5636function lo() { 5637 return { localeError: co() }; 5638} 5639//#endregion 5640//#region ../node_modules/zod/v4/locales/mk.js 5641var uo = () => { 5642 let e = { 5643 string: { 5644 unit: "знаÑи", 5645 verb: "да имааÑ" 5646 }, 5647 file: { 5648 unit: "баÑÑи", 5649 verb: "да имааÑ" 5650 }, 5651 array: { 5652 unit: "ÑÑавки", 5653 verb: "да имааÑ" 5654 }, 5655 set: { 5656 unit: "ÑÑавки", 5657 verb: "да имааÑ" 5658 } 5659 }; 5660 function t(t) { 5661 var n; 5662 return (n = e[t]) == null ? null : n; 5663 } 5664 let n = { 5665 regex: "внеÑ", 5666 email: "адÑеÑа на е-поÑÑа", 5667 url: "URL", 5668 emoji: "емоÑи", 5669 uuid: "UUID", 5670 uuidv4: "UUIDv4", 5671 uuidv6: "UUIDv6", 5672 nanoid: "nanoid", 5673 guid: "GUID", 5674 cuid: "cuid", 5675 cuid2: "cuid2", 5676 ulid: "ULID", 5677 xid: "XID", 5678 ksuid: "KSUID", 5679 datetime: "ISO даÑÑм и вÑеме", 5680 date: "ISO даÑÑм", 5681 time: "ISO вÑеме", 5682 duration: "ISO вÑемеÑÑаеÑе", 5683 ipv4: "IPv4 адÑеÑа", 5684 ipv6: "IPv6 адÑеÑа", 5685 cidrv4: "IPv4 опÑег", 5686 cidrv6: "IPv6 опÑег", 5687 base64: "base64-енкодиÑана низа", 5688 base64url: "base64url-енкодиÑана низа", 5689 json_string: "JSON низа", 5690 e164: "E.164 бÑоÑ", 5691 jwt: "JWT", 5692 template_literal: "внеÑ" 5693 }, r = { 5694 nan: "NaN", 5695 number: "бÑоÑ", 5696 array: "низа" 5697 }; 5698 return (e) => { 5699 switch (e.code) { 5700 case "invalid_type": { 5701 var i, a; 5702 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5703 return /^[A-Z]/.test(e.expected) ? `ÐÑеÑен внеÑ: Ñе оÑекÑва instanceof ${e.expected}, пÑимено ${o}` : `ÐÑеÑен внеÑ: Ñе оÑекÑва ${t}, пÑимено ${o}`; 5704 } 5705 case "invalid_value": return e.values.length === 1 ? `Invalid input: expected ${E(e.values[0])}` : `ÐÑеÑана опÑиÑа: Ñе оÑекÑва една ${_(e.values, "|")}`; 5706 case "too_big": { 5707 var o, s, c; 5708 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 5709 return r ? `ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð³Ð¾Ð»ÐµÐ¼: Ñе оÑекÑва ${(o = e.origin) == null ? "вÑедноÑÑа" : o} да има ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "елеменÑи" : s}` : `ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð³Ð¾Ð»ÐµÐ¼: Ñе оÑекÑва ${(c = e.origin) == null ? "вÑедноÑÑа" : c} да биде ${n}${e.maximum.toString()}`; 5710 } 5711 case "too_small": { 5712 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 5713 return r ? `ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð¼Ð°Ð»: Ñе оÑекÑва ${e.origin} да има ${n}${e.minimum.toString()} ${r.unit}` : `ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð¼Ð°Ð»: Ñе оÑекÑва ${e.origin} да биде ${n}${e.minimum.toString()}`; 5714 } 5715 case "invalid_format": { 5716 var l; 5717 let t = e; 5718 return t.format === "starts_with" ? `ÐеважеÑка низа: моÑа да запоÑнÑва Ñо "${t.prefix}"` : t.format === "ends_with" ? `ÐеважеÑка низа: моÑа да завÑÑÑва Ñо "${t.suffix}"` : t.format === "includes" ? `ÐеважеÑка низа: моÑа да вклÑÑÑва "${t.includes}"` : t.format === "regex" ? `ÐеважеÑка низа: моÑа да одгоаÑа на паÑеÑÐ½Ð¾Ñ ${t.pattern}` : `Invalid ${(l = n[t.format]) == null ? e.format : l}`; 5719 } 5720 case "not_multiple_of": return `ÐÑеÑен бÑоÑ: моÑа да биде делив Ñо ${e.divisor}`; 5721 case "unrecognized_keys": return `${e.keys.length > 1 ? "ÐепÑепознаени клÑÑеви" : "ÐепÑепознаен клÑÑ"}: ${_(e.keys, ", ")}`; 5722 case "invalid_key": return `ÐÑеÑен клÑÑ Ð²Ð¾ ${e.origin}`; 5723 case "invalid_union": return "ÐÑеÑен внеÑ"; 5724 case "invalid_element": return `ÐÑеÑна вÑедноÑÑ Ð²Ð¾ ${e.origin}`; 5725 default: return "ÐÑеÑен внеÑ"; 5726 } 5727 }; 5728}; 5729function fo() { 5730 return { localeError: uo() }; 5731} 5732//#endregion 5733//#region ../node_modules/zod/v4/locales/ms.js 5734var po = () => { 5735 let e = { 5736 string: { 5737 unit: "aksara", 5738 verb: "mempunyai" 5739 }, 5740 file: { 5741 unit: "bait", 5742 verb: "mempunyai" 5743 }, 5744 array: { 5745 unit: "elemen", 5746 verb: "mempunyai" 5747 }, 5748 set: { 5749 unit: "elemen", 5750 verb: "mempunyai" 5751 } 5752 }; 5753 function t(t) { 5754 var n; 5755 return (n = e[t]) == null ? null : n; 5756 } 5757 let n = { 5758 regex: "input", 5759 email: "alamat e-mel", 5760 url: "URL", 5761 emoji: "emoji", 5762 uuid: "UUID", 5763 uuidv4: "UUIDv4", 5764 uuidv6: "UUIDv6", 5765 nanoid: "nanoid", 5766 guid: "GUID", 5767 cuid: "cuid", 5768 cuid2: "cuid2", 5769 ulid: "ULID", 5770 xid: "XID", 5771 ksuid: "KSUID", 5772 datetime: "tarikh masa ISO", 5773 date: "tarikh ISO", 5774 time: "masa ISO", 5775 duration: "tempoh ISO", 5776 ipv4: "alamat IPv4", 5777 ipv6: "alamat IPv6", 5778 cidrv4: "julat IPv4", 5779 cidrv6: "julat IPv6", 5780 base64: "string dikodkan base64", 5781 base64url: "string dikodkan base64url", 5782 json_string: "string JSON", 5783 e164: "nombor E.164", 5784 jwt: "JWT", 5785 template_literal: "input" 5786 }, r = { 5787 nan: "NaN", 5788 number: "nombor" 5789 }; 5790 return (e) => { 5791 switch (e.code) { 5792 case "invalid_type": { 5793 var i, a; 5794 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5795 return /^[A-Z]/.test(e.expected) ? `Input tidak sah: dijangka instanceof ${e.expected}, diterima ${o}` : `Input tidak sah: dijangka ${t}, diterima ${o}`; 5796 } 5797 case "invalid_value": return e.values.length === 1 ? `Input tidak sah: dijangka ${E(e.values[0])}` : `Pilihan tidak sah: dijangka salah satu daripada ${_(e.values, "|")}`; 5798 case "too_big": { 5799 var o, s, c; 5800 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 5801 return r ? `Terlalu besar: dijangka ${(o = e.origin) == null ? "nilai" : o} ${r.verb} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elemen" : s}` : `Terlalu besar: dijangka ${(c = e.origin) == null ? "nilai" : c} adalah ${n}${e.maximum.toString()}`; 5802 } 5803 case "too_small": { 5804 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 5805 return r ? `Terlalu kecil: dijangka ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` : `Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`; 5806 } 5807 case "invalid_format": { 5808 var l; 5809 let t = e; 5810 return t.format === "starts_with" ? `String tidak sah: mesti bermula dengan "${t.prefix}"` : t.format === "ends_with" ? `String tidak sah: mesti berakhir dengan "${t.suffix}"` : t.format === "includes" ? `String tidak sah: mesti mengandungi "${t.includes}"` : t.format === "regex" ? `String tidak sah: mesti sepadan dengan corak ${t.pattern}` : `${(l = n[t.format]) == null ? e.format : l} tidak sah`; 5811 } 5812 case "not_multiple_of": return `Nombor tidak sah: perlu gandaan ${e.divisor}`; 5813 case "unrecognized_keys": return `Kunci tidak dikenali: ${_(e.keys, ", ")}`; 5814 case "invalid_key": return `Kunci tidak sah dalam ${e.origin}`; 5815 case "invalid_union": return "Input tidak sah"; 5816 case "invalid_element": return `Nilai tidak sah dalam ${e.origin}`; 5817 default: return "Input tidak sah"; 5818 } 5819 }; 5820}; 5821function mo() { 5822 return { localeError: po() }; 5823} 5824//#endregion 5825//#region ../node_modules/zod/v4/locales/nl.js 5826var ho = () => { 5827 let e = { 5828 string: { 5829 unit: "tekens", 5830 verb: "heeft" 5831 }, 5832 file: { 5833 unit: "bytes", 5834 verb: "heeft" 5835 }, 5836 array: { 5837 unit: "elementen", 5838 verb: "heeft" 5839 }, 5840 set: { 5841 unit: "elementen", 5842 verb: "heeft" 5843 } 5844 }; 5845 function t(t) { 5846 var n; 5847 return (n = e[t]) == null ? null : n; 5848 } 5849 let n = { 5850 regex: "invoer", 5851 email: "emailadres", 5852 url: "URL", 5853 emoji: "emoji", 5854 uuid: "UUID", 5855 uuidv4: "UUIDv4", 5856 uuidv6: "UUIDv6", 5857 nanoid: "nanoid", 5858 guid: "GUID", 5859 cuid: "cuid", 5860 cuid2: "cuid2", 5861 ulid: "ULID", 5862 xid: "XID", 5863 ksuid: "KSUID", 5864 datetime: "ISO datum en tijd", 5865 date: "ISO datum", 5866 time: "ISO tijd", 5867 duration: "ISO duur", 5868 ipv4: "IPv4-adres", 5869 ipv6: "IPv6-adres", 5870 cidrv4: "IPv4-bereik",
5871 cidrv6: "IPv6-bereik", 5872 base64: "base64-gecodeerde tekst", 5873 base64url: "base64 URL-gecodeerde tekst", 5874 json_string: "JSON string", 5875 e164: "E.164-nummer", 5876 jwt: "JWT", 5877 template_literal: "invoer" 5878 }, r = { 5879 nan: "NaN", 5880 number: "getal" 5881 }; 5882 return (e) => { 5883 switch (e.code) { 5884 case "invalid_type": { 5885 var i, a; 5886 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5887 return /^[A-Z]/.test(e.expected) ? `Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${o}` : `Ongeldige invoer: verwacht ${t}, ontving ${o}`; 5888 } 5889 case "invalid_value": return e.values.length === 1 ? `Ongeldige invoer: verwacht ${E(e.values[0])}` : `Ongeldige optie: verwacht één van ${_(e.values, "|")}`; 5890 case "too_big": { 5891 var o, s, c; 5892 let n = e.inclusive ? "<=" : "<", r = t(e.origin), i = e.origin === "date" ? "laat" : e.origin === "string" ? "lang" : "groot"; 5893 return r ? `Te ${i}: verwacht dat ${(o = e.origin) == null ? "waarde" : o} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elementen" : s} ${r.verb}` : `Te ${i}: verwacht dat ${(c = e.origin) == null ? "waarde" : c} ${n}${e.maximum.toString()} is`; 5894 } 5895 case "too_small": { 5896 let n = e.inclusive ? ">=" : ">", r = t(e.origin), i = e.origin === "date" ? "vroeg" : e.origin === "string" ? "kort" : "klein"; 5897 return r ? `Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}` : `Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`; 5898 } 5899 case "invalid_format": { 5900 var l; 5901 let t = e; 5902 return t.format === "starts_with" ? `Ongeldige tekst: moet met "${t.prefix}" beginnen` : t.format === "ends_with" ? `Ongeldige tekst: moet op "${t.suffix}" eindigen` : t.format === "includes" ? `Ongeldige tekst: moet "${t.includes}" bevatten` : t.format === "regex" ? `Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}` : `Ongeldig: ${(l = n[t.format]) == null ? e.format : l}`; 5903 } 5904 case "not_multiple_of": return `Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`; 5905 case "unrecognized_keys": return `Onbekende key${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 5906 case "invalid_key": return `Ongeldige key in ${e.origin}`; 5907 case "invalid_union": return "Ongeldige invoer"; 5908 case "invalid_element": return `Ongeldige waarde in ${e.origin}`; 5909 default: return "Ongeldige invoer"; 5910 } 5911 }; 5912}; 5913function go() { 5914 return { localeError: ho() }; 5915} 5916//#endregion 5917//#region ../node_modules/zod/v4/locales/no.js 5918var _o = () => { 5919 let e = { 5920 string: { 5921 unit: "tegn", 5922 verb: "Ã¥ ha" 5923 }, 5924 file: { 5925 unit: "bytes", 5926 verb: "Ã¥ ha" 5927 }, 5928 array: { 5929 unit: "elementer", 5930 verb: "Ã¥ inneholde" 5931 }, 5932 set: { 5933 unit: "elementer", 5934 verb: "Ã¥ inneholde" 5935 } 5936 }; 5937 function t(t) { 5938 var n; 5939 return (n = e[t]) == null ? null : n; 5940 } 5941 let n = { 5942 regex: "input", 5943 email: "e-postadresse", 5944 url: "URL", 5945 emoji: "emoji", 5946 uuid: "UUID", 5947 uuidv4: "UUIDv4", 5948 uuidv6: "UUIDv6", 5949 nanoid: "nanoid", 5950 guid: "GUID", 5951 cuid: "cuid", 5952 cuid2: "cuid2", 5953 ulid: "ULID", 5954 xid: "XID", 5955 ksuid: "KSUID", 5956 datetime: "ISO dato- og klokkeslett", 5957 date: "ISO-dato", 5958 time: "ISO-klokkeslett", 5959 duration: "ISO-varighet", 5960 ipv4: "IPv4-omrÃ¥de", 5961 ipv6: "IPv6-omrÃ¥de", 5962 cidrv4: "IPv4-spekter", 5963 cidrv6: "IPv6-spekter", 5964 base64: "base64-enkodet streng", 5965 base64url: "base64url-enkodet streng", 5966 json_string: "JSON-streng", 5967 e164: "E.164-nummer", 5968 jwt: "JWT", 5969 template_literal: "input" 5970 }, r = { 5971 nan: "NaN", 5972 number: "tall", 5973 array: "liste" 5974 }; 5975 return (e) => { 5976 switch (e.code) { 5977 case "invalid_type": { 5978 var i, a; 5979 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 5980 return /^[A-Z]/.test(e.expected) ? `Ugyldig input: forventet instanceof ${e.expected}, fikk ${o}` : `Ugyldig input: forventet ${t}, fikk ${o}`; 5981 } 5982 case "invalid_value": return e.values.length === 1 ? `Ugyldig verdi: forventet ${E(e.values[0])}` : `Ugyldig valg: forventet en av ${_(e.values, "|")}`; 5983 case "too_big": { 5984 var o, s, c; 5985 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 5986 return r ? `For stor(t): forventet ${(o = e.origin) == null ? "value" : o} til Ã¥ ha ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elementer" : s}` : `For stor(t): forventet ${(c = e.origin) == null ? "value" : c} til Ã¥ ha ${n}${e.maximum.toString()}`; 5987 } 5988 case "too_small": { 5989 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 5990 return r ? `For lite(n): forventet ${e.origin} til Ã¥ ha ${n}${e.minimum.toString()} ${r.unit}` : `For lite(n): forventet ${e.origin} til Ã¥ ha ${n}${e.minimum.toString()}`; 5991 } 5992 case "invalid_format": { 5993 var l; 5994 let t = e; 5995 return t.format === "starts_with" ? `Ugyldig streng: mÃ¥ starte med "${t.prefix}"` : t.format === "ends_with" ? `Ugyldig streng: mÃ¥ ende med "${t.suffix}"` : t.format === "includes" ? `Ugyldig streng: mÃ¥ inneholde "${t.includes}"` : t.format === "regex" ? `Ugyldig streng: mÃ¥ matche mønsteret ${t.pattern}` : `Ugyldig ${(l = n[t.format]) == null ? e.format : l}`; 5996 } 5997 case "not_multiple_of": return `Ugyldig tall: mÃ¥ være et multiplum av ${e.divisor}`; 5998 case "unrecognized_keys": return `${e.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${_(e.keys, ", ")}`; 5999 case "invalid_key": return `Ugyldig nøkkel i ${e.origin}`; 6000 case "invalid_union": return "Ugyldig input"; 6001 case "invalid_element": return `Ugyldig verdi i ${e.origin}`; 6002 default: return "Ugyldig input"; 6003 } 6004 }; 6005}; 6006function vo() { 6007 return { localeError: _o() }; 6008} 6009//#endregion 6010//#region ../node_modules/zod/v4/locales/ota.js 6011var yo = () => { 6012 let e = { 6013 string: { 6014 unit: "harf", 6015 verb: "olmalıdır" 6016 }, 6017 file: { 6018 unit: "bayt", 6019 verb: "olmalıdır" 6020 }, 6021 array: { 6022 unit: "unsur", 6023 verb: "olmalıdır" 6024 }, 6025 set: { 6026 unit: "unsur", 6027 verb: "olmalıdır" 6028 } 6029 }; 6030 function t(t) { 6031 var n; 6032 return (n = e[t]) == null ? null : n; 6033 } 6034 let n = { 6035 regex: "giren", 6036 email: "epostagâh", 6037 url: "URL", 6038 emoji: "emoji", 6039 uuid: "UUID", 6040 uuidv4: "UUIDv4", 6041 uuidv6: "UUIDv6", 6042 nanoid: "nanoid", 6043 guid: "GUID", 6044 cuid: "cuid", 6045 cuid2: "cuid2", 6046 ulid: "ULID", 6047 xid: "XID", 6048 ksuid: "KSUID", 6049 datetime: "ISO hengâmı", 6050 date: "ISO tarihi", 6051 time: "ISO zamanı", 6052 duration: "ISO müddeti", 6053 ipv4: "IPv4 niÅânı", 6054 ipv6: "IPv6 niÅânı", 6055 cidrv4: "IPv4 menzili", 6056 cidrv6: "IPv6 menzili", 6057 base64: "base64-Åifreli metin", 6058 base64url: "base64url-Åifreli metin", 6059 json_string: "JSON metin", 6060 e164: "E.164 sayısı", 6061 jwt: "JWT", 6062 template_literal: "giren" 6063 }, r = { 6064 nan: "NaN", 6065 number: "numara", 6066 array: "saf", 6067 null: "gayb" 6068 }; 6069 return (e) => { 6070 switch (e.code) { 6071 case "invalid_type": { 6072 var i, a; 6073 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6074 return /^[A-Z]/.test(e.expected) ? `Fâsit giren: umulan instanceof ${e.expected}, alınan ${o}` : `Fâsit giren: umulan ${t}, alınan ${o}`; 6075 } 6076 case "invalid_value": return e.values.length === 1 ? `Fâsit giren: umulan ${E(e.values[0])}` : `Fâsit tercih: mûteberler ${_(e.values, "|")}`; 6077 case "too_big": { 6078 var o, s, c; 6079 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6080 return r ? `Fazla büyük: ${(o = e.origin) == null ? "value" : o}, ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elements" : s} sahip olmalıydı.` : `Fazla büyük: ${(c = e.origin) == null ? "value" : c}, ${n}${e.maximum.toString()} olmalıydı.`; 6081 } 6082 case "too_small": { 6083 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6084 return r ? `Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} ${r.unit} sahip olmalıydı.` : `Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} olmalıydı.`; 6085 } 6086 case "invalid_format": { 6087 var l; 6088 let t = e; 6089 return t.format === "starts_with" ? `Fâsit metin: "${t.prefix}" ile baÅlamalı.` : t.format === "ends_with" ? `Fâsit metin: "${t.suffix}" ile bitmeli.` : t.format === "includes" ? `Fâsit metin: "${t.includes}" ihtivâ etmeli.` : t.format === "regex" ? `Fâsit metin: ${t.pattern} nakÅına uymalı.` : `Fâsit ${(l = n[t.format]) == null ? e.format : l}`; 6090 } 6091 case "not_multiple_of": return `Fâsit sayı: ${e.divisor} katı olmalıydı.`; 6092 case "unrecognized_keys": return `Tanınmayan anahtar ${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 6093 case "invalid_key": return `${e.origin} için tanınmayan anahtar var.`; 6094 case "invalid_union": return "Giren tanınamadı."; 6095 case "invalid_element": return `${e.origin} için tanınmayan kıymet var.`; 6096 default: return "Kıymet tanınamadı."; 6097 } 6098 }; 6099}; 6100function bo() { 6101 return { localeError: yo() }; 6102} 6103//#endregion 6104//#region ../node_modules/zod/v4/locales/ps.js 6105var xo = () => { 6106 let e = { 6107 string: { 6108 unit: "تÙÚ©Ù", 6109 verb: "ÙÙØ±Ù" 6110 }, 6111 file: { 6112 unit: "باÛټس", 6113 verb: "ÙÙØ±Ù" 6114 }, 6115 array: { 6116 unit: "تÙÚ©Ù", 6117 verb: "ÙÙØ±Ù" 6118 }, 6119 set: { 6120 unit: "تÙÚ©Ù", 6121 verb: "ÙÙØ±Ù" 6122 } 6123 }; 6124 function t(t) { 6125 var n; 6126 return (n = e[t]) == null ? null : n; 6127 } 6128 let n = { 6129 regex: "ÙØ±ÙدÙ", 6130 email: "برÛÚÙØ§ÙÛÚ©", 6131 url: "Û٠آر اÙ", 6132 emoji: "اÛÙ ÙØ¬Ù", 6133 uuid: "UUID", 6134 uuidv4: "UUIDv4", 6135 uuidv6: "UUIDv6", 6136 nanoid: "nanoid", 6137 guid: "GUID", 6138 cuid: "cuid", 6139 cuid2: "cuid2", 6140 ulid: "ULID", 6141 xid: "XID", 6142 ksuid: "KSUID", 6143 datetime: "ÙÛÙ¼Ù Ø§Ù ÙØ®Øª", 6144 date: "ÙÛÙ¼Ù", 6145 time: "ÙØ®Øª", 6146 duration: "Ù ÙØ¯Ù", 6147 ipv4: "د IPv4 پتÙ", 6148 ipv6: "د IPv6 پتÙ", 6149 cidrv4: "د IPv4 ساØÙ", 6150 cidrv6: "د IPv6 ساØÙ", 6151 base64: "base64-encoded ٠تÙ", 6152 base64url: "base64url-encoded ٠تÙ", 6153 json_string: "JSON ٠تÙ", 6154 e164: "د E.164 Ø´Ù ÛØ±Ù", 6155 jwt: "JWT", 6156 template_literal: "ÙØ±ÙدÙ" 6157 }, r = { 6158 nan: "NaN", 6159 number: "عدد", 6160 array: "ارÛ" 6161 }; 6162 return (e) => { 6163 switch (e.code) { 6164 case "invalid_type": { 6165 var i, a; 6166 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6167 return /^[A-Z]/.test(e.expected) ? `ÙØ§Ø³Ù ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ instanceof ${e.expected} ÙØ§Û, ٠ګر ${o} ØªØ±ÙØ§Ø³Ù Ø´Ù` : `ÙØ§Ø³Ù ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ ${t} ÙØ§Û, ٠ګر ${o} ØªØ±ÙØ§Ø³Ù Ø´Ù`; 6168 } 6169 case "invalid_value": return e.values.length === 1 ? `ÙØ§Ø³Ù ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ ${E(e.values[0])} ÙØ§Û` : `ÙØ§Ø³Ù Ø§ÙØªØ®Ø§Ø¨: Ø¨Ø§ÛØ¯ ÛÙ ÙÙ ${_(e.values, "|")} Ú Ø®Ù ÙØ§Û`; 6170 case "too_big": { 6171 var o; 6172 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6173 if (r) { 6174 var s, c; 6175 return `ÚÛØ± ÙÙÛ: ${(s = e.origin) == null ? "Ø§Ø±Ø²ÚØª" : s} Ø¨Ø§ÛØ¯ ${n}${e.maximum.toString()} ${(c = r.unit) == null ? "Ø¹ÙØµØ±ÙÙÙ" : c} ÙÙØ±Ù`; 6176 } 6177 return `ÚÛØ± ÙÙÛ: ${(o = e.origin) == null ? "Ø§Ø±Ø²ÚØª" : o} Ø¨Ø§ÛØ¯ ${n}${e.maximum.toString()} ÙÙ`; 6178 } 6179 case "too_small": { 6180 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6181 return r ? `ÚÛØ± Ú©ÙÚÙÛ: ${e.origin} Ø¨Ø§ÛØ¯ ${n}${e.minimum.toString()} ${r.unit} ÙÙØ±Ù` : `ÚÛØ± Ú©ÙÚÙÛ: ${e.origin} Ø¨Ø§ÛØ¯ ${n}${e.minimum.toString()} ÙÙ`; 6182 } 6183 case "invalid_format": { 6184 var l; 6185 let t = e; 6186 return t.format === "starts_with" ? `ÙØ§Ø³Ù ٠تÙ: Ø¨Ø§ÛØ¯ د "${t.prefix}" سر٠پÛÙ Ø´Ù` : t.format === "ends_with" ? `ÙØ§Ø³Ù ٠تÙ: Ø¨Ø§ÛØ¯ د "${t.suffix}" Ø³Ø±Ù Ù¾Ø§Û ØªÙ ÙØ±Ø³ÙÚÙ` : t.format === "includes" ? `ÙØ§Ø³Ù ٠تÙ: Ø¨Ø§ÛØ¯ "${t.includes}" ÙÙØ±Ù` : t.format === "regex" ? `ÙØ§Ø³Ù ٠تÙ: Ø¨Ø§ÛØ¯ د ${t.pattern} Ø³Ø±Ù Ù Ø·Ø§Ø¨ÙØª ÙÙØ±Ù` : `${(l = n[t.format]) == null ? e.format : l} ÙØ§Ø³Ù دÛ`; 6187 } 6188 case "not_multiple_of": return `ÙØ§Ø³Ù عدد: Ø¨Ø§ÛØ¯ د ${e.divisor} ٠ضرب ÙÙ`; 6189 case "unrecognized_keys": return `ÙØ§Ø³Ù ${e.keys.length > 1 ? "Ú©ÙÛÚÙÙÙ" : "Ú©ÙÛÚ"}: ${_(e.keys, ", ")}`; 6190 case "invalid_key": return `ÙØ§Ø³Ù Ú©ÙÛÚ Ù¾Ù ${e.origin} Ú©Û`; 6191 case "invalid_union": return "ÙØ§Ø³Ù Ù ÙØ±ÙدÙ"; 6192 case "invalid_element": return `ÙØ§Ø³Ù Ø¹ÙØµØ± Ù¾Ù ${e.origin} Ú©Û`; 6193 default: return "ÙØ§Ø³Ù Ù ÙØ±ÙدÙ"; 6194 } 6195 }; 6196}; 6197function So() { 6198 return { localeError: xo() }; 6199} 6200//#endregion 6201//#region ../node_modules/zod/v4/locales/pl.js 6202var Co = () => { 6203 let e = { 6204 string: { 6205 unit: "znaków", 6206 verb: "mieÄ" 6207 }, 6208 file: { 6209 unit: "bajtów", 6210 verb: "mieÄ" 6211 }, 6212 array: { 6213 unit: "elementów", 6214 verb: "mieÄ" 6215 }, 6216 set: { 6217 unit: "elementów", 6218 verb: "mieÄ" 6219 } 6220 }; 6221 function t(t) { 6222 var n; 6223 return (n = e[t]) == null ? null : n; 6224 } 6225 let n = { 6226 regex: "wyrażenie", 6227 email: "adres email", 6228 url: "URL", 6229 emoji: "emoji", 6230 uuid: "UUID", 6231 uuidv4: "UUIDv4", 6232 uuidv6: "UUIDv6", 6233 nanoid: "nanoid", 6234 guid: "GUID", 6235 cuid: "cuid", 6236 cuid2: "cuid2", 6237 ulid: "ULID", 6238 xid: "XID", 6239 ksuid: "KSUID", 6240 datetime: "data i godzina w formacie ISO", 6241 date: "data w formacie ISO", 6242 time: "godzina w formacie ISO", 6243 duration: "czas trwania ISO", 6244 ipv4: "adres IPv4", 6245 ipv6: "adres IPv6", 6246 cidrv4: "zakres IPv4", 6247 cidrv6: "zakres IPv6", 6248 base64: "ciÄ g znaków zakodowany w formacie base64", 6249 base64url: "ciÄ g znaków zakodowany w formacie base64url", 6250 json_string: "ciÄ g znaków w formacie JSON", 6251 e164: "liczba E.164", 6252 jwt: "JWT", 6253 template_literal: "wejÅcie" 6254 }, r = { 6255 nan: "NaN", 6256 number: "liczba", 6257 array: "tablica" 6258 }; 6259 return (e) => { 6260 switch (e.code) { 6261 case "invalid_type": { 6262 var i, a; 6263 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6264 return /^[A-Z]/.test(e.expected) ? `NieprawidÅowe dane wejÅciowe: oczekiwano instanceof ${e.expected}, otrzymano ${o}` : `NieprawidÅowe dane wejÅciowe: oczekiwano ${t}, otrzymano ${o}`; 6265 } 6266 case "invalid_value": return e.values.length === 1 ? `NieprawidÅowe dane wejÅciowe: oczekiwano ${E(e.values[0])}` : `NieprawidÅowa opcja: oczekiwano jednej z wartoÅci ${_(e.values, "|")}`; 6267 case "too_big": { 6268 var o; 6269 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6270 if (r) { 6271 var s, c; 6272 return `Za duża wartoÅÄ: oczekiwano, że ${(s = e.origin) == null ? "wartoÅÄ" : s} bÄdzie mieÄ ${n}${e.maximum.toString()} ${(c = r.unit) == null ? "elementów" : c}`; 6273 } 6274 return `Zbyt duż(y/a/e): oczekiwano, że ${(o = e.origin) == null ? "wartoÅÄ" : o} bÄdzie wynosiÄ ${n}${e.maximum.toString()}`; 6275 } 6276 case "too_small": { 6277 var l; 6278 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6279 if (r) { 6280 var u, d; 6281 return `Za maÅa wartoÅÄ: oczekiwano, że ${(u = e.origin) == null ? "wartoÅÄ" : u} bÄdzie mieÄ ${n}${e.minimum.toString()} ${(d = r.unit) == null ? "elementów" : d}`; 6282 } 6283 return `Zbyt maÅ(y/a/e): oczekiwano, że ${(l = e.origin) == null ? "wartoÅÄ" : l} bÄdzie wynosiÄ ${n}${e.minimum.toString()}`; 6284 } 6285 case "invalid_format": { 6286 var f; 6287 let t = e; 6288 return t.format === "starts_with" ? `NieprawidÅowy ciÄ g znaków: musi zaczynaÄ siÄ od "${t.prefix}"` : t.format === "ends_with" ? `NieprawidÅowy ciÄ g znaków: musi koÅczyÄ siÄ na "${t.suffix}"` : t.format === "includes" ? `NieprawidÅowy ciÄ g znaków: musi zawieraÄ "${t.includes}"` : t.format === "regex" ? `NieprawidÅowy ciÄ g znaków: musi odpowiadaÄ wzorcowi ${t.pattern}` : `NieprawidÅow(y/a/e) ${(f = n[t.format]) == null ? e.format : f}`; 6289 } 6290 case "not_multiple_of": return `NieprawidÅowa liczba: musi byÄ wielokrotnoÅciÄ ${e.divisor}`; 6291 case "unrecognized_keys": return `Nierozpoznane klucze${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 6292 case "invalid_key": return `NieprawidÅowy klucz w ${e.origin}`; 6293 case "invalid_union": return "NieprawidÅowe dane wejÅciowe";
6294 case "invalid_element": return `NieprawidÅowa wartoÅÄ w ${e.origin}`; 6295 default: return "NieprawidÅowe dane wejÅciowe"; 6296 } 6297 }; 6298}; 6299function wo() { 6300 return { localeError: Co() }; 6301} 6302//#endregion 6303//#region ../node_modules/zod/v4/locales/pt.js 6304var To = () => { 6305 let e = { 6306 string: { 6307 unit: "caracteres", 6308 verb: "ter" 6309 }, 6310 file: { 6311 unit: "bytes", 6312 verb: "ter" 6313 }, 6314 array: { 6315 unit: "itens", 6316 verb: "ter" 6317 }, 6318 set: { 6319 unit: "itens", 6320 verb: "ter" 6321 } 6322 }; 6323 function t(t) { 6324 var n; 6325 return (n = e[t]) == null ? null : n; 6326 } 6327 let n = { 6328 regex: "padrão", 6329 email: "endereço de e-mail", 6330 url: "URL", 6331 emoji: "emoji", 6332 uuid: "UUID", 6333 uuidv4: "UUIDv4", 6334 uuidv6: "UUIDv6", 6335 nanoid: "nanoid", 6336 guid: "GUID", 6337 cuid: "cuid", 6338 cuid2: "cuid2", 6339 ulid: "ULID", 6340 xid: "XID", 6341 ksuid: "KSUID", 6342 datetime: "data e hora ISO", 6343 date: "data ISO", 6344 time: "hora ISO", 6345 duration: "duração ISO", 6346 ipv4: "endereço IPv4", 6347 ipv6: "endereço IPv6", 6348 cidrv4: "faixa de IPv4", 6349 cidrv6: "faixa de IPv6", 6350 base64: "texto codificado em base64", 6351 base64url: "URL codificada em base64", 6352 json_string: "texto JSON", 6353 e164: "número E.164", 6354 jwt: "JWT", 6355 template_literal: "entrada" 6356 }, r = { 6357 nan: "NaN", 6358 number: "número", 6359 null: "nulo" 6360 }; 6361 return (e) => { 6362 switch (e.code) { 6363 case "invalid_type": { 6364 var i, a; 6365 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6366 return /^[A-Z]/.test(e.expected) ? `Tipo inválido: esperado instanceof ${e.expected}, recebido ${o}` : `Tipo inválido: esperado ${t}, recebido ${o}`; 6367 } 6368 case "invalid_value": return e.values.length === 1 ? `Entrada inválida: esperado ${E(e.values[0])}` : `Opção inválida: esperada uma das ${_(e.values, "|")}`; 6369 case "too_big": { 6370 var o, s, c; 6371 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6372 return r ? `Muito grande: esperado que ${(o = e.origin) == null ? "valor" : o} tivesse ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elementos" : s}` : `Muito grande: esperado que ${(c = e.origin) == null ? "valor" : c} fosse ${n}${e.maximum.toString()}`; 6373 } 6374 case "too_small": { 6375 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6376 return r ? `Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${r.unit}` : `Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`; 6377 } 6378 case "invalid_format": { 6379 var l; 6380 let t = e; 6381 return t.format === "starts_with" ? `Texto inválido: deve começar com "${t.prefix}"` : t.format === "ends_with" ? `Texto inválido: deve terminar com "${t.suffix}"` : t.format === "includes" ? `Texto inválido: deve incluir "${t.includes}"` : t.format === "regex" ? `Texto inválido: deve corresponder ao padrão ${t.pattern}` : `${(l = n[t.format]) == null ? e.format : l} inválido`; 6382 } 6383 case "not_multiple_of": return `Número inválido: deve ser múltiplo de ${e.divisor}`; 6384 case "unrecognized_keys": return `Chave${e.keys.length > 1 ? "s" : ""} desconhecida${e.keys.length > 1 ? "s" : ""}: ${_(e.keys, ", ")}`; 6385 case "invalid_key": return `Chave inválida em ${e.origin}`; 6386 case "invalid_union": return "Entrada inválida"; 6387 case "invalid_element": return `Valor inválido em ${e.origin}`; 6388 default: return "Campo inválido"; 6389 } 6390 }; 6391}; 6392function Eo() { 6393 return { localeError: To() }; 6394} 6395//#endregion 6396//#region ../node_modules/zod/v4/locales/ro.js 6397var Do = () => { 6398 let e = { 6399 string: { 6400 unit: "caractere", 6401 verb: "sÄ aibÄ" 6402 }, 6403 file: { 6404 unit: "octeÈi", 6405 verb: "sÄ aibÄ" 6406 }, 6407 array: { 6408 unit: "elemente", 6409 verb: "sÄ aibÄ" 6410 }, 6411 set: { 6412 unit: "elemente", 6413 verb: "sÄ aibÄ" 6414 }, 6415 map: { 6416 unit: "intrÄri", 6417 verb: "sÄ aibÄ" 6418 } 6419 }; 6420 function t(t) { 6421 var n; 6422 return (n = e[t]) == null ? null : n; 6423 } 6424 let n = { 6425 regex: "intrare", 6426 email: "adresÄ de email", 6427 url: "URL", 6428 emoji: "emoji", 6429 uuid: "UUID", 6430 uuidv4: "UUIDv4", 6431 uuidv6: "UUIDv6", 6432 nanoid: "nanoid", 6433 guid: "GUID", 6434 cuid: "cuid", 6435 cuid2: "cuid2", 6436 ulid: "ULID", 6437 xid: "XID", 6438 ksuid: "KSUID", 6439 datetime: "datÄ Èi orÄ ISO", 6440 date: "datÄ ISO", 6441 time: "orÄ ISO", 6442 duration: "duratÄ ISO", 6443 ipv4: "adresÄ IPv4", 6444 ipv6: "adresÄ IPv6", 6445 mac: "adresÄ MAC", 6446 cidrv4: "interval IPv4", 6447 cidrv6: "interval IPv6", 6448 base64: "Èir codat base64", 6449 base64url: "Èir codat base64url", 6450 json_string: "Èir JSON", 6451 e164: "numÄr E.164", 6452 jwt: "JWT", 6453 template_literal: "intrare" 6454 }, r = { 6455 nan: "NaN", 6456 string: "Èir", 6457 number: "numÄr", 6458 boolean: "boolean", 6459 function: "funcÈie", 6460 array: "matrice", 6461 object: "obiect", 6462 undefined: "nedefinit", 6463 symbol: "simbol", 6464 bigint: "numÄr mare", 6465 void: "void", 6466 never: "never", 6467 map: "hartÄ", 6468 set: "set" 6469 }; 6470 return (e) => { 6471 switch (e.code) { 6472 case "invalid_type": { 6473 var i, a; 6474 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input); 6475 return `Intrare invalidÄ: aÈteptat ${t}, primit ${(a = r[n]) == null ? n : a}`; 6476 } 6477 case "invalid_value": return e.values.length === 1 ? `Intrare invalidÄ: aÈteptat ${E(e.values[0])}` : `OpÈiune invalidÄ: aÈteptat una dintre ${_(e.values, "|")}`; 6478 case "too_big": { 6479 var o, s, c; 6480 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6481 return r ? `Prea mare: aÈteptat ca ${(o = e.origin) == null ? "valoarea" : o} ${r.verb} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elemente" : s}` : `Prea mare: aÈteptat ca ${(c = e.origin) == null ? "valoarea" : c} sÄ fie ${n}${e.maximum.toString()}`; 6482 } 6483 case "too_small": { 6484 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6485 return r ? `Prea mic: aÈteptat ca ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` : `Prea mic: aÈteptat ca ${e.origin} sÄ fie ${n}${e.minimum.toString()}`; 6486 } 6487 case "invalid_format": { 6488 var l; 6489 let t = e; 6490 return t.format === "starts_with" ? `Èir invalid: trebuie sÄ Ã®nceapÄ cu "${t.prefix}"` : t.format === "ends_with" ? `Èir invalid: trebuie sÄ se termine cu "${t.suffix}"` : t.format === "includes" ? `Èir invalid: trebuie sÄ includÄ "${t.includes}"` : t.format === "regex" ? `Èir invalid: trebuie sÄ se potriveascÄ cu modelul ${t.pattern}` : `Format invalid: ${(l = n[t.format]) == null ? e.format : l}`; 6491 } 6492 case "not_multiple_of": return `NumÄr invalid: trebuie sÄ fie multiplu de ${e.divisor}`; 6493 case "unrecognized_keys": return `Chei nerecunoscute: ${_(e.keys, ", ")}`; 6494 case "invalid_key": return `Cheie invalidÄ Ã®n ${e.origin}`; 6495 case "invalid_union": return "Intrare invalidÄ"; 6496 case "invalid_element": return `Valoare invalidÄ Ã®n ${e.origin}`; 6497 default: return "Intrare invalidÄ"; 6498 } 6499 }; 6500}; 6501function Oo() { 6502 return { localeError: Do() }; 6503} 6504//#endregion 6505//#region ../node_modules/zod/v4/locales/ru.js 6506function ko(e, t, n, r) { 6507 let i = Math.abs(e), a = i % 10, o = i % 100; 6508 return o >= 11 && o <= 19 ? r : a === 1 ? t : a >= 2 && a <= 4 ? n : r; 6509} 6510var Ao = () => { 6511 let e = { 6512 string: { 6513 unit: { 6514 one: "Ñимвол", 6515 few: "Ñимвола", 6516 many: "Ñимволов" 6517 }, 6518 verb: "имеÑÑ" 6519 }, 6520 file: { 6521 unit: { 6522 one: "байÑ", 6523 few: "байÑа", 6524 many: "байÑ" 6525 }, 6526 verb: "имеÑÑ" 6527 }, 6528 array: { 6529 unit: { 6530 one: "ÑлеменÑ", 6531 few: "ÑлеменÑа", 6532 many: "ÑлеменÑов" 6533 }, 6534 verb: "имеÑÑ" 6535 }, 6536 set: { 6537 unit: { 6538 one: "ÑлеменÑ", 6539 few: "ÑлеменÑа", 6540 many: "ÑлеменÑов" 6541 }, 6542 verb: "имеÑÑ" 6543 } 6544 }; 6545 function t(t) { 6546 var n; 6547 return (n = e[t]) == null ? null : n; 6548 } 6549 let n = { 6550 regex: "ввод", 6551 email: "email адÑеÑ", 6552 url: "URL", 6553 emoji: "Ñмодзи", 6554 uuid: "UUID", 6555 uuidv4: "UUIDv4", 6556 uuidv6: "UUIDv6", 6557 nanoid: "nanoid", 6558 guid: "GUID", 6559 cuid: "cuid", 6560 cuid2: "cuid2", 6561 ulid: "ULID", 6562 xid: "XID", 6563 ksuid: "KSUID", 6564 datetime: "ISO даÑа и вÑемÑ", 6565 date: "ISO даÑа", 6566 time: "ISO вÑемÑ", 6567 duration: "ISO длиÑелÑноÑÑÑ", 6568 ipv4: "IPv4 адÑеÑ", 6569 ipv6: "IPv6 адÑеÑ", 6570 cidrv4: "IPv4 диапазон", 6571 cidrv6: "IPv6 диапазон", 6572 base64: "ÑÑÑока в ÑоÑмаÑе base64", 6573 base64url: "ÑÑÑока в ÑоÑмаÑе base64url", 6574 json_string: "JSON ÑÑÑока", 6575 e164: "Ð½Ð¾Ð¼ÐµÑ E.164", 6576 jwt: "JWT", 6577 template_literal: "ввод" 6578 }, r = { 6579 nan: "NaN", 6580 number: "ÑиÑло", 6581 array: "маÑÑив" 6582 }; 6583 return (e) => { 6584 switch (e.code) { 6585 case "invalid_type": { 6586 var i, a; 6587 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6588 return /^[A-Z]/.test(e.expected) ? `ÐевеÑнÑй ввод: ожидалоÑÑ instanceof ${e.expected}, полÑÑено ${o}` : `ÐевеÑнÑй ввод: ожидалоÑÑ ${t}, полÑÑено ${o}`; 6589 } 6590 case "invalid_value": return e.values.length === 1 ? `ÐевеÑнÑй ввод: ожидалоÑÑ ${E(e.values[0])}` : `ÐевеÑнÑй ваÑианÑ: ожидалоÑÑ Ð¾Ð´Ð½Ð¾ из ${_(e.values, "|")}`; 6591 case "too_big": { 6592 var o; 6593 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6594 if (r) { 6595 var s; 6596 let t = ko(Number(e.maximum), r.unit.one, r.unit.few, r.unit.many); 6597 return `СлиÑком болÑÑое знаÑение: ожидалоÑÑ, ÑÑо ${(s = e.origin) == null ? "знаÑение" : s} бÑÐ´ÐµÑ Ð¸Ð¼ÐµÑÑ ${n}${e.maximum.toString()} ${t}`; 6598 } 6599 return `СлиÑком болÑÑое знаÑение: ожидалоÑÑ, ÑÑо ${(o = e.origin) == null ? "знаÑение" : o} бÑÐ´ÐµÑ ${n}${e.maximum.toString()}`; 6600 } 6601 case "too_small": { 6602 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6603 if (r) { 6604 let t = ko(Number(e.minimum), r.unit.one, r.unit.few, r.unit.many); 6605 return `СлиÑком маленÑкое знаÑение: ожидалоÑÑ, ÑÑо ${e.origin} бÑÐ´ÐµÑ Ð¸Ð¼ÐµÑÑ ${n}${e.minimum.toString()} ${t}`; 6606 } 6607 return `СлиÑком маленÑкое знаÑение: ожидалоÑÑ, ÑÑо ${e.origin} бÑÐ´ÐµÑ ${n}${e.minimum.toString()}`; 6608 } 6609 case "invalid_format": { 6610 var c; 6611 let t = e; 6612 return t.format === "starts_with" ? `ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна наÑинаÑÑÑÑ Ñ "${t.prefix}"` : t.format === "ends_with" ? `ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна заканÑиваÑÑÑÑ Ð½Ð° "${t.suffix}"` : t.format === "includes" ? `ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна ÑодеÑжаÑÑ "${t.includes}"` : t.format === "regex" ? `ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна ÑооÑвеÑÑÑвоваÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${t.pattern}` : `ÐевеÑнÑй ${(c = n[t.format]) == null ? e.format : c}`; 6613 } 6614 case "not_multiple_of": return `ÐевеÑное ÑиÑло: должно бÑÑÑ ÐºÑаÑнÑм ${e.divisor}`; 6615 case "unrecognized_keys": return `ÐеÑаÑпознанн${e.keys.length > 1 ? "Ñе" : "Ñй"} клÑÑ${e.keys.length > 1 ? "и" : ""}: ${_(e.keys, ", ")}`; 6616 case "invalid_key": return `ÐевеÑнÑй клÑÑ Ð² ${e.origin}`; 6617 case "invalid_union": return "ÐевеÑнÑе Ð²Ñ Ð¾Ð´Ð½Ñе даннÑе"; 6618 case "invalid_element": return `ÐевеÑное знаÑение в ${e.origin}`; 6619 default: return "ÐевеÑнÑе Ð²Ñ Ð¾Ð´Ð½Ñе даннÑе"; 6620 } 6621 }; 6622}; 6623function jo() { 6624 return { localeError: Ao() }; 6625} 6626//#endregion 6627//#region ../node_modules/zod/v4/locales/sl.js 6628var Mo = () => { 6629 let e = { 6630 string: { 6631 unit: "znakov", 6632 verb: "imeti" 6633 }, 6634 file: { 6635 unit: "bajtov", 6636 verb: "imeti" 6637 }, 6638 array: { 6639 unit: "elementov", 6640 verb: "imeti" 6641 }, 6642 set: { 6643 unit: "elementov", 6644 verb: "imeti" 6645 } 6646 }; 6647 function t(t) { 6648 var n; 6649 return (n = e[t]) == null ? null : n; 6650 } 6651 let n = { 6652 regex: "vnos", 6653 email: "e-poÅ¡tni naslov", 6654 url: "URL", 6655 emoji: "emoji", 6656 uuid: "UUID", 6657 uuidv4: "UUIDv4", 6658 uuidv6: "UUIDv6", 6659 nanoid: "nanoid", 6660 guid: "GUID", 6661 cuid: "cuid", 6662 cuid2: "cuid2", 6663 ulid: "ULID", 6664 xid: "XID", 6665 ksuid: "KSUID", 6666 datetime: "ISO datum in Äas", 6667 date: "ISO datum", 6668 time: "ISO Äas", 6669 duration: "ISO trajanje", 6670 ipv4: "IPv4 naslov", 6671 ipv6: "IPv6 naslov", 6672 cidrv4: "obseg IPv4", 6673 cidrv6: "obseg IPv6", 6674 base64: "base64 kodiran niz", 6675 base64url: "base64url kodiran niz", 6676 json_string: "JSON niz", 6677 e164: "E.164 Å¡tevilka", 6678 jwt: "JWT", 6679 template_literal: "vnos" 6680 }, r = { 6681 nan: "NaN", 6682 number: "Å¡tevilo", 6683 array: "tabela" 6684 }; 6685 return (e) => { 6686 switch (e.code) { 6687 case "invalid_type": { 6688 var i, a; 6689 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6690 return /^[A-Z]/.test(e.expected) ? `Neveljaven vnos: priÄakovano instanceof ${e.expected}, prejeto ${o}` : `Neveljaven vnos: priÄakovano ${t}, prejeto ${o}`; 6691 } 6692 case "invalid_value": return e.values.length === 1 ? `Neveljaven vnos: priÄakovano ${E(e.values[0])}` : `Neveljavna možnost: priÄakovano eno izmed ${_(e.values, "|")}`; 6693 case "too_big": { 6694 var o, s, c; 6695 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6696 return r ? `Preveliko: priÄakovano, da bo ${(o = e.origin) == null ? "vrednost" : o} imelo ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "elementov" : s}` : `Preveliko: priÄakovano, da bo ${(c = e.origin) == null ? "vrednost" : c} ${n}${e.maximum.toString()}`; 6697 } 6698 case "too_small": { 6699 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6700 return r ? `Premajhno: priÄakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${r.unit}` : `Premajhno: priÄakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`; 6701 } 6702 case "invalid_format": { 6703 var l; 6704 let t = e; 6705 return t.format === "starts_with" ? `Neveljaven niz: mora se zaÄeti z "${t.prefix}"` : t.format === "ends_with" ? `Neveljaven niz: mora se konÄati z "${t.suffix}"` : t.format === "includes" ? `Neveljaven niz: mora vsebovati "${t.includes}"` : t.format === "regex" ? `Neveljaven niz: mora ustrezati vzorcu ${t.pattern}` : `Neveljaven ${(l = n[t.format]) == null ? e.format : l}`; 6706 } 6707 case "not_multiple_of": return `Neveljavno Å¡tevilo: mora biti veÄkratnik ${e.divisor}`; 6708 case "unrecognized_keys": return `Neprepoznan${e.keys.length > 1 ? "i kljuÄi" : " kljuÄ"}: ${_(e.keys, ", ")}`; 6709 case "invalid_key": return `Neveljaven kljuÄ v ${e.origin}`; 6710 case "invalid_union": return "Neveljaven vnos"; 6711 case "invalid_element": return `Neveljavna vrednost v ${e.origin}`; 6712 default: return "Neveljaven vnos"; 6713 } 6714 }; 6715}; 6716function No() { 6717 return { localeError: Mo() }; 6718} 6719//#endregion 6720//#region ../node_modules/zod/v4/locales/sv.js 6721var Po = () => { 6722 let e = { 6723 string: { 6724 unit: "tecken", 6725 verb: "att ha" 6726 }, 6727 file: { 6728 unit: "bytes", 6729 verb: "att ha" 6730 }, 6731 array: { 6732 unit: "objekt", 6733 verb: "att innehÃ¥lla" 6734 }, 6735 set: { 6736 unit: "objekt", 6737 verb: "att innehÃ¥lla" 6738 } 6739 }; 6740 function t(t) { 6741 var n; 6742 return (n = e[t]) == null ? null : n; 6743 } 6744 let n = { 6745 regex: "reguljärt uttryck", 6746 email: "e-postadress", 6747 url: "URL", 6748 emoji: "emoji", 6749 uuid: "UUID", 6750 uuidv4: "UUIDv4", 6751 uuidv6: "UUIDv6", 6752 nanoid: "nanoid", 6753 guid: "GUID", 6754 cuid: "cuid", 6755 cuid2: "cuid2", 6756 ulid: "ULID", 6757 xid: "XID", 6758 ksuid: "KSUID", 6759 datetime: "ISO-datum och tid", 6760 date: "ISO-datum", 6761 time: "ISO-tid", 6762 duration: "ISO-varaktighet", 6763 ipv4: "IPv4-intervall", 6764 ipv6: "IPv6-intervall", 6765 cidrv4: "IPv4-spektrum", 6766 cidrv6: "IPv6-spektrum", 6767 base64: "base64-kodad sträng", 6768 base64url: "base64url-kodad sträng", 6769 json_string: "JSON-sträng", 6770 e164: "E.164-nummer", 6771 jwt: "JWT", 6772 template_literal: "mall-literal" 6773 }, r = { 6774 nan: "NaN", 6775 number: "antal", 6776 array: "lista" 6777 }; 6778 return (e) => { 6779 switch (e.code) { 6780 case "invalid_type": { 6781 var i, a; 6782 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6783 return /^[A-Z]/.test(e.expected) ? `Ogiltig inmatning: förväntat instanceof ${e.expected}, fick ${o}` : `Ogiltig inmatning: förväntat ${t}, fick ${o}`; 6784 } 6785 case "invalid_value": return e.values.length === 1 ? `Ogiltig inmatning: förväntat ${E(e.values[0])}` : `Ogiltigt val: förväntade en av ${_(e.values, "|")}`; 6786 case "too_big": { 6787 var o; 6788 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6789 if (r) { 6790 var s, c; 6791 return `För stor(t): förväntade ${(s = e.origin) == null ? "värdet" : s} att ha ${n}${e.maximum.toString()} ${(c = r.unit) == null ? "elem
6791ent" : c}`; 6792 } 6793 return `För stor(t): förväntat ${(o = e.origin) == null ? "värdet" : o} att ha ${n}${e.maximum.toString()}`; 6794 } 6795 case "too_small": { 6796 var l; 6797 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6798 if (r) { 6799 var u; 6800 return `För lite(t): förväntade ${(u = e.origin) == null ? "värdet" : u} att ha ${n}${e.minimum.toString()} ${r.unit}`; 6801 } 6802 return `För lite(t): förväntade ${(l = e.origin) == null ? "värdet" : l} att ha ${n}${e.minimum.toString()}`; 6803 } 6804 case "invalid_format": { 6805 var d; 6806 let t = e; 6807 return t.format === "starts_with" ? `Ogiltig sträng: mÃ¥ste börja med "${t.prefix}"` : t.format === "ends_with" ? `Ogiltig sträng: mÃ¥ste sluta med "${t.suffix}"` : t.format === "includes" ? `Ogiltig sträng: mÃ¥ste innehÃ¥lla "${t.includes}"` : t.format === "regex" ? `Ogiltig sträng: mÃ¥ste matcha mönstret "${t.pattern}"` : `Ogiltig(t) ${(d = n[t.format]) == null ? e.format : d}`; 6808 } 6809 case "not_multiple_of": return `Ogiltigt tal: mÃ¥ste vara en multipel av ${e.divisor}`; 6810 case "unrecognized_keys": return `${e.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${_(e.keys, ", ")}`; 6811 case "invalid_key": 6812 var f; 6813 return `Ogiltig nyckel i ${(f = e.origin) == null ? "värdet" : f}`; 6814 case "invalid_union": return "Ogiltig input"; 6815 case "invalid_element": 6816 var p; 6817 return `Ogiltigt värde i ${(p = e.origin) == null ? "värdet" : p}`; 6818 default: return "Ogiltig input"; 6819 } 6820 }; 6821}; 6822function Fo() { 6823 return { localeError: Po() }; 6824} 6825//#endregion 6826//#region ../node_modules/zod/v4/locales/ta.js 6827var Io = () => { 6828 let e = { 6829 string: { 6830 unit: "à®à®´à¯à®¤à¯à®¤à¯à®à¯à®à®³à¯", 6831 verb: "à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯" 6832 }, 6833 file: { 6834 unit: "பà¯à®à¯à®à¯à®à®³à¯", 6835 verb: "à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯" 6836 }, 6837 array: { 6838 unit: "à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯", 6839 verb: "à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯" 6840 }, 6841 set: { 6842 unit: "à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯", 6843 verb: "à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯" 6844 } 6845 }; 6846 function t(t) { 6847 var n; 6848 return (n = e[t]) == null ? null : n; 6849 } 6850 let n = { 6851 regex: "à®à®³à¯à®³à¯à®à¯", 6852 email: "மினà¯à®©à®à¯à®à®²à¯ à®®à¯à®à®µà®°à®¿", 6853 url: "URL", 6854 emoji: "emoji", 6855 uuid: "UUID", 6856 uuidv4: "UUIDv4", 6857 uuidv6: "UUIDv6", 6858 nanoid: "nanoid", 6859 guid: "GUID", 6860 cuid: "cuid", 6861 cuid2: "cuid2", 6862 ulid: "ULID", 6863 xid: "XID", 6864 ksuid: "KSUID", 6865 datetime: "ISO தà¯à®¤à®¿ நà¯à®°à®®à¯", 6866 date: "ISO தà¯à®¤à®¿", 6867 time: "ISO நà¯à®°à®®à¯", 6868 duration: "ISO à®à®¾à®² ஠ளவà¯", 6869 ipv4: "IPv4 à®®à¯à®à®µà®°à®¿", 6870 ipv6: "IPv6 à®®à¯à®à®µà®°à®¿", 6871 cidrv4: "IPv4 வரமà¯à®ªà¯", 6872 cidrv6: "IPv6 வரமà¯à®ªà¯", 6873 base64: "base64-encoded à®à®°à®®à¯", 6874 base64url: "base64url-encoded à®à®°à®®à¯", 6875 json_string: "JSON à®à®°à®®à¯", 6876 e164: "E.164 à®à®£à¯", 6877 jwt: "JWT", 6878 template_literal: "input" 6879 }, r = { 6880 nan: "NaN", 6881 number: "à®à®£à¯", 6882 array: "஠ணி", 6883 null: "வà¯à®±à¯à®®à¯" 6884 }; 6885 return (e) => { 6886 switch (e.code) { 6887 case "invalid_type": { 6888 var i, a; 6889 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6890 return /^[A-Z]/.test(e.expected) ? `தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ instanceof ${e.expected}, பà¯à®±à®ªà¯à®ªà®à¯à®à®¤à¯ ${o}` : `தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${t}, பà¯à®±à®ªà¯à®ªà®à¯à®à®¤à¯ ${o}`; 6891 } 6892 case "invalid_value": return e.values.length === 1 ? `தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${E(e.values[0])}` : `தவறான விரà¯à®ªà¯à®ªà®®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${_(e.values, "|")} à®à®²à¯ à®à®©à¯à®±à¯`; 6893 case "too_big": { 6894 var o; 6895 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 6896 if (r) { 6897 var s, c; 6898 return `மி஠பà¯à®°à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ª
6898à®à¯à®à®¤à¯ ${(s = e.origin) == null ? "மதிபà¯à®ªà¯" : s} ${n}${e.maximum.toString()} ${(c = r.unit) == null ? "à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯" : c} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`; 6899 } 6900 return `மி஠பà¯à®°à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${(o = e.origin) == null ? "மதிபà¯à®ªà¯" : o} ${n}${e.maximum.toString()} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`; 6901 } 6902 case "too_small": { 6903 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 6904 return r ? `மிà®à®à¯ à®à®¿à®±à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${e.origin} ${n}${e.minimum.toString()} ${r.unit} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯` : `மிà®à®à¯ à®à®¿à®±à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${e.origin} ${n}${e.minimum.toString()} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`; 6905 } 6906 case "invalid_format": { 6907 var l; 6908 let t = e; 6909 return t.format === "starts_with" ? `தவறான à®à®°à®®à¯: "${t.prefix}" à®à®²à¯ தà¯à®à®à¯à® வà¯à®£à¯à®à¯à®®à¯` : t.format === "ends_with" ? `தவறான à®à®°à®®à¯: "${t.suffix}" à®à®²à¯ à®®à¯à®à®¿à®µà®à¯à®¯ வà¯à®£à¯à®à¯à®®à¯` : t.format === "includes" ? `தவறான à®à®°à®®à¯: "${t.includes}" à® à®à®³à¯à®³à®à®à¯à® வà¯à®£à¯à®à¯à®®à¯` : t.format === "regex" ? `தவறான à®à®°à®®à¯: ${t.pattern} à®®à¯à®±à¯à®ªà®¾à®à¯à®à¯à®à®©à¯ பà¯à®°à¯à®¨à¯à®¤ வà¯à®£à¯à®à¯à®®à¯` : `தவறான ${(l = n[t.format]) == null ? e.format : l}`; 6910 } 6911 case "not_multiple_of": return `தவறான à®à®£à¯: ${e.divisor} à®à®©à¯ பலமா஠à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`; 6912 case "unrecognized_keys": return `à® à®à¯à®¯à®¾à®³à®®à¯ தà¯à®°à®¿à®¯à®¾à®¤ விà®à¯${e.keys.length > 1 ? "à®à®³à¯" : ""}: ${_(e.keys, ", ")}`; 6913 case "invalid_key": return `${e.origin} à®à®²à¯ தவறான விà®à¯`;
6914 case "invalid_union": return "தவறான à®à®³à¯à®³à¯à®à¯"; 6915 case "invalid_element": return `${e.origin} à®à®²à¯ தவறான மதிபà¯à®ªà¯`; 6916 default: return "தவறான à®à®³à¯à®³à¯à®à¯"; 6917 } 6918 }; 6919}; 6920function Lo() { 6921 return { localeError: Io() }; 6922} 6923//#endregion 6924//#region ../node_modules/zod/v4/locales/th.js 6925var Ro = () => { 6926 let e = { 6927 string: { 6928 unit: "à¸à¸±à¸§à¸à¸±à¸à¸©à¸£", 6929 verb: "à¸à¸§à¸£à¸¡à¸µ" 6930 }, 6931 file: { 6932 unit: "à¹à¸à¸à¹", 6933 verb: "à¸à¸§à¸£à¸¡à¸µ" 6934 }, 6935 array: { 6936 unit: "รายà¸à¸²à¸£", 6937 verb: "à¸à¸§à¸£à¸¡à¸µ" 6938 }, 6939 set: { 6940 unit: "รายà¸à¸²à¸£", 6941 verb: "à¸à¸§à¸£à¸¡à¸µ" 6942 } 6943 }; 6944 function t(t) { 6945 var n; 6946 return (n = e[t]) == null ? null : n; 6947 } 6948 let n = { 6949 regex: "à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸", 6950 email: "à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¸µà¹à¸¡à¸¥", 6951 url: "URL", 6952 emoji: "à¸à¸´à¹à¸¡à¸à¸´", 6953 uuid: "UUID", 6954 uuidv4: "UUIDv4", 6955 uuidv6: "UUIDv6", 6956 nanoid: "nanoid", 6957 guid: "GUID", 6958 cuid: "cuid", 6959 cuid2: "cuid2", 6960 ulid: "ULID", 6961 xid: "XID", 6962 ksuid: "KSUID", 6963 datetime: "วัà¸à¸à¸µà¹à¹à¸§à¸¥à¸²à¹à¸à¸ ISO", 6964 date: "วัà¸à¸à¸µà¹à¹à¸à¸ ISO", 6965 time: "à¹à¸§à¸¥à¸²à¹à¸à¸ ISO", 6966 duration: "à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¹à¸à¸ ISO", 6967 ipv4: "à¸à¸µà¹à¸à¸¢à¸¹à¹ IPv4", 6968 ipv6: "à¸à¸µà¹à¸à¸¢à¸¹à¹ IPv6", 6969 cidrv4: "à¸à¹à¸§à¸ IP à¹à¸à¸ IPv4", 6970 cidrv6: "à¸à¹à¸§à¸ IP à¹à¸à¸ IPv6", 6971 base64: "à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ Base64", 6972 base64url: "à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ Base64 สำหรัภURL", 6973 json_string: "à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ JSON", 6974 e164: "à¹à¸à¸à¸£à¹à¹à¸à¸£à¸¨à¸±à¸à¸à¹à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸£à¸°à¹à¸à¸¨ (E.164)", 6975 jwt: "à¹à¸à¹à¸à¸ JWT", 6976 template_literal: "à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸" 6977 }, r = { 6978 nan: "NaN", 6979 number: "à¸à¸±à¸§à¹à¸¥à¸", 6980 array: "à¸à¸²à¸£à¹à¹à¸£à¸¢à¹ (Array)", 6981 null: "à¹à¸¡à¹à¸¡à¸µà¸à¹à¸² (null)" 6982 }; 6983 return (e) => { 6984 switch (e.code) { 6985 case "invalid_type": { 6986 var i, a; 6987 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 6988 return /^[A-Z]/.test(e.expected) ? `à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ instanceof ${e.expected} à¹à¸à¹à¹à¸à¹à¸£à¸±à¸ ${o}` : `à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ ${t} à¹à¸à¹à¹à¸à¹à¸£à¸±à¸ ${o}`; 6989 } 6990 case "invalid_value": return e.values.length === 1 ? `à¸à¹à¸²à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ ${E(e.values[0])}` : `à¸à¸±à¸§à¹à¸¥à¸·à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸à¸«à¸à¸¶à¹à¸à¹à¸ ${_(e.values, "|")}`; 6991 case "too_big": { 6992 var o, s, c; 6993 let n = e.inclusive ? "à¹à¸¡à¹à¹à¸à¸´à¸" : "à¸à¹à¸à¸¢à¸à¸§à¹à¸²", r = t(e.origin); 6994 return r ? `à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸: ${(o = e.origin) == null ? "à¸à¹à¸²" : o} à¸à¸§à¸£à¸¡à¸µ${n} ${e.maximum.toString()} ${(s = r.unit) == null ? "รายà¸à¸²à¸£" : s}` : `à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸: ${(c = e.origin) == null ? "à¸à¹à¸²" : c} à¸à¸§à¸£à¸¡à¸µ${n} ${e.maximum.toString()}`; 6995 } 6996 case "too_small": { 6997 let n = e.inclusive ? "à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢" : "มาà¸à¸à¸§à¹à¸²", r = t(e.origin); 6998 return r ? `à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸à¸³à¸«à¸à¸: ${e.origin} à¸à¸§à¸£à¸¡à¸µ${n} ${e.minimum.toString()} ${r.unit}` : `à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸à¸³à¸«à¸à¸: ${e.origin} à¸à¸§à¸£à¸¡à¸µ${n} ${e.minimum.toString()}`; 6999 } 7000 case "invalid_format": { 7001 var l; 7002 let t = e; 7003 return t.format === "starts_with" ? `รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸à¸¶à¹à¸à¸à¹à¸à¸à¹à¸§à¸¢ "${t.prefix}"` : t.format === "ends_with" ? `รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸¥à¸à¸à¹à¸²à¸¢à¸à¹à¸§à¸¢ "${t.suffix}"` : t.format === "includes" ? `รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸¡à¸µ "${t.includes}" à¸à¸¢à¸¹à¹à¹à¸à¸à¹à¸à¸à¸§à¸²à¸¡` : t.format === "regex" ? `รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸à¸£à¸à¸à¸±à¸à¸£à¸¹à¸à¹à¸à¸à¸à¸µà¹à¸à¸³à¸«à¸à¸ ${t.pattern}` : `รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: ${(l = n[t.format]) == null ? e.format : l}`; 7004 } 7005 case "not_multiple_of": return `à¸à¸±à¸§à¹à¸¥à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¹à¸à¹à¸à¸à¸³à¸à¸§à¸à¸à¸µà¹à¸«à¸²à¸£à¸à¹à¸§à¸¢ ${e.divisor} à¹à¸à¹à¸¥à¸à¸à¸±à¸§`; 7006 case "unrecognized_keys": return `à¸à¸à¸à¸µà¸¢à¹à¸à¸µà¹à¹à¸¡à¹à¸£à¸¹à¹à¸à¸±à¸: ${_(e.keys, ", ")}`; 7007 case "invalid_key": return `à¸à¸µà¸¢à¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¹à¸ ${e.origin}`; 7008 case "invalid_union": return "à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¹à¸¡à¹à¸à¸£à¸à¸à¸±à¸à¸£à¸¹à¸à¹à¸à¸à¸¢à¸¹à¹à¸à¸µà¸¢à¸à¸à¸µà¹à¸à¸³à¸«à¸à¸à¹à¸§à¹"; 7009 case "invalid_element": return `à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¹à¸ ${e.origin}`; 7010 default: return "à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸"; 7011 } 7012 }; 7013}; 7014function zo() { 7015 return { localeError: Ro() }; 7016} 7017//#endregion 7018//#region ../node_modules/zod/v4/locales/tr.js 7019var Bo = () => { 7020 let e = { 7021 string: { 7022 unit: "karakter", 7023 verb: "olmalı" 7024 }, 7025 file: { 7026 unit: "bayt", 7027 verb: "olmalı" 7028 }, 7029 array: { 7030 unit: "öÄe", 7031 verb: "olmalı" 7032 }, 7033 set: { 7034 unit: "öÄe", 7035 verb: "olmalı" 7036 } 7037 }; 7038 function t(t) { 7039 var n; 7040 return (n = e[t]) == null ? null : n; 7041 } 7042 let n = { 7043 regex: "girdi", 7044 email: "e-posta adresi", 7045 url: "URL", 7046 emoji: "emoji", 7047 uuid: "UUID", 7048 uuidv4: "UUIDv4", 7049 uuidv6: "UUIDv6", 7050 nanoid: "nanoid", 7051 guid: "GUID", 7052 cuid: "cuid", 7053 cuid2: "cuid2", 7054 ulid: "ULID", 7055 xid: "XID", 7056 ksuid: "KSUID", 7057 datetime: "ISO tarih ve saat", 7058 date: "ISO tarih", 7059 time: "ISO saat", 7060 duration: "ISO süre", 7061 ipv4: "IPv4 adresi", 7062 ipv6: "IPv6 adresi", 7063 cidrv4: "IPv4 aralıÄı", 7064 cidrv6: "IPv6 aralıÄı", 7065 base64: "base64 ile ÅifrelenmiÅ metin", 7066 base64url: "base64url ile ÅifrelenmiÅ metin", 7067 json_string: "JSON dizesi", 7068 e164: "E.164 sayısı", 7069 jwt: "JWT", 7070 template_literal: "Åablon dizesi" 7071 }, r = { nan: "NaN" }; 7072 return (e) => { 7073 switch (e.code) { 7074 case "invalid_type": { 7075 var i, a; 7076 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 7077 return /^[A-Z]/.test(e.expected) ? `Geçersiz deÄer: beklenen instanceof ${e.expected}, alınan ${o}` : `Geçersiz deÄer: beklenen ${t}, alınan ${o}`; 7078 } 7079 case "invalid_value": return e.values.length === 1 ? `Geçersiz deÄer: beklenen ${E(e.values[0])}` : `Geçersiz seçenek: aÅaÄıdakilerden biri olmalı: ${_(e.values, "|")}`; 7080 case "too_big": { 7081 var o, s, c; 7082 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 7083 return r ? `Ãok büyük: beklenen ${(o = e.origin) == null ? "deÄer" : o} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "öÄe" : s}` : `Ãok büyük: beklenen ${(c = e.origin) == null ? "deÄer" : c} ${n}${e.maximum.toString()}`; 7084 } 7085 case "too_small": { 7086 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 7087 return r ? `Ãok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()} ${r.unit}` : `Ãok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()}`; 7088 } 7089 case "invalid_format": { 7090 var l; 7091 let t = e; 7092 return t.format === "starts_with" ? `Geçersiz metin: "${t.prefix}" ile baÅlamalı` : t.format === "ends_with" ? `Geçersiz metin: "${t.suffix}" ile bitmeli` : t.format === "includes" ? `Geçersiz metin: "${t.includes}" içermeli` : t.format === "regex" ? `Geçersiz metin: ${t.pattern} desenine uymalı` : `Geçersiz ${(l = n[t.format]) == null ? e.format : l}`; 7093 } 7094 case "not_multiple_of": return `Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`; 7095 case "unrecognized_keys": return `Tanınmayan anahtar${e.keys.length > 1 ? "lar" : ""}: ${_(e.keys, ", ")}`; 7096 case "invalid_key": return `${e.origin} içinde geçersiz anahtar`; 7097 case "invalid_union": return "Geçersiz deÄer"; 7098 case "invalid_element": return `${e.origin} içinde geçersiz deÄer`; 7099 default: return "Geçersiz deÄer"; 7100 } 7101 }; 7102}; 7103function Vo() { 7104 return { localeError: Bo() }; 7105} 7106//#endregion 7107//#region ../node_modules/zod/v4/locales/uk.js 7108var Ho = () => { 7109 let e = { 7110 string: { 7111 unit: "ÑимволÑв", 7112 verb: "маÑиме" 7113 }, 7114 file: { 7115 unit: "байÑÑв", 7116 verb: "маÑиме" 7117 }, 7118 array: { 7119 unit: "елеменÑÑв", 7120 verb: "маÑиме" 7121 }, 7122 set: { 7123 unit: "елеменÑÑв", 7124 verb: "маÑиме" 7125 } 7126 }; 7127 function t(t) { 7128 var n; 7129 return (n = e[t]) == null ? null : n; 7130 } 7131 let n = { 7132 regex: "Ð²Ñ ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ", 7133 email: "адÑеÑа елекÑÑÐ¾Ð½Ð½Ð¾Ñ Ð¿Ð¾ÑÑи", 7134 url: "URL", 7135 emoji: "емодзÑ", 7136 uuid: "UUID", 7137 uuidv4: "UUIDv4", 7138 uuidv6: "UUIDv6", 7139 nanoid: "nanoid", 7140 guid: "GUID", 7141 cuid: "cuid", 7142 cuid2: "cuid2", 7143 ulid: "ULID", 7144 xid: "XID", 7145 ksuid: "KSUID", 7146 datetime: "даÑа Ñа ÑÐ°Ñ ISO", 7147 date: "даÑа ISO", 7148 time: "ÑÐ°Ñ ISO", 7149 duration: "ÑÑивалÑÑÑÑ ISO", 7150 ipv4: "адÑеÑа IPv4", 7151 ipv6: "адÑеÑа IPv6", 7152 cidrv4: "дÑапазон IPv4", 7153 cidrv6: "дÑапазон IPv6", 7154 base64: "ÑÑдок Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ base64", 7155 base64url: "ÑÑдок Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ base64url", 7156 json_string: "ÑÑдок JSON", 7157 e164: "Ð½Ð¾Ð¼ÐµÑ E.164", 7158 jwt: "JWT", 7159 template_literal: "Ð²Ñ ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ" 7160 }, r = { 7161 nan: "NaN", 7162 number: "ÑиÑло", 7163 array: "маÑив" 7164 }; 7165 return (e) => { 7166 switch (e.code) { 7167 case "invalid_type": { 7168 var i, a; 7169 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 7170 return /^[A-Z]/.test(e.expected) ? `ÐепÑавилÑÐ½Ñ Ð²Ñ ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ instanceof ${e.expected}, оÑÑимано ${o}` : `ÐепÑавилÑÐ½Ñ Ð²Ñ ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ ${t}, оÑÑимано ${o}`; 7171 } 7172 case "invalid_value": return e.values.length === 1 ? `ÐепÑавилÑÐ½Ñ Ð²Ñ ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ ${E(e.values[0])}` : `ÐепÑавилÑна опÑÑÑ: оÑÑкÑÑÑÑÑÑ Ð¾Ð´Ð½Ðµ з ${_(e.values, "|")}`; 7173 case "too_big": { 7174 var o, s, c; 7175 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 7176 return r ? `ÐанадÑо велике: оÑÑкÑÑÑÑÑÑ, Ñо ${(o = e.origin) == null ? "знаÑеннÑ" : o} ${r.verb} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "елеменÑÑв" : s}` : `ÐанадÑо велике: оÑÑкÑÑÑÑÑÑ, Ñо ${(c = e.origin) == null ? "знаÑеннÑ" : c} бÑде ${n}${e.maximum.toString()}`; 7177 } 7178 case "too_small": { 7179 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 7180 return r ? `ÐанадÑо мале: оÑÑкÑÑÑÑÑÑ, Ñо ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` : `ÐанадÑо мале: оÑÑкÑÑÑÑÑÑ, Ñо ${e.origin} бÑде ${n}${e.minimum.toString()}`; 7181 } 7182 case "invalid_format": { 7183 var l; 7184 let t = e; 7185 return t.format === "starts_with" ? `ÐепÑавилÑний ÑÑдок: повинен поÑинаÑиÑÑ Ð· "${t.prefix}"` : t.format === "ends_with" ? `ÐепÑавилÑний ÑÑдок: повинен закÑнÑÑваÑиÑÑ Ð½Ð° "${t.suffix}"` : t.format === "includes" ? `ÐепÑавилÑний ÑÑдок: повинен мÑÑÑиÑи "${t.includes}"` : t.format === "regex" ? `ÐепÑавилÑний ÑÑдок: повинен вÑдповÑдаÑи ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${t.pattern}` : `ÐепÑавилÑний ${(l = n[t.format]) == null ? e.format : l}`; 7186 } 7187 case "not_multiple_of": return `ÐепÑавилÑне ÑиÑло: повинно бÑÑи Ð
7187ºÑаÑним ${e.divisor}`; 7188 case "unrecognized_keys": return `ÐеÑозпÑзнаний клÑÑ${e.keys.length > 1 ? "Ñ" : ""}: ${_(e.keys, ", ")}`; 7189 case "invalid_key": return `ÐепÑавилÑний клÑÑ Ñ ${e.origin}`; 7190 case "invalid_union": return "ÐепÑавилÑÐ½Ñ Ð²Ñ ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ"; 7191 case "invalid_element": return `ÐепÑавилÑне знаÑÐµÐ½Ð½Ñ Ñ ${e.origin}`; 7192 default: return "ÐепÑавилÑÐ½Ñ Ð²Ñ ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ"; 7193 } 7194 }; 7195}; 7196function Uo() { 7197 return { localeError: Ho() }; 7198} 7199//#endregion 7200//#region ../node_modules/zod/v4/locales/ua.js 7201function Wo() { 7202 return Uo(); 7203} 7204//#endregion 7205//#region ../node_modules/zod/v4/locales/ur.js 7206var Go = () => { 7207 let e = { 7208 string: { 7209 unit: "ØØ±ÙÙ", 7210 verb: "ÛÙÙØ§" 7211 }, 7212 file: { 7213 unit: "بائٹس", 7214 verb: "ÛÙÙØ§" 7215 }, 7216 array: { 7217 unit: "آئٹ٠ز", 7218 verb: "ÛÙÙØ§" 7219 }, 7220 set: { 7221 unit: "آئٹ٠ز", 7222 verb: "ÛÙÙØ§" 7223 } 7224 }; 7225 function t(t) { 7226 var n; 7227 return (n = e[t]) == null ? null : n; 7228 } 7229 let n = { 7230 regex: "ا٠پٹ", 7231 email: "Ø§Û Ù Û٠اÛÚØ±Ûس", 7232 url: "Û٠آر اÛÙ", 7233 emoji: "اÛÙ ÙØ¬Û", 7234 uuid: "ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ", 7235 uuidv4: "ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ ÙÛ 4", 7236 uuidv6: "ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ ÙÛ 6", 7237 nanoid: "ÙÛÙÙ Ø¢Ø¦Û ÚÛ", 7238 guid: "Ø¬Û ÛÙ Ø¢Ø¦Û ÚÛ", 7239 cuid: "Ø³Û ÛÙ Ø¢Ø¦Û ÚÛ", 7240 cuid2: "Ø³Û ÛÙ Ø¢Ø¦Û ÚÛ 2", 7241 ulid: "Û٠اÛÙ Ø¢Ø¦Û ÚÛ", 7242 xid: "اÛکس Ø¢Ø¦Û ÚÛ", 7243 ksuid: "Ú©Û Ø§ÛØ³ ÛÙ Ø¢Ø¦Û ÚÛ", 7244 datetime: "Ø¢Ø¦Û Ø§ÛØ³ ا٠ÚÛÙ¹ ٹائ٠", 7245 date: "Ø¢Ø¦Û Ø§ÛØ³ Ø§Ù ØªØ§Ø±ÛØ®", 7246 time: "Ø¢Ø¦Û Ø§ÛØ³ ا٠ÙÙØª", 7247 duration: "Ø¢Ø¦Û Ø§ÛØ³ ا٠٠دت", 7248 ipv4: "Ø¢Ø¦Û Ù¾Û ÙÛ 4 اÛÚØ±Ûس", 7249 ipv6: "Ø¢Ø¦Û Ù¾Û ÙÛ 6 اÛÚØ±Ûس", 7250 cidrv4: "Ø¢Ø¦Û Ù¾Û ÙÛ 4 رÛÙØ¬", 7251 cidrv6: "Ø¢Ø¦Û Ù¾Û ÙÛ 6 رÛÙØ¬", 7252 base64: "Ø¨ÛØ³ 64 ا٠کÙÚÚ Ø³Ù¹Ø±ÙÚ¯", 7253 base64url: "Ø¨ÛØ³ 64 Û٠آر اÛ٠ا٠کÙÚÚ Ø³Ù¹Ø±ÙÚ¯", 7254 json_string: "Ø¬Û Ø§ÛØ³ ا٠اÛ٠سٹرÙÚ¯", 7255 e164: "Ø§Û 164 Ù٠بر", 7256 jwt: "Ø¬Û ÚØ¨ÙÛÙ Ù¹Û", 7257 template_literal: "ا٠پٹ" 7258 }, r = { 7259 nan: "NaN", 7260 number: "Ù٠بر", 7261 array: "آرÛ", 7262 null: "ÙÙ" 7263 }; 7264 return (e) => { 7265 switch (e.code) { 7266 case "invalid_type": { 7267 var i, a; 7268 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 7269 return /^[A-Z]/.test(e.expected) ? `ØºÙØ· ا٠پٹ: instanceof ${e.expected} ٠تÙÙØ¹ ØªÚ¾Ø§Ø ${o} Ù ÙØµÙÙ ÛÙØ§` : `ØºÙØ· ا٠پٹ: ${t} ٠تÙÙØ¹ ØªÚ¾Ø§Ø ${o} Ù ÙØµÙÙ ÛÙØ§`; 7270 } 7271 case "invalid_value": return e.values.length === 1 ? `ØºÙØ· ا٠پٹ: ${E(e.values[0])} ٠تÙÙØ¹ تھا` : `ØºÙØ· آپشÙ: ${_(e.values, "|")} Ù ÛÚº Ø³Û Ø§ÛÚ© ٠تÙÙØ¹ تھا`; 7272 case "too_big": { 7273 var o, s, c; 7274 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 7275 return r ? `Ø¨ÛØª Ø¨ÚØ§: ${(o = e.origin) == null ? "ÙÛÙÛÙ" : o} Ú©Û ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "Ø¹ÙØ§ØµØ±" : s} ÛÙÙÛ Ù ØªÙÙØ¹ تھÛ` : `Ø¨ÛØª Ø¨ÚØ§: ${(c = e.origin) == null ? "ÙÛÙÛÙ" : c} کا ${n}${e.maximum.toString()} ÛÙÙØ§ ٠تÙÙØ¹ تھا`; 7276 } 7277 case "too_small": { 7278 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 7279 return r ? `Ø¨ÛØª ÚÚ¾Ùٹا: ${e.origin} Ú©Û ${n}${e.minimum.toString()} ${r.unit} ÛÙÙÛ Ù ØªÙÙØ¹ تھÛ` : `Ø¨ÛØª ÚÚ¾Ùٹا: ${e.origin} کا ${n}${e.minimum.toString()} ÛÙÙØ§ ٠تÙÙØ¹ تھا`; 7280 } 7281 case "invalid_format": { 7282 var l; 7283 let t = e; 7284 return t.format === "starts_with" ? `ØºÙØ· سٹرÙÚ¯: "${t.prefix}" Ø³Û Ø´Ø±ÙØ¹ ÛÙÙØ§ ÚØ§ÛÛÛ` : t.format === "ends_with" ? `ØºÙØ· سٹرÙÚ¯: "${t.suffix}" پر خت٠ÛÙÙØ§ ÚØ§ÛÛÛ` : t.format === "includes" ? `ØºÙØ· سٹرÙÚ¯: "${t.includes}" شا٠٠ÛÙÙØ§ ÚØ§ÛÛÛ` : t.format === "regex" ? `ØºÙØ· سٹرÙÚ¯: Ù¾Ûٹر٠${t.pattern} Ø³Û Ù ÛÚ ÛÙÙØ§ ÚØ§ÛÛÛ` : `ØºÙØ· ${(l = n[t.format]) == null ? e.format : l}`; 7285 } 7286 case "not_multiple_of": return `ØºÙØ· Ù٠بر: ${e.divisor} کا ٠ضاع٠ÛÙÙØ§ ÚØ§ÛÛÛ`; 7287 case "unrecognized_keys": return `ØºÛØ± تسÙÛÙ Ø´Ø¯Û Ú©Û${e.keys.length > 1 ? "ز" : ""}: ${_(e.keys, "Ø ")}`; 7288 case "invalid_key": return `${e.origin} Ù ÛÚº ØºÙØ· Ú©Û`; 7289 case "invalid_union": return "ØºÙØ· ا٠پٹ"; 7290 case "invalid_element": return `${e.origin} Ù ÛÚº ØºÙØ· ÙÛÙÛÙ`; 7291 default: return "ØºÙØ· ا٠پٹ"; 7292 } 7293 }; 7294}; 7295function Ko() { 7296 return { localeError: Go() }; 7297} 7298//#endregion 7299//#region ../node_modules/zod/v4/locales/uz.js 7300var qo = () => { 7301 let e = { 7302 string: { 7303 unit: "belgi", 7304 verb: "boâlishi kerak" 7305 }, 7306 file: { 7307 unit: "bayt", 7308 verb: "boâlishi kerak" 7309 }, 7310 array: { 7311 unit: "element", 7312 verb: "boâlishi kerak" 7313 }, 7314 set: { 7315 unit: "element", 7316 verb: "boâlishi kerak" 7317 }, 7318 map: { 7319 unit: "yozuv", 7320 verb: "boâlishi kerak" 7321 } 7322 }; 7323 function t(t) { 7324 var n; 7325 return (n = e[t]) == null ? null : n; 7326 } 7327 let n = { 7328 regex: "kirish", 7329 email: "elektron pochta manzili", 7330 url: "URL", 7331 emoji: "emoji", 7332 uuid: "UUID", 7333 uuidv4: "UUIDv4", 7334 uuidv6: "UUIDv6", 7335 nanoid: "nanoid", 7336 guid: "GUID", 7337 cuid: "cuid", 7338 cuid2: "cuid2", 7339 ulid: "ULID", 7340 xid: "XID", 7341 ksuid: "KSUID", 7342 datetime: "ISO sana va vaqti", 7343 date: "ISO sana", 7344 time: "ISO vaqt", 7345 duration: "ISO davomiylik", 7346 ipv4: "IPv4 manzil", 7347 ipv6: "IPv6 manzil", 7348 mac: "MAC manzil", 7349 cidrv4: "IPv4 diapazon", 7350 cidrv6: "IPv6 diapazon", 7351 base64: "base64 kodlangan satr", 7352 base64url: "base64url kodlangan satr", 7353 json_string: "JSON satr", 7354 e164: "E.164 raqam", 7355 jwt: "JWT", 7356 template_literal: "kirish" 7357 }, r = { 7358 nan: "NaN", 7359 number: "raqam", 7360 array: "massiv" 7361 }; 7362 return (e) => { 7363 switch (e.code) { 7364 case "invalid_type": { 7365 var i, a; 7366 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 7367 return /^[A-Z]/.test(e.expected) ? `Notoâgâri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${o}` : `Notoâgâri kirish: kutilgan ${t}, qabul qilingan ${o}`; 7368 } 7369 case "invalid_value": return e.values.length === 1 ? `Notoâgâri kirish: kutilgan ${E(e.values[0])}` : `Notoâgâri variant: quyidagilardan biri kutilgan ${_(e.values, "|")}`; 7370 case "too_big": { 7371 var o, s; 7372 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 7373 return r ? `Juda katta: kutilgan ${(o = e.origin) == null ? "qiymat" : o} ${n}${e.maximum.toString()} ${r.unit} ${r.verb}` : `Juda katta: kutilgan ${(s = e.origin) == null ? "qiymat" : s} ${n}${e.maximum.toString()}`; 7374 } 7375 case "too_small": { 7376 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 7377 return r ? `Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}` : `Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()}`; 7378 } 7379 case "invalid_format": { 7380 var c; 7381 let t = e; 7382 return t.format === "starts_with" ? `Notoâgâri satr: "${t.prefix}
7382" bilan boshlanishi kerak` : t.format === "ends_with" ? `Notoâgâri satr: "${t.suffix}" bilan tugashi kerak` : t.format === "includes" ? `Notoâgâri satr: "${t.includes}" ni oâz ichiga olishi kerak` : t.format === "regex" ? `Notoâgâri satr: ${t.pattern} shabloniga mos kelishi kerak` : `Notoâgâri ${(c = n[t.format]) == null ? e.format : c}`; 7383 } 7384 case "not_multiple_of": return `Notoâgâri raqam: ${e.divisor} ning karralisi boâlishi kerak`; 7385 case "unrecognized_keys": return `Nomaâlum kalit${e.keys.length > 1 ? "lar" : ""}: ${_(e.keys, ", ")}`; 7386 case "invalid_key": return `${e.origin} dagi kalit notoâgâri`; 7387 case "invalid_union": return "Notoâgâri kirish"; 7388 case "invalid_element": return `${e.origin} da notoâgâri qiymat`; 7389 default: return "Notoâgâri kirish"; 7390 } 7391 }; 7392}; 7393function Jo() { 7394 return { localeError: qo() }; 7395} 7396//#endregion 7397//#region ../node_modules/zod/v4/locales/vi.js 7398var Yo = () => { 7399 let e = { 7400 string: { 7401 unit: "ký tá»±", 7402 verb: "có" 7403 }, 7404 file: { 7405 unit: "byte", 7406 verb: "có" 7407 }, 7408 array: { 7409 unit: "phần tá»", 7410 verb: "có" 7411 }, 7412 set: { 7413 unit: "phần tá»", 7414 verb: "có" 7415 } 7416 }; 7417 function t(t) { 7418 var n; 7419 return (n = e[t]) == null ? null : n; 7420 } 7421 let n = { 7422 regex: "Äầu và o", 7423 email: "Äá»a chá» email", 7424 url: "URL", 7425 emoji: "emoji", 7426 uuid: "UUID", 7427 uuidv4: "UUIDv4", 7428 uuidv6: "UUIDv6", 7429 nanoid: "nanoid", 7430 guid: "GUID", 7431 cuid: "cuid", 7432 cuid2: "cuid2", 7433 ulid: "ULID", 7434 xid: "XID", 7435 ksuid: "KSUID", 7436 datetime: "ngà y giá» ISO", 7437 date: "ngà y ISO", 7438 time: "giá» ISO", 7439 duration: "khoảng thá»i gian ISO", 7440 ipv4: "Äá»a chá» IPv4", 7441 ipv6: "Äá»a chá» IPv6", 7442 cidrv4: "dải IPv4", 7443 cidrv6: "dải IPv6", 7444 base64: "chuá»i mã hóa base64", 7445 base64url: "chuá»i mã hóa base64url", 7446 json_string: "chuá»i JSON", 7447 e164: "sá» E.164", 7448 jwt: "JWT", 7449 template_literal: "Äầu và o" 7450 }, r = { 7451 nan: "NaN", 7452 number: "sá»", 7453 array: "mảng" 7454 }; 7455 return (e) => { 7456 switch (e.code) { 7457 case "invalid_type": { 7458 var i, a; 7459 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 7460 return /^[A-Z]/.test(e.expected) ? `Äầu và o không hợp lá»: mong Äợi instanceof ${e.expected}, nháºn ÄÆ°á»£c ${o}` : `Äầu và o không hợp lá»: mong Äợi ${t}, nháºn ÄÆ°á»£c ${o}`; 7461 } 7462 case "invalid_value": return e.values.length === 1 ? `Äầu và o không hợp lá»: mong Äợi ${E(e.values[0])}` : `Tùy chá»n không hợp lá»: mong Äợi má»t trong các giá trá» ${_(e.values, "|")}`; 7463 case "too_big": { 7464 var o, s, c; 7465 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 7466 return r ? `Quá lá»n: mong Äợi ${(o = e.origin) == null ? "giá trá»" : o} ${r.verb} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "phần tá»" : s}` : `Quá lá»n: mong Äợi ${(c = e.origin) == null ? "giá trá»" : c} ${n}${e.maximum.toString()}`; 7467 } 7468 case "too_small": { 7469 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 7470 return r ? `Quá nhá»: mong Äợi ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` : `Quá nhá»: mong Äợi ${e.origin} ${n}${e.minimum.toString()}`; 7471 } 7472 case "invalid_format": { 7473 var l; 7474 let t = e; 7475 return t.format === "starts_with" ? `Chuá»i không hợp lá»: phải bắt Äầu bằng "${t.prefix}"` : t.format === "ends_with" ? `Chuá»i không hợp lá»: phải kết thúc bằng "${t.suffix}"` : t.format === "includes" ? `Chuá»i không hợp lá»: phải bao gá»m "${t.includes}"` : t.format === "regex" ? `Chuá»i không hợp lá»: phải khá»p vá»i mẫu ${t.pattern}` : `${(l = n[t.format]) == null ? e.format : l} không hợp lá»`; 7476 } 7477 case "not_multiple_of": return `Sá» không hợp lá»: phải là bá»i sá» cá»§a ${e.divisor}`; 7478 case "unrecognized_keys": return `Khóa không ÄÆ°á»£c nháºn dạng: ${_(e.keys, ", ")}`; 7479 case "invalid_key": return `Khóa không hợp lá» trong ${e.origin}`; 7480 case "invalid_union": return "Äầu và o không hợp lá»"; 7481 case "invalid_element": return `Giá trá» không hợp lá» trong ${e.origin}`; 7482 default: return "Äầu và o không hợp lá»"; 7483 } 7484 }; 7485}; 7486function Xo() { 7487 return { localeError: Yo() }; 7488} 7489//#endregion 7490//#region ../node_modules/zod/v4/locales/zh-CN.js 7491var Zo = () => { 7492 let e = { 7493 string: { 7494 unit: "å符", 7495 verb: "å å«" 7496 }, 7497 file: { 7498 unit: "åè", 7499 verb: "å å«" 7500 }, 7501 array: { 7502 unit: "项", 7503 verb: "å å«" 7504 }, 7505 set: { 7506 unit: "项", 7507 verb: "å å«" 7508 } 7509 }; 7510 function t(t) { 7511 var n; 7512 return (n = e[t]) == null ? null : n; 7513 } 7514 let n = { 7515 regex: "è¾å ¥", 7516 email: "çµåé®ä»¶", 7517 url: "URL", 7518 emoji: "表æ 符å·", 7519 uuid: "UUID", 7520 uuidv4: "UUIDv4", 7521 uuidv6: "UUIDv6", 7522 nanoid: "nanoid", 7523 guid: "GUID", 7524 cuid: "cuid", 7525 cuid2: "cuid2", 7526 ulid: "ULID", 7527 xid: "XID", 7528 ksuid: "KSUID", 7529 datetime: "ISOæ¥ææ¶é´", 7530 date: "ISOæ¥æ", 7531 time: "ISOæ¶é´", 7532 duration: "ISOæ¶é¿", 7533 ipv4: "IPv4å°å", 7534 ipv6: "IPv6å°å", 7535 cidrv4: "IPv4ç½æ®µ", 7536 cidrv6: "IPv6ç½æ®µ", 7537 base64: "base64ç¼ç å符串", 7538 base64url: "base64urlç¼ç å符串", 7539 json_string: "JSONå符串", 7540 e164: "E.164å·ç ", 7541 jwt: "JWT", 7542 template_literal: "è¾å ¥" 7543 }, r = { 7544 nan: "NaN", 7545 number: "æ°å", 7546 array: "æ°ç»", 7547 null: "空å¼(null)" 7548 }; 7549 return (e) => { 7550 switch (e.code) { 7551 case "invalid_type": { 7552 var i, a; 7553 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 7554 return /^[A-Z]/.test(e.expected) ? `æ æè¾å ¥ï¼ææ instanceof ${e.expected}ï¼å®é æ¥æ¶ ${o}` : `æ æè¾å ¥ï¼ææ ${t}
7554ï¼å®é æ¥æ¶ ${o}`; 7555 } 7556 case "invalid_value": return e.values.length === 1 ? `æ æè¾å ¥ï¼ææ ${E(e.values[0])}` : `æ æéé¡¹ï¼ææä»¥ä¸ä¹ä¸ ${_(e.values, "|")}`; 7557 case "too_big": { 7558 var o, s, c; 7559 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 7560 return r ? `æ°å¼è¿å¤§ï¼ææ ${(o = e.origin) == null ? "å¼" : o} ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "个å ç´ " : s}` : `æ°å¼è¿å¤§ï¼ææ ${(c = e.origin) == null ? "å¼" : c} ${n}${e.maximum.toString()}`; 7561 } 7562 case "too_small": { 7563 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 7564 return r ? `æ°å¼è¿å°ï¼ææ ${e.origin} ${n}${e.minimum.toString()} ${r.unit}` : `æ°å¼è¿å°ï¼ææ ${e.origin} ${n}${e.minimum.toString()}`; 7565 } 7566 case "invalid_format": { 7567 var l; 7568 let t = e; 7569 return t.format === "starts_with" ? `æ æå符串ï¼å¿ 须以 "${t.prefix}" å¼å¤´` : t.format === "ends_with" ? `æ æå符串ï¼å¿ 须以 "${t.suffix}" ç»å°¾` : t.format === "includes" ? `æ æå符串ï¼å¿ é¡»å å« "${t.includes}"` : t.format === "regex" ? `æ æå符串ï¼å¿ 须满足æ£åè¡¨è¾¾å¼ ${t.pattern}` : `æ æ${(l = n[t.format]) == null ? e.format : l}`; 7570 } 7571 case "not_multiple_of": return `æ ææ°åï¼å¿ é¡»æ¯ ${e.divisor} çåæ°`; 7572 case "unrecognized_keys": return `åºç°æªç¥çé®(key): ${_(e.keys, ", ")}`; 7573 case "invalid_key": return `${e.origin} ä¸çé®(key)æ æ`; 7574 case "invalid_union": return "æ æè¾å ¥"; 7575 case "invalid_element": return `${e.origin} ä¸å 嫿 æå¼(value)`; 7576 default: return "æ æè¾å ¥"; 7577 } 7578 }; 7579}; 7580function Qo() { 7581 return { localeError: Zo() }; 7582} 7583//#endregion 7584//#region ../node_modules/zod/v4/locales/zh-TW.js 7585var $o = () => { 7586 let e = { 7587 string: { 7588 unit: "åå ", 7589 verb: "ææ" 7590 }, 7591 file: { 7592 unit: "ä½å çµ", 7593 verb: "ææ" 7594 }, 7595 array: { 7596 unit: "é ç®", 7597 verb: "ææ" 7598 }, 7599 set: { 7600 unit: "é ç®", 7601 verb: "ææ" 7602 } 7603 }; 7604 function t(t) { 7605 var n; 7606 return (n = e[t]) == null ? null : n; 7607 } 7608 let n = { 7609 regex: "è¼¸å ¥", 7610 email: "éµä»¶å°å", 7611 url: "URL", 7612 emoji: "emoji", 7613 uuid: "UUID", 7614 uuidv4: "UUIDv4", 7615 uuidv6: "UUIDv6", 7616 nanoid: "nanoid", 7617 guid: "GUID", 7618 cuid: "cuid", 7619 cuid2: "cuid2", 7620 ulid: "ULID", 7621 xid: "XID", 7622 ksuid: "KSUID", 7623 datetime: "ISO æ¥ææé", 7624 date: "ISO æ¥æ", 7625 time: "ISO æé", 7626 duration: "ISO æé", 7627 ipv4: "IPv4 ä½å", 7628 ipv6: "IPv6 ä½å", 7629 cidrv4: "IPv4 ç¯å", 7630 cidrv6: "IPv6 ç¯å", 7631 base64: "base64 編碼å串", 7632 base64url: "base64url 編碼å串", 7633 json_string: "JSON å串", 7634 e164: "E.164 æ¸å¼", 7635 jwt: "JWT", 7636 template_literal: "è¼¸å ¥" 7637 }, r = { nan: "NaN" }; 7638 return (e) => { 7639 switch (e.code) { 7640 case "invalid_type": { 7641 var i, a; 7642 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 7643 return /^[A-Z]/.test(e.expected) ? `ç¡æçè¼¸å ¥å¼ï¼é æçº instanceof ${e.expected}ï¼ä½æ¶å° ${o}` : `ç¡æçè¼¸å ¥å¼ï¼é æçº ${t}ï¼ä½æ¶å° ${o}`; 7644 } 7645 case "invalid_value": return e.values.length === 1 ? `ç¡æçè¼¸å ¥å¼ï¼é æçº ${E(e.values[0])}` : `ç¡æçé¸é ï¼é æçºä»¥ä¸å ¶ä¸ä¹ä¸ ${_(e.values, "|")}`; 7646 case "too_big": { 7647 var o, s, c; 7648 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 7649 return r ? `æ¸å¼é大ï¼é æ ${(o = e.origin) == null ? "å¼" : o} æçº ${n}${e.maximum.toString()} ${(s = r.unit) == null ? "åå ç´ " : s}` : `æ¸å¼é大ï¼é æ ${(c = e.origin) == null ? "å¼" : c} æçº ${n}${e.maximum.toString()}`; 7650 } 7651 case "too_small": { 7652 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 7653 return r ? `æ¸å¼éå°ï¼é æ ${e.origin} æçº ${n}${e.minimum.toString()} ${r.unit}` : `æ¸å¼éå°ï¼é æ ${e.origin} æçº ${n}${e.minimum.toString()}`; 7654 } 7655 case "invalid_format": { 7656 var l; 7657 let t = e; 7658 return t.format === "starts_with" ? `ç¡æçå串ï¼å¿ é 以 "${t.prefix}" éé ` : t.format === "ends_with" ? `ç¡æçå串ï¼å¿ é 以 "${t.suffix}" çµå°¾` : t.format === "includes" ? `ç¡æçå串ï¼å¿ é å å« "${t.includes}"` : t.format === "regex" ? `ç¡æçå串ï¼å¿ é ç¬¦åæ ¼å¼ ${t.pattern}` : `ç¡æç ${(l = n[t.format]) == null ? e.format : l}`; 7659 } 7660 case "not_multiple_of": return `ç¡æçæ¸åï¼å¿ é çº ${e.divisor} ç忏`; 7661 case "unrecognized_keys": return `ç¡æ³èå¥çéµå¼${e.keys.length > 1 ? "å" : ""}ï¼${_(e.keys, "ã")}`; 7662 case "invalid_key": return `${e.origin} ä¸æç¡æçéµå¼`; 7663 case "invalid_union": return "ç¡æçè¼¸å ¥å¼"; 7664 case "invalid_element": return `${e.origin} ä¸æç¡æçå¼`; 7665 default: return "ç¡æçè¼¸å ¥å¼"; 7666 } 7667 }; 7668}; 7669function es() { 7670 return { localeError: $o() }; 7671} 7672//#endregion 7673//#region ../node_modules/zod/v4/locales/yo.js 7674var ts = () => { 7675 let e = { 7676 string: { 7677 unit: "à mi", 7678 verb: "nÃ" 7679 }, 7680 file: { 7681 unit: "bytes", 7682 verb: "nÃ" 7683 }, 7684 array: { 7685 unit: "nkan", 7686 verb: "nÃ" 7687 }, 7688 set: { 7689 unit: "nkan", 7690 verb: "nÃ" 7691 } 7692 }; 7693 function t(t) { 7694 var n; 7695 return (n = e[t]) == null ? null : n; 7696 } 7697 let n = { 7698 regex: "ẹÌrỠìbáwá»lé", 7699 email: "à dÃrẹÌsì ìmẹÌlì", 7700 url: "URL", 7701 emoji: "emoji", 7702 uuid: "UUID", 7703 uuidv4: "UUIDv4", 7704 uuidv6: "UUIDv6", 7705 nanoid: "nanoid", 7706 guid: "GUID", 7707 cuid: "cuid", 7708 cuid2: "cuid2", 7709 ulid: "ULID", 7710 xid: "XID", 7711 ksuid: "KSUID", 7712 datetime: "à kókò ISO", 7713 date: "á»já»Ì ISO", 7714 time: "à kókò ISO",
7715 duration: "à kókò tó pé ISO", 7716 ipv4: "à dÃrẹÌsì IPv4", 7717 ipv6: "à dÃrẹÌsì IPv6", 7718 cidrv4: "à gbègbè IPv4", 7719 cidrv6: "à gbègbè IPv6", 7720 base64: "á»Ìrá»Ì tà a ká»Ì nà base64", 7721 base64url: "á»Ìrá»Ì base64url", 7722 json_string: "á»Ìrá»Ì JSON", 7723 e164: "ná»Ìmbà E.164", 7724 jwt: "JWT", 7725 template_literal: "ẹÌrỠìbáwá»lé" 7726 }, r = { 7727 nan: "NaN", 7728 number: "ná»Ìmbà ", 7729 array: "akopá»" 7730 }; 7731 return (e) => { 7732 switch (e.code) { 7733 case "invalid_type": { 7734 var i, a; 7735 let t = (i = r[e.expected]) == null ? e.expected : i, n = k(e.input), o = (a = r[n]) == null ? n : a; 7736 return /^[A-Z]/.test(e.expected) ? `Ãbáwá»lé aṣìṣe: a nà láti fi instanceof ${e.expected}, à má»Ì a rà ${o}` : `Ãbáwá»lé aṣìṣe: a nà láti fi ${t}, à má»Ì a rà ${o}`; 7737 } 7738 case "invalid_value": return e.values.length === 1 ? `Ãbáwá»lé aṣìṣe: a nà láti fi ${E(e.values[0])}` : `Ãṣà yà n aṣìṣe: yan á»Ìkan lára ${_(e.values, "|")}`; 7739 case "too_big": { 7740 var o; 7741 let n = e.inclusive ? "<=" : "<", r = t(e.origin); 7742 return r ? `Tó pá»Ì jù: a nà láti jáº¹Ì pé ${(o = e.origin) == null ? "iye" : o} ${r.verb} ${n}${e.maximum} ${r.unit}` : `Tó pá»Ì jù: a nà láti jáº¹Ì ${n}${e.maximum}`; 7743 } 7744 case "too_small": { 7745 let n = e.inclusive ? ">=" : ">", r = t(e.origin); 7746 return r ? `Kéré ju: a nà láti jáº¹Ì pé ${e.origin} ${r.verb} ${n}${e.minimum} ${r.unit}` : `Kéré ju: a nà láti jáº¹Ì ${n}${e.minimum}`; 7747 } 7748 case "invalid_format": { 7749 var s; 7750 let t = e; 7751 return t.format === "starts_with" ? `á»Ìrá»Ì aṣìṣe: gbá»Ìdá»Ì bẹÌráº¹Ì pẹÌlú "${t.prefix}"` : t.format === "ends_with" ? `á»Ìrá»Ì aṣìṣe: gbá»Ìdá»Ì parà pẹÌlú "${t.suffix}"` : t.format === "includes" ? `á»Ìrá»Ì aṣìṣe: gbá»Ìdá»Ì nà "${t.includes}"` : t.format === "regex" ? `á»Ìrá»Ì aṣìṣe: gbá»Ìdá»Ì bá à pẹẹrẹ mu ${t.pattern}` : `Aṣìṣe: ${(s = n[t.format]) == null ? e.format : s}`; 7752 } 7753 case "not_multiple_of": return `Ná»Ìmbà aṣìṣe: gbá»Ìdá»Ì jáº¹Ì Ã¨yà pÃpÃn ti ${e.divisor}`; 7754 case "unrecognized_keys": return `Bá»tìnì à ìmá»Ì: ${_(e.keys, ", ")}`; 7755 case "invalid_key": return `Bá»tìnì aṣìṣe nÃnú ${e.origin}`; 7756 case "invalid_union": return "Ãbáwá»lé aṣìṣe"; 7757 case "invalid_element": return `Iye aṣìṣe nÃnú ${e.origin}`; 7758 default: return "Ãbáwá»lé aṣìṣe"; 7759 } 7760 }; 7761}; 7762function ns() { 7763 return { localeError: ts() }; 7764} 7765//#endregion 7766//#region ../node_modules/zod/v4/locales/index.js 7767var rs = /* @__PURE__ */ t({ 7768 ar: () => ra, 7769 az: () => aa, 7770 be: () => ca, 7771 bg: () => ua, 7772 ca: () => fa, 7773 cs: () => ma, 7774 da: () => ga, 7775 de: () => va, 7776 el: () => ba, 7777 en: () => Sa, 7778 eo: () => wa, 7779 es: () => Ea, 7780 fa: () => Oa, 7781 fi: () => Aa, 7782 fr: () => Ma, 7783 frCA: () => Pa, 7784 he: () => Ia, 7785 hr: () => Ra, 7786 hu: () => Ba, 7787 hy: () => Wa, 7788 id: () => Ka, 7789 is: () => Ja, 7790 it: () => Xa, 7791 ja: () => Qa, 7792 ka: () => eo, 7793 kh: () => ro, 7794 km: () => no, 7795 ko: () => ao, 7796 lt: () => lo, 7797 mk: () => fo, 7798 ms: () => mo, 7799 nl: () => go, 7800 no: () => vo, 7801 ota: () => bo, 7802 pl: () => wo, 7803 ps: () => So, 7804 pt: () => Eo, 7805 ro: () => Oo, 7806 ru: () => jo, 7807 sl: () => No, 7808 sv: () => Fo, 7809 ta: () => Lo, 7810 th: () => zo, 7811 tr: () => Vo, 7812 ua: () => Wo, 7813 uk: () => Uo, 7814 ur: () => Ko, 7815 uz: () => Jo, 7816 vi: () => Xo, 7817 yo: () => ns, 7818 zhCN: () => Qo, 7819 zhTW: () => es 7820}), is, as = Symbol("ZodOutput"), os = Symbol("ZodInput"), ss = class { 7821 constructor() { 7822 this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(); 7823 } 7824 add(e, ...t) { 7825 let n = t[0]; 7826 return this._map.set(e, n), n && typeof n == "object" && "id" in n && this._idmap.set(n.id, e), this; 7827 } 7828 clear() { 7829 return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this; 7830 } 7831 remove(e) { 7832 let t = this._map.get(e); 7833 return t && typeof t == "object" && "id" in t && this._idmap.delete(t.id), this._map.delete(e), this; 7834 } 7835 get(e) { 7836 let t = e._zod.parent; 7837 if (t) { 7838 var n; 7839 let r = h({}, (n = this.get(t)) == null ? {} : n); 7840 delete r.id; 7841 let i = h(h({}, r), this._map.get(e)); 7842 return Object.keys(i).length ? i : void 0; 7843 } 7844 return this._map.get(e); 7845 } 7846 has(e) { 7847 return this._map.has(e); 7848 } 7849}; 7850function cs() { 7851 return new ss(); 7852} 7853(is = globalThis).__zod_globalRegistry != null || (is.__zod_globalRegistry = cs()); 7854var P = globalThis.__zod_globalRegistry; 7855//#endregion 7856//#region ../node_modules/zod/v4/core/api.js 7857// @__NO_SIDE_EFFECTS__ 7858function ls(e, t) { 7859 return new e(h({ type: "string" }, T(t))); 7860} 7861// @__NO_SIDE_EFFECTS__ 7862function us(e, t) { 7863 return new e(h({ 7864 type: "string", 7865 coerce: !0 7866 }, T(t))); 7867} 7868// @__NO_SIDE_EFFECTS__ 7869function ds(e, t) { 7870 return new e(h({ 7871 type: "string", 7872 format: "email", 7873 check: "string_format", 7874 abort: !1 7875 }, T(t))); 7876} 7877// @__NO_SIDE_EFFECTS__ 7878function fs(e, t) { 7879 return new e(h({ 7880 type: "string", 7881 format: "guid", 7882 check: "string_format", 7883 abort: !1 7884 }, T(t))); 7885} 7886// @__NO_SIDE_EFFECTS__ 7887function ps(e, t) { 7888 return new e(h({ 7889 type: "string", 7890 format: "uuid", 7891 check: "string_format", 7892 abort: !1 7893 }, T(t))); 7894} 7895// @__NO_SIDE_EFFECTS__ 7896function ms(e, t) { 7897 return new e(h({ 7898 type: "string", 7899 format: "uuid", 7900 check: "string_format", 7901 abort: !1, 7902 version: "v4" 7903 }, T(t))); 7904} 7905// @__NO_SIDE_EFFECTS__ 7906function hs(e, t) { 7907 return new e(h({ 7908 type: "string", 7909 format: "uuid", 7910 check: "string_format", 7911 abort: !1, 7912 version: "v6" 7913 }, T(t))); 7914} 7915// @__NO_SIDE_EFFECTS__ 7916function gs(e, t) { 7917 return new e(h({ 7918 type: "string", 7919 format: "uuid", 7920 check: "string_format", 7921 abort: !1, 7922 version: "v7" 7923 }, T(t))); 7924} 7925// @__NO_SIDE_EFFECTS__ 7926function _s(e, t) { 7927 return new e(h({ 7928 type: "string", 7929 format: "url", 7930 check: "string_format", 7931 abort: !1 7932 }, T(t))); 7933} 7934// @__NO_SIDE_EFFECTS__ 7935function vs(e, t) { 7936 return new e(h({ 7937 type: "string", 7938 format: "emoji",
7939 check: "string_format", 7940 abort: !1 7941 }, T(t))); 7942} 7943// @__NO_SIDE_EFFECTS__ 7944function ys(e, t) { 7945 return new e(h({ 7946 type: "string", 7947 format: "nanoid", 7948 check: "string_format", 7949 abort: !1 7950 }, T(t))); 7951} 7952// @__NO_SIDE_EFFECTS__ 7953function bs(e, t) { 7954 return new e(h({ 7955 type: "string", 7956 format: "cuid", 7957 check: "string_format", 7958 abort: !1 7959 }, T(t))); 7960} 7961// @__NO_SIDE_EFFECTS__ 7962function xs(e, t) { 7963 return new e(h({ 7964 type: "string", 7965 format: "cuid2", 7966 check: "string_format", 7967 abort: !1 7968 }, T(t))); 7969} 7970// @__NO_SIDE_EFFECTS__ 7971function Ss(e, t) { 7972 return new e(h({ 7973 type: "string", 7974 format: "ulid", 7975 check: "string_format", 7976 abort: !1 7977 }, T(t))); 7978} 7979// @__NO_SIDE_EFFECTS__ 7980function Cs(e, t) { 7981 return new e(h({ 7982 type: "string", 7983 format: "xid", 7984 check: "string_format", 7985 abort: !1 7986 }, T(t))); 7987} 7988// @__NO_SIDE_EFFECTS__ 7989function ws(e, t) { 7990 return new e(h({ 7991 type: "string", 7992 format: "ksuid", 7993 check: "string_format", 7994 abort: !1 7995 }, T(t))); 7996} 7997// @__NO_SIDE_EFFECTS__ 7998function Ts(e, t) { 7999 return new e(h({ 8000 type: "string", 8001 format: "ipv4", 8002 check: "string_format", 8003 abort: !1 8004 }, T(t))); 8005} 8006// @__NO_SIDE_EFFECTS__ 8007function Es(e, t) { 8008 return new e(h({ 8009 type: "string", 8010 format: "ipv6", 8011 check: "string_format", 8012 abort: !1 8013 }, T(t))); 8014} 8015// @__NO_SIDE_EFFECTS__ 8016function Ds(e, t) { 8017 return new e(h({ 8018 type: "string", 8019 format: "mac", 8020 check: "string_format", 8021 abort: !1 8022 }, T(t))); 8023} 8024// @__NO_SIDE_EFFECTS__ 8025function Os(e, t) { 8026 return new e(h({ 8027 type: "string", 8028 format: "cidrv4", 8029 check: "string_format", 8030 abort: !1 8031 }, T(t))); 8032} 8033// @__NO_SIDE_EFFECTS__ 8034function ks(e, t) { 8035 return new e(h({ 8036 type: "string", 8037 format: "cidrv6", 8038 check: "string_format", 8039 abort: !1 8040 }, T(t))); 8041} 8042// @__NO_SIDE_EFFECTS__ 8043function As(e, t) { 8044 return new e(h({ 8045 type: "string", 8046 format: "base64", 8047 check: "string_format", 8048 abort: !1 8049 }, T(t))); 8050} 8051// @__NO_SIDE_EFFECTS__ 8052function js(e, t) { 8053 return new e(h({ 8054 type: "string", 8055 format: "base64url", 8056 check: "string_format", 8057 abort: !1 8058 }, T(t))); 8059} 8060// @__NO_SIDE_EFFECTS__ 8061function Ms(e, t) { 8062 return new e(h({ 8063 type: "string", 8064 format: "e164", 8065 check: "string_format", 8066 abort: !1 8067 }, T(t))); 8068} 8069// @__NO_SIDE_EFFECTS__ 8070function Ns(e, t) { 8071 return new e(h({ 8072 type: "string", 8073 format: "jwt", 8074 check: "string_format", 8075 abort: !1 8076 }, T(t))); 8077} 8078var Ps = { 8079 Any: null, 8080 Minute: -1, 8081 Second: 0, 8082 Millisecond: 3, 8083 Microsecond: 6 8084}; 8085// @__NO_SIDE_EFFECTS__ 8086function Fs(e, t) { 8087 return new e(h({ 8088 type: "string", 8089 format: "datetime", 8090 check: "string_format", 8091 offset: !1, 8092 local: !1, 8093 precision: null 8094 }, T(t))); 8095} 8096// @__NO_SIDE_EFFECTS__ 8097function Is(e, t) { 8098 return new e(h({ 8099 type: "string", 8100 format: "date", 8101 check: "string_format" 8102 }, T(t))); 8103} 8104// @__NO_SIDE_EFFECTS__ 8105function Ls(e, t) { 8106 return new e(h({ 8107 type: "string", 8108 format: "time", 8109 check: "string_format", 8110 precision: null 8111 }, T(t))); 8112} 8113// @__NO_SIDE_EFFECTS__ 8114function Rs(e, t) { 8115 return new e(h({ 8116 type: "string", 8117 format: "duration", 8118 check: "string_format" 8119 }, T(t))); 8120} 8121// @__NO_SIDE_EFFECTS__ 8122function zs(e, t) { 8123 return new e(h({ 8124 type: "number", 8125 checks: [] 8126 }, T(t))); 8127} 8128// @__NO_SIDE_EFFECTS__ 8129function Bs(e, t) { 8130 return new e(h({ 8131 type: "number", 8132 coerce: !0, 8133 checks: [] 8134 }, T(t))); 8135} 8136// @__NO_SIDE_EFFECTS__ 8137function Vs(e, t) { 8138 return new e(h({ 8139 type: "number", 8140 check: "number_format", 8141 abort: !1, 8142 format: "safeint" 8143 }, T(t))); 8144} 8145// @__NO_SIDE_EFFECTS__ 8146function Hs(e, t) { 8147 return new e(h({ 8148 type: "number", 8149 check: "number_format", 8150 abort: !1, 8151 format: "float32" 8152 }, T(t))); 8153} 8154// @__NO_SIDE_EFFECTS__ 8155function Us(e, t) { 8156 return new e(h({ 8157 type: "number", 8158 check: "number_format", 8159 abort: !1, 8160 format: "float64" 8161 }, T(t))); 8162} 8163// @__NO_SIDE_EFFECTS__ 8164function Ws(e, t) { 8165 return new e(h({ 8166 type: "number", 8167 check: "number_format", 8168 abort: !1, 8169 format: "int32" 8170 }, T(t))); 8171} 8172// @__NO_SIDE_EFFECTS__ 8173function Gs(e, t) { 8174 return new e(h({ 8175 type: "number", 8176 check: "number_format", 8177 abort: !1, 8178 format: "uint32" 8179 }, T(t))); 8180} 8181// @__NO_SIDE_EFFECTS__ 8182function Ks(e, t) { 8183 return new e(h({ type: "boolean" }, T(t))); 8184} 8185// @__NO_SIDE_EFFECTS__ 8186function qs(e, t) { 8187 return new e(h({ 8188 type: "boolean", 8189 coerce: !0 8190 }, T(t))); 8191} 8192// @__NO_SIDE_EFFECTS__ 8193function Js(e, t) { 8194 return new e(h({ type: "bigint" }, T(t))); 8195} 8196// @__NO_SIDE_EFFECTS__ 8197function Ys(e, t) { 8198 return new e(h({ 8199 type: "bigint", 8200 coerce: !0 8201 }, T(t))); 8202} 8203// @__NO_SIDE_EFFECTS__ 8204function Xs(e, t) { 8205 return new e(h({ 8206 type: "bigint", 8207 check: "bigint_format", 8208 abort: !1, 8209 format: "int64" 8210 }, T(t))); 8211} 8212// @__NO_SIDE_EFFECTS__ 8213function Zs(e, t) { 8214 return new e(h({ 8215 type: "bigint", 8216 check: "bigint_format", 8217 abort: !1, 8218 format: "uint64" 8219 }, T(t))); 8220} 8221// @__NO_SIDE_EFFECTS__ 8222function Qs(e, t) { 8223 return new e(h({ type: "symbol" }, T(t))); 8224} 8225// @__NO_SIDE_EFFECTS__ 8226function $s(e, t) { 8227 return new e(h({ type: "undefined" }, T(t))); 8228} 8229// @__NO_SIDE_EFFECTS__ 8230function ec(e, t) { 8231 return new e(h({ type: "null" }, T(t))); 8232} 8233// @__NO_SIDE_EFFECTS__ 8234function tc(e) { 8235 return new e({ type: "any" }); 8236} 8237// @__NO_SIDE_EFFECTS__ 8238function nc(e) { 8239 return new e({ type: "unknown" }); 8240} 8241// @__NO_SIDE_EFFECTS__ 8242function rc(e, t) { 8243 return new e(h({ type: "never" }, T(t))); 8244} 8245// @__NO_SIDE_EFFECTS__ 8246function ic(e, t) { 8247 return new e(h({ type: "void" }, T(t))); 8248} 8249// @__NO_SIDE_EFFECTS__ 8250function ac(e, t) { 8251 return new e(h({ type: "date" }, T(t))); 8252} 8253// @__NO_SIDE_EFFECTS__ 8254function oc(e, t) { 8255 return new e(h({ 8256 type: "date", 8257 coerce: !0 8258 }, T(t))); 8259} 8260// @__NO_SIDE_EFFECTS__ 8261function sc(e, t) { 8262 return new e(h({ type: "nan" }, T(t))); 8263} 8264// @__NO_SIDE_EFFECTS__ 8265function F(e, t) { 8266 return new Wn(h(h({ check: "less_than" }, T(t)), {}, { 8267 value: e, 8268 inclusive: !1 8269 })); 8270} 8271// @__NO_SIDE_EFFECTS__ 8272function I(e, t) { 8273 return new Wn(h(h({ check: "less_than" }, T(t)), {}, { 8274 value: e, 8275 inclusive: !0 8276 })); 8277} 8278// @__NO_SIDE_EFFECTS__ 8279function L(e, t) { 8280 return new Gn(h(h({ check: "greater_than" }, T(t)), {}, { 8281 value: e, 8282 inclusive: !1 8283 })); 8284} 8285// @__NO_SIDE_EFFECTS__ 8286function R(e, t) { 8287 return new Gn(h(h({ check: "greater_than" }, T(t)), {}, { 8288 value: e, 8289 inclusive: !0 8290 })); 8291} 8292// @__NO_SIDE_EFFECTS__ 8293function cc(e) { 8294 return /* @__PURE__ */ L(0, e); 8295} 8296// @__NO_SIDE_EFFECTS__ 8297function lc(e) { 8298 return /* @__PURE__ */ F(0, e); 8299} 8300// @__NO_SIDE_EFFECTS__ 8301function uc(e) { 8302 return /* @__PURE__ */ I(0, e); 8303} 8304// @__NO_SIDE_EFFECTS__ 8305function dc(e) { 8306 return /* @__PURE__ */ R(0, e); 8307} 8308// @__NO_SIDE_EFFECTS__ 8309function z(e, t) { 8310 return new Kn(h(h({ check: "multiple_of" }, T(t)), {}, { value: e })); 8311} 8312// @__NO_SIDE_EFFECTS__ 8313function B(e, t) {
8314 return new Yn(h(h({ check: "max_size" }, T(t)), {}, { maximum: e })); 8315} 8316// @__NO_SIDE_EFFECTS__ 8317function V(e, t) { 8318 return new Xn(h(h({ check: "min_size" }, T(t)), {}, { minimum: e })); 8319} 8320// @__NO_SIDE_EFFECTS__ 8321function fc(e, t) { 8322 return new Zn(h(h({ check: "size_equals" }, T(t)), {}, { size: e })); 8323} 8324// @__NO_SIDE_EFFECTS__ 8325function pc(e, t) { 8326 return new Qn(h(h({ check: "max_length" }, T(t)), {}, { maximum: e })); 8327} 8328// @__NO_SIDE_EFFECTS__ 8329function H(e, t) { 8330 return new $n(h(h({ check: "min_length" }, T(t)), {}, { minimum: e })); 8331} 8332// @__NO_SIDE_EFFECTS__ 8333function mc(e, t) { 8334 return new er(h(h({ check: "length_equals" }, T(t)), {}, { length: e })); 8335} 8336// @__NO_SIDE_EFFECTS__ 8337function hc(e, t) { 8338 return new nr(h(h({ 8339 check: "string_format", 8340 format: "regex" 8341 }, T(t)), {}, { pattern: e })); 8342} 8343// @__NO_SIDE_EFFECTS__ 8344function gc(e) { 8345 return new rr(h({ 8346 check: "string_format", 8347 format: "lowercase" 8348 }, T(e))); 8349} 8350// @__NO_SIDE_EFFECTS__ 8351function _c(e) { 8352 return new ir(h({ 8353 check: "string_format", 8354 format: "uppercase" 8355 }, T(e))); 8356} 8357// @__NO_SIDE_EFFECTS__ 8358function vc(e, t) { 8359 return new ar(h(h({ 8360 check: "string_format", 8361 format: "includes" 8362 }, T(t)), {}, { includes: e })); 8363} 8364// @__NO_SIDE_EFFECTS__ 8365function yc(e, t) { 8366 return new or(h(h({ 8367 check: "string_format", 8368 format: "starts_with" 8369 }, T(t)), {}, { prefix: e })); 8370} 8371// @__NO_SIDE_EFFECTS__ 8372function bc(e, t) { 8373 return new sr(h(h({ 8374 check: "string_format", 8375 format: "ends_with" 8376 }, T(t)), {}, { suffix: e })); 8377} 8378// @__NO_SIDE_EFFECTS__ 8379function xc(e, t, n) { 8380 return new lr(h({ 8381 check: "property", 8382 property: e, 8383 schema: t 8384 }, T(n))); 8385} 8386// @__NO_SIDE_EFFECTS__ 8387function Sc(e, t) { 8388 return new ur(h({ 8389 check: "mime_type", 8390 mime: e 8391 }, T(t))); 8392} 8393// @__NO_SIDE_EFFECTS__ 8394function U(e) { 8395 return new dr({ 8396 check: "overwrite", 8397 tx: e 8398 }); 8399} 8400// @__NO_SIDE_EFFECTS__ 8401function Cc(e) { 8402 return /* @__PURE__ */ U((t) => t.normalize(e)); 8403} 8404// @__NO_SIDE_EFFECTS__ 8405function wc() { 8406 return /* @__PURE__ */ U((e) => e.trim()); 8407} 8408// @__NO_SIDE_EFFECTS__ 8409function Tc() { 8410 return /* @__PURE__ */ U((e) => e.toLowerCase()); 8411} 8412// @__NO_SIDE_EFFECTS__ 8413function Ec() { 8414 return /* @__PURE__ */ U((e) => e.toUpperCase()); 8415} 8416// @__NO_SIDE_EFFECTS__ 8417function Dc() { 8418 return /* @__PURE__ */ U((e) => ye(e)); 8419} 8420// @__NO_SIDE_EFFECTS__ 8421function Oc(e, t, n) { 8422 return new e(h({ 8423 type: "array", 8424 element: t 8425 }, T(n))); 8426} 8427// @__NO_SIDE_EFFECTS__ 8428function kc(e, t, n) { 8429 return new e(h({ 8430 type: "union", 8431 options: t 8432 }, T(n))); 8433} 8434function Ac(e, t, n) { 8435 return new e(h({ 8436 type: "union", 8437 options: t, 8438 inclusive: !1 8439 }, T(n))); 8440} 8441// @__NO_SIDE_EFFECTS__ 8442function jc(e, t, n, r) { 8443 return new e(h({ 8444 type: "union", 8445 options: n, 8446 discriminator: t 8447 }, T(r))); 8448} 8449// @__NO_SIDE_EFFECTS__ 8450function Mc(e, t, n) { 8451 return new e({ 8452 type: "intersection", 8453 left: t, 8454 right: n 8455 }); 8456} 8457// @__NO_SIDE_EFFECTS__ 8458function Nc(e, t, n, r) { 8459 let i = n instanceof M; 8460 return new e(h({ 8461 type: "tuple", 8462 items: t, 8463 rest: i ? n : null 8464 }, T(i ? r : n))); 8465} 8466// @__NO_SIDE_EFFECTS__ 8467function Pc(e, t, n, r) { 8468 return new e(h({ 8469 type: "record", 8470 keyType: t, 8471 valueType: n 8472 }, T(r))); 8473} 8474// @__NO_SIDE_EFFECTS__ 8475function Fc(e, t, n, r) { 8476 return new e(h({ 8477 type: "map", 8478 keyType: t, 8479 valueType: n 8480 }, T(r))); 8481} 8482// @__NO_SIDE_EFFECTS__ 8483function Ic(e, t, n) { 8484 return new e(h({ 8485 type: "set", 8486 valueType: t 8487 }, T(n))); 8488} 8489// @__NO_SIDE_EFFECTS__ 8490function Lc(e, t, n) { 8491 return new e(h({ 8492 type: "enum", 8493 entries: Array.isArray(t) ? Object.fromEntries(t.map((e) => [e, e])) : t 8494 }, T(n))); 8495} 8496// @__NO_SIDE_EFFECTS__ 8497function Rc(e, t, n) { 8498 return new e(h({ 8499 type: "enum", 8500 entries: t 8501 }, T(n))); 8502} 8503// @__NO_SIDE_EFFECTS__ 8504function zc(e, t, n) { 8505 return new e(h({ 8506 type: "literal", 8507 values: Array.isArray(t) ? t : [t] 8508 }, T(n))); 8509} 8510// @__NO_SIDE_EFFECTS__ 8511function Bc(e, t) { 8512 return new e(h({ type: "file" }, T(t))); 8513} 8514// @__NO_SIDE_EFFECTS__ 8515function Vc(e, t) { 8516 return new e({ 8517 type: "transform", 8518 transform: t 8519 }); 8520} 8521// @__NO_SIDE_EFFECTS__ 8522function Hc(e, t) { 8523 return new e({ 8524 type: "optional", 8525 innerType: t 8526 }); 8527} 8528// @__NO_SIDE_EFFECTS__ 8529function Uc(e, t) { 8530 return new e({ 8531 type: "nullable", 8532 innerType: t 8533 }); 8534} 8535// @__NO_SIDE_EFFECTS__ 8536function Wc(e, t, n) { 8537 return new e({ 8538 type: "default", 8539 innerType: t, 8540 get defaultValue() { 8541 return typeof n == "function" ? n() : we(n); 8542 } 8543 }); 8544} 8545// @__NO_SIDE_EFFECTS__ 8546function Gc(e, t, n) { 8547 return new e(h({ 8548 type: "nonoptional", 8549 innerType: t 8550 }, T(n))); 8551} 8552// @__NO_SIDE_EFFECTS__ 8553function Kc(e, t) { 8554 return new e({ 8555 type: "success", 8556 innerType: t 8557 }); 8558} 8559// @__NO_SIDE_EFFECTS__ 8560function qc(e, t, n) { 8561 return new e({ 8562 type: "catch", 8563 innerType: t, 8564 catchValue: typeof n == "function" ? n : () => n 8565 }); 8566} 8567// @__NO_SIDE_EFFECTS__
8568function Jc(e, t, n) { 8569 return new e({ 8570 type: "pipe", 8571 in: t, 8572 out: n 8573 }); 8574} 8575// @__NO_SIDE_EFFECTS__ 8576function Yc(e, t) { 8577 return new e({ 8578 type: "readonly", 8579 innerType: t 8580 }); 8581} 8582// @__NO_SIDE_EFFECTS__ 8583function Xc(e, t, n) { 8584 return new e(h({ 8585 type: "template_literal", 8586 parts: t 8587 }, T(n))); 8588} 8589// @__NO_SIDE_EFFECTS__ 8590function Zc(e, t) { 8591 return new e({ 8592 type: "lazy", 8593 getter: t 8594 }); 8595} 8596// @__NO_SIDE_EFFECTS__ 8597function Qc(e, t) { 8598 return new e({ 8599 type: "promise", 8600 innerType: t 8601 }); 8602} 8603// @__NO_SIDE_EFFECTS__ 8604function $c(e, t, n) { 8605 let r = T(n); 8606 return r.abort != null || (r.abort = !0), new e(h({ 8607 type: "custom", 8608 check: "custom", 8609 fn: t 8610 }, r)); 8611} 8612// @__NO_SIDE_EFFECTS__ 8613function el(e, t, n) { 8614 return new e(h({ 8615 type: "custom", 8616 check: "custom", 8617 fn: t 8618 }, T(n))); 8619} 8620// @__NO_SIDE_EFFECTS__ 8621function tl(e, t) { 8622 let n = /* @__PURE__ */ nl((t) => (t.addIssue = (e) => { 8623 if (typeof e == "string") t.issues.push(Ge(e, t.value, n._zod.def)); 8624 else { 8625 let r = e; 8626 r.fatal && (r.continue = !1), r.code != null || (r.code = "custom"), r.input != null || (r.input = t.value), r.inst != null || (r.inst = n), r.continue != null || (r.continue = !n._zod.def.abort), t.issues.push(Ge(r)); 8627 } 8628 }, e(t.value, t)), t); 8629 return n; 8630} 8631// @__NO_SIDE_EFFECTS__ 8632function nl(e, t) { 8633 let n = new j(h({ check: "custom" }, T(t))); 8634 return n._zod.check = e, n; 8635} 8636// @__NO_SIDE_EFFECTS__ 8637function rl(e) { 8638 let t = new j({ check: "describe" }); 8639 return t._zod.onattach = [(t) => { 8640 var n; 8641 let r = (n = P.get(t)) == null ? {} : n; 8642 P.add(t, h(h({}, r), {}, { description: e })); 8643 }], t._zod.check = () => {}, t; 8644} 8645// @__NO_SIDE_EFFECTS__ 8646function il(e) { 8647 let t = new j({ check: "meta" }); 8648 return t._zod.onattach = [(t) => { 8649 var n; 8650 let r = (n = P.get(t)) == null ? {} : n; 8651 P.add(t, h(h({}, r), e)); 8652 }], t._zod.check = () => {}, t; 8653} 8654// @__NO_SIDE_EFFECTS__ 8655function al(e, t) { 8656 var n, r, i, a, o; 8657 let s = T(t), c = (n = s.truthy) == null ? [ 8658 "true", 8659 "1", 8660 "yes", 8661 "on", 8662 "y", 8663 "enabled" 8664 ] : n, l = (r = s.falsy) == null ? [ 8665 "false", 8666 "0", 8667 "no", 8668 "off", 8669 "n", 8670 "disabled" 8671 ] : r; 8672 s.case !== "sensitive" && (c = c.map((e) => typeof e == "string" ? e.toLowerCase() : e), l = l.map((e) => typeof e == "string" ? e.toLowerCase() : e)); 8673 let u = new Set(c), d = new Set(l), f = (i = e.Codec) == null ? Wi : i, p = (a = e.Boolean) == null ? Gr : a, m = new f({ 8674 type: "pipe", 8675 in: new ((o = e.String) == null ? mr : o)({ 8676 type: "string", 8677 error: s.error 8678 }), 8679 out: new p({ 8680 type: "boolean", 8681 error: s.error 8682 }), 8683 transform: ((e, t) => { 8684 let n = e; 8685 return s.case !== "sensitive" && (n = n.toLowerCase()), u.has(n) ? !0 : !d.has(n) && (t.issues.push({ 8686 code: "invalid_value", 8687 expected: "stringbool", 8688 values: [...u, ...d], 8689 input: t.value, 8690 inst: m, 8691 continue: !1 8692 }), {}); 8693 }), 8694 reverseTransform: ((e, t) => e === !0 ? c[0] || "true" : l[0] || "false"), 8695 error: s.error 8696 }); 8697 return m; 8698} 8699// @__NO_SIDE_EFFECTS__ 8700function ol(e, t, n, r = {}) { 8701 let i = T(r), a = h(h({}, T(r)), {}, { 8702 check: "string_format", 8703 type: "string", 8704 format: t, 8705 fn: typeof n == "function" ? n : (e) => n.test(e) 8706 }, i); 8707 return n instanceof RegExp && (a.pattern = n), new e(a); 8708} 8709//#endregion 8710//#region ../node_modules/zod/v4/core/to-json-schema.js 8711function sl(e) { 8712 var t, n, r, i, a, o, s, c, l; 8713 let u = (t = e == null ? void 0 : e.target) == null ? "draft-2020-12" : t; 8714 return u === "draft-4" && (u = "draft-04"), u === "draft-7" && (u = "draft-07"), { 8715 processors: (n = e.processors) == null ? {} : n, 8716 metadataRegistry: (r = e == null ? void 0 : e.metadata) == null ? P : r, 8717 target: u, 8718 unrepresentable: (i = e == null ? void 0 : e.unrepresentable) == null ? "throw" : i, 8719 override: (a = e == null ? void 0 : e.override) == null ? (() => {}) : a, 8720 io: (o = e == null ? void 0 : e.io) == null ? "output" : o, 8721 counter: 0, 8722 seen: /* @__PURE__ */ new Map(), 8723 cycles: (s = e == null ? void 0 : e.cycles) == null ? "ref" : s, 8724 reused: (c = e == null ? void 0 : e.reused) == null ? "inline" : c, 8725 external: (l = e == null ? void 0 : e.external) == null ? void 0 : l 8726 }; 8727} 8728function W(e, t, n = { 8729 path: [], 8730 schemaPath: [] 8731}) { 8732 var r, i, a; 8733 let o = e._zod.def, s = t.seen.get(e); 8734 if (s) return s.count++, n.schemaPath.includes(e) && (s.cycle = n.path), s.schema; 8735 let c = { 8736 schema: {}, 8737 count: 1, 8738 cycle: void 0, 8739 path: n.path 8740 }; 8741 t.seen.set(e, c); 8742 let l = (r = (i = e._zod).toJSONSchema) == null ? void 0 : r.call(i); 8743 if (l) c.schema = l; 8744 else { 8745 let r = h(h({}, n), {}, { 8746 schemaPath: [...n.schemaPath, e], 8747 path: n.path 8748 }); 8749 if (e._zod.processJSONSchema) e._zod.processJSONSchema(t, c.schema, r); 8750 else { 8751 let n = c.schema, i = t.processors[o.type]; 8752 if (!i) throw Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`); 8753 i(e, t, n, r); 8754 } 8755 let i = e._zod.parent; 8756 i && (c.ref || (c.ref = i), W(i, t, r), t.seen.get(i).isParent = !0); 8757 } 8758 let u = t.metadataRegistry.get(e);
8759 return u && Object.assign(c.schema, u), t.io === "input" && G(e) && (delete c.schema.examples, delete c.schema.default), t.io === "input" && "_prefault" in c.schema && ((a = c.schema).default != null || (a.default = c.schema._prefault)), delete c.schema._prefault, t.seen.get(e).schema; 8760} 8761function cl(e, t) { 8762 let n = e.seen.get(t); 8763 if (!n) throw Error("Unprocessed schema. This is a bug in Zod."); 8764 let r = /* @__PURE__ */ new Map(); 8765 for (let t of e.seen.entries()) { 8766 var i; 8767 let n = (i = e.metadataRegistry.get(t[0])) == null ? void 0 : i.id; 8768 if (n) { 8769 let e = r.get(n); 8770 if (e && e !== t[0]) throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`); 8771 r.set(n, t[0]); 8772 } 8773 } 8774 let a = (t) => { 8775 var r; 8776 let i = e.target === "draft-2020-12" ? "$defs" : "definitions"; 8777 if (e.external) { 8778 var a, o, s, c; 8779 let n = (a = e.external.registry.get(t[0])) == null ? void 0 : a.id, r = (o = e.external.uri) == null ? ((e) => e) : o; 8780 if (n) return { ref: r(n) }; 8781 let l = (s = (c = t[1].defId) == null ? t[1].schema.id : c) == null ? `schema${e.counter++}` : s; 8782 return t[1].defId = l, { 8783 defId: l, 8784 ref: `${r("__shared")}#/${i}/${l}` 8785 }; 8786 } 8787 if (t[1] === n) return { ref: "#" }; 8788 let l = `#/${i}/`, u = (r = t[1].schema.id) == null ? `__schema${e.counter++}` : r; 8789 return { 8790 defId: u, 8791 ref: l + u 8792 }; 8793 }, o = (e) => { 8794 if (e[1].schema.$ref) return; 8795 let t = e[1], { ref: n, defId: r } = a(e); 8796 t.def = h({}, t.schema), r && (t.defId = r); 8797 let i = t.schema; 8798 for (let e in i) delete i[e]; 8799 i.$ref = n; 8800 }; 8801 if (e.cycles === "throw") for (let t of e.seen.entries()) { 8802 let e = t[1]; 8803 if (e.cycle) { 8804 var s; 8805 throw Error(`Cycle detected: #/${(s = e.cycle) == null ? void 0 : s.join("/")}/<root> 8806 8807Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`); 8808 } 8809 } 8810 for (let n of e.seen.entries()) { 8811 var c; 8812 let r = n[1]; 8813 if (t === n[0]) { 8814 o(n); 8815 continue; 8816 } 8817 if (e.external) { 8818 var l; 8819 let r = (l = e.external.registry.get(n[0])) == null ? void 0 : l.id; 8820 if (t !== n[0] && r) { 8821 o(n); 8822 continue; 8823 } 8824 } 8825 if ((c = e.metadataRegistry.get(n[0])) != null && c.id) { 8826 o(n); 8827 continue; 8828 } 8829 if (r.cycle) { 8830 o(n); 8831 continue; 8832 } 8833 if (r.count > 1 && e.reused === "ref") { 8834 o(n); 8835 continue; 8836 } 8837 } 8838} 8839function ll(e, t) { 8840 var n, r, i, a, o; 8841 let s = e.seen.get(t); 8842 if (!s) throw Error("Unprocessed schema. This is a bug in Zod."); 8843 let c = (t) => { 8844 var n, r; 8845 let i = e.seen.get(t); 8846 if (i.ref === null) return; 8847 let a = (n = i.def) == null ? i.schema : n, o = h({}, a), s = i.ref; 8848 if (i.ref = null, s) { 8849 c(s); 8850 let n = e.seen.get(s), r = n.schema; 8851 if (r.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0")) { 8852 var l; 8853 a.allOf = (l = a.allOf) == null ? [] : l, a.allOf.push(r); 8854 } else Object.assign(a, r); 8855 if (Object.assign(a, o), t._zod.parent === s) for (let e in a) e !== "$ref" && e !== "allOf" && (e in o || delete a[e]); 8856 if (r.$ref && n.def) for (let e in a) e !== "$ref" && e !== "allOf" && e in n.def && JSON.stringify(a[e]) === JSON.stringify(n.def[e]) && delete a[e]; 8857 } 8858 let u = t._zod.parent; 8859 if (u && u !== s) { 8860 c(u); 8861 let t = e.seen.get(u); 8862 if (t != null && t.schema.$ref && (a.$ref = t.schema.$ref, t.def)) for (let e in a) e !== "$ref" && e !== "allOf" && e in t.def && JSON.stringify(a[e]) === JSON.stringify(t.def[e]) && delete a[e]; 8863 } 8864 e.override({ 8865 zodSchema: t, 8866 jsonSchema: a, 8867 path: (r = i.path) == null ? [] : r 8868 }); 8869 }; 8870 for (let t of [...e.seen.entries()].reverse()) c(t[0]); 8871 let l = {}; 8872 if (e.target === "draft-2020-12" ? l.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? l.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? l.$schema = "http://json-schema.org/draft-04/schema#" : e.target, (n = e.external) != null && n.uri) { 8873 var u; 8874 let n = (u = e.external.registry.get(t)) == null ? void 0 : u.id; 8875 if (!n) throw Error("Schema is missing an `id` property"); 8876 l.$id = e.external.uri(n); 8877 } 8878 Object.assign(l, (r = s.def) == null ? s.schema : r); 8879 let d = (i = e.metadataRegistry.get(t)) == null ? void 0 : i.id; 8880 d !== void 0 && l.id === d && delete l.id; 8881 let f = (a = (o = e.external) == null ? void 0 : o.defs) == null ? {} : a; 8882 for (let t of e.seen.entries()) { 8883 let e = t[1]; 8884 e.def && e.defId && (e.def.id === e.defId && delete e.def.id, f[e.defId] = e.def); 8885 } 8886 e.external || Object.keys(f).length >
8886 0 && (e.target === "draft-2020-12" ? l.$defs = f : l.definitions = f); 8887 try { 8888 let n = JSON.parse(JSON.stringify(l)); 8889 return Object.defineProperty(n, "~standard", { 8890 value: h(h({}, t["~standard"]), {}, { jsonSchema: { 8891 input: dl(t, "input", e.processors), 8892 output: dl(t, "output", e.processors) 8893 } }), 8894 enumerable: !1, 8895 writable: !1 8896 }), n; 8897 } catch (e) { 8898 throw Error("Error converting schema to JSON."); 8899 } 8900} 8901function G(e, t) { 8902 let n = t == null ? { seen: /* @__PURE__ */ new Set() } : t; 8903 if (n.seen.has(e)) return !1; 8904 n.seen.add(e); 8905 let r = e._zod.def; 8906 if (r.type === "transform") return !0; 8907 if (r.type === "array") return G(r.element, n); 8908 if (r.type === "set") return G(r.valueType, n); 8909 if (r.type === "lazy") return G(r.getter(), n); 8910 if (r.type === "promise" || r.type === "optional" || r.type === "nonoptional" || r.type === "nullable" || r.type === "readonly" || r.type === "default" || r.type === "prefault") return G(r.innerType, n); 8911 if (r.type === "intersection") return G(r.left, n) || G(r.right, n); 8912 if (r.type === "record" || r.type === "map") return G(r.keyType, n) || G(r.valueType, n); 8913 if (r.type === "pipe") return e._zod.traits.has("$ZodCodec") ? !0 : G(r.in, n) || G(r.out, n); 8914 if (r.type === "object") { 8915 for (let e in r.shape) if (G(r.shape[e], n)) return !0; 8916 return !1; 8917 } 8918 if (r.type === "union") { 8919 for (let e of r.options) if (G(e, n)) return !0; 8920 return !1; 8921 } 8922 if (r.type === "tuple") { 8923 for (let e of r.items) if (G(e, n)) return !0; 8924 return !!(r.rest && G(r.rest, n)); 8925 } 8926 return !1; 8927} 8928var ul = (e, t = {}) => (n) => { 8929 let r = sl(h(h({}, n), {}, { processors: t })); 8930 return W(e, r), cl(r, e), ll(r, e); 8931}, dl = (e, t, n = {}) => (r) => { 8932 let { libraryOptions: i, target: a } = r == null ? {} : r, o = sl(h(h({}, i == null ? {} : i), {}, { 8933 target: a, 8934 io: t, 8935 processors: n 8936 })); 8937 return W(e, o), cl(o, e), ll(o, e); 8938}, fl = { 8939 guid: "uuid", 8940 url: "uri", 8941 datetime: "date-time", 8942 json_string: "json-string", 8943 regex: "" 8944}, pl = (e, t, n, r) => { 8945 let i = n; 8946 i.type = "string"; 8947 let { minimum: a, maximum: o, format: s, patterns: c, contentEncoding: l } = e._zod.bag; 8948 if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s) { 8949 var u; 8950 i.format = (u = fl[s]) == null ? s : u, i.format === "" && delete i.format, s === "time" && delete i.format; 8951 } 8952 if (l && (i.contentEncoding = l), c && c.size > 0) { 8953 let e = [...c]; 8954 e.length === 1 ? i.pattern = e[0].source : e.length > 1 && (i.allOf = [...e.map((e) => h(h({}, t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {}), {}, { pattern: e.source }))]); 8955 } 8956}, ml = (e, t, n, r) => { 8957 let i = n, { minimum: a, maximum: o, format: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u } = e._zod.bag; 8958 i.type = typeof s == "string" && s.includes("int") ? "integer" : "number"; 8959 let d = typeof u == "number" && u >= (a == null ? -Infinity : a), f = typeof l == "number" && l <= (o == null ? Infinity : o), p = t.target === "draft-04" || t.target === "openapi-3.0"; 8960 d ? p ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), f ? p ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof o == "number" && (i.maximum = o), typeof c == "number" && (i.multipleOf = c); 8961}, hl = (e, t, n, r) => { 8962 n.type = "boolean"; 8963}, gl = (e, t, n, r) => { 8964 if (t.unrepresentable === "throw") throw Error("BigInt cannot be represented in JSON Schema"); 8965}, _l = (e, t, n, r) => { 8966 if (t.unrepresentable === "throw") throw Error("Symbols cannot be represented in JSON Schema"); 8967}, vl = (e, t, n, r) => { 8968 t.target === "openapi-3.0" ? (n.type = "string", n.nullable = !0, n.enum = [null]) : n.type = "null"; 8969}, yl = (e, t, n, r) => { 8970 if (t.unrepresentable === "throw") throw Error("Undefined cannot be represented in JSON Schema"); 8971}, bl = (e, t, n, r) => { 8972 if (t.unrepresentable === "throw") throw Error("Void cannot be represented in JSON Schema"); 8973}, xl = (e, t, n, r) => { 8974 n.not = {}; 8975}, Sl = (e, t, n, r) => {}, Cl = (e, t, n, r) => {}, wl = (e, t, n, r) => { 8976 if (t.unrepresentable === "throw") throw Error("Date cannot be represented in JSON Schema"); 8977}, Tl = (e, t, n, r) => { 8978 let i = e._zod.def, a = ce(i.entries); 8979 a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), n.enum = a; 8980}, El = (e, t, n, r) => { 8981 let i = e._zod.def, a = []; 8982 for (let e of i.values) if (e === void 0) { 8983 if (t.unrepresentable === "throw") throw Error("Literal `undefined` cannot be represented in JSON Schema"); 8984 } else if (typeof e == "bigint") { 8985 if (t.unrepresentable === "throw") throw Error("BigInt literals cannot be represented in JSON Schema"); 8986 a.push(Number(e)); 8987 } else a.push(e); 8988 if (a.length !== 0) { 8989 if (a.length === 1) { 8990 let e = a[0];
8991 n.type = e === null ? "null" : typeof e, t.target === "draft-04" || t.target === "openapi-3.0" ? n.enum = [e] : n.const = e; 8992 } else a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), a.every((e) => typeof e == "boolean") && (n.type = "boolean"), a.every((e) => e === null) && (n.type = "null"), n.enum = a; 8993 } 8994}, Dl = (e, t, n, r) => { 8995 if (t.unrepresentable === "throw") throw Error("NaN cannot be represented in JSON Schema"); 8996}, Ol = (e, t, n, r) => { 8997 let i = n, a = e._zod.pattern; 8998 if (!a) throw Error("Pattern not found in template literal"); 8999 i.type = "string", i.pattern = a.source; 9000}, kl = (e, t, n, r) => { 9001 let i = n, a = { 9002 type: "string", 9003 format: "binary", 9004 contentEncoding: "binary" 9005 }, { minimum: o, maximum: s, mime: c } = e._zod.bag; 9006 o !== void 0 && (a.minLength = o), s !== void 0 && (a.maxLength = s), c ? c.length === 1 ? (a.contentMediaType = c[0], Object.assign(i, a)) : (Object.assign(i, a), i.anyOf = c.map((e) => ({ contentMediaType: e }))) : Object.assign(i, a); 9007}, Al = (e, t, n, r) => { 9008 n.type = "boolean"; 9009}, jl = (e, t, n, r) => { 9010 if (t.unrepresentable === "throw") throw Error("Custom types cannot be represented in JSON Schema"); 9011}, Ml = (e, t, n, r) => { 9012 if (t.unrepresentable === "throw") throw Error("Function types cannot be represented in JSON Schema"); 9013}, Nl = (e, t, n, r) => { 9014 if (t.unrepresentable === "throw") throw Error("Transforms cannot be represented in JSON Schema"); 9015}, Pl = (e, t, n, r) => { 9016 if (t.unrepresentable === "throw") throw Error("Map cannot be represented in JSON Schema"); 9017}, Fl = (e, t, n, r) => { 9018 if (t.unrepresentable === "throw") throw Error("Set cannot be represented in JSON Schema"); 9019}, Il = (e, t, n, r) => { 9020 let i = n, a = e._zod.def, { minimum: o, maximum: s } = e._zod.bag; 9021 typeof o == "number" && (i.minItems = o), typeof s == "number" && (i.maxItems = s), i.type = "array", i.items = W(a.element, t, h(h({}, r), {}, { path: [...r.path, "items"] })); 9022}, Ll = (e, t, n, r) => { 9023 var i; 9024 let a = n, o = e._zod.def; 9025 a.type = "object", a.properties = {}; 9026 let s = o.shape; 9027 for (let e in s) a.properties[e] = W(s[e], t, h(h({}, r), {}, { path: [ 9028 ...r.path, 9029 "properties", 9030 e 9031 ] })); 9032 let c = new Set(Object.keys(s)), l = new Set([...c].filter((e) => { 9033 let n = o.shape[e]._zod; 9034 return t.io === "input" ? n.optin === void 0 : n.optout === void 0; 9035 })); 9036 l.size > 0 && (a.required = Array.from(l)), ((i = o.catchall) == null ? void 0 : i._zod.def.type) === "never" ? a.additionalProperties = !1 : o.catchall ? o.catchall && (a.additionalProperties = W(o.catchall, t, h(h({}, r), {}, { path: [...r.path, "additionalProperties"] }))) : t.io === "output" && (a.additionalProperties = !1); 9037}, Rl = (e, t, n, r) => { 9038 let i = e._zod.def, a = i.inclusive === !1, o = i.options.map((e, n) => W(e, t, h(h({}, r), {}, { path: [ 9039 ...r.path, 9040 a ? "oneOf" : "anyOf", 9041 n 9042 ] }))); 9043 a ? n.oneOf = o : n.anyOf = o; 9044}, zl = (e, t, n, r) => { 9045 let i = e._zod.def, a = W(i.left, t, h(h({}, r), {}, { path: [ 9046 ...r.path, 9047 "allOf", 9048 0 9049 ] })), o = W(i.right, t, h(h({}, r), {}, { path: [ 9050 ...r.path, 9051 "allOf", 9052 1 9053 ] })), s = (e) => "allOf" in e && Object.keys(e).length === 1; 9054 n.allOf = [...s(a) ? a.allOf : [a], ...s(o) ? o.allOf : [o]]; 9055}, Bl = (e, t, n, r) => { 9056 let i = n, a = e._zod.def; 9057 i.type = "array"; 9058 let o = t.target === "draft-2020-12" ? "prefixItems" : "items", s = t.target === "draft-2020-12" || t.target === "openapi-3.0" ? "items" : "additionalItems", c = a.items.map((e, n) => W(e, t, h(h({}, r), {}, { path: [ 9059 ...r.path, 9060 o, 9061 n 9062 ] }))), l = a.rest ? W(a.rest, t, h(h({}, r), {}, { path: [ 9063 ...r.path, 9064 s, 9065 ...t.target === "openapi-3.0" ? [a.items.length] : [] 9066 ] })) : null; 9067 t.target === "draft-2020-12" ? (i.prefixItems = c, l && (i.items = l)) : t.target === "openapi-3.0" ? (i.items = { anyOf: c }, l && i.items.anyOf.push(l), i.minItems = c.length, l || (i.maxItems = c.length)) : (i.items = c, l && (i.additionalItems = l)); 9068 let { minimum: u, maximum: d } = e._zod.bag; 9069 typeof u == "number" && (i.minItems = u), typeof d == "number" && (i.maxItems = d); 9070}, Vl = (e, t, n, r) => { 9071 let i = n, a = e._zod.def; 9072 i.type = "object"; 9073 let o = a.keyType, s = o._zod.bag, c = s == null ? void 0 : s.patterns; 9074 if (a.mode === "loose" && c && c.size > 0) { 9075 let e = W(a.valueType, t, h(h({}, r), {}, { path: [ 9076 ...r.path, 9077 "patternProperties", 9078 "*" 9079 ] })); 9080 i.patternProperties = {}; 9081 for (let t of c) i.patternProperties[t.source] = e; 9082 }
9082 else (t.target === "draft-07" || t.target === "draft-2020-12") && (i.propertyNames = W(a.keyType, t, h(h({}, r), {}, { path: [...r.path, "propertyNames"] }))), i.additionalProperties = W(a.valueType, t, h(h({}, r), {}, { path: [...r.path, "additionalProperties"] })); 9083 let l = o._zod.values; 9084 if (l) { 9085 let e = [...l].filter((e) => typeof e == "string" || typeof e == "number"); 9086 e.length > 0 && (i.required = e); 9087 } 9088}, Hl = (e, t, n, r) => { 9089 let i = e._zod.def, a = W(i.innerType, t, r), o = t.seen.get(e); 9090 t.target === "openapi-3.0" ? (o.ref = i.innerType, n.nullable = !0) : n.anyOf = [a, { type: "null" }]; 9091}, Ul = (e, t, n, r) => { 9092 let i = e._zod.def; 9093 W(i.innerType, t, r); 9094 let a = t.seen.get(e); 9095 a.ref = i.innerType; 9096}, Wl = (e, t, n, r) => { 9097 let i = e._zod.def; 9098 W(i.innerType, t, r); 9099 let a = t.seen.get(e); 9100 a.ref = i.innerType, n.default = JSON.parse(JSON.stringify(i.defaultValue)); 9101}, Gl = (e, t, n, r) => { 9102 let i = e._zod.def; 9103 W(i.innerType, t, r); 9104 let a = t.seen.get(e); 9105 a.ref = i.innerType, t.io === "input" && (n._prefault = JSON.parse(JSON.stringify(i.defaultValue))); 9106}, Kl = (e, t, n, r) => { 9107 let i = e._zod.def; 9108 W(i.innerType, t, r); 9109 let a = t.seen.get(e); 9110 a.ref = i.innerType; 9111 let o; 9112 try { 9113 o = i.catchValue(void 0); 9114 } catch (e) { 9115 throw Error("Dynamic catch values are not supported in JSON Schema"); 9116 } 9117 n.default = o; 9118}, ql = (e, t, n, r) => { 9119 let i = e._zod.def, a = i.in._zod.traits.has("$ZodTransform"), o = t.io === "input" ? a ? i.out : i.in : i.out; 9120 W(o, t, r); 9121 let s = t.seen.get(e); 9122 s.ref = o; 9123}, Jl = (e, t, n, r) => { 9124 let i = e._zod.def; 9125 W(i.innerType, t, r); 9126 let a = t.seen.get(e); 9127 a.ref = i.innerType, n.readOnly = !0; 9128}, Yl = (e, t, n, r) => { 9129 let i = e._zod.def; 9130 W(i.innerType, t, r); 9131 let a = t.seen.get(e); 9132 a.ref = i.innerType; 9133}, Xl = (e, t, n, r) => { 9134 let i = e._zod.def; 9135 W(i.innerType, t, r); 9136 let a = t.seen.get(e); 9137 a.ref = i.innerType; 9138}, Zl = (e, t, n, r) => { 9139 let i = e._zod.innerType; 9140 W(i, t, r); 9141 let a = t.seen.get(e); 9142 a.ref = i; 9143}, Ql = { 9144 string: pl, 9145 number: ml, 9146 boolean: hl, 9147 bigint: gl, 9148 symbol: _l, 9149 null: vl, 9150 undefined: yl, 9151 void: bl, 9152 never: xl, 9153 any: Sl, 9154 unknown: Cl, 9155 date: wl, 9156 enum: Tl, 9157 literal: El, 9158 nan: Dl, 9159 template_literal: Ol, 9160 file: kl, 9161 success: Al, 9162 custom: jl, 9163 function: Ml, 9164 transform: Nl, 9165 map: Pl, 9166 set: Fl, 9167 array: Il, 9168 object: Ll, 9169 union: Rl, 9170 intersection: zl, 9171 tuple: Bl, 9172 record: Vl, 9173 nullable: Hl, 9174 nonoptional: Ul, 9175 default: Wl, 9176 prefault: Gl, 9177 catch: Kl, 9178 pipe: ql, 9179 readonly: Jl, 9180 promise: Yl, 9181 optional: Xl, 9182 lazy: Zl 9183}; 9184function $l(e, t) { 9185 if ("_idmap" in e) { 9186 let n = e, r = sl(h(h({}, t), {}, { processors: Ql })), i = {}; 9187 for (let e of n._idmap.entries()) { 9188 let [t, n] = e; 9189 W(n, r); 9190 } 9191 let a = {}; 9192 r.external = { 9193 registry: n, 9194 uri: t == null ? void 0 : t.uri, 9195 defs: i 9196 }; 9197 for (let e of n._idmap.entries()) { 9198 let [t, n] = e; 9199 cl(r, n), a[t] = ll(r, n); 9200 } 9201 return Object.keys(i).length > 0 && (a.__shared = { [r.target === "draft-2020-12" ? "$defs" : "definitions"]: i }), { schemas: a }; 9202 } 9203 let n = sl(h(h({}, t), {}, { processors: Ql })); 9204 return W(e, n), cl(n, e), ll(n, e); 9205} 9206//#endregion 9207//#region ../node_modules/zod/v4/core/json-schema-generator.js 9208var eu = ["~standard"], tu = class { 9209 get metadataRegistry() { 9210 return this.ctx.metadataRegistry; 9211 } 9212 get target() { 9213 return this.ctx.target; 9214 } 9215 get unrepresentable() { 9216 return this.ctx.unrepresentable; 9217 } 9218 get override() { 9219 return this.ctx.override; 9220 } 9221 get io() { 9222 return this.ctx.io; 9223 } 9224 get counter() { 9225 return this.ctx.counter; 9226 } 9227 set counter(e) { 9228 this.ctx.counter = e; 9229 } 9230 get seen() { 9231 return this.ctx.seen; 9232 } 9233 constructor(e) { 9234 var t; 9235 let n = (t = e == null ? void 0 : e.target) == null ? "draft-2020-12" : t; 9236 n === "draft-4" && (n = "draft-04"), n === "draft-7" && (n = "draft-07"), this.ctx = sl(h(h(h(h({ 9237 processors: Ql, 9238 target: n 9239 }, (e == null ? void 0 : e.metadata) && { metadata: e.metadata }), (e == null ? void 0 : e.unrepresentable) && { unrepresentable: e.unrepresentable }), (e == null ? void 0 : e.override) && { override: e.override }), (e == null ? void 0 : e.io) && { io: e.io })); 9240 } 9241 process(e, t = { 9242 path: [], 9243 schemaPath: [] 9244 }) { 9245 return W(e, this.ctx, t); 9246 } 9247 emit(e, t) { 9248 t && (t.cycles && (this.ctx.cycles = t.cycles), t.reused && (this.ctx.reused = t.reused), t.external && (this.ctx.external = t.external)), cl(this.ctx, e); 9249 let n = ll(this.ctx, e), { "~standard": r } = n; 9250 return ee(n, eu); 9251 } 9252}, nu = /* @__PURE__ */ t({}), ru = /* @__PURE__ */ t({ 9253 $ZodAny: () => Zr, 9254 $ZodArray: () => ri, 9255 $ZodAsyncError: () => o, 9256 $ZodBase64: () => Ir, 9257 $ZodBase64URL: () => Rr, 9258 $ZodBigInt: () => Kr, 9259 $ZodBigIntFormat: () => qr, 9260 $ZodBoolean: () => Gr, 9261 $ZodCIDRv4: () => Nr, 9262 $ZodCIDRv6: () => Pr, 9263 $ZodCUID: () => xr, 9264 $ZodCUID2: () => Sr, 9265 $ZodCatch: () => Bi, 9266 $ZodCheck: () => j, 9267 $ZodCheckBigIntFormat: () => Jn, 9268 $ZodCheckEndsWith: () => sr, 9269 $ZodCheckGreaterThan: () => Gn, 9270 $ZodCheckIncludes: () => ar, 9271 $ZodCheckLengthEquals: () => er, 9272 $ZodCheckLessThan: () => Wn, 9273 $ZodCheckLowerCase: () => rr, 9274 $ZodCheckMaxLength: () => Qn, 9275 $ZodCheckMaxSize: () => Yn, 9276 $ZodCheckMimeType: () => ur, 9277 $ZodCheckMinLength: () => $n, 9278 $ZodCheckMinSize: () => Xn, 9279 $ZodCheckMultipleOf: () => Kn, 9280 $ZodCheckNumberFormat: () => qn, 9281 $ZodCheckOverwrite: () => dr, 9282 $ZodCheckProperty: () => lr, 9283 $ZodCheckRegex: () => nr, 9284 $ZodCheckSizeEquals: () => Zn, 9285 $ZodCheckStartsWith: () => or, 9286 $ZodCheckStringFormat: () => tr, 9287 $ZodCheckUpperCase: () => ir, 9288 $ZodCodec: () => Wi, 9289 $ZodCustom: () => ea, 9290 $ZodCustomStringFormat: () => Hr, 9291 $ZodDate: () => ti, 9292 $ZodDefault: () => Pi, 9293 $ZodDiscriminatedUnion: () => pi, 9294 $ZodE164: () => zr, 9295 $ZodEmail: () => _r, 9296 $ZodEmoji: () => yr, 9297 $ZodEncodeError: () => s, 9298 $ZodEnum: () => Ei, 9299 $ZodError: () => tt, 9300 $ZodExactOptional: () => Mi, 9301 $ZodFile: () => Oi, 9302 $ZodFunction: () => Zi, 9303 $ZodGUID: () => hr, 9304 $ZodIPv4: () => Ar, 9305 $ZodIPv6: () => jr, 9306 $ZodISODate: () => Dr, 9307 $ZodISODateTime: () => Er, 9308 $ZodISODuration: () => kr, 9309 $ZodISOTime: () => Or, 9310 $ZodIntersection: () => mi, 9311 $ZodJWT: () => Vr, 9312 $ZodKSUID: () => Tr, 9313 $ZodLazy: () => $i, 9314 $ZodLiteral: () => Di, 9315 $ZodMAC: () => Mr, 9316 $ZodMap: () => Si, 9317 $ZodNaN: () => Vi, 9318 $ZodNanoID: () => br, 9319 $ZodNever: () => $r, 9320 $ZodNonOptional: () => Li, 9321 $ZodNull: () => Xr, 9322 $ZodNullable: () => Ni, 9323 $ZodNumber: () => Ur, 9324 $ZodNumberFormat: () => Wr, 9325 $ZodObject: () => si, 9326 $ZodObjectJIT: () => ci, 9327 $ZodOptional: () => ji, 9328 $ZodPipe: () => Hi, 9329 $ZodPrefault: () => Ii, 9330 $ZodPreprocess: () => qi, 9331 $ZodPromise: () => Qi, 9332 $ZodReadonly: () => Ji, 9333 $ZodRealError: () => A, 9334 $ZodRecord: () => xi, 9335 $ZodRegistry: () => ss, 9336 $ZodSet: () => wi, 9337 $ZodString: () => mr, 9338 $ZodStringFormat: () => N, 9339 $ZodSuccess: () => zi, 9340 $ZodSymbol: () => Jr,
9341 $ZodTemplateLiteral: () => Xi, 9342 $ZodTransform: () => ki, 9343 $ZodTuple: () => _i, 9344 $ZodType: () => M, 9345 $ZodULID: () => Cr, 9346 $ZodURL: () => vr, 9347 $ZodUUID: () => gr, 9348 $ZodUndefined: () => Yr, 9349 $ZodUnion: () => ui, 9350 $ZodUnknown: () => Qr, 9351 $ZodVoid: () => ei, 9352 $ZodXID: () => wr, 9353 $ZodXor: () => fi, 9354 $brand: () => a, 9355 $constructor: () => i, 9356 $input: () => os, 9357 $output: () => as, 9358 Doc: () => fr, 9359 JSONSchema: () => nu, 9360 JSONSchemaGenerator: () => tu, 9361 NEVER: () => r, 9362 TimePrecision: () => Ps, 9363 _any: () => tc, 9364 _array: () => Oc, 9365 _base64: () => As, 9366 _base64url: () => js, 9367 _bigint: () => Js, 9368 _boolean: () => Ks, 9369 _catch: () => qc, 9370 _check: () => nl, 9371 _cidrv4: () => Os, 9372 _cidrv6: () => ks, 9373 _coercedBigint: () => Ys, 9374 _coercedBoolean: () => qs, 9375 _coercedDate: () => oc, 9376 _coercedNumber: () => Bs, 9377 _coercedString: () => us, 9378 _cuid: () => bs, 9379 _cuid2: () => xs, 9380 _custom: () => $c, 9381 _date: () => ac, 9382 _decode: () => _t, 9383 _decodeAsync: () => xt, 9384 _default: () => Wc, 9385 _discriminatedUnion: () => jc, 9386 _e164: () => Ms, 9387 _email: () => ds, 9388 _emoji: () => vs, 9389 _encode: () => ht, 9390 _encodeAsync: () => yt, 9391 _endsWith: () => bc, 9392 _enum: () => Lc, 9393 _file: () => Bc, 9394 _float32: () => Hs, 9395 _float64: () => Us, 9396 _gt: () => L, 9397 _gte: () => R, 9398 _guid: () => fs, 9399 _includes: () => vc, 9400 _int: () => Vs, 9401 _int32: () => Ws, 9402 _int64: () => Xs, 9403 _intersection: () => Mc, 9404 _ipv4: () => Ts, 9405 _ipv6: () => Es, 9406 _isoDate: () => Is, 9407 _isoDateTime: () => Fs, 9408 _isoDuration: () => Rs, 9409 _isoTime: () => Ls, 9410 _jwt: () => Ns, 9411 _ksuid: () => ws, 9412 _lazy: () => Zc, 9413 _length: () => mc, 9414 _literal: () => zc, 9415 _lowercase: () => gc, 9416 _lt: () => F, 9417 _lte: () => I, 9418 _mac: () => Ds, 9419 _map: () => Fc, 9420 _max: () => I, 9421 _maxLength: () => pc, 9422 _maxSize: () => B, 9423 _mime: () => Sc, 9424 _min: () => R, 9425 _minLength: () => H, 9426 _minSize: () => V, 9427 _multipleOf: () => z, 9428 _nan: () => sc, 9429 _nanoid: () => ys, 9430 _nativeEnum: () => Rc, 9431 _negative: () => lc, 9432 _never: () => rc, 9433 _nonnegative: () => dc, 9434 _nonoptional: () => Gc, 9435 _nonpositive: () => uc, 9436 _normalize: () => Cc, 9437 _null: () => ec, 9438 _nullable: () => Uc, 9439 _number: () => zs, 9440 _optional: () => Hc, 9441 _overwrite: () => U, 9442 _parse: () => st, 9443 _parseAsync: () => lt, 9444 _pipe: () => Jc, 9445 _positive: () => cc, 9446 _promise: () => Qc, 9447 _property: () => xc, 9448 _readonly: () => Yc, 9449 _record: () => Pc, 9450 _refine: () => el, 9451 _regex: () => hc, 9452 _safeDecode: () => Tt, 9453 _safeDecodeAsync: () => kt, 9454 _safeEncode: () => Ct, 9455 _safeEncodeAsync: () => Dt, 9456 _safeParse: () => dt, 9457 _safeParseAsync: () => pt, 9458 _set: () => Ic, 9459 _size: () => fc, 9460 _slugify: () => Dc, 9461 _startsWith: () => yc, 9462 _string: () => ls, 9463 _stringFormat: () => ol, 9464 _stringbool: () => al, 9465 _success: () => Kc, 9466 _superRefine: () => tl, 9467 _symbol: () => Qs, 9468 _templateLiteral: () => Xc, 9469 _toLowerCase: () => Tc, 9470 _toUpperCase: () => Ec, 9471 _transform: () => Vc, 9472 _trim: () => wc, 9473 _tuple: () => Nc, 9474 _uint32: () => Gs, 9475 _uint64: () => Zs, 9476 _ulid: () => Ss, 9477 _undefined: () => $s, 9478 _union: () => kc, 9479 _unknown: () => nc, 9480 _uppercase: () => _c, 9481 _url: () => _s, 9482 _uuid: () => ps, 9483 _uuidv4: () => ms, 9484 _uuidv6: () => hs, 9485 _uuidv7: () => gs, 9486 _void: () => ic, 9487 _xid: () => Cs, 9488 _xor: () => Ac, 9489 clone: () => w, 9490 config: () => l, 9491 createStandardJSONSchemaMethod: () => dl, 9492 createToJSONSchemaMethod: () => ul, 9493 decode: () => vt, 9494 decodeAsync: () => St, 9495 describe: () => rl, 9496 encode: () => gt, 9497 encodeAsync: () => bt, 9498 extractDefs: () => cl, 9499 finalize: () => ll, 9500 flattenError: () => nt, 9501 formatError: () => rt, 9502 globalConfig: () => c, 9503 globalRegistry: () => P, 9504 initializeContext: () => sl, 9505 isValidBase64: () => Fr, 9506 isValidBase64URL: () => Lr, 9507 isValidJWT: () => Br, 9508 locales: () => rs, 9509 meta: () => il, 9510 parse: () => ct, 9511 parseAsync: () => ut, 9512 prettifyError: () => ot, 9513 process: () => W, 9514 regexes: () => jt, 9515 registry: () => cs, 9516 safeDecode: () => Et, 9517 safeDecodeAsync: () => At, 9518 safeEncode: () => wt, 9519 safeEncodeAsync: () => Ot, 9520 safeParse: () => ft, 9521 safeParseAsync: () => mt, 9522 toDotPath: () => at, 9523 toJSONSchema: () => $l, 9524 treeifyError: () => it, 9525 util: () => te, 9526 version: () => pr 9527}), iu = /* @__PURE__ */ t({ 9528 endsWith: () => bc, 9529 gt: () => L, 9530 gte: () => R, 9531 includes: () => vc, 9532 length: () => mc, 9533 lowercase: () => gc, 9534 lt: () => F, 9535 lte: () => I, 9536 maxLength: () => pc, 9537 maxSize: () => B, 9538 mime: () => Sc, 9539 minLength: () => H, 9540 minSize: () => V, 9541 multipleOf: () => z, 9542 negative: () => lc, 9543 nonnegative: () => dc, 9544 nonpositive: () => uc, 9545 normalize: () => Cc, 9546 overwrite: () => U, 9547 positive: () => cc, 9548 property: () => xc, 9549 regex: () => hc, 9550 size: () => fc, 9551 slugify: () => Dc, 9552 startsWith: () => yc, 9553 toLowerCase: () => Tc, 9554 toUpperCase: () => Ec, 9555 trim: () => wc, 9556 uppercase: () => _c 9557}), au = /* @__PURE__ */ t({ 9558 ZodISODate: () => cu, 9559 ZodISODateTime: () => ou, 9560 ZodISODuration: () => fu, 9561 ZodISOTime: () => uu, 9562 date: () => lu, 9563 datetime: () => su, 9564 duration: () => pu, 9565 time: () => du 9566}), ou = /*@__PURE__*/ i("ZodISODateTime", (e, t) => { 9567 Er.init(e, t), J.init(e, t); 9568}); 9569function su(e) { 9570 return /* @__PURE__ */ Fs(ou, e); 9571} 9572var cu = /*@__PURE__*/ i("ZodISODate", (e, t) => { 9573 Dr.init(e, t), J.init(e, t); 9574}); 9575function lu(e) { 9576 return /* @__PURE__ */ Is(cu, e); 9577} 9578var uu = /*@__PURE__*/ i("ZodISOTime", (e, t) => { 9579 Or.init(e, t), J.init(e, t); 9580}); 9581function du(e) { 9582 return /* @__PURE__ */ Ls(uu, e); 9583} 9584var fu = /*@__PURE__*/ i("ZodISODuration", (e, t) => {
9585 kr.init(e, t), J.init(e, t); 9586}); 9587function pu(e) { 9588 return /* @__PURE__ */ Rs(fu, e); 9589} 9590//#endregion 9591//#region ../node_modules/zod/v4/classic/errors.js 9592var mu = (e, t) => { 9593 tt.init(e, t), e.name = "ZodError", Object.defineProperties(e, { 9594 format: { value: (t) => rt(e, t) }, 9595 flatten: { value: (t) => nt(e, t) }, 9596 addIssue: { value: (t) => { 9597 e.issues.push(t), e.message = JSON.stringify(e.issues, le, 2); 9598 } }, 9599 addIssues: { value: (t) => { 9600 e.issues.push(...t), e.message = JSON.stringify(e.issues, le, 2); 9601 } }, 9602 isEmpty: { get() { 9603 return e.issues.length === 0; 9604 } } 9605 }); 9606}, hu = /*@__PURE__*/ i("ZodError", mu), K = /*@__PURE__*/ i("ZodError", mu, { Parent: Error }), gu = /* @__PURE__ */ st(K), _u = /* @__PURE__ */ lt(K), vu = /* @__PURE__ */ dt(K), yu = /* @__PURE__ */ pt(K), bu = /* @__PURE__ */ ht(K), xu = /* @__PURE__ */ _t(K), Su = /* @__PURE__ */ yt(K), Cu = /* @__PURE__ */ xt(K), wu = /* @__PURE__ */ Ct(K), Tu = /* @__PURE__ */ Tt(K), Eu = /* @__PURE__ */ Dt(K), Du = /* @__PURE__ */ kt(K), Ou = /* @__PURE__ */ t({ 9607 ZodAny: () => Jd, 9608 ZodArray: () => rf, 9609 ZodBase64: () => hd, 9610 ZodBase64URL: () => _d, 9611 ZodBigInt: () => Ld, 9612 ZodBigIntFormat: () => zd, 9613 ZodBoolean: () => Fd, 9614 ZodCIDRv4: () => dd, 9615 ZodCIDRv6: () => pd, 9616 ZodCUID: () => Yu, 9617 ZodCUID2: () => Zu, 9618 ZodCatch: () => $f, 9619 ZodCodec: () => ap, 9620 ZodCustom: () => yp, 9621 ZodCustomStringFormat: () => Cd, 9622 ZodDate: () => tf, 9623 ZodDefault: () => Gf, 9624 ZodDiscriminatedUnion: () => hf, 9625 ZodE164: () => yd, 9626 ZodEmail: () => Pu, 9627 ZodEmoji: () => Gu, 9628 ZodEnum: () => kf, 9629 ZodExactOptional: () => Bf, 9630 ZodFile: () => Pf, 9631 ZodFunction: () => _p, 9632 ZodGUID: () => Iu, 9633 ZodIPv4: () => ad, 9634 ZodIPv6: () => ld, 9635 ZodIntersection: () => _f, 9636 ZodJWT: () => xd, 9637 ZodKSUID: () => rd, 9638 ZodLazy: () => pp, 9639 ZodLiteral: () => Mf, 9640 ZodMAC: () => sd, 9641 ZodMap: () => Tf, 9642 ZodNaN: () => tp, 9643 ZodNanoID: () => qu, 9644 ZodNever: () => Zd, 9645 ZodNonOptional: () => Yf, 9646 ZodNull: () => Kd, 9647 ZodNullable: () => Hf, 9648 ZodNumber: () => Od, 9649 ZodNumberFormat: () => X, 9650 ZodObject: () => sf, 9651 ZodOptional: () => Rf, 9652 ZodPipe: () => rp, 9653 ZodPrefault: () => qf, 9654 ZodPreprocess: () => cp, 9655 ZodPromise: () => hp, 9656 ZodReadonly: () => lp, 9657 ZodRecord: () => xf, 9658 ZodSet: () => Df, 9659 ZodString: () => Mu, 9660 ZodStringFormat: () => J, 9661 ZodSuccess: () => Zf, 9662 ZodSymbol: () => Hd, 9663 ZodTemplateLiteral: () => dp, 9664 ZodTransform: () => If, 9665 ZodTuple: () => yf, 9666 ZodType: () => q, 9667 ZodULID: () => $u, 9668 ZodURL: () => Hu, 9669 ZodUUID: () => Y, 9670 ZodUndefined: () => Wd, 9671 ZodUnion: () => df, 9672 ZodUnknown: () => Xd, 9673 ZodVoid: () => $d, 9674 ZodXID: () => td, 9675 ZodXor: () => pf, 9676 _ZodString: () => ju, 9677 _default: () => Kf, 9678 _function: () => vp, 9679 any: () => Yd, 9680 array: () => af, 9681 base64: () => gd, 9682 base64url: () => vd, 9683 bigint: () => Rd, 9684 boolean: () => Id, 9685 catch: () => ep, 9686 check: () => bp, 9687 cidrv4: () => fd, 9688 cidrv6: () => md, 9689 codec: () => op, 9690 cuid: () => Xu, 9691 cuid2: () => Qu, 9692 custom: () => xp, 9693 date: () => nf, 9694 describe: () => wp, 9695 discriminatedUnion: () => gf, 9696 e164: () => bd, 9697 email: () => Fu, 9698 emoji: () => Ku, 9699 enum: () => Af, 9700 exactOptional: () => Vf, 9701 file: () => Ff, 9702 float32: () => jd, 9703 float64: () => Md, 9704 function: () => vp, 9705 guid: () => Lu, 9706 hash: () => Dd, 9707 hex: () => Ed, 9708 hostname: () => Td, 9709 httpUrl: () => Wu, 9710 instanceof: () => Ep, 9711 int: () => Ad, 9712 int32: () => Nd, 9713 int64: () => Bd, 9714 intersection: () => vf, 9715 invertCodec: () => sp, 9716 ipv4: () => od, 9717 ipv6: () => ud, 9718 json: () => Op, 9719 jwt: () => Sd, 9720 keyof: () => of, 9721 ksuid: () => id, 9722 lazy: () => mp, 9723 literal: () => Nf, 9724 looseObject: () => uf, 9725 looseRecord: () => wf, 9726 mac: () => cd, 9727 map: () => Ef, 9728 meta: () => Tp, 9729 nan: () => np, 9730 nanoid: () => Ju, 9731 nativeEnum: () => jf, 9732 never: () => Qd, 9733 nonoptional: () => Xf, 9734 null: () => qd, 9735 nullable: () => Uf, 9736 nullish: () => Wf, 9737 number: () => kd, 9738 object: () => cf, 9739 optional: () => zf, 9740 partialRecord: () => Cf, 9741 pipe: () => ip, 9742 prefault: () => Jf, 9743 preprocess: () => kp, 9744 promise: () => gp, 9745 readonly: () => up, 9746 record: () => Sf, 9747 refine: () => Sp, 9748 set: () => Of, 9749 strictObject: () => lf, 9750 string: () => Nu, 9751 stringFormat: () => wd, 9752 stringbool: () => Dp, 9753 success: () => Qf, 9754 superRefine: () => Cp,
9755 symbol: () => Ud, 9756 templateLiteral: () => fp, 9757 transform: () => Lf, 9758 tuple: () => bf, 9759 uint32: () => Pd, 9760 uint64: () => Vd, 9761 ulid: () => ed, 9762 undefined: () => Gd, 9763 union: () => ff, 9764 unknown: () => Z, 9765 url: () => Uu, 9766 uuid: () => Ru, 9767 uuidv4: () => zu, 9768 uuidv6: () => Bu, 9769 uuidv7: () => Vu, 9770 void: () => ef, 9771 xid: () => nd, 9772 xor: () => mf 9773}), ku = /* @__PURE__ */ new WeakMap(); 9774function Au(e, t, n) { 9775 let r = Object.getPrototypeOf(e), i = ku.get(r); 9776 if (i || (i = /* @__PURE__ */ new Set(), ku.set(r, i)), !i.has(t)) { 9777 i.add(t); 9778 for (let e in n) { 9779 let t = n[e]; 9780 Object.defineProperty(r, e, { 9781 configurable: !0, 9782 enumerable: !1, 9783 get() { 9784 let n = t.bind(this); 9785 return Object.defineProperty(this, e, { 9786 configurable: !0, 9787 writable: !0, 9788 enumerable: !0, 9789 value: n 9790 }), n; 9791 }, 9792 set(t) { 9793 Object.defineProperty(this, e, { 9794 configurable: !0, 9795 writable: !0, 9796 enumerable: !0, 9797 value: t 9798 }); 9799 } 9800 }); 9801 } 9802 } 9803} 9804var q = /*@__PURE__*/ i("ZodType", (e, t) => (M.init(e, t), Object.assign(e["~standard"], { jsonSchema: { 9805 input: dl(e, "input"), 9806 output: dl(e, "output") 9807} }), e.toJSONSchema = ul(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (t, n) => gu(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => vu(e, t, n), e.parseAsync = async (t, n) => _u(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => yu(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => bu(e, t, n), e.decode = (t, n) => xu(e, t, n), e.encodeAsync = async (t, n) => Su(e, t, n), e.decodeAsync = async (t, n) => Cu(e, t, n), e.safeEncode = (t, n) => wu(e, t, n), e.safeDecode = (t, n) => Tu(e, t, n), e.safeEncodeAsync = async (t, n) => Eu(e, t, n), e.safeDecodeAsync = async (t, n) => Du(e, t, n), Au(e, "ZodType", { 9808 check(...e) { 9809 var t; 9810 let n = this.def; 9811 return this.clone(S(n, { checks: [...(t = n.checks) == null ? [] : t, ...e.map((e) => typeof e == "function" ? { _zod: { 9812 check: e, 9813 def: { check: "custom" }, 9814 onattach: [] 9815 } } : e)] }), { parent: !0 }); 9816 }, 9817 with(...e) { 9818 return this.check(...e); 9819 }, 9820 clone(e, t) { 9821 return w(this, e, t); 9822 }, 9823 brand() { 9824 return this; 9825 }, 9826 register(e, t) { 9827 return e.add(this, t), this; 9828 }, 9829 refine(e, t) { 9830 return this.check(Sp(e, t)); 9831 }, 9832 superRefine(e, t) { 9833 return this.check(Cp(e, t)); 9834 }, 9835 overwrite(e) { 9836 return this.check(/* @__PURE__ */ U(e)); 9837 }, 9838 optional() { 9839 return zf(this); 9840 }, 9841 exactOptional() { 9842 return Vf(this); 9843 }, 9844 nullable() { 9845 return Uf(this); 9846 }, 9847 nullish() { 9848 return zf(Uf(this)); 9849 }, 9850 nonoptional(e) { 9851 return Xf(this, e); 9852 }, 9853 array() { 9854 return af(this); 9855 }, 9856 or(e) { 9857 return ff([this, e]); 9858 }, 9859 and(e) { 9860 return vf(this, e); 9861 }, 9862 transform(e) { 9863 return ip(this, Lf(e)); 9864 }, 9865 default(e) { 9866 return Kf(this, e); 9867 }, 9868 prefault(e) { 9869 return Jf(this, e); 9870 }, 9871 catch(e) { 9872 return ep(this, e); 9873 }, 9874 pipe(e) { 9875 return ip(this, e); 9876 }, 9877 readonly() { 9878 return up(this); 9879 }, 9880 describe(e) { 9881 let t = this.clone(); 9882 return P.add(t, { description: e }), t; 9883 }, 9884 meta(...e) { 9885 if (e.length === 0) return P.get(this); 9886 let t = this.clone(); 9887 return P.add(t, e[0]), t; 9888 }, 9889 isOptional() { 9890 return this.safeParse(void 0).success; 9891 }, 9892 isNullable() { 9893 return this.safeParse(null).success; 9894 }, 9895 apply(e) { 9896 return e(this); 9897 } 9898}), Object.defineProperty(e, "description", { 9899 get() { 9900 var t; 9901 return (t = P.get(e)) == null ? void 0 : t.description; 9902 }, 9903 configurable: !0 9904}), e)), ju = /*@__PURE__*/ i("_ZodString", (e, t) => { 9905 var n, r, i; 9906 mr.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => pl(e, t, n, r); 9907 let a = e._zod.bag; 9908 e.format = (n = a.format) == null ? null : n, e.minLength = (r = a.minimum) == null ? null : r, e.maxLength = (i = a.maximum) == null ? null : i, Au(e, "_ZodString", { 9909 regex(...e) { 9910 return this.check(/* @__PURE__ */ hc(...e)); 9911 }, 9912 includes(...e) { 9913 return this.check(/* @__PURE__ */ vc(...e)); 9914 }, 9915 startsWith(...e) { 9916 return this.check(/* @__PURE__ */ yc(...e)); 9917 }, 9918 endsWith(...e) { 9919 return this.check(/* @__PURE__ */ bc(...e)); 9920 }, 9921 min(...e) { 9922 return this.check(/* @__PURE__ */ H(...e)); 9923 }, 9924 max(...e) { 9925 return this.check(/* @__PURE__ */ pc(...e)); 9926 }, 9927 length(...e) { 9928 return this.check(/* @__PURE__ */ mc(...e)); 9929 }, 9930 nonempty(...e) { 9931 return this.check(/* @__PURE__ */ H(1, ...e)); 9932 }, 9933 lowercase(e) { 9934 return this.check(/* @__PURE__ */ gc(e)); 9935 }, 9936 uppercase(e) { 9937 return this.check(/* @__PURE__ */ _c(e)); 9938 }, 9939 trim() { 9940 return this.check(/* @__PURE__ */ wc()); 9941 }, 9942 normalize(...e) { 9943 return this.check(/* @__PURE__ */ Cc(...e)); 9944 }, 9945 toLowerCase() { 9946 return this.check(/* @__PURE__ */ Tc()); 9947 }, 9948 toUpperCase() { 9949 return this.check(/* @__PURE__ */ Ec()); 9950 }, 9951 slugify() { 9952 return this.check(/* @__PURE__ */ Dc()); 9953 } 9954 }); 9955}), Mu = /*@__PURE__*/ i("ZodString", (e, t) => { 9956 mr.init(e, t), ju.init(e, t), e.email = (t) => e.check(/* @__PURE__ */ ds(Pu, t)), e.url = (t) => e.check(/* @__PURE__ */ _s(Hu, t)), e.jwt = (t) => e.check(/* @__PURE__ */ Ns(xd, t)), e.emoji = (t) => e.check(/* @__PURE__ */ vs(Gu, t)), e.guid = (t) => e.check(/* @__PURE__ */ fs(Iu, t)), e.uuid = (t) => e.check(/* @__PURE__ */ ps(Y, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ ms(Y, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ hs(Y, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ gs(Y, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ ys(qu, t)), e.guid = (t) => e.check(/* @__PURE__ */ fs(Iu, t)), e.cuid = (t) => e.check(/* @__PURE__ */ bs(Yu, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ xs(Zu, t)), e.ulid = (t) => e.check(/* @__PURE__ */ Ss($u, t)), e.base64 = (t) => e.check(/* @__PURE__ */ As(hd, t)), e.base64url = (t) => e.check(/* @__PURE__ */ js(_d, t)), e.xid = (t) => e.check(/* @__PURE__ */ Cs(td, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ ws(rd, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ Ts(ad, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ Es(ld, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ Os(dd, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ ks(pd, t)), e.e164 = (t) => e.check(/* @__PURE__ */ Ms(yd, t)), e.datetime = (t) => e.check(su(t)), e.date = (t) => e.check(lu(t)), e.time = (t) => e.check(du(t)), e.duration = (t) => e.check(pu(t)); 9957}); 9958function Nu(e) { 9959 return /* @__PURE__ */ ls(Mu, e); 9960} 9961var J = /*@__PURE__*/ i("ZodStringFormat", (e, t) => { 9962 N.init(e, t), ju.init(e, t); 9963}), Pu = /*@__PURE__*/ i("ZodEmail", (e, t) => { 9964 _r.init(e, t), J.init(e, t); 9965}); 9966function Fu(e) { 9967 return /* @__PURE__ */ ds(Pu, e); 9968} 9969var Iu = /*@__PURE__*/ i("ZodGUID", (e, t) => { 9970 hr.init(e, t), J.init(e, t); 9971}); 9972function Lu(e) { 9973 return /* @__PURE__ */ fs(Iu, e); 9974} 9975var Y = /*@__PURE__*/ i("ZodUUID", (e, t) => { 9976 gr.init(e, t), J.init(e, t); 9977}); 9978function Ru(e) { 9979 return /* @__PURE__ */ ps(Y, e); 9980} 9981function zu(e) { 9982 return /* @__PURE__ */ ms(Y, e); 9983} 9984function Bu(e) { 9985 return /* @__PURE__ */ hs(Y, e); 9986} 9987function Vu(e) { 9988 return /* @__PURE__ */ gs(Y, e); 9989} 9990var Hu = /*@__PURE__*/ i("ZodURL", (e, t) => { 9991 vr.init(e, t), J.init(e, t); 9992}); 9993function Uu(e) { 9994 return /* @__PURE__ */ _s(Hu, e); 9995} 9996function Wu(e) { 9997 return /* @__PURE__ */ _s(Hu, h({ 9998 protocol: ln, 9999 hostname: cn 10000 }, T(e))); 10001} 10002var Gu = /*@__PURE__*/ i("ZodEmoji", (e, t) => { 10003 yr.init(e, t), J.init(e, t); 10004}); 10005function Ku(e) { 10006 return /* @__PURE__ */ vs(Gu, e); 10007} 10008var qu = /*@__PURE__*/ i("ZodNanoID", (e, t) => { 10009 br.init(e, t), J.init(e, t); 10010}); 10011function Ju(e) { 10012 return /* @__PURE__ */ ys(qu, e); 10013} 10014var Yu = /*@__PURE__*/ i("ZodCUID", (e, t) => { 10015 xr.init(e, t), J.init(e, t); 10016}); 10017function Xu(e) { 10018 return /* @__PURE__ */ bs(Yu, e); 10019} 10020var Zu = /*@__PURE__*/ i("ZodCUID2", (e, t) => { 10021 Sr.init(e, t), J.init(e, t); 10022}); 10023function Qu(e) { 10024 return /* @__PURE__ */ xs(Zu, e); 10025} 10026var $u = /*@__PURE__*/ i("ZodULID", (e, t) => { 10027 Cr.init(e, t), J.init(e, t); 10028}); 10029function ed(e) { 10030 return /* @__PURE__ */ Ss($u, e); 10031} 10032var td = /*@__PURE__*/ i("ZodXID", (e, t) => { 10033 wr.init(e, t), J.init(e, t); 10034});
10035function nd(e) { 10036 return /* @__PURE__ */ Cs(td, e); 10037} 10038var rd = /*@__PURE__*/ i("ZodKSUID", (e, t) => { 10039 Tr.init(e, t), J.init(e, t); 10040}); 10041function id(e) { 10042 return /* @__PURE__ */ ws(rd, e); 10043} 10044var ad = /*@__PURE__*/ i("ZodIPv4", (e, t) => { 10045 Ar.init(e, t), J.init(e, t); 10046}); 10047function od(e) { 10048 return /* @__PURE__ */ Ts(ad, e); 10049} 10050var sd = /*@__PURE__*/ i("ZodMAC", (e, t) => { 10051 Mr.init(e, t), J.init(e, t); 10052}); 10053function cd(e) { 10054 return /* @__PURE__ */ Ds(sd, e); 10055} 10056var ld = /*@__PURE__*/ i("ZodIPv6", (e, t) => { 10057 jr.init(e, t), J.init(e, t); 10058}); 10059function ud(e) { 10060 return /* @__PURE__ */ Es(ld, e); 10061} 10062var dd = /*@__PURE__*/ i("ZodCIDRv4", (e, t) => { 10063 Nr.init(e, t), J.init(e, t); 10064}); 10065function fd(e) { 10066 return /* @__PURE__ */ Os(dd, e); 10067} 10068var pd = /*@__PURE__*/ i("ZodCIDRv6", (e, t) => { 10069 Pr.init(e, t), J.init(e, t); 10070}); 10071function md(e) { 10072 return /* @__PURE__ */ ks(pd, e); 10073} 10074var hd = /*@__PURE__*/ i("ZodBase64", (e, t) => { 10075 Ir.init(e, t), J.init(e, t); 10076}); 10077function gd(e) { 10078 return /* @__PURE__ */ As(hd, e); 10079} 10080var _d = /*@__PURE__*/ i("ZodBase64URL", (e, t) => { 10081 Rr.init(e, t), J.init(e, t); 10082}); 10083function vd(e) { 10084 return /* @__PURE__ */ js(_d, e); 10085} 10086var yd = /*@__PURE__*/ i("ZodE164", (e, t) => { 10087 zr.init(e, t), J.init(e, t); 10088}); 10089function bd(e) { 10090 return /* @__PURE__ */ Ms(yd, e); 10091} 10092var xd = /*@__PURE__*/ i("ZodJWT", (e, t) => { 10093 Vr.init(e, t), J.init(e, t); 10094}); 10095function Sd(e) { 10096 return /* @__PURE__ */ Ns(xd, e); 10097} 10098var Cd = /*@__PURE__*/ i("ZodCustomStringFormat", (e, t) => { 10099 Hr.init(e, t), J.init(e, t); 10100}); 10101function wd(e, t, n = {}) { 10102 return /* @__PURE__ */ ol(Cd, e, t, n); 10103} 10104function Td(e) { 10105 return /* @__PURE__ */ ol(Cd, "hostname", sn, e); 10106} 10107function Ed(e) { 10108 return /* @__PURE__ */ ol(Cd, "hex", Tn, e); 10109} 10110function Dd(e, t) { 10111 var n; 10112 let r = `${e}_${(n = t == null ? void 0 : t.enc) == null ? "hex" : n}`, i = jt[r]; 10113 if (!i) throw Error(`Unrecognized hash format: ${r}`); 10114 return /* @__PURE__ */ ol(Cd, r, i, t); 10115} 10116var Od = /*@__PURE__*/ i("ZodNumber", (e, t) => { 10117 var n, r, i, a, o, s, c, l, u; 10118 Ur.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => ml(e, t, n, r), Au(e, "ZodNumber", { 10119 gt(e, t) { 10120 return this.check(/* @__PURE__ */ L(e, t)); 10121 }, 10122 gte(e, t) { 10123 return this.check(/* @__PURE__ */ R(e, t)); 10124 }, 10125 min(e, t) { 10126 return this.check(/* @__PURE__ */ R(e, t)); 10127 }, 10128 lt(e, t) { 10129 return this.check(/* @__PURE__ */ F(e, t)); 10130 }, 10131 lte(e, t) { 10132 return this.check(/* @__PURE__ */ I(e, t)); 10133 }, 10134 max(e, t) { 10135 return this.check(/* @__PURE__ */ I(e, t)); 10136 }, 10137 int(e) { 10138 return this.check(Ad(e)); 10139 }, 10140 safe(e) { 10141 return this.check(Ad(e)); 10142 }, 10143 positive(e) { 10144 return this.check(/* @__PURE__ */ L(0, e)); 10145 }, 10146 nonnegative(e) { 10147 return this.check(/* @__PURE__ */ R(0, e)); 10148 }, 10149 negative(e) { 10150 return this.check(/* @__PURE__ */ F(0, e)); 10151 }, 10152 nonpositive(e) { 10153 return this.check(/* @__PURE__ */ I(0, e)); 10154 }, 10155 multipleOf(e, t) { 10156 return this.check(/* @__PURE__ */ z(e, t)); 10157 }, 10158 step(e, t) { 10159 return this.check(/* @__PURE__ */ z(e, t)); 10160 }, 10161 finite() { 10162 return this; 10163 } 10164 }); 10165 let d = e._zod.bag; 10166 e.minValue = (n = Math.max((r = d.minimum) == null ? -Infinity : r, (i = d.exclusiveMinimum) == null ? -Infinity : i)) == null ? null : n, e.maxValue = (a = Math.min((o = d.maximum) == null ? Infinity : o, (s = d.exclusiveMaximum) == null ? Infinity : s)) == null ? null : a, e.isInt = ((c = d.format) == null ? "" : c).includes("int") || Number.isSafeInteger((l = d.multipleOf) == null ? .5 : l), e.isFinite = !0, e.format = (u = d.format) == null ? null : u; 10167}); 10168function kd(e) { 10169 return /* @__PURE__ */ zs(Od, e); 10170} 10171var X = /*@__PURE__*/ i("ZodNumberFormat", (e, t) => { 10172 Wr.init(e, t), Od.init(e, t); 10173}); 10174function Ad(e) { 10175 return /* @__PURE__ */ Vs(X, e); 10176} 10177function jd(e) { 10178 return /* @__PURE__ */ Hs(X, e); 10179} 10180function Md(e) { 10181 return /* @__PURE__ */ Us(X, e); 10182} 10183function Nd(e) { 10184 return /* @__PURE__ */ Ws(X, e); 10185} 10186function Pd(e) { 10187 return /* @__PURE__ */ Gs(X, e); 10188} 10189var Fd = /*@__PURE__*/ i("ZodBoolean", (e, t) => { 10190 Gr.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => hl(e, t, n, r); 10191}); 10192function Id(e) { 10193 return /* @__PURE__ */ Ks(Fd, e); 10194} 10195var Ld = /*@__PURE__*/ i("ZodBigInt", (e, t) => { 10196 var n, r, i; 10197 Kr.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => gl(e, t, n, r), e.gte = (t, n) => e.check(/* @__PURE__ */ R(t, n)), e.min = (t, n) => e.check(/* @__PURE__ */ R(t, n)), e.gt = (t, n) => e.check(/* @__PURE__ */ L(t, n)), e.gte = (t, n) => e.check(/* @__PURE__ */ R(t, n)), e.min = (t, n) => e.check(/* @__PURE__ */ R(t, n)), e.lt = (t, n) => e.check(/* @__PURE__ */ F(t, n)), e.lte = (t, n) => e.check(/* @__PURE__ */ I(t, n)), e.max = (t, n) => e.check(/* @__PURE__ */ I(t, n)), e.positive = (t) => e.check(/* @__PURE__ */ L(BigInt(0), t)), e.negative = (t) => e.check(/* @__PURE__ */ F(BigInt(0), t)), e.nonpositive = (t) => e.check(/* @__PURE__ */ I(BigInt(0), t)), e.nonnegative = (t) => e.check(/* @__PURE__ */ R(BigInt(0), t)), e.multipleOf = (t, n) => e.check(/* @__PURE__ */ z(t, n)); 10198 let a = e._zod.bag; 10199 e.minValue = (n = a.minimum) == null ? null : n, e.maxValue = (r = a.maximum) == null ? null : r, e.format = (i = a.format) == null ? null : i; 10200}); 10201function Rd(e) { 10202 return /* @__PURE__ */ Js(Ld, e); 10203} 10204var zd = /*@__PURE__*/ i("ZodBigIntFormat", (e, t) => { 10205 qr.init(e, t), Ld.init(e, t); 10206}); 10207function Bd(e) { 10208 return /* @__PURE__ */ Xs(zd, e); 10209} 10210function Vd(e) { 10211 return /* @__PURE__ */ Zs(zd, e); 10212} 10213var Hd = /*@__PURE__*/ i("ZodSymbol", (e, t) => { 10214 Jr.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => _l(e, t, n, r); 10215}); 10216function Ud(e) { 10217 return /* @__PURE__ */ Qs(Hd, e); 10218} 10219var Wd = /*@__PURE__*/ i("ZodUndefined", (e, t) => { 10220 Yr.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => yl(e, t, n, r); 10221}); 10222function Gd(e) { 10223 return /* @__PURE__ */ $s(Wd, e); 10224} 10225var Kd = /*@__PURE__*/ i("ZodNull", (e, t) => { 10226 Xr.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => vl(e, t, n, r); 10227}); 10228function qd(e) { 10229 return /* @__PURE__ */ ec(Kd, e); 10230} 10231var Jd = /*@__PURE__*/ i("ZodAny", (e, t) => { 10232 Zr.init(e, t), q.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0; 10233}); 10234function Yd() { 10235 return /* @__PURE__ */ tc(Jd); 10236} 10237var Xd = /*@__PURE__*/ i("ZodUnknown", (e, t) => { 10238 Qr.init(e, t), q.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0; 10239}); 10240function Z() { 10241 return /* @__PURE__ */ nc(Xd); 10242} 10243var Zd = /*@__PURE__*/ i("ZodNever", (e, t) => { 10244 $r.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => xl(e, t, n, r); 10245}); 10246function Qd(e) { 10247 return /* @__PURE__ */ rc(Zd, e); 10248} 10249var $d = /*@__PURE__*/ i("ZodVoid", (e, t) => { 10250 ei.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => bl(e, t, n, r); 10251}); 10252function ef(e) { 10253 return /* @__PURE__ */ ic($d, e); 10254} 10255var tf = /*@__PURE__*/ i("ZodDate", (e, t) => { 10256 ti.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => wl(e, t, n, r), e.min = (t, n) => e.check(/* @__PURE__ */ R(t, n)), e.max = (t, n) => e.check(/* @__PURE__ */ I(t, n)); 10257 let n = e._zod.bag; 10258 e.minDate = n.minimum ? new Date(n.minimum) : null, e.maxDate = n.maximum ? new Date(n.maximum) : null; 10259}); 10260function nf(e) { 10261 return /* @__PURE__ */ ac(tf, e); 10262} 10263var rf = /*@__PURE__*/ i("ZodArray", (e, t) => { 10264 ri.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Il(e, t, n, r), e.element = t.element, Au(e, "ZodArray", { 10265 min(e, t) { 10266 return this.check(/* @__PURE__ */ H(e, t)); 10267 }, 10268 nonempty(e) { 10269 return this.check(/* @__PURE__ */ H(1, e)); 10270 }, 10271 max(e, t) { 10272 return this.check(/* @__PURE__ */ pc(e, t)); 10273 }, 10274 length(e, t) { 10275 return this.check(/* @__PURE__ */ mc(e, t)); 10276 }, 10277 unwrap() { 10278 return this.element; 10279 } 10280 }); 10281}); 10282function af(e, t) { 10283 return /* @__PURE__ */ Oc(rf, e, t); 10284} 10285function of(e) { 10286 let t = e._zod.def.shape; 10287 return Af(Object.keys(t)); 10288} 10289var sf = /*@__PURE__*/ i("ZodObject", (e, t) => { 10290 ci.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ll(e, t, n, r), b(e, "shape", () => t.shape), Au(e, "ZodObject", { 10291 keyof() { 10292 return Af(Object.keys(this._zod.def.shape)); 10293 }, 10294 catchall(e) { 10295 return this.clone(h(h({}, this._zod.def), {}, { catchall: e })); 10296 }, 10297 passthrough() { 10298 return this.clone(h(h({}, this._zod.def), {}, { catchall: Z() })); 10299 }, 10300 loose() { 10301 return this.clone(h(h({}, this._zod.def), {}, { catchall: Z() })); 10302 }, 10303 strict() { 10304 return this.clone(h(h({}, this._zod.def), {}, { catchall: Qd() })); 10305 }, 10306 strip() { 10307 return this.clone(h(h({}, this._zod.def), {}, { catchall: void 0 })); 10308 }, 10309 extend(e) { 10310 return Fe(this, e); 10311 }, 10312 safeExtend(e) { 10313 return Ie(this, e); 10314 },
10315 merge(e) { 10316 return Le(this, e); 10317 }, 10318 pick(e) { 10319 return Ne(this, e); 10320 }, 10321 omit(e) { 10322 return Pe(this, e); 10323 }, 10324 partial(...e) { 10325 return Re(Rf, this, e[0]); 10326 }, 10327 required(...e) { 10328 return ze(Yf, this, e[0]); 10329 } 10330 }); 10331}); 10332function cf(e, t) { 10333 return new sf(h({ 10334 type: "object", 10335 shape: e == null ? {} : e 10336 }, T(t))); 10337} 10338function lf(e, t) { 10339 return new sf(h({ 10340 type: "object", 10341 shape: e, 10342 catchall: Qd() 10343 }, T(t))); 10344} 10345function uf(e, t) { 10346 return new sf(h({ 10347 type: "object", 10348 shape: e, 10349 catchall: Z() 10350 }, T(t))); 10351} 10352var df = /*@__PURE__*/ i("ZodUnion", (e, t) => { 10353 ui.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Rl(e, t, n, r), e.options = t.options; 10354}); 10355function ff(e, t) { 10356 return new df(h({ 10357 type: "union", 10358 options: e 10359 }, T(t))); 10360} 10361var pf = /*@__PURE__*/ i("ZodXor", (e, t) => { 10362 df.init(e, t), fi.init(e, t), e._zod.processJSONSchema = (t, n, r) => Rl(e, t, n, r), e.options = t.options; 10363}); 10364function mf(e, t) { 10365 return new pf(h({ 10366 type: "union", 10367 options: e, 10368 inclusive: !1 10369 }, T(t))); 10370} 10371var hf = /*@__PURE__*/ i("ZodDiscriminatedUnion", (e, t) => { 10372 df.init(e, t), pi.init(e, t); 10373}); 10374function gf(e, t, n) { 10375 return new hf(h({ 10376 type: "union", 10377 options: t, 10378 discriminator: e 10379 }, T(n))); 10380} 10381var _f = /*@__PURE__*/ i("ZodIntersection", (e, t) => { 10382 mi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => zl(e, t, n, r); 10383}); 10384function vf(e, t) { 10385 return new _f({ 10386 type: "intersection", 10387 left: e, 10388 right: t 10389 }); 10390} 10391var yf = /*@__PURE__*/ i("ZodTuple", (e, t) => { 10392 _i.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Bl(e, t, n, r), e.rest = (t) => e.clone(h(h({}, e._zod.def), {}, { rest: t })); 10393}); 10394function bf(e, t, n) { 10395 let r = t instanceof M; 10396 return new yf(h({ 10397 type: "tuple", 10398 items: e, 10399 rest: r ? t : null 10400 }, T(r ? n : t))); 10401} 10402var xf = /*@__PURE__*/ i("ZodRecord", (e, t) => { 10403 xi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Vl(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType; 10404}); 10405function Sf(e, t, n) { 10406 return !t || !t._zod ? new xf(h({ 10407 type: "record", 10408 keyType: Nu(), 10409 valueType: e 10410 }, T(t))) : new xf(h({ 10411 type: "record", 10412 keyType: e, 10413 valueType: t 10414 }, T(n))); 10415} 10416function Cf(e, t, n) { 10417 let r = w(e); 10418 return r._zod.values = void 0, new xf(h({ 10419 type: "record", 10420 keyType: r, 10421 valueType: t 10422 }, T(n))); 10423} 10424function wf(e, t, n) { 10425 return new xf(h({ 10426 type: "record", 10427 keyType: e, 10428 valueType: t, 10429 mode: "loose" 10430 }, T(n))); 10431} 10432var Tf = /*@__PURE__*/ i("ZodMap", (e, t) => { 10433 Si.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Pl(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType, e.min = (...t) => e.check(/* @__PURE__ */ V(...t)), e.nonempty = (t) => e.check(/* @__PURE__ */ V(1, t)), e.max = (...t) => e.check(/* @__PURE__ */ B(...t)), e.size = (...t) => e.check(/* @__PURE__ */ fc(...t)); 10434}); 10435function Ef(e, t, n) { 10436 return new Tf(h({ 10437 type: "map", 10438 keyType: e, 10439 valueType: t 10440 }, T(n))); 10441} 10442var Df = /*@__PURE__*/ i("ZodSet", (e, t) => { 10443 wi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Fl(e, t, n, r), e.min = (...t) => e.check(/* @__PURE__ */ V(...t)), e.nonempty = (t) => e.check(/* @__PURE__ */ V(1, t)), e.max = (...t) => e.check(/* @__PURE__ */ B(...t)), e.size = (...t) => e.check(/* @__PURE__ */ fc(...t)); 10444}); 10445function Of(e, t) { 10446 return new Df(h({ 10447 type: "set", 10448 valueType: e 10449 }, T(t))); 10450} 10451var kf = /*@__PURE__*/ i("ZodEnum", (e, t) => { 10452 Ei.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Tl(e, t, n, r), e.enum = t.entries, e.options = Object.values(t.entries); 10453 let n = new Set(Object.keys(t.entries)); 10454 e.extract = (e, r) => { 10455 let i = {}; 10456 for (let r of e) if (n.has(r)) i[r] = t.entries[r]; 10457 else throw Error(`Key ${r} not found in enum`); 10458 return new kf(h(h(h({}, t), {}, { checks: [] }, T(r)), {}, { entries: i })); 10459 }, e.exclude = (e, r) => { 10460 let i = h({}, t.entries); 10461 for (let t of e) if (n.has(t)) delete i[t]; 10462 else throw Error(`Key ${t} not found in enum`); 10463 return new kf(h(h(h({}, t), {}, { checks: [] }, T(r)), {}, { entries: i })); 10464 }; 10465}); 10466function Af(e, t) { 10467 return new kf(h({ 10468 type: "enum", 10469 entries: Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e 10470 }, T(t))); 10471} 10472function jf(e, t) { 10473 return new kf(h({ 10474 type: "enum", 10475 entries: e 10476 }, T(t))); 10477} 10478var Mf = /*@__PURE__*/ i("ZodLiteral", (e, t) => { 10479 Di.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => El(e, t, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", { get() { 10480 if (t.values.length > 1) throw Error("This schema contains multiple valid literal values. Use `.values` instead."); 10481 return t.values[0]; 10482 } }); 10483}); 10484function Nf(e, t) { 10485 return new Mf(h({ 10486 type: "literal", 10487 values: Array.isArray(e) ? e : [e] 10488 }, T(t))); 10489} 10490var Pf = /*@__PURE__*/ i("ZodFile", (e, t) => { 10491 Oi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => kl(e, t, n, r), e.min = (t, n) => e.check(/* @__PURE__ */ V(t, n)), e.max = (t, n) => e.check(/* @__PURE__ */ B(t, n)), e.mime = (t, n) => e.check(/* @__PURE__ */ Sc(Array.isArray(t) ? t : [t], n)); 10492}); 10493function Ff(e) { 10494 return /* @__PURE__ */ Bc(Pf, e); 10495} 10496var If = /*@__PURE__*/ i("ZodTransform", (e, t) => { 10497 ki.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Nl(e, t, n, r), e._zod.parse = (n, r) => { 10498 if (r.direction === "backward") throw new s(e.constructor.name); 10499 n.addIssue = (r) => { 10500 if (typeof r == "string") n.issues.push(Ge(r, n.value, t)); 10501 else { 10502 let t = r; 10503 t.fatal && (t.continue = !1), t.code != null || (t.code = "custom"), t.input != null || (t.input = n.value), t.inst != null || (t.inst = e), n.issues.push(Ge(t)); 10504 } 10505 }; 10506 let i = t.transform(n.value, n); 10507 return i instanceof Promise ? i.then((e) => (n.value = e, n.fallback = !0, n)) : (n.value = i, n.fallback = !0, n); 10508 }; 10509}); 10510function Lf(e) { 10511 return new If({ 10512 type: "transform", 10513 transform: e 10514 }); 10515} 10516var Rf = /*@__PURE__*/ i("ZodOptional", (e, t) => { 10517 ji.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Xl(e, t, n, r), e.unwrap = () => e._zod.def.innerType; 10518}); 10519function zf(e) { 10520 return new Rf({ 10521 type: "optional", 10522 innerType: e
10523 }); 10524} 10525var Bf = /*@__PURE__*/ i("ZodExactOptional", (e, t) => { 10526 Mi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Xl(e, t, n, r), e.unwrap = () => e._zod.def.innerType; 10527}); 10528function Vf(e) { 10529 return new Bf({ 10530 type: "optional", 10531 innerType: e 10532 }); 10533} 10534var Hf = /*@__PURE__*/ i("ZodNullable", (e, t) => { 10535 Ni.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Hl(e, t, n, r), e.unwrap = () => e._zod.def.innerType; 10536}); 10537function Uf(e) { 10538 return new Hf({ 10539 type: "nullable", 10540 innerType: e 10541 }); 10542} 10543function Wf(e) { 10544 return zf(Uf(e)); 10545} 10546var Gf = /*@__PURE__*/ i("ZodDefault", (e, t) => { 10547 Pi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Wl(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap; 10548}); 10549function Kf(e, t) { 10550 return new Gf({ 10551 type: "default", 10552 innerType: e, 10553 get defaultValue() { 10554 return typeof t == "function" ? t() : we(t); 10555 } 10556 }); 10557} 10558var qf = /*@__PURE__*/ i("ZodPrefault", (e, t) => { 10559 Ii.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Gl(e, t, n, r), e.unwrap = () => e._zod.def.innerType; 10560}); 10561function Jf(e, t) { 10562 return new qf({ 10563 type: "prefault", 10564 innerType: e, 10565 get defaultValue() { 10566 return typeof t == "function" ? t() : we(t); 10567 } 10568 }); 10569} 10570var Yf = /*@__PURE__*/ i("ZodNonOptional", (e, t) => { 10571 Li.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ul(e, t, n, r), e.unwrap = () => e._zod.def.innerType; 10572}); 10573function Xf(e, t) { 10574 return new Yf(h({ 10575 type: "nonoptional", 10576 innerType: e 10577 }, T(t))); 10578} 10579var Zf = /*@__PURE__*/ i("ZodSuccess", (e, t) => { 10580 zi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Al(e, t, n, r), e.unwrap = () => e._zod.def.innerType; 10581}); 10582function Qf(e) { 10583 return new Zf({ 10584 type: "success", 10585 innerType: e 10586 }); 10587} 10588var $f = /*@__PURE__*/ i("ZodCatch", (e, t) => { 10589 Bi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Kl(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap; 10590}); 10591function ep(e, t) { 10592 return new $f({ 10593 type: "catch", 10594 innerType: e, 10595 catchValue: typeof t == "function" ? t : () => t 10596 }); 10597} 10598var tp = /*@__PURE__*/ i("ZodNaN", (e, t) => { 10599 Vi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Dl(e, t, n, r); 10600}); 10601function np(e) { 10602 return /* @__PURE__ */ sc(tp, e); 10603} 10604var rp = /*@__PURE__*/ i("ZodPipe", (e, t) => { 10605 Hi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => ql(e, t, n, r), e.in = t.in, e.out = t.out; 10606}); 10607function ip(e, t) { 10608 return new rp({ 10609 type: "pipe", 10610 in: e, 10611 out: t 10612 }); 10613} 10614var ap = /*@__PURE__*/ i("ZodCodec", (e, t) => { 10615 rp.init(e, t), Wi.init(e, t); 10616}); 10617function op(e, t, n) { 10618 return new ap({ 10619 type: "pipe", 10620 in: e, 10621 out: t, 10622 transform: n.decode, 10623 reverseTransform: n.encode 10624 }); 10625} 10626function sp(e) { 10627 let t = e._zod.def; 10628 return new ap({ 10629 type: "pipe", 10630 in: t.out, 10631 out: t.in, 10632 transform: t.reverseTransform, 10633 reverseTransform: t.transform 10634 }); 10635} 10636var cp = /*@__PURE__*/ i("ZodPreprocess", (e, t) => { 10637 rp.init(e, t), qi.init(e, t); 10638}), lp = /*@__PURE__*/ i("ZodReadonly", (e, t) => { 10639 Ji.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Jl(e, t, n, r), e.unwrap = () => e._zod.def.innerType; 10640}); 10641function up(e) { 10642 return new lp({ 10643 type: "readonly", 10644 innerType: e 10645 }); 10646} 10647var dp = /*@__PURE__*/ i("ZodTemplateLiteral", (e, t) => { 10648 Xi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ol(e, t, n, r); 10649}); 10650function fp(e, t) { 10651 return new dp(h({ 10652 type: "template_literal", 10653 parts: e 10654 }, T(t))); 10655} 10656var pp = /*@__PURE__*/ i("ZodLazy", (e, t) => { 10657 $i.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Zl(e, t, n, r), e.unwrap = () => e._zod.def.getter(); 10658}); 10659function mp(e) { 10660 return new pp({ 10661 type: "lazy", 10662 getter: e 10663 }); 10664} 10665var hp = /*@__PURE__*/ i("ZodPromise", (e, t) => { 10666 Qi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Yl(e, t, n, r), e.unwrap = () => e._zod.def.innerType; 10667}); 10668function gp(e) { 10669 return new hp({ 10670 type: "promise", 10671 innerType: e 10672 }); 10673} 10674var _p = /*@__PURE__*/ i("ZodFunction", (e, t) => { 10675 Zi.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ml(e, t, n, r); 10676}); 10677function vp(e) { 10678 var t, n; 10679 return new _p({ 10680 type: "function", 10681 input: Array.isArray(e == null ? void 0 : e.input) ? bf(e == null ? void 0 : e.input) : (t = e == null ? void 0 : e.input)
10681== null ? af(Z()) : t, 10682 output: (n = e == null ? void 0 : e.output) == null ? Z() : n 10683 }); 10684} 10685var yp = /*@__PURE__*/ i("ZodCustom", (e, t) => { 10686 ea.init(e, t), q.init(e, t), e._zod.processJSONSchema = (t, n, r) => jl(e, t, n, r); 10687}); 10688function bp(e) { 10689 let t = new j({ check: "custom" }); 10690 return t._zod.check = e, t; 10691} 10692function xp(e, t) { 10693 return /* @__PURE__ */ $c(yp, e == null ? (() => !0) : e, t); 10694} 10695function Sp(e, t = {}) { 10696 return /* @__PURE__ */ el(yp, e, t); 10697} 10698function Cp(e, t) { 10699 return /* @__PURE__ */ tl(e, t); 10700} 10701var wp = rl, Tp = il; 10702function Ep(e, t = {}) { 10703 let n = new yp(h({ 10704 type: "custom", 10705 check: "custom", 10706 fn: (t) => t instanceof e, 10707 abort: !0 10708 }, T(t))); 10709 return n._zod.bag.Class = e, n._zod.check = (t) => { 10710 if (!(t.value instanceof e)) { 10711 var r; 10712 t.issues.push({ 10713 code: "invalid_type", 10714 expected: e.name, 10715 input: t.value, 10716 inst: n, 10717 path: [...(r = n._zod.def.path) == null ? [] : r] 10718 }); 10719 } 10720 }, n; 10721} 10722var Dp = (...e) => /* @__PURE__ */ al({ 10723 Codec: ap, 10724 Boolean: Fd, 10725 String: Mu 10726}, ...e); 10727function Op(e) { 10728 let t = mp(() => ff([ 10729 Nu(e), 10730 kd(), 10731 Id(), 10732 qd(), 10733 af(t), 10734 Sf(Nu(), t) 10735 ])); 10736 return t; 10737} 10738function kp(e, t) { 10739 return new cp({ 10740 type: "pipe", 10741 in: Lf(e), 10742 out: t 10743 }); 10744} 10745//#endregion 10746//#region ../node_modules/zod/v4/classic/compat.js 10747var Ap = { 10748 invalid_type: "invalid_type", 10749 too_big: "too_big", 10750 too_small: "too_small", 10751 invalid_format: "invalid_format", 10752 not_multiple_of: "not_multiple_of", 10753 unrecognized_keys: "unrecognized_keys", 10754 invalid_union: "invalid_union", 10755 invalid_key: "invalid_key", 10756 invalid_element: "invalid_element", 10757 invalid_value: "invalid_value", 10758 custom: "custom" 10759}; 10760function jp(e) { 10761 l({ customError: e }); 10762} 10763function Mp() { 10764 return l().customError; 10765} 10766var Np; 10767Np || (Np = {}); 10768//#endregion 10769//#region ../node_modules/zod/v4/classic/from-json-schema.js 10770var Q = h(h(h({}, Ou), iu), {}, { iso: au }), Pp = /*@__PURE__*/ new Set(/* @__PURE__ */ "$schema.$ref.$defs.definitions.$id.id.$comment.$anchor.$vocabulary.$dynamicRef.$dynamicAnchor.type.enum.const.anyOf.oneOf.allOf.n
10770ot.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".split(".")); 10771function Fp(e, t) { 10772 let n = e.$schema; 10773 return n === "https://json-schema.org/draft/2020-12/schema" ? "draft-2020-12" : n === "http://json-schema.org/draft-07/schema#" ? "draft-7" : n === "http://json-schema.org/draft-04/schema#" ? "draft-4" : t == null ? "draft-2020-12" : t; 10774} 10775function Ip(e, t) { 10776 if (!e.startsWith("#")) throw Error("External $ref is not supported, only local refs (#/...) are allowed"); 10777 let n = e.slice(1).split("/").filter(Boolean); 10778 if (n.length === 0) return t.rootSchema; 10779 let r = t.version === "draft-2020-12" ? "$defs" : "definitions"; 10780 if (n[0] === r) { 10781 let r = n[1]; 10782 if (!r || !t.defs[r]) throw Error(`Reference not found: ${e}`); 10783 return t.defs[r]; 10784 } 10785 throw Error(`Reference not found: ${e}`); 10786} 10787function Lp(e, t) { 10788 if (e.not !== void 0) { 10789 if (typeof e.not == "object" && Object.keys(e.not).length === 0) return Q.never(); 10790 throw Error("not is not supported in Zod (except { not: {} } for never)"); 10791 } 10792 if (e.unevaluatedItems !== void 0) throw Error("unevaluatedItems is not supported"); 10793 if (e.unevaluatedProperties !== void 0) throw Error("unevaluatedProperties is not supported"); 10794 if (e.if !== void 0 || e.then !== void 0 || e.else !== void 0) throw Error("Conditional schemas (if/then/else) are not supported"); 10795 if (e.dependentSchemas !== void 0 || e.dependentRequired !== void 0) throw Error("dependentSchemas and dependentRequired are not supported"); 10796 if (e.$ref) { 10797 let n = e.$ref; 10798 if (t.refs.has(n)) return t.refs.get(n); 10799 if (t.processing.has(n)) return Q.lazy(() => { 10800 if (!t.refs.has(n)) throw Error(`Circular reference not resolved: ${n}`); 10801 return t.refs.get(n); 10802 }); 10803 t.processing.add(n); 10804 let r = $(Ip(n, t), t); 10805 return t.refs.set(n, r), t.processing.delete(n), r; 10806 } 10807 if (e.enum !== void 0) { 10808 let n = e.enum; 10809 if (t.version === "openapi-3.0" && e.nullable === !0 && n.length === 1 && n[0] === null) return Q.null(); 10810 if (n.length === 0) return Q.never(); 10811 if (n.length === 1) return Q.literal(n[0]); 10812 if (n.every((e) => typeof e == "string")) return Q.enum(n); 10813 let r = n.map((e) => Q.literal(e)); 10814 return r.length < 2 ? r[0] : Q.union([ 10815 r[0], 10816 r[1], 10817 ...r.slice(2) 10818 ]); 10819 } 10820 if (e.const !== void 0) return Q.literal(e.const); 10821 let n = e.type; 10822 if (Array.isArray(n)) { 10823 let r = n.map((n) => Lp(h(h({}, e), {}, { type: n }), t)); 10824 return r.length === 0 ? Q.never() : r.length === 1 ? r[0] : Q.union(r); 10825 } 10826 if (!n) return Q.any(); 10827 let r; 10828 switch (n) { 10829 case "string": { 10830 let t = Q.string(); 10831 if (e.format) { 10832 let n = e.format; 10833 n === "email" ? t = t.check(Q.email()) : n === "uri" || n === "uri-reference" ? t = t.check(Q.url()) : n === "uuid" || n === "guid" ? t = t.check(Q.uuid()) : n === "date-time" ? t = t.check(Q.iso.datetime()) : n === "date" ? t = t.check(Q.iso.date()) : n === "time" ? t = t.check(Q.iso.time()) : n === "duration" ? t = t.check(Q.iso.duration()) : n === "ipv4" ? t = t.check(Q.ipv4()) : n === "ipv6" ? t = t.check(Q.ipv6()) : n === "mac" ? t = t.check(Q.mac()) : n === "cidr" ? t = t.check(Q.cidrv4()) : n === "cidr-v6" ? t = t.check(Q.cidrv6()) : n === "base64" ? t = t.check(Q.base64()) : n === "base64url" ? t = t.check(Q.base64url()) : n === "e164" ? t = t.check(Q.e164()) : n === "jwt" ? t = t.check(Q.jwt()) : n === "emoji" ? t = t.check(Q.emoji()) : n === "nanoid" ? t = t.check(Q.nanoid()) : n === "cuid" ? t = t.check(Q.cuid()) : n === "cuid2" ? t = t.check(Q.cuid2()) : n === "ulid" ? t = t.check(Q.ulid()) : n === "xid" ? t = t.check(Q.xid()) : n === "ksuid" && (t = t.check(Q.ksuid())); 10834 } 10835 typeof e.minLength == "number" && (t = t.min(e.minLength)), typeof e.maxLength == "number" && (t = t.max(e.maxLength)), e.pattern && (t = t.regex(new RegExp(e.pattern))), r = t; 10836 break; 10837 } 10838 case "number": 10839 case "integer": { 10840 let t = n === "integer" ? Q.number().int() : Q.number(); 10841 typeof e.minimum == "number" && (t = t.min(e.minimum)), typeof e.maximum == "number" && (t = t.max(e.maximum)), typeof e.exclusiveMinimum == "number" ? t = t.gt(e.exclusiveMinimum) : e.exclusiveMinimum === !0 && typeof e.minimum == "number" && (t = t.gt(e.minimum)), typeof e.exclusiveMaximum == "number" ? t = t.lt(e.exclusiveMaximum) : e.exclusiveMaximum === !0 && typeof e.maximum == "number" && (t = t.lt(e.maximum)), typeof e.multipleOf == "number" && (t = t.multipleOf(e.multipleOf)), r = t; 10842 break; 10843 } 10844 case "boolean": 10845 r = Q.boolean(); 10846 break; 10847 case "null":
10848 r = Q.null(); 10849 break; 10850 case "object": { 10851 let n = {}, i = e.properties || {}, a = new Set(e.required || []); 10852 for (let [e, r] of Object.entries(i)) { 10853 let i = $(r, t); 10854 n[e] = a.has(e) ? i : i.optional(); 10855 } 10856 if (e.propertyNames) { 10857 let i = $(e.propertyNames, t), a = e.additionalProperties && typeof e.additionalProperties == "object" ? $(e.additionalProperties, t) : Q.any(); 10858 if (Object.keys(n).length === 0) { 10859 r = Q.record(i, a); 10860 break; 10861 } 10862 let o = Q.object(n).passthrough(), s = Q.looseRecord(i, a); 10863 r = Q.intersection(o, s); 10864 break; 10865 } 10866 if (e.patternProperties) { 10867 let i = e.patternProperties, a = Object.keys(i), o = []; 10868 for (let e of a) { 10869 let n = $(i[e], t), r = Q.string().regex(new RegExp(e)); 10870 o.push(Q.looseRecord(r, n)); 10871 } 10872 let s = []; 10873 if (Object.keys(n).length > 0 && s.push(Q.object(n).passthrough()), s.push(...o), s.length === 0) r = Q.object({}).passthrough(); 10874 else if (s.length === 1) r = s[0]; 10875 else { 10876 let e = Q.intersection(s[0], s[1]); 10877 for (let t = 2; t < s.length; t++) e = Q.intersection(e, s[t]); 10878 r = e; 10879 } 10880 break; 10881 } 10882 let o = Q.object(n); 10883 r = e.additionalProperties === !1 ? o.strict() : typeof e.additionalProperties == "object" ? o.catchall($(e.additionalProperties, t)) : o.passthrough(); 10884 break; 10885 } 10886 case "array": { 10887 let n = e.prefixItems, i = e.items; 10888 if (n && Array.isArray(n)) { 10889 let a = n.map((e) => $(e, t)), o = i && typeof i == "object" && !Array.isArray(i) ? $(i, t) : void 0; 10890 r = o ? Q.tuple(a).rest(o) : Q.tuple(a), typeof e.minItems == "number" && (r = r.check(Q.minLength(e.minItems))), typeof e.maxItems == "number" && (r = r.check(Q.maxLength(e.maxItems))); 10891 } else if (Array.isArray(i)) { 10892 let n = i.map((e) => $(e, t)), a = e.additionalItems && typeof e.additionalItems == "object" ? $(e.additionalItems, t) : void 0; 10893 r = a ? Q.tuple(n).rest(a) : Q.tuple(n), typeof e.minItems == "number" && (r = r.check(Q.minLength(e.minItems))), typeof e.maxItems == "number" && (r = r.check(Q.maxLength(e.maxItems))); 10894 } else if (i !== void 0) { 10895 let n = $(i, t), a = Q.array(n); 10896 typeof e.minItems == "number" && (a = a.min(e.minItems)), typeof e.maxItems == "number" && (a = a.max(e.maxItems)), r = a; 10897 } else r = Q.array(Q.any()); 10898 break; 10899 } 10900 default: throw Error(`Unsupported type: ${n}`); 10901 } 10902 return r; 10903} 10904function $(e, t) { 10905 if (typeof e == "boolean") return e ? Q.any() : Q.never(); 10906 let n = Lp(e, t), r = e.type || e.enum !== void 0 || e.const !== void 0; 10907 if (e.anyOf && Array.isArray(e.anyOf)) { 10908 let i = e.anyOf.map((e) => $(e, t)), a = Q.union(i); 10909 n = r ? Q.intersection(n, a) : a; 10910 } 10911 if (e.oneOf && Array.isArray(e.oneOf)) { 10912 let i = e.oneOf.map((e) => $(e, t)), a = Q.xor(i); 10913 n = r ? Q.intersection(n, a) : a; 10914 } 10915 if (e.allOf && Array.isArray(e.allOf)) { 10916 if (e.allOf.length === 0) n = r ? n : Q.any(); 10917 else { 10918 let i = r ? n : $(e.allOf[0], t), a = +!r; 10919 for (let n = a; n < e.allOf.length; n++) i = Q.intersection(i, $(e.allOf[n], t)); 10920 n = i; 10921 } 10922 } 10923 e.nullable === !0 && t.version === "openapi-3.0" && (n = Q.nullable(n)), e.readOnly === !0 && (n = Q.readonly(n)), e.default !== void 0 && (n = n.default(e.default)); 10924 let i = {}; 10925 for (let t of [ 10926 "$id", 10927 "id", 10928 "$comment", 10929 "$anchor", 10930 "$vocabulary", 10931 "$dynamicRef", 10932 "$dynamicAnchor" 10933 ]) t in e && (i[t] = e[t]); 10934 for (let t of [ 10935 "contentEncoding", 10936 "contentMediaType", 10937 "contentSchema" 10938 ]) t in e && (i[t] = e[t]); 10939 for (let t of Object.keys(e)) Pp.has(t) || (i[t] = e[t]); 10940 return Object.keys(i).length > 0 && t.registry.add(n, i), e.description && (n = n.describe(e.description)), n; 10941} 10942function Rp(e, t) { 10943 var n; 10944 if (typeof e == "boolean") return e ? Q.any() : Q.never(); 10945 let r; 10946 try { 10947 r = JSON.parse(JSON.stringify(e)); 10948 } catch (e) { 10949 throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas"); 10950 } 10951 let i = { 10952 version: Fp(r, t == null ? void 0 : t.defaultTarget), 10953 defs: r.$defs || r.definitions || {}, 10954 refs: /* @__PURE__ */ new Map(), 10955 processing: /* @__PURE__ */ new Set(), 10956 rootSchema: r, 10957 registry: (n = t == null ? void 0 : t.registry) == null ? P : n 10958 }; 10959 return $(r, i); 10960} 10961//#endregion 10962//#region ../node_modules/zod/v4/classic/coerce.js 10963var zp = /* @__PURE__ */ t({ 10964 bigint: () => Up, 10965 boolean: () => Hp, 10966 date: () => Wp, 10967 number: () => Vp, 10968 string: () =>
10968 Bp 10969}); 10970function Bp(e) { 10971 return /* @__PURE__ */ us(Mu, e); 10972} 10973function Vp(e) { 10974 return /* @__PURE__ */ Bs(Od, e); 10975} 10976function Hp(e) { 10977 return /* @__PURE__ */ qs(Fd, e); 10978} 10979function Up(e) { 10980 return /* @__PURE__ */ Ys(Ld, e); 10981} 10982function Wp(e) { 10983 return /* @__PURE__ */ oc(tf, e); 10984} 10985//#endregion 10986//#region ../node_modules/zod/v4/classic/external.js 10987var Gp = /* @__PURE__ */ t({ 10988 $brand: () => a, 10989 $input: () => os, 10990 $output: () => as, 10991 NEVER: () => r, 10992 TimePrecision: () => Ps, 10993 ZodAny: () => Jd, 10994 ZodArray: () => rf, 10995 ZodBase64: () => hd, 10996 ZodBase64URL: () => _d, 10997 ZodBigInt: () => Ld, 10998 ZodBigIntFormat: () => zd, 10999 ZodBoolean: () => Fd, 11000 ZodCIDRv4: () => dd, 11001 ZodCIDRv6: () => pd, 11002 ZodCUID: () => Yu, 11003 ZodCUID2: () => Zu, 11004 ZodCatch: () => $f, 11005 ZodCodec: () => ap, 11006 ZodCustom: () => yp, 11007 ZodCustomStringFormat: () => Cd, 11008 ZodDate: () => tf, 11009 ZodDefault: () => Gf, 11010 ZodDiscriminatedUnion: () => hf, 11011 ZodE164: () => yd, 11012 ZodEmail: () => Pu, 11013 ZodEmoji: () => Gu, 11014 ZodEnum: () => kf, 11015 ZodError: () => hu, 11016 ZodExactOptional: () => Bf, 11017 ZodFile: () => Pf, 11018 ZodFirstPartyTypeKind: () => Np, 11019 ZodFunction: () => _p, 11020 ZodGUID: () => Iu, 11021 ZodIPv4: () => ad, 11022 ZodIPv6: () => ld, 11023 ZodISODate: () => cu, 11024 ZodISODateTime: () => ou, 11025 ZodISODuration: () => fu, 11026 ZodISOTime: () => uu, 11027 ZodIntersection: () => _f, 11028 ZodIssueCode: () => Ap, 11029 ZodJWT: () => xd, 11030 ZodKSUID: () => rd, 11031 ZodLazy: () => pp, 11032 ZodLiteral: () => Mf, 11033 ZodMAC: () => sd, 11034 ZodMap: () => Tf, 11035 ZodNaN: () => tp, 11036 ZodNanoID: () => qu, 11037 ZodNever: () => Zd, 11038 ZodNonOptional: () => Yf, 11039 ZodNull: () => Kd, 11040 ZodNullable: () => Hf, 11041 ZodNumber: () => Od, 11042 ZodNumberFormat: () => X, 11043 ZodObject: () => sf, 11044 ZodOptional: () => Rf, 11045 ZodPipe: () => rp, 11046 ZodPrefault: () => qf, 11047 ZodPreprocess: () => cp, 11048 ZodPromise: () => hp, 11049 ZodReadonly: () => lp, 11050 ZodRealError: () => K, 11051 ZodRecord: () => xf, 11052 ZodSet: () => Df, 11053 ZodString: () => Mu, 11054 ZodStringFormat: () => J, 11055 ZodSuccess: () => Zf, 11056 ZodSymbol: () => Hd, 11057 ZodTemplateLiteral: () => dp, 11058 ZodTransform: () => If, 11059 ZodTuple: () => yf, 11060 ZodType: () => q, 11061 ZodULID: () => $u, 11062 ZodURL: () => Hu, 11063 ZodUUID: () => Y, 11064 ZodUndefined: () => Wd, 11065 ZodUnion: () => df, 11066 ZodUnknown: () => Xd, 11067 ZodVoid: () => $d, 11068 ZodXID: () => td, 11069 ZodXor: () => pf, 11070 _ZodString: () => ju, 11071 _default: () => Kf, 11072 _function: () => vp, 11073 any: () => Yd, 11074 array: () => af, 11075 base64: () => gd, 11076 base64url: () => vd, 11077 bigint: () => Rd, 11078 boolean: () => Id, 11079 catch: () => ep, 11080 check: () => bp, 11081 cidrv4: () => fd, 11082 cidrv6: () => md, 11083 clone: () => w, 11084 codec: () => op, 11085 coerce: () => zp, 11086 config: () => l, 11087 core: () => ru, 11088 cuid: () => Xu, 11089 cuid2: () => Qu, 11090 custom: () => xp, 11091 date: () => nf, 11092 decode: () => xu, 11093 decodeAsync: () => Cu, 11094 describe: () => wp, 11095 discriminatedUnion: () => gf, 11096 e164: () => bd, 11097 email: () => Fu, 11098 emoji: () => Ku, 11099 encode: () => bu, 11100 encodeAsync: () => Su, 11101 endsWith: () => bc, 11102 enum: () => Af, 11103 exactOptional: () => Vf, 11104 file: () => Ff, 11105 flattenError: () => nt, 11106 float32: () => jd, 11107 float64: () => Md, 11108 formatError: () => rt, 11109 fromJSONSchema: () => Rp, 11110 function: () => vp, 11111 getErrorMap: () => Mp, 11112 globalRegistry: () => P, 11113 gt: () => L, 11114 gte: () => R, 11115 guid: () => Lu, 11116 hash: () => Dd, 11117 hex: () => Ed, 11118 hostname: () => Td, 11119 httpUrl: () => Wu, 11120 includes: () => vc, 11121 instanceof: () => Ep, 11122 int: () => Ad, 11123 int32: () => Nd, 11124 int64: () => Bd, 11125 intersection: () => vf, 11126 invertCodec: () => sp, 11127 ipv4: () => od, 11128 ipv6: () => ud, 11129 iso: () => au, 11130 json: () => Op, 11131 jwt: () => Sd, 11132 keyof: () => of, 11133 ksuid: () => id, 11134 lazy: () => mp, 11135 length: () => mc, 11136 literal: () => Nf, 11137 locales: () => rs, 11138 looseObject: () => uf, 11139 looseRecord: () => wf, 11140 lowercase: () => gc, 11141 lt: () => F, 11142 lte: () => I, 11143 mac: () => cd, 11144 map: () => Ef, 11145 maxLength: () => pc, 11146 maxSize: () => B, 11147 meta: () => Tp, 11148 mime: () => Sc, 11149 minLength: () => H, 11150 minSize: () => V, 11151 multipleOf: () => z, 11152 nan: () => np, 11153 nanoid: () => Ju, 11154 nativeEnum: () => jf, 11155 negative: () => lc, 11156 never: () => Qd, 11157 nonnegative: () => dc, 11158 nonoptional: () => Xf, 11159 nonpositive: () => uc, 11160 normalize: () => Cc, 11161 null: () => qd, 11162 nullable: () => Uf, 11163 nullish: () => Wf, 11164 number: () => kd, 11165 object: () => cf, 11166 optional: () => zf, 11167 overwrite: () => U, 11168 parse: () => gu, 11169 parseAsync: () => _u, 11170 partialRecord: () => Cf, 11171 pipe: () => ip, 11172 positive: () => cc, 11173 prefault: () => Jf, 11174 preprocess: () => kp, 11175 prettifyError: () => ot, 11176 promise: () => gp, 11177 property: () => xc, 11178 readonly: () => up, 11179 record: () => Sf, 11180 refine: () => Sp, 11181 regex: () => hc, 11182 regexes: () => jt, 11183 registry: () => cs, 11184 safeDecode: () => Tu, 11185 safeDecodeAsync: () => Du, 11186 safeEncode: () => wu, 11187 safeEncodeAsync: () => Eu, 11188 safeParse: () => vu, 11189 safeParseAsync: () => yu, 11190 set: () => Of, 11191 setErrorMap: () => jp, 11192 size: () => fc, 11193 slugify: () => Dc, 11194 startsWith: () => yc, 11195 strictObject: () => lf, 11196 string: () => Nu, 11197 stringFormat: () => wd, 11198 stringbool: () => Dp, 11199 success: () => Qf, 11200 superRefine: () => Cp,
11201 symbol: () => Ud, 11202 templateLiteral: () => fp, 11203 toJSONSchema: () => $l, 11204 toLowerCase: () => Tc, 11205 toUpperCase: () => Ec, 11206 transform: () => Lf, 11207 treeifyError: () => it, 11208 trim: () => wc, 11209 tuple: () => bf, 11210 uint32: () => Pd, 11211 uint64: () => Vd, 11212 ulid: () => ed, 11213 undefined: () => Gd, 11214 union: () => ff, 11215 unknown: () => Z, 11216 uppercase: () => _c, 11217 url: () => Uu, 11218 util: () => te, 11219 uuid: () => Ru, 11220 uuidv4: () => zu, 11221 uuidv6: () => Bu, 11222 uuidv7: () => Vu, 11223 void: () => ef, 11224 xid: () => nd, 11225 xor: () => mf 11226}); 11227l(Sa()); 11228//#endregion 11229//#region ../node_modules/zod/index.js 11230var Kp = Gp; 11231//#endregion 11232export { a as $brand, os as $input, as as $output, r as NEVER, Ps as TimePrecision, Jd as ZodAny, rf as ZodArray, hd as ZodBase64, _d as ZodBase64URL, Ld as ZodBigInt, zd as ZodBigIntFormat, Fd as ZodBoolean, dd as ZodCIDRv4, pd as ZodCIDRv6, Yu as ZodCUID, Zu as ZodCUID2, $f as ZodCatch, ap as ZodCodec, yp as ZodCustom, Cd as ZodCustomStringFormat, tf as ZodDate, Gf as ZodDefault, hf as ZodDiscriminatedUnion, yd as ZodE164, Pu as ZodEmail, Gu as ZodEmoji, kf as ZodEnum, hu as ZodError, Bf as ZodExactOptional, Pf as ZodFile, Np as ZodFirstPartyTypeKind, _p as ZodFunction, Iu as ZodGUID, ad as ZodIPv4, ld as ZodIPv6, cu as ZodISODate, ou as ZodISODateTime, fu as ZodISODuration, uu as ZodISOTime, _f as ZodIntersection, Ap as ZodIssueCode, xd as ZodJWT, rd as ZodKSUID, pp as ZodLazy, Mf as ZodLiteral, sd as ZodMAC, Tf as ZodMap, tp as ZodNaN, qu as ZodNanoID, Zd as ZodNever, Yf as ZodNonOptional, Kd as ZodNull, Hf as ZodNullable, Od as ZodNumber, X as ZodNumberFormat, sf as ZodObject, Rf as ZodOptional, rp as ZodPipe, qf as ZodPrefault, cp as ZodPreprocess, hp as ZodPromise, lp as ZodReadonly, K as ZodRealError, xf as ZodRecord, Df as ZodSet, Mu as ZodString, J as ZodStringFormat, Zf as ZodSuccess, Hd as ZodSymbol, dp as ZodTemplateLiteral, If as ZodTransform, yf as ZodTuple, q as ZodType, $u as ZodULID, Hu as ZodURL, Y as ZodUUID, Wd as ZodUndefined, df as ZodUnion, Xd as ZodUnknown, $d as ZodVoid, td as ZodXID, pf as ZodXor, ju as _ZodString, Kf as _default, vp as _function, vp as function, Yd as any, af as array, gd as base64, vd as base64url, Rd as bigint, Id as boolean, ep as catch, bp as check, fd as cidrv4, md as cidrv6, w as clone, op as codec, zp as coerce, l as config, ru as core, Xu as cuid, Qu as cuid2, xp as custom, nf as date, xu as decode, Cu as decodeAsync, Kp as default, wp as describe, gf as discriminatedUnion, bd as e164, Fu as email, Ku as emoji, bu as encode, Su as encodeAsync, bc as endsWith, Af as enum, Vf as exactOptional, Ff as file, nt as flattenError, jd as float32, Md as float64, rt as formatError, Rp as fromJSONSchema, Mp as getErrorMap, P as globalRegistry, L as gt, R as gte, Lu as guid, Dd as hash, Ed as hex, Td as hostname, Wu as httpUrl, vc as includes, Ep as instanceof, Ad as int, Nd as int32, Bd as int64, vf as intersection, sp as invertCodec, od as ipv4, ud as ipv6, au as iso, Op as json, Sd as jwt, of as keyof, id as ksuid, mp as lazy, mc as length, Nf as literal, rs as locales, uf as looseObject, wf as looseRecord, gc as lowercase, F as lt, I as lte, cd as mac, Ef as map, pc as maxLength, B as maxSize, Tp as meta, Sc as mime, H as minLength, V as minSize, z as multipleOf, np as nan, Ju as nanoid, jf as nativeEnum, lc as negative, Qd as never, dc as nonnegative, Xf as nonoptional, uc as nonpositive, Cc as normalize, qd as null, Uf as nullable, Wf as nullish, kd as number, cf as object, zf as optional, U as overwrite, gu as parse, _u as parseAsync, Cf as partialRecord, ip as pipe, cc as positive, Jf as prefault, kp as preprocess, ot as prettifyError, gp as promise, xc as property, up as readonly, Sf as record, Sp as refine, hc as regex, jt as regexes, cs as registry, Tu as safeDecode, Du as safeDecodeAsync, wu as safeEncode, Eu as safeEncodeAsync, vu as safeParse, yu as safeParseAsync, Of as set, jp as setErrorMap, fc as size, Dc as slugify, yc as startsWith, lf as strictObject, Nu as string, wd as stringFormat, Dp as stringbool, Qf as success, Cp as superRefine, Ud as symbol, fp as templateLiteral, $l as toJSONSchema, Tc as toLowerCase, Ec as toUpperCase, Lf as transform, it as treeifyError, wc as trim, bf as tuple, Pd as uint32, Vd as uint64, ed as ulid, Gd as undefined, ff as union, Z as unknown, _c as uppercase, Uu as url, te as util, Ru as uuid, zu as uuidv4, Bu as uuidv6, Vu as uuidv7, ef as void, nd as xid, mf as xor, Gp as z };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.